Elektroda.pl
Elektroda.pl
X

Search our partners

Find the latest content on electronic components. Datasheets.com
Elektroda.pl
Please add exception to AdBlock for elektroda.pl.
If you watch the ads, you support portal and users.

(Busybox) problem z logowaniem do linuxa

*Piotrek* 22 Oct 2009 13:31 2811 2
Computer Controls
  • #1
    *Piotrek*
    Level 15  
    Witajcie.
    Mam problem z zalogowaniem się do systemu. Problem polega na tym, że po rozpakowaniu kernela proszony jestem o podanie loginu i hasła, po czym wyskakuje komunikat o zalogowaniu jako root i znów prosi o podanie loginu i hasła i tak w kółko. Co jest nie tak?? Co trzeba zmienić, żeby można było się normalnie zalogować?
    Code:

    Initializing SDRAM

    Sarge ver 1.0 loader by McGregor(C) mcgregor(malpa)blackmesaeast.com.pl
    AT91RM9200 32bit SDRAM 2x8x16MBit K4S281632F-TC75

    1: Upload loader to Dataflash with vector 6 modification.
    2: Upload u-boot to Dataflash.
    3: Upload linux to Dataflash
    4: Start U-boot
    5: SDRAM test
    6: Clear SPI flash (loader)
    7: Upload u-boot to SDRAM (0x21F00000) and boot
    8: Show dataflash content
    9: Clear SPI u-boot env


    DataFlash:AT45DB321
    Nb pages: 0x00002000
    Page Size: 0x00000210
    Size=0x00420000 bytes
    Logical address: 0x00000000
    loading U-boot from dataflash to SDRAM:0x21F00000
    Dataflash read successful: Starting U-boot


    U-Boot 1.1.6 (Sep 14 2009 - 22:20:56)

    DRAM:  32 MB
    Atmel: Flash:  0 kB
    DataFlash:AT45DB321
    Nb pages:   8192
    Page Size:    528
    Size= 4325376 bytes
    Logical address: 0xC0000000
    Area 0:\0x09C0000000 to C0007FFF (RO)
    Area 1:\0x09C0008000 to C001FFFF (RO)
    Area 2:\0x09C0020000 to C0027FFF
    Area 3:\0x09C0028000 to C041FFFF
    *** Warning - bad CRC, using default environment

    In:    serial
    Out:   serial
    Err:   serial
    eth_initialize
    Hit any key to stop autoboot:  3 \0x08\0x08\0x08 2 \0x08\0x08\0x08 1 \0x08\0x08\0x08 0
    ## Booting image at c0030000 ...
       Image Name:   sarge_at91
       Image Type:   ARM Linux Kernel Image (gzip compressed)
       Data Size:    1909609 Bytes =  1.8 MB
       Load Address: 20008000
       Entry Point:  20008000
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK

    Starting kernel ...

    kernel address is 0x20008000
    Linux version 2.6.30.5 (piotrek@debian) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-163) ) #10 Mon Sep 14 22:18:02 CEST 2009
    CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0003177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: Sarge SBC
    Memory policy: ECC disabled, Data cache writeback
    Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
    Kernel command line: mem=32M rootfstype=ext2 root=/dev/mmcblk0p1 console=ttyS0,115200n8 rootdelay=5 init=/sbin/init
    NR_IRQS:192
    AT91: 96 gpio irqs in 3 banks
    PID hash table entries: 128 (order: 7, 512 bytes)
    Console: colour dummy device 80x30
    console [ttyS0] enabled
    Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
    Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
    Memory: 32MB = 32MB total
    Memory: 28656KB available (3340K code, 251K data, 112K init, 0K highmem)
    SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Calibrating delay loop... 89.79 BogoMIPS (lpj=350208)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    net_namespace: 724 bytes
    NET: Registered protocol family 16
    bio: create slab <bio-0> at 0
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    NET: Registered protocol family 23
    Bluetooth: Core ver 2.15
    NET: Registered protocol family 31
    Bluetooth: HCI device and connection manager initialized
    Bluetooth: HCI socket layer initialized
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 1024 (order: 1, 8192 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 1024 bind 1024)
    TCP reno registered
    NET: Registered protocol family 1
    NetWinder Floating Point Emulator V0.97 (double precision)
    NTFS driver 2.1.29 [Flags: R/W].
    JFS: nTxBlock = 223, nTxLock = 1791
    msgmni has been set to 55
    alg: No test for stdrng (krng)
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
    atmel_usart.1: ttyS1 at MMIO 0xfffc0000 (irq = 6) is a ATMEL_SERIAL
    brd: module loaded
    usbcore: registered new interface driver ub
    PPP generic driver version 2.4.2
    NET: Registered protocol family 24
    at91_ether: probe of at91_ether failed with error -1
    usbcore: registered new interface driver irda-usb
    USB IrDA support registered
    Generic platform RAM MTD, (c) 2004 Simtec Electronics
    atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffe0000 (irq 13)
    atmel_spi atmel_spi.0: can't setup spi0.0, status -1
    usbmon: debugfs is not available
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    at91_ohci at91_ohci: AT91 OHCI
    at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
    at91_ohci at91_ohci: irq 23, io mem 0x00300000
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: AT91 OHCI
    usb usb1: Manufacturer: Linux 2.6.30.5 ohci_hcd
    usb usb1: SerialNumber: at91
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    usbcore: registered new interface driver cdc_acm
    cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
    usbcore: registered new interface driver cdc_wdm
    usbcore: registered new interface driver usbserial
    usbserial: USB Serial Driver core
    USB Serial support registered for FTDI USB Serial Device
    usbcore: registered new interface driver ftdi_sio
    ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
    USB Serial support registered for PocketPC PDA
    usbcore: registered new interface driver ipaq
    ipaq: v0.5:USB PocketPC PDA driver
    USB Serial support registered for IR Dongle
    usbcore: registered new interface driver ir-usb
    ir_usb: v0.4:USB IR Dongle driver
    USB Serial support registered for GSM modem (1-port)
    usbcore: registered new interface driver option
    option: v0.7.2:USB Driver for GSM modems
    USB Serial support registered for pl2303
    usbcore: registered new interface driver pl2303
    pl2303: Prolific PL2303 USB to serial adaptor driver
    USB Serial support registered for Qualcomm USB modem
    usbcore: registered new interface driver qcserial
    USB Serial support registered for Sierra USB modem
    usbcore: registered new interface driver sierra
    sierra: v.1.3.3:USB Driver for Sierra Wireless USB modems
    mice: PS/2 mouse device common for all mice
    IRQ 1/at91_rtc: IRQF_DISABLED is not guaranteed on shared IRQs
    at91_rtc at91_rtc: rtc core: registered at91_rtc as rtc0
    AT91 Real Time Clock driver.
    i2c /dev entries driver
    i2c-gpio i2c-gpio: using pins 57 (SDA) and 58 (SCL)
    AT91 Watchdog Timer enabled (5 seconds, nowayout)
    Bluetooth: Generic Bluetooth USB driver ver 0.5
    usbcore: registered new interface driver btusb
    sdhci: Secure Digital Host Controller Interface driver
    sdhci: Copyright(c) Pierre Ossman
    at91_mci at91_mci: 4 wire bus mode not supported - using 1 wire
    usbcore: registered new interface driver hiddev
    usbcore: registered new interface driver usbhid
    usbhid: v2.6:USB HID core driver
    TCP cubic registered
    NET: Registered protocol family 17
    can: controller area network core (rev 20090105 abi 8)
    NET: Registered protocol family 29
    can: raw protocol (rev 20090105)
    can: broadcast manager protocol (rev 20090105 t)
    IrCOMM protocol (Dag Brattli)
    Bluetooth: L2CAP ver 2.13
    Bluetooth: L2CAP socket layer initialized
    Bluetooth: SCO (Voice Link) ver 0.6
    Bluetooth: SCO socket layer initialized
    Bluetooth: RFCOMM socket layer initialized
    Bluetooth: RFCOMM TTY layer initialized
    Bluetooth: RFCOMM ver 1.11
    Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    Bluetooth: BNEP filters: protocol multicast
    Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    lib80211: common routines for IEEE802.11 drivers
    at91_rtc at91_rtc: setting system clock to 1998-01-01 00:01:30 UTC (883612890)
    Waiting 5sec before mounting root device...
    mmc0: host does not support reading read-only switch. assuming write-enable.
    mmc0: new SD card at address 153f
    mmcblk0: mmc0:153f S256R 238 MiB
     mmcblk0: p1
    EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
    VFS: Mounted root (ext2 filesystem) on device 179:1.
    Freeing init memory: 112K
    Give root password for system maintenance
    (or type Control-D for normal startup):

    System Maintenance Mode


    Welcome to Buildroot

    buildroot login: root

    Password:

    Dec 31 17:02:04 login[1001]: root login on 'ttyS0'


    Welcome to Buildroot

    buildroot login:
  • Computer Controls
  • #2
    User removed account
    User removed account  
  • #3
    arrevalk
    Level 25  
    A próbowałeś CTRL+D?:
    Code:
    Give root password for system maintenance 
    
    (or type Control-D for normal startup):