LS DUO: Serial Port Output - Boot-Log

=Serial Port Output= This information comes from this forum thread The Buffalo NAS hacking Forums:Serial @ Pro Duo

U-Boot Version
Marvell>> version

U-Boot 1.1.1 (Jan 7 2008 - 21:04:08) Marvell version: 1.12.1 - TINY

Possible u-boot commands
Marvell>> help ?      - alias for 'help' base   - print or set address offset board_info  -show board information. boot   - boot default, i.e., run 'bootcmd' bootd  - boot default, i.e., run 'bootcmd' bootend - with micon. send bootend. bootm  - boot application image from memory bootp  - boot image via network using BootP/TFTP protocol bubt   - Burn an image on the Boot Flash. buzzer         - with micon. buzzer command. cmp    - memory compare cp     - memory copy cpumap - Display CPU memory mapping settings. crc32  - checksum calculation date   - get/set/reset date & time diskboot- boot from IDE device echo   - echo args to console erase  - erase FLASH memory ext2load- load binary file from a Ext2 filesystem ext2ls- list files in a directory (default /) fan_control    - with micon. fan control. fan_rpm        - with micon. fan get rpm. flinfo - print FLASH memory information get_sw         - without micon. get switch status. go     - start application at address 'addr' hdd_power      - hdd power control. help   - print online help ide    - IDE sub-system led            - without micon. call led control routine(for debug). led_blink      - with micon. led blink control setting. led_cpu_mcon   - with micon. led cpu micon control setting. led_on_off     - with micon. led on off control setting. loop   - infinite loop on address range md     - memory display micon          - with micon. command(2byte hex) -data(witin 32byte hex) mm     - memory modify (auto-incrementing) mtest  - simple RAM test mw     - memory write (fill) nm     - memory modify (constant address) pci    - list and access PCI Configuraton Space printenv- print environment variables protect - enable or disable FLASH write protection rarpboot- boot image via network using RARP/TFTP protocol reset  - Perform RESET of the CPU resetenv       - Return all environment variable to default. saveenv - save environment variables to persistent storage security -device -command -options -password setenv - set environment variables shutdown       - with micon. Poff. sw_power       - with micon. software power control interface tftpboot- boot image via network using TFTP protocol usb_power      - without micon. usb power control. version - print monitor version

Flash Information
Marvell>> flinfo

Bank # 1: SST SST39VF020 (2 Mbit) Size: 256 kB,Bus Width: 1, device Width: 1. Flash base: 0xfffc0000,Number of Sectors: 64 Type: REGULAR. Sector Start Addresses: 00000000 (RO) 00001000 (RO) 00002000 (RO) 00003000 (RO) 00004000 (RO) 00005000 (RO) 00006000 (RO) 00007000 (RO) 00008000 (RO) 00009000 (RO) 0000a000 (RO) 0000b000 (RO) 0000c000 (RO) 0000d000 (RO) 0000e000 (RO) 0000f000 (RO) 00010000 (RO) 00011000 (RO) 00012000 (RO) 00013000 (RO) 00014000 (RO) 00015000 (RO) 00016000 (RO) 00017000 (RO) 00018000 (RO) 00019000 (RO) 0001a000 (RO) 0001b000 (RO) 0001c000 (RO) 0001d000 (RO) 0001e000 (RO) 0001f000 (RO) 00020000 (RO) 00021000 (RO) 00022000 (RO) 00023000 (RO) 00024000 (RO) 00025000 (RO) 00026000 (RO) 00027000 (RO) 00028000 (RO) 00029000 (RO) 0002a000 (RO) 0002b000 (RO) 0002c000 (RO) 0002d000 (RO) 0002e000 (RO) 0002f000 (RO) 00030000 (RO) 00031000 (RO) 00032000 (RO) 00033000 (RO) 00034000 (RO) 00035000 (RO) 00036000 (RO) 00037000 (RO) 00038000 (RO) 00039000 (RO) 0003a000 (RO) 0003b000 (RO) 0003c000 (RO) 0003d000 (RO) 0003e000 (RO) 0003f000

Bank # 2: missing or unknown FLASH type

Board Information
Marvell>> board_info board configuration VGPP_CONFIG_NUM=  2 BoardId       =  24    (0x0018) gBoardId      =  24    (0x0018)

power control bit hdd_power     =   1    (0x0002) usb_power     =   9    (0x0200)

led control bit led_info      =   3    (0x0008) led_power     =   0    (0x0001) led_alarm     =   2    (0x0004)

fan control bit fan_full      =  14    (0x4000) fan_lock      =   6    (0x0040)

sw control bit sw_init       =   7    (0x0080) sw_power      =   8    (0x0100) sw_raid       = 255    (0x0000) sw_auto_power =  10    (0x0400)

Switch status
Marvell>> get_sw Usage: get_sw         - without micon. get switch status.

sw_status = 0x0001

PCI Configuration
Marvell>> pci Scanning PCI devices on bus 0 BusDevFun VendorId   DeviceId   Device Class       Sub-Class _____________________________________________________________ 00.00.00  0x11ab     0x5182     Memory controller       0x80

Bootup Sequence
> Checking hardware info ... === Strap status : 0x00002030 === === H/W boardId :       0x13 === === boardId     :       0x18 === === micon_support:       off === > OK. === BUFFALO LS-WTGL/R1 U-Boot. ===   ** LOADER ** ** BUFFALO BOARD: BUFFALO_BOARD_LS_WTGL/R1 LE (CFG_ENV_ADDR=fffff000)

U-Boot 1.1.1 (Jan 7 2008 - 21:04:08) Marvell version: 1.12.1 - TINY Buffalo Version: 1.13-1.00

DRAM CS[0] base 0x00000000  size  64MB DRAM Total size 64MB [256kB@fffc0000] Flash: 256 kB   Addresses 20M - 0M are saved for the U-Boot usage. Mem malloc Initialization (20M - 16M): Done

Soc: 88F5182 A2   CPU: ARM926 (Rev 0) running @ 400Mhz Orion 1 streaming disabled SysClock = 250Mhz, TClock = 166Mhz

USB 0: host mode PCI 0: PCI Express Root Complex Interface PCI 1: Conventional PCI, speed = 33000000 Net:  egiga0 [PRIME] Using 88E1118 phy buffalo_change_power_status > Read 0x3a buffalo_IsStopAtUbootStatus > MagicKey=0x3a buffalo_change_power_status > Read 0x3a buffalo_change_power_status > Read 0x3a buffalo_change_power_status > Writing 0x5c

Please Press HDD power button to continue ...

RunLevel 2
buffalo_change_power_status > Read 0x5c buffalo_change_power_status > Writing 0x3a

Marvell Serial ATA Adapter Integrated Sata device found Device 0: OK   Model: SAMSUNG HD501LJ                          Firm: CR100-10 Ser#: S0MUJDSP620337 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) Device 1: OK   Model: SAMSUNG HD501LJ                          Firm: CR100-12 Ser#: S0Z4J1FP804864 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)

Using device ide0, partition 1

Loading from block device ide device 0, partition 1: Name: hda1 Type: U-Boot File:/initrd.buffalo

4563579 bytes read Using device ide1, partition 1

Loading from block device ide device 1, partition 1: Name: hdb1 Type: U-Boot File:/initrd.buffalo

4563579 bytes read Booting from Device 0 hit any key to switch tftp boot. Hit any key to stop autoboot: 0 Hit any key to stop autoboot: 0

Reset IDE: Marvell Serial ATA Adapter Integrated Sata device found Device 0: OK   Model: SAMSUNG HD501LJ                          Firm: CR100-10 Ser#: S0MUJDSP620337 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) Device 1: OK   Model: SAMSUNG HD501LJ                          Firm: CR100-12 Ser#: S0Z4J1FP804864 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)

Using device ide0, partition 1

Loading from block device ide device 0, partition 1: Name: hda1 Type: U-Boot File:/uImage.buffalo

1949476 bytes read Using device ide1, partition 1

Loading from block device ide device 1, partition 1: Name: hdb1 Type: U-Boot File:/initrd.buffalo

4563579 bytes read ## Booting image at 00100000 ... Image Name:  Linux-2.6.16.16-teralive110gpl4L Created:     2007-11-03  22:18:47 UTC Image Type:  ARM Linux Kernel Image (uncompressed) Data Size:   1949412 Bytes =  1.9 MB       Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK   OK    ## Loading Ramdisk Image at 00800000 ... Image Name:  initrd Created:     2006-12-27  21:19:31 UTC Image Type:  ARM Linux RAMDisk Image (gzip compressed) Data Size:   4563515 Bytes =  4.4 MB       Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK

Starting kernel ...

arg:console=ttyS0,115200 mem=64m root=/dev/sda2 rw initrd=0x00800040,15M panic=5 BOOTVER=1.13 CONFIG_BUFFALO_PLATFORM CONFIG_BUFFALO_LINKSTATION_LSGL --- Uncompressing Linux........................................................................................... Linux version 2.6.16.16-teralive110gpl4LSPro-mb_v6 (mindbender@mindbender) (gcc version 3.4.4 (release) (Code7 CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ) Machine: MV-88fxx81 Using UBoot passing parameters structure Sys Clk = 250000000, Tclk = 166664740

- Warning - This LSP release was tested only with U-Boot release 1.7.3

Memory policy: ECC disabled, Data cache writeback CPU0: D VIVT write-back cache CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets Built 1 zonelists Kernel command line: console=ttyS0,115200 mem=64m root=/dev/sda2 rw initrd=0x00800040,15M panic=5 BOOTVER=1.13 PID hash table entries: 512 (order: 9, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 64MB = 64MB total Memory: 45384KB available (3340K code, 596K data, 116K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok   checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Freeing initrd memory: 15360K NET: Registered protocol family 16 FLASH boardId = 12 Flash bankwidth 1, base ff800000, size 400000 BUFFALO LS_GL FLASH size 4096[KB]

Marvell Development Board (LSP Version 1.7.8_NAS)-- BUFFALO_BOARD_LS_GL

Detected Tclk 166664740 and SysClk 250000000 Marvell USB EHCI Host controller #0: c16f5e00 Marvell USB EHCI Host controller #1: c16f5c00 pexBarOverlapDetect: winNum 2 overlap current 0 mvPexInit:Warning :Bar 2 size is illigal it will be disabled please check Pex and CPU windows configuration Request resource failed - PEX 0 PCI: bus0: Fast back to back transfers enabled PCI: bus1: Fast back to back transfers enabled SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub use IDMA acceleration in copy to/from user buffers. used channels 2 and 3 Done. cesadev_init(c0011b74) Fast Floating Point Emulator V0.9 (c) Peter Teichmann. SGI XFS with ACLs, security attributes, large block numbers, no debug enabled SGI XFS Quota Management subsystem Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x0 (irq = 3) is a 16550A serial8250: ttyS1 at MMIO 0x0 (irq = 4) is a 16550A RAMDISK driver initialized: 3 RAM disks of 16384K size 1024 blocksize loop: loaded (max 8 devices) Marvell Gigabit Ethernet Driver 'egiga': o Ethernet descriptors in DRAM o DRAM SW cache-coherency o Checksum offload enabled o Loading network interface ** egiga_init_module (0) 'eth0' Intergrated Sata device found scsi0 : Marvell SCSI to SATA adapter scsi1 : Marvell SCSI to SATA adapter ** BUFFALO Disable Command Queuing Function [0 0] ** ** BUFFALO Disable Command Queuing Function [0 1] ** Vendor: SAMSUNG  Model: HD501LJ           Rev: CR10 Type:  Direct-Access                      ANSI SCSI revision: 03 Vendor: SAMSUNG  Model: HD501LJ           Rev: CR10 Type:  Direct-Access                      ANSI SCSI revision: 03 Linux IAL (ERROR) : retry command host=0, bus=0 SCpnt = c37bbba0 SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB) sda: Write Protect is off SCSI device sda: drive cache: write back SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB) sda: Write Protect is off SCSI device sda: drive cache: write back sda: sda1 sda2 sda4 sd 0:0:0:0: Attached scsi disk sda Linux IAL (ERROR) : retry command host=1, bus=1 SCpnt = c37bbba0 SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB) sdb: Write Protect is off SCSI device sdb: drive cache: write back SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB) sdb: Write Protect is off SCSI device sdb: drive cache: write back sdb: sdb1 sdb2 sdb4 sd 1:0:0:0: Attached scsi disk sdb sd 0:0:0:0: Attached scsi generic sg0 type 0 sd 1:0:0:0: Attached scsi generic sg1 type 0 physmap flash device: 400000 at ff800000 >jedec_probe Found: SST 39LF020 phys_mapped_flash: Found 1 x8 devices at 0x0 in 8-bit bank number of JEDEC chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. cmdlinepart partition parsing not available RedBoot partition parsing not available ehci_platform ehci_platform.4523: EHCI Platform Host Controller ehci_platform ehci_platform.4523: new USB bus registered, assigned bus number 1 ehci_platform ehci_platform.4523: irq 17, io mem 0x00000000 ehci_platform ehci_platform.4523: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: Product: EHCI Platform Host Controller usb usb1: Manufacturer: Linux 2.6.16.16-teralive110gpl4LSPro-mb_v6 ehci_hcd usb usb1: SerialNumber: ehci_platform.4523 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ehci_platform ehci_platform.16781: EHCI Platform Host Controller ehci_platform ehci_platform.16781: new USB bus registered, assigned bus number 2 ehci_platform ehci_platform.16781: irq 12, io mem 0x00000000 ehci_platform ehci_platform.16781: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb2: Product: EHCI Platform Host Controller usb usb2: Manufacturer: Linux 2.6.16.16-teralive110gpl4LSPro-mb_v6 ehci_hcd usb usb2: SerialNumber: ehci_platform.16781 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected USB Universal Host Controller Interface driver v2.3 usbcore: registered new driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice md: linear personality registered for level -1 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 md: raid5 personality registered for level 5 md: raid4 personality registered for level 4 raid5: measuring checksumming speed arm4regs :   308.800 MB/sec 8regs    :   217.600 MB/sec 32regs   :   252.400 MB/sec raid5: using function: arm4regs (308.800 MB/sec) md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 Kernel event proc (C) BUFFALO INC. V.1.00 installed. MICON ctrl (C) BUFFALO INC. V.1.00 installed. MICON V2 (C) BUFFALO INC. V.1.00 installed. NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 2, 16384 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 md: Autodetecting RAID arrays. md: autorun ...   md: considering sdb6 ...    md:  adding sdb6 ...    md:  adding sda6 ... md: created md2 md: bind md: bind md: running: raid1: raid set md2 active with 2 out of 2 mirrors md: ... autorun DONE. RAMDISK: Compressed image found at block 0 EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended VFS: Mounted root (ext2 filesystem). in Modified linuxrc --- Thu Mar 20 20:17:05 JST 2008 err: RecvPacket: readlen=0. kjournald starting. Commit interval 5 seconds EXT3 FS on sda1, internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. err: RecvPacket: readlen=0. err: RecvPacket: readlen=0. err: RecvPacket: readlen=0. err: RecvPacket: readlen=0. linuxrc:choose operation (timeout 4[s]) 1:RamRoot other:HddRoot ? -HddRoot- KERNEL:2007/11/3 23:17:32 HDD:2007/6/28 9:42:0 >>> Not expected kernel version, upgrade /etc/linkstation_release Bypassing CopyFromInitrdToHdd checking local disk.... fsck 1.27 (8-Mar-2002) e2fsck 1.27 (8-Mar-2002) fsck.ext2: Filesystem has unsupported feature(s) (/dev/ls_disk1_1) e2fsck: Get a newer version of e2fsck! done XFS mounting filesystem sda2 Starting XFS recovery on filesystem: sda2 (logdev: internal) Ending XFS recovery on filesystem: sda2 (logdev: internal) VFS: Mounted root (xfs filesystem). Trying to move old root to /initrd ... okay Freeing init memory: 116K INIT: version 2.86 booting * .udev/ already exists on the static /dev! Starting the hotplug events dispatcher: udevdudevd[357]: main: the kernel does not support inotify, udevd cans .   Synthesizing the initial hotplug events...SAL (ERROR)  0 0 0 :Scsi command completed. pScb c37162c0, ScsiStatD SAL (ERROR) CDB:12 1 0 0 fe 0 SAL (ERROR) Sense Data:70 0 5 0 0 0 0 a 0 0 0 0 24 0 0 0 0 0 SAL (ERROR) 0 1 0 :Scsi command completed. pScb c37162c0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BD SAL (ERROR) CDB:12 1 0 0 fe 0 SAL (ERROR) Sense Data:70 0 5 0 0 0 0 a 0 0 0 0 24 0 0 0 0 0 SAL (ERROR) 0 0 0 :Scsi command completed. pScb c37162c0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BD SAL (ERROR) CDB:12 1 0 0 fe 0 SAL (ERROR) Sense Data:70 0 5 0 0 0 0 a 0 0 0 0 24 0 0 0 0 0 SAL (ERROR) 0 1 0 :Scsi command completed. pScb c37162c0, ScsiStatus 2 completionStatus MV_SCSI_COMPLETION_BD SAL (ERROR) CDB:12 1 0 0 fe 0 SAL (ERROR) Sense Data:70 0 5 0 0 0 0 a 0 0 0 0 24 0 0 0 0 0 done. Waiting for /dev to be fully populated...done. GSetting parameters of disc: (none). Activating swap:swapon on /dev/sda5 Adding 1004020k swap on /dev/sda5. Priority:-1 extents:1 across:1004020k swapon on /dev/sdb5 Adding 1003896k swap on /dev/sdb5. Priority:-2 extents:1 across:1003896k .   Setting the system clock.. System Clock set. Local time: Thu Mar 20 20:17:52 UTC 2008. Cleaning up ifupdown....   Loading device-mapper support. Generating udev events for MD arrays...done. Will now check all file systems. fsck 1.40-WIP (14-Nov-2006) Checking all file systems. [/sbin/fsck.ext3 (1) -- /boot] fsck.ext3 -y -C0 /dev/sda1 e2fsck 1.40-WIP (14-Nov-2006) /dev/sda1: clean, 22/125696 files, 11344/251007 blocks Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable. Setting kernel variables...done. Will now mount local filesystems:mount: none already mounted or /dev/pts busy mount: according to mtab, devpts is already mounted on /dev/pts kjournald starting. Commit interval 5 seconds EXT3 FS on sda1, internal journal EXT3-fs: mounted filesystem with ordered data mode. EXT3-fs: journalled quota options not supported. EXT3-fs: journalled quota options not supported. kjournald starting. Commit interval 5 seconds EXT3-fs warning: maximal mount count reached, running e2fsck is recommended EXT3 FS on md2, internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. failed! Will now activate swapfile swap:done. Cleaning /var/run...done. Cleaning /var/lock...done. Setting up resolvconf...done. Setting up networking....   * /etc/network/options is deprecated (see README.Debian of netbase). Setting up IP spoofing protection...done (rp_filter). Configuring network interfaces...eth0: link down done. Start services: micro_evtd Starting portmap daemon.... eth0: link up<5>, full duplex<5>, speed 1 Gbps<5> Setting console screen modes and fonts. Starting kernelmon:Initializing random number generator...done. INIT: Entering runlevel: 2 err: RecvPacket: readlen=0.