FreeAgent Go not recognised by uBoot on DockStar

Discussion about U-Boot and the kernel.

FreeAgent Go not recognised by uBoot on DockStar

Postby hydro » Wed Jun 15, 2011 4:13 pm

Hello,

Arch Linux ARM is running on my Seagate DockStar. It is installed on an USB flash drive with a boot partition (ext2), a root partition (ext4) and a home partition (ext4). I changed the following parameters in the uBoot environment to make sure the second partition is passed to the kernel:
Code: Select all
usb_scan_1=usb=0:1 dev=sda2
usb_scan_2=usb=1:1 dev=sdb2
usb_scan_3=usb=2:1 dev=sdc2
usb_scan_4=usb=3:1 dev=sdd2
usb_rootfstype=ext4

This is still working when an external hard disk (3,5" with separate power supply unit) is also attached at boot time. Now I want to replace that hard disk and use a 2,5" FreeAgent Go instead, which is the one that fits into the USB port on top of the DockStar and does not need extra power supply. But it turns out that uBoot does not recognise it. Here is the netconsole output:
Code: Select all
U-Boot 2010.09 (Oct 23 2010 - 11:49:22)
Marvell-Dockstar/Pogoplug by Jeff Doozan
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 5 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            219 MiB
UBI: number of good PEBs:        1752
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             1731
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2982152 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-2.6.38.6-custom
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2982088 Bytes = 2.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Only one storage device is detected, i.e the USB flash drive, so my custom kernel is started, but booting does not proceed, because the wrong root device (sda2) is passed to the kernel (the kernel obviously considers the HDD to be sda and the flash drive to be sdb). Here is the output with the 3,5" drive attached instead:
Code: Select all
U-Boot 2010.09 (Oct 23 2010 - 11:49:22)
Marvell-Dockstar/Pogoplug by Jeff Doozan
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 5 USB Device(s) found
       scanning bus for storage devices... 2 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            219 MiB
UBI: number of good PEBs:        1752
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             1731
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
** File not found /boot/uImage
Loading file "/boot/uImage" from usb device 1:1 (usbdb1)
1 bytes read
Found bootable drive on usb 1:1
Loading file "/boot/uImage" from usb device 1:1 (usbdb1)
2982152 bytes read
Loading file "/boot/uInitrd" from usb device 1:1 (usbdb1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-2.6.38.6-custom
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2982088 Bytes = 2.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

And booting proceeds, here is the content of /proc/cmdline
Code: Select all
console=ttyS0,115200 root=/dev/sdb2 rootdelay=10 rootfstype=ext4 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)

So why does uBoot not recognise the 2,5" HDD the same way, no matter on which USB port? The drive spins up as soon as the DockStar's power cable is connected. If I attach it after booting I can access it without problems. Both drives have one single ext4 partition.

As a workaround I put the USB flash drive into USB1 (back left as seen from front) and the 2,5" HDD on USB2 (back right), so sda2 actually becomes the root partition, and it does not matter whether the HDD is recognised by uBoot or not, but I would really prefer to use the top USB0 port (which is not damaged, I can boot with the 3,5" HDD attached to it using an adapter).

I could also edit the uBoot parameters to always use sdb2 as root partition, but I would have to adjust that whenever I change the number or order of storage devices. Maybe another workaround is to use the root devices's label in the kernel command line (root=LABEL=..), but as much as I know this requires an initrd and I don't know yet how to create one under Arch Linux ARM.

Any help is appreciated.
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany

Re: FreeAgent Go not recognised by uBoot on DockStar

Postby hydro » Wed Jun 22, 2011 1:48 pm

Okay, I found out how to create an uInitrd. Since I was familiar with mkinitcpio, I edited /etc/mkinitcpio.conf as follows
Code: Select all
HOOKS="base udev"

created a cpio image for the ARCH kernel (which I used for testing this time)
Code: Select all
mkinitcpio -v -k 2.6.39-ARCH -g /boot/kernel26.img

and used that image to create an initrd
Code: Select all
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs -d /boot/kernel26.img /boot/uInitrd

I changed the uBoot environment to use the root partitions label, i.e. 'root'
Code: Select all
fw_setenv usb_set_bootargs 'setenv bootargs console=$console root=LABEL=root rootwait rootfstype=ext4 $mtdparts $usb_custom_params'

Boot with USB0=3,5"HDD, USB2=flash drive works
Code: Select all
U-Boot 2010.09 (Oct 23 2010 - 11:49:22)
Marvell-Dockstar/Pogoplug by Jeff Doozan
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 5 USB Device(s) found
       scanning bus for storage devices... 2 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            219 MiB
UBI: number of good PEBs:        1752
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             1731
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
** File not found /boot/uImage
Loading file "/boot/uImage" from usb device 1:1 (usbdb1)
1 bytes read
Found bootable drive on usb 1:1
Loading file "/boot/uImage" from usb device 1:1 (usbdb1)
2624664 bytes read
Loading file "/boot/uInitrd" from usb device 1:1 (usbdb1)
1204180 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-2.6.39-ARCH
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2624600 Bytes = 2.5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    1204116 Bytes = 1.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

uInitrd is accepted, kernel boots and I can ssh to Arch Linux ARM where /proc/cmdline reads
Code: Select all
console=ttyS0,115200 root=LABEL=root rootwait rootfstype=ext4 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)

However, booting with USB0=2,5"HDD, USB2=flash drive still does not work
Code: Select all
U-Boot 2010.09 (Oct 23 2010 - 11:49:22)
Marvell-Dockstar/Pogoplug by Jeff Doozan
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 5 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            219 MiB
UBI: number of good PEBs:        1752
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             1731
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2624664 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
1204180 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-2.6.39-ARCH
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2624600 Bytes = 2.5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    1204116 Bytes = 1.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

LED becomes permanent green, a few secons later the LED on the USB flash drive flickers (kernel trying to mount root partition?), but then no more activity. So my assumption that uBoot passing the wrong root partition to the kernel was not the (only) problem. Similar problems are described here, but there is no solution.
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany

Re: FreeAgent Go not recognised by uBoot on DockStar

Postby hydro » Thu Jun 23, 2011 10:20 pm

I made a few more attempts mostly with

USB0 = 2,5" HDD (FreeAgent Go)
USB1 = 3,5" HDD
USB2 = flash drive

and sometimes (say 1 out of 4 attempts) booting does actually continue and Arch Linux ARM starts.
Netconsole output in case of success (same when no success):

Code: Select all
U-Boot 2010.09 (Oct 23 2010 - 11:49:22)
Marvell-Dockstar/Pogoplug by Jeff Doozan
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 5 USB Device(s) found
       scanning bus for storage devices... 2 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            219 MiB
UBI: number of good PEBs:        1752
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             1731
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
** File not found /boot/uImage
Loading file "/boot/uImage" from usb device 1:1 (usbdb1)
1 bytes read
Found bootable drive on usb 1:1
Loading file "/boot/uImage" from usb device 1:1 (usbdb1)
2581624 bytes read
Loading file "/boot/uInitrd" from usb device 1:1 (usbdb1)
1204181 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-2.6.39.1-custom
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2581560 Bytes = 2.5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    1204117 Bytes = 1.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

/proc/cmdline
Code: Select all
console=ttyS0,115200 root=UUID=3a00a73b-ed4d-495f-be88-3dbb42ac6f63 rootwait rootfstype=ext4 usb_root=/dev/sdb2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)

As you see I use UUID at the moment and added a parameter usb_root=$usb_root to see
which partition would otherwise have been passed to the kernel.
Code: Select all
/dev/sdc2 on / type ext4 (rw,noatime,nodiratime,user_xattr,acl,barrier=1,data=ordered)

Code: Select all
/dev/sdc2: LABEL="root" UUID="3a00a73b-ed4d-495f-be88-3dbb42ac6f63" TYPE="ext4"

Why does it not always work like in this rare case?

I noticed that the FreeAgent Go

a) spins up when power cable is connected (and hence uBoot starts)
b) spins down while uImage is loaded from flash drive
c) spings up again after uInitrd is loaded and kernel is started

I used the Windows tool that came with the FreeAgent Go to disable spindown at all, but it makes no difference,
the drive still spins down for some seconds as described above.

For testing purposes I replaced the FreeAgent Go with another 2,5" HDD that often fails to spin up even with a power supply unit attached. But the DockStar provides enough power: The HDD spins up, uBoot detects all three storage devices and booting succeds. This drive does however not spin down in between. The FreeAgent Go also does not spin down in between when it is attached to USB3 at the side of the DockStar (and maybe on any port that comes after the one the flash drive is attached to - I really cannot test all possible combinations).

Does that spindown confuse the kernel? How can I disable it? Is there a kernel parameter that could help?
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany

Re: FreeAgent Go not recognised by uBoot on DockStar

Postby hydro » Wed Jun 29, 2011 12:07 pm

I purchased a CA-42 cable and somehow managed to get the wires connected to provide a serial console and actually see the kernel messages via minicom.

Attached devices:
USB0 = 2,5" HDD (FreeAgent Go)
USB2= flash drive (Arch Linux ARM).

Netconsole output:
Code: Select all
U-Boot 2010.09 (Oct 23 2010 - 11:49:22)
Marvell-Dockstar/Pogoplug by Jeff Doozan
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 5 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            219 MiB
UBI: number of good PEBs:        1752
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             1731
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2581624 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
1204181 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-2.6.39.1-custom
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2581560 Bytes = 2.5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    1204117 Bytes = 1.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Serial console output:
Code: Select all
U-Boot 2010.09 (Oct 23 2010 - 11:49:22)
Marvell-Dockstar/Pogoplug by Jeff Doozan

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Using egiga0 device
host 172.16.1.3 is alive
Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.39.1-custom (olaf@Arch Linux ARM install) (gcc version 4.6.0 20110429 (prerelease) (GCC) ) #1 PREEMPT Tue 1
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Seagate FreeAgent DockStar
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=UUID=3a00a73b-ed4d-495f-be88-3dbb42ac6f63 rootwait rootfstype=)
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 122724k/122724k available, 8348k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xc8800000 - 0xfe800000   ( 864 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc0030000   ( 160 kB)
[    0.000000]       .text : 0xc0030000 - 0xc04e2bac   (4811 kB)
[    0.000000]       .data : 0xc04e4000 - 0xc05145a8   ( 194 kB)
[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptable hierarchical RCU implementation.
[    0.000000]  RCU-based detection of stalled CPUs is disabled.
[    0.000000]  Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:114
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[   19.002934] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   19.092870] pid_max: default: 32768 minimum: 301
[   19.092966] Security Framework initialized
[   19.092986] AppArmor: AppArmor disabled by boot time parameter
[   19.093033] Mount-cache hash table entries: 512
[   19.093354] CPU: Testing write buffer coherency: ok
[   19.095457] NET: Registered protocol family 16
[   19.096589] Kirkwood: MV88F6281-A0, TCLK=200000000.
[   19.096603] Feroceon L2: Cache support initialised.
[   19.116600] bio: create slab <bio-0> at 0
[   19.117204] vgaarb: loaded
[   19.117755] SCSI subsystem initialized
[   19.118890] usbcore: registered new interface driver usbfs
[   19.119189] usbcore: registered new interface driver hub
[   19.119380] usbcore: registered new device driver usb
[   19.120864] Switching to clocksource orion_clocksource
[   19.122867] Switched to NOHz mode on CPU #0
[   19.129005] FS-Cache: Loaded
[   19.145199] NET: Registered protocol family 2
[   19.145390] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[   19.145981] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[   19.146082] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[   19.146134] TCP: Hash tables configured (established 4096 bind 4096)
[   19.146144] TCP reno registered
[   19.146155] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   19.146178] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   19.146405] NET: Registered protocol family 1
[   19.146607] Trying to unpack rootfs image as initramfs...
[   19.232555] Freeing initrd memory: 1172K
[   19.233335] audit: initializing netlink socket (disabled)
[   19.233373] type=2000 audit(0.220:1): initialized
[   19.309450] VFS: Disk quotas dquot_6.5.2
[   19.309813] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   19.314546] JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[   19.315420] msgmni has been set to 241
[   19.316301] io scheduler noop registered
[   19.316312] io scheduler deadline registered
[   19.316399] io scheduler cfq registered (default)
[   19.323911] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   19.345342] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   19.732254] console [ttyS0] enabled
[   19.744919] brd: module loaded
[   19.752786] loop: module loaded
[   19.758012] ONFI flash detected
[   19.761342] ONFI param page 0 valid
[   19.764853] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD)
[   19.772697] Scanning device for bad blocks
[   19.930039] 4 cmdlinepart partitions found on MTD device orion_nand
[   19.936350] Creating 4 MTD partitions on "orion_nand":
[   19.941533] 0x000000000000-0x000000100000 : "u-boot"
[   19.947713] 0x000000100000-0x000000500000 : "uImage"
[   19.953856] 0x000000500000-0x000002500000 : "rootfs"
[   19.960012] 0x000002500000-0x000010000000 : "data"
[   19.968597] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   19.975725] mv643xx_eth smi: probed
[   19.985240] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:10:75:1a:dd:5b
[   19.994348] console [netcon0] enabled
[   19.998028] netconsole: network logging started
[   20.002837] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   20.009435] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   20.014805] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   20.050918] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   20.070904] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   20.077566] hub 1-0:1.0: USB hub found
[   20.081395] hub 1-0:1.0: 1 port detected
[   20.086055] Initializing USB Mass Storage driver...
[   20.091204] usbcore: registered new interface driver usb-storage
[   20.097235] USB Mass Storage support registered.
[   20.102359] mousedev: PS/2 mouse device common for all mice
[   20.400913] usb 1-1: new high speed USB device number 2 using orion-ehci
[   20.553067] hub 1-1:1.0: USB hub found
[   20.557103] hub 1-1:1.0: 4 ports detected
[   20.841240] usb 1-1.1: new high speed USB device number 3 using orion-ehci
[   21.110901] rtc-mv rtc-mv: internal RTC not ticking
[   21.116111] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   21.122574] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   21.161023] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   21.200940] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   21.240939] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[   21.280941] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[   21.287078] sdhci: Secure Digital Host Controller Interface driver
[   21.293332] sdhci: Copyright(c) Pierre Ossman
[   21.299147] usbcore: registered new interface driver r8712u
[   21.304821] oprofile: hardware counters not available
[   21.309890] oprofile: using timer interrupt.
[   21.315046] TCP cubic registered
[   21.318291] NET: Registered protocol family 17
[   21.322950] lib80211: common routines for IEEE802.11 drivers
[   21.328650] Registering the dns_resolver key type
[   21.334188] registered taskstats version 1
[   21.339065] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   21.345665] Freeing init memory: 160K
:: Starting udevd...
done.
Usage: /sbin/modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <]
/sbin/modprobe -r [-n] [-i] [-v] <modulename> ...
/sbin/modprobe -l -t <dirname> [ -a <modulename> ...]
:: Running Hook [udev]
:: Triggering uevents...[   23.863339] scsi0 : usb-storage 1-1.1:1.0
[   23.941235] usb 1-1.3: new high speed USB device number 4 using orion-ehci
[   24.057054] scsi1 : usb-storage 1-1.3:1.0
[   24.141264] usb 1-1.4: new high speed USB device number 5 using orion-ehci
done.
[   24.315589] uncorrectable error :
[   24.318846] end_request: I/O error, dev mtdblock1, sector 0
[   24.324625] Buffer I/O error on device mtdblock1, logical block 0
[   24.330989] uncorrectable error :
[   24.334236] end_request: I/O error, dev mtdblock1, sector 0
[   24.340015] Buffer I/O error on device mtdblock1, logical block 0
[   24.346396] uncorrectable error :
[   24.349644] end_request: I/O error, dev mtdblock1, sector 8
[   24.355423] Buffer I/O error on device mtdblock1, logical block 1
[   24.361737] uncorrectable error :
[   24.364982] end_request: I/O error, dev mtdblock1, sector 8
[   24.370762] Buffer I/O error on device mtdblock1, logical block 1
[   24.382748] uncorrectable error :
[   24.385998] end_request: I/O error, dev mtdblock1, sector 8
[   24.391778] Buffer I/O error on device mtdblock1, logical block 1
[   24.398107] uncorrectable error :
[   24.401371] end_request: I/O error, dev mtdblock1, sector 8
[   24.407151] Buffer I/O error on device mtdblock1, logical block 1
[   24.413522] uncorrectable error :
[   24.416770] end_request: I/O error, dev mtdblock1, sector 0
[   24.422549] Buffer I/O error on device mtdblock1, logical block 0
[   24.428875] uncorrectable error :
[   24.432136] end_request: I/O error, dev mtdblock1, sector 0
[   24.437914] Buffer I/O error on device mtdblock1, logical block 0
[   24.444307] uncorrectable error :
[   24.447552] end_request: I/O error, dev mtdblock1, sector 0
[   24.453331] Buffer I/O error on device mtdblock1, logical block 0
[   24.459653] uncorrectable error :
[   24.462916] end_request: I/O error, dev mtdblock1, sector 0
[   24.468696] Buffer I/O error on device mtdblock1, logical block 0
[   24.475017] uncorrectable error :
[   24.478263] end_request: I/O error, dev mtdblock1, sector 0
[   24.484244] uncorrectable error :
[   24.487489] end_request: I/O error, dev mtdblock1, sector 0
[   24.493469] uncorrectable error :
[   24.496715] end_request: I/O error, dev mtdblock1, sector 0
[   24.502703] uncorrectable error :
[   24.505950] end_request: I/O error, dev mtdblock1, sector 2048
[   24.512191] uncorrectable error :
[   24.515437] end_request: I/O error, dev mtdblock1, sector 0
[   24.521417] uncorrectable error :
[   24.524662] end_request: I/O error, dev mtdblock1, sector 0
[   24.530620] uncorrectable error :
[   24.533883] end_request: I/O error, dev mtdblock1, sector 0
[   24.539830] uncorrectable error :
[   24.543162] end_request: I/O error, dev mtdblock1, sector 0
[   24.549126] uncorrectable error :
[   24.552395] end_request: I/O error, dev mtdblock1, sector 0
[   24.558342] uncorrectable error :
[   24.561609] end_request: I/O error, dev mtdblock1, sector 0
[   24.567567] uncorrectable error :
[   24.570809] end_request: I/O error, dev mtdblock1, sector 0
[   24.576786] uncorrectable error :
[   24.580034] end_request: I/O error, dev mtdblock1, sector 0
[   24.586012] uncorrectable error :
[   24.589260] end_request: I/O error, dev mtdblock1, sector 0
[   24.595240] uncorrectable error :
[   24.598485] end_request: I/O error, dev mtdblock1, sector 0
[   24.604465] uncorrectable error :
[   24.607711] end_request: I/O error, dev mtdblock1, sector 0
[   24.613693] uncorrectable error :
[   24.616937] end_request: I/O error, dev mtdblock1, sector 0
[   24.622917] uncorrectable error :
[   24.626163] end_request: I/O error, dev mtdblock1, sector 0
[   24.632142] uncorrectable error :
[   24.635388] end_request: I/O error, dev mtdblock1, sector 0
[   24.641432] uncorrectable error :
[   24.644675] end_request: I/O error, dev mtdblock1, sector 8
[   24.650632] uncorrectable error :
[   24.653897] end_request: I/O error, dev mtdblock1, sector 8
[   24.659851] uncorrectable error :
[   24.663110] end_request: I/O error, dev mtdblock1, sector 8
[   24.669068] uncorrectable error :
[   24.672329] end_request: I/O error, dev mtdblock1, sector 8
[   24.678284] uncorrectable error :
[   24.681544] end_request: I/O error, dev mtdblock1, sector 24
[   24.687591] uncorrectable error :
[   24.690840] end_request: I/O error, dev mtdblock1, sector 24
[   24.696904] uncorrectable error :
[   24.700152] end_request: I/O error, dev mtdblock1, sector 24
[   24.706220] uncorrectable error :
[   24.709466] end_request: I/O error, dev mtdblock1, sector 24
[   24.715546] end_request: I/O error, dev mtdblock1, sector 56
[   24.721441] end_request: I/O error, dev mtdblock1, sector 56
[   24.727314] end_request: I/O error, dev mtdblock1, sector 56
[   24.733202] end_request: I/O error, dev mtdblock1, sector 56
[   24.739068] uncorrectable error :
[   24.742406] end_request: I/O error, dev mtdblock1, sector 120
[   24.748535] uncorrectable error :
[   24.751802] end_request: I/O error, dev mtdblock1, sector 120
[   24.757935] uncorrectable error :
[   24.761204] end_request: I/O error, dev mtdblock1, sector 120
[   24.767326] uncorrectable error :
[   24.770575] end_request: I/O error, dev mtdblock1, sector 120
[   24.776729] uncorrectable error :
[   24.779974] end_request: I/O error, dev mtdblock1, sector 0
[   24.785956] uncorrectable error :
[   24.789200] end_request: I/O error, dev mtdblock1, sector 0
[   24.795180] uncorrectable error :
[   24.798427] end_request: I/O error, dev mtdblock1, sector 8
[   24.804406] uncorrectable error :
[   24.807652] end_request: I/O error, dev mtdblock1, sector 8
[   24.813633] uncorrectable error :
[   24.816879] end_request: I/O error, dev mtdblock1, sector 24
[   24.822946] uncorrectable error :
[   24.826191] end_request: I/O error, dev mtdblock1, sector 24
[   24.832263] end_request: I/O error, dev mtdblock1, sector 56
[   24.838136] end_request: I/O error, dev mtdblock1, sector 56
[   24.844085] uncorrectable error :
[   24.847329] end_request: I/O error, dev mtdblock1, sector 120
[   24.853482] uncorrectable error :
[   24.856729] end_request: I/O error, dev mtdblock1, sector 120
[   24.862916] uncorrectable error :
[   24.866347] end_request: I/O error, dev mtdblock1, sector 0
[   24.872426] uncorrectable error :
[   24.875783] scsi 0:0:0:0: Direct-Access     Seagate  FreeAgent Go     0148 PQ: 0 ANSI: 4
[   24.884129] end_request: I/O error, dev mtdblock1, sector 0
[   24.891389] uncorrectable error :
[   24.894645] end_request: I/O error, dev mtdblock1, sector 0
[   24.913191] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   24.918825] uncorrectable error :
[   24.922208] end_request: I/O error, dev mtdblock1, sector 0
[   24.928241] uncorrectable error :
[   24.931591] end_request: I/O error, dev mtdblock1, sector 0
[   24.937559] uncorrectable error :
[   24.940806] end_request: I/O error, dev mtdblock1, sector 0
[   24.946834] uncorrectable error :
[   24.950077] end_request: I/O error, dev mtdblock1, sector 16
[   24.956176] uncorrectable error :
[   24.959425] end_request: I/O error, dev mtdblock1, sector 128
[   24.965704] uncorrectable error :
[   24.969195] end_request: I/O error, dev mtdblock1, sector 128
[   24.975675] uncorrectable error :
[   24.978954] end_request: I/O error, dev mtdblock1, sector 128
[   24.985099] sd 0:0:0:0: [sda] 625142447 512-byte logical blocks: (320 GB/298 GiB)
[   24.993371] uncorrectable error :
[   24.996615] end_request: I/O error, dev mtdblock1, sector 16
[   25.002797] uncorrectable error :
[   25.006072] end_request: I/O error, dev mtdblock1, sector 128
[   25.012199] sd 0:0:0:0: [sda] Write Protect is off
[   25.017022] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   25.023312] end_request: I/O error, dev mtdblock1, sector 64
[   25.029193] end_request: I/O error, dev mtdblock1, sector 64
[   25.037023] end_request: I/O error, dev mtdblock1, sector 64
[   25.043142] end_request: I/O error, dev mtdblock1, sector 64
[   25.049066] end_request: I/O error, dev mtdblock1, sector 64
[   25.055014] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   25.061257] end_request: I/O error, dev mtdblock1, sector 64
[   25.067533] end_request: I/O error, dev mtdblock1, sector 64
[   25.073613] scsi 1:0:0:0: Direct-Access     TOSHIBA  TransMemory      PMAP PQ: 0 ANSI: 0 CCS
[   25.082197] end_request: I/O error, dev mtdblock1, sector 64
[   25.089719]  sda: sda1
[   25.095270] end_request: I/O error, dev mtdblock1, sector 64
[   25.115170] uncorrectable error :
[   25.121028] sd 1:0:0:0: [sdb] 31252480 512-byte logical blocks: (16.0 GB/14.9 GiB)
[   25.129991] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   25.135491] end_request: I/O error, dev mtdblock1, sector 0
[   25.143881] sd 1:0:0:0: [sdb] Write Protect is off
[   25.148763] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   25.159578] sd 0:0:0:0: [sda] Attached SCSI disk
[   25.164534] uncorrectable error :
[   25.168367] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[   25.174594] end_request: I/O error, dev mtdblock1, sector 0
[   25.189091] uncorrectable error :
[   25.193972] end_request: I/O error, dev mtdblock1, sector 0
[   25.201527] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[   25.211052]  sdb: sdb1 sdb2 sdb3
[   25.217788] uncorrectable error :
[   25.227905] end_request: I/O error, dev mtdblock1, sector 0
[   25.237117] uncorrectable error :
[   25.241023] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[   25.251007] end_request: I/O error, dev mtdblock1, sector 0
[   25.259727] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[   25.270008] uncorrectable error :
[   25.273818] end_request: I/O error, dev mtdblock1, sector 16
[   25.279985] uncorrectable error :
[   25.283307] end_request: I/O error, dev mtdblock1, sector 0
[   25.289324] uncorrectable error :
[   25.292805] end_request: I/O error, dev mtdblock1, sector 0
[   25.298870] uncorrectable error :
[   25.302344] end_request: I/O error, dev mtdblock1, sector 0
[   25.308396] uncorrectable error :
[   25.311736] end_request: I/O error, dev mtdblock1, sector 0
[   25.317773] uncorrectable error :
[   25.321105] end_request: I/O error, dev mtdblock1, sector 0
[   25.327128] uncorrectable error :
[   25.330436] end_request: I/O error, dev mtdblock1, sector 0
[   25.336489] uncorrectable error :
[   25.339802] end_request: I/O error, dev mtdblock1, sector 0
[   25.345829] uncorrectable error :
[   25.349110] end_request: I/O error, dev mtdblock1, sector 0
[   25.355193] uncorrectable error :
[   25.358471] end_request: I/O error, dev mtdblock1, sector 0
[   25.364548] uncorrectable error :
[   25.367820] end_request: I/O error, dev mtdblock1, sector 0
[   25.374033] uncorrectable error :
[   25.377310] end_request: I/O error, dev mtdblock1, sector 0
[   25.384291] uncorrectable error :
[   25.387575] end_request: I/O error, dev mtdblock1, sector 0
[   25.393826] uncorrectable error :
[   25.397105] end_request: I/O error, dev mtdblock1, sector 0
[   25.403346] uncorrectable error :
[   25.406627] end_request: I/O error, dev mtdblock1, sector 0
[   25.412821] uncorrectable error :
[   25.416104] end_request: I/O error, dev mtdblock1, sector 0
[   25.422250] uncorrectable error :
[   25.425530] end_request: I/O error, dev mtdblock1, sector 0
[   25.431815] uncorrectable error :
[   25.435105] end_request: I/O error, dev mtdblock1, sector 0
[   25.441385] uncorrectable error :
[   25.444670] end_request: I/O error, dev mtdblock1, sector 0
[   25.450693] uncorrectable error :
[   25.454147] end_request: I/O error, dev mtdblock1, sector 8
[   25.460160] uncorrectable error :
[   25.463461] end_request: I/O error, dev mtdblock1, sector 0
[   25.469653] uncorrectable error :
[   25.472955] end_request: I/O error, dev mtdblock1, sector 0
[   25.480698] uncorrectable error :
[   25.484156] end_request: I/O error, dev mtdblock1, sector 0
[   25.490174] uncorrectable error :
[   25.493471] end_request: I/O error, dev mtdblock1, sector 0
[   25.499653] uncorrectable error :
[   25.502952] end_request: I/O error, dev mtdblock1, sector 0
[   25.509120] uncorrectable error :
[   25.512416] end_request: I/O error, dev mtdblock1, sector 0
[   25.518612] uncorrectable error :
[   25.521908] end_request: I/O error, dev mtdblock1, sector 0
[   25.528086] uncorrectable error :
[   25.531383] end_request: I/O error, dev mtdblock1, sector 0
Root device 'UUID=3a00a73b-ed4d-495f-be88-3dbb42ac6f63' doesn't exist. Attempting to create it.
ERROR: Unable to determine major/minor number of root device 'UUID=3a00a73b-ed4d-495f-be88-3dbb42ac6f63'.
You are being dropped to a recovery shell
    Type 'exit' to try and continue booting
/bin/sh: can't access tty; job control turned off
[ramfs /]#

There seems to be some wrong use of modprobe in udevd and loads of I/O errors on mtdblock1... I searched for the error message at the end and found this thread in a german forum. So I changed the usb_set_bootargs variable again to use
Code: Select all
root=/dev/disk/by-label/<label-of-root-partition>

instead of
Code: Select all
root=UUID=<uuid-of-root-partition>

and it worked (netconsole output same as above):
Code: Select all
U-Boot 2010.09 (Oct 23 2010 - 11:49:22)
Marvell-Dockstar/Pogoplug by Jeff Doozan

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Using egiga0 device
host 172.16.1.3 is alive
Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.39.1-custom (olaf@Arch Linux ARM install) (gcc version 4.6.0 20110429 (prerelease) (GCC) ) #1 PREEMPT Tue 1
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Seagate FreeAgent DockStar
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/disk/by-label/root rootwait rootfstype=ext4 mtdparts=orio)
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 122724k/122724k available, 8348k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xc8800000 - 0xfe800000   ( 864 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc0030000   ( 160 kB)
[    0.000000]       .text : 0xc0030000 - 0xc04e2bac   (4811 kB)
[    0.000000]       .data : 0xc04e4000 - 0xc05145a8   ( 194 kB)
[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptable hierarchical RCU implementation.
[    0.000000]  RCU-based detection of stalled CPUs is disabled.
[    0.000000]  Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:114
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[   19.003381] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   19.093317] pid_max: default: 32768 minimum: 301
[   19.093412] Security Framework initialized
[   19.093433] AppArmor: AppArmor disabled by boot time parameter
[   19.093480] Mount-cache hash table entries: 512
[   19.093801] CPU: Testing write buffer coherency: ok
[   19.095900] NET: Registered protocol family 16
[   19.097033] Kirkwood: MV88F6281-A0, TCLK=200000000.
[   19.097047] Feroceon L2: Cache support initialised.
[   19.117058] bio: create slab <bio-0> at 0
[   19.117666] vgaarb: loaded
[   19.118217] SCSI subsystem initialized
[   19.119353] usbcore: registered new interface driver usbfs
[   19.119651] usbcore: registered new interface driver hub
[   19.119840] usbcore: registered new device driver usb
[   19.121332] Switching to clocksource orion_clocksource
[   19.123315] Switched to NOHz mode on CPU #0
[   19.129480] FS-Cache: Loaded
[   19.145666] NET: Registered protocol family 2
[   19.145859] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[   19.146449] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[   19.146549] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[   19.146602] TCP: Hash tables configured (established 4096 bind 4096)
[   19.146612] TCP reno registered
[   19.146623] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   19.146646] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   19.146873] NET: Registered protocol family 1
[   19.147076] Trying to unpack rootfs image as initramfs...
[   19.233056] Freeing initrd memory: 1172K
[   19.233840] audit: initializing netlink socket (disabled)
[   19.233880] type=2000 audit(0.220:1): initialized
[   19.309992] VFS: Disk quotas dquot_6.5.2
[   19.310357] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   19.315082] JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[   19.315961] msgmni has been set to 241
[   19.316840] io scheduler noop registered
[   19.316850] io scheduler deadline registered
[   19.316937] io scheduler cfq registered (default)
[   19.324462] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   19.345890] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[   19.729572] console [ttyS0] enabled
[   19.742260] brd: module loaded
[   19.749749] loop: module loaded
[   19.755369] ONFI flash detected
[   19.758619] ONFI param page 0 valid
[   19.762210] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD)
[   19.769911] Scanning device for bad blocks
[   19.927349] 4 cmdlinepart partitions found on MTD device orion_nand
[   19.933660] Creating 4 MTD partitions on "orion_nand":
[   19.938831] 0x000000000000-0x000000100000 : "u-boot"
[   19.945006] 0x000000100000-0x000000500000 : "uImage"
[   19.951128] 0x000000500000-0x000002500000 : "rootfs"
[   19.957333] 0x000002500000-0x000010000000 : "data"
[   19.965915] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   19.973017] mv643xx_eth smi: probed
[   19.982572] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:10:75:1a:dd:5b
[   19.991664] console [netcon0] enabled
[   19.995337] netconsole: network logging started
[   20.000073] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   20.006711] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   20.012057] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   20.041386] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   20.061373] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   20.068044] hub 1-0:1.0: USB hub found
[   20.071877] hub 1-0:1.0: 1 port detected
[   20.076536] Initializing USB Mass Storage driver...
[   20.081686] usbcore: registered new interface driver usb-storage
[   20.087718] USB Mass Storage support registered.
[   20.092837] mousedev: PS/2 mouse device common for all mice
[   20.391382] usb 1-1: new high speed USB device number 2 using orion-ehci
[   20.543572] hub 1-1:1.0: USB hub found
[   20.547607] hub 1-1:1.0: 4 ports detected
[   20.831620] usb 1-1.1: new high speed USB device number 3 using orion-ehci
[   21.101368] rtc-mv rtc-mv: internal RTC not ticking
[   21.106575] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[   21.113032] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[   21.151488] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   21.191408] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[   21.231406] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[   21.271408] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[   21.277543] sdhci: Secure Digital Host Controller Interface driver
[   21.283797] sdhci: Copyright(c) Pierre Ossman
[   21.289611] usbcore: registered new interface driver r8712u
[   21.295288] oprofile: hardware counters not available
[   21.300364] oprofile: using timer interrupt.
[   21.305519] TCP cubic registered
[   21.308765] NET: Registered protocol family 17
[   21.313421] lib80211: common routines for IEEE802.11 drivers
[   21.319115] Registering the dns_resolver key type
[   21.324653] registered taskstats version 1
[   21.329531] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   21.336131] Freeing init memory: 160K
:: Starting udevd...
done.
Usage: /sbin/modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <]
/sbin/modprobe -r [-n] [-i] [-v] <modulename> ...
/sbin/modprobe -l -t <dirname> [ -a <modulename> ...]
:: Running Hook [udev]
:: Triggering uevents...[   23.833847] scsi0 : usb-storage 1-1.1:1.0
[   23.911628] usb 1-1.3: new high speed USB device number 4 using orion-ehci
[   24.027564] scsi1 : usb-storage 1-1.3:1.0
[   24.111642] usb 1-1.4: new high speed USB device number 5 using orion-ehci
done.
Waiting 10 seconds for device /dev/disk/by-label/root ...
[   24.832332] scsi 0:0:0:0: Direct-Access     Seagate  FreeAgent Go     0148 PQ: 0 ANSI: 4
[   24.854435] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   24.921446] sd 0:0:0:0: [sda] 625142447 512-byte logical blocks: (320 GB/298 GiB)
[   24.929963] sd 0:0:0:0: [sda] Write Protect is off
[   24.934833] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   24.943756] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   24.954581]  sda: sda1
[   24.969279] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   24.980659] sd 0:0:0:0: [sda] Attached SCSI disk
[   25.032774] scsi 1:0:0:0: Direct-Access     TOSHIBA  TransMemory      PMAP PQ: 0 ANSI: 0 CCS
[   25.049051] sd 1:0:0:0: [sdb] 31252480 512-byte logical blocks: (16.0 GB/14.9 GiB)
[   25.060955] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   25.074583] sd 1:0:0:0: [sdb] Write Protect is off
[   25.079675] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[   25.090531] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[   25.098334]  sdb: sdb1 sdb2 sdb3
[   25.116662] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[   25.129011] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[   27.295250] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
INIT: version 2.88 booting

 > Arch Linux ARM

 > http://www.archlinuxarm.org

   ------------------------------
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
:: Starting UDev Daemon    [BUSY]    [DONE]
:: Triggering UDev uevents    [BUSY]    [DONE]
:: Waiting for UDev uevents to be processed    [BUSY]    [DONE]
:: Bringing up loopback interface    [BUSY]    [DONE]
:: Checking Filesystems    [BUSY]    [DONE]
:: Mounting Local Filesystems    [BUSY]    [DONE]
:: Activating Swap    [BUSY]    [DONE]
:: Configuring Time Zone    [BUSY]    [DONE]
:: Removing Leftover Files    [BUSY]    [DONE]
:: Setting Hostname: Arch Linux ARM install    [BUSY]    [DONE]
:: Setting Locale: de_DE.UTF-8    [BUSY]    [DONE]
:: Setting Consoles to UTF-8 mode    [BUSY] G   [DONE]
:: Loading Keyboard Map: de-latin1-nodeadkeys    [BUSY]    [DONE]
INIT: Entering runlevel: 3
:: Starting Syslog-NG    [BUSY]    [DONE]
:: Starting Network    [BUSY]    [DONE]
:: Starting OpenNTPD    [BUSY]    [DONE]
:: Starting Secure Shell Daemon    [BUSY]    [DONE]
:: Starting Cron Daemon    [BUSY]    [DONE]



Arch Linux 2.6.39.1-custom  (Arch Linux ARM install) (ttyS0)

Arch Linux ARM install login:

Most obviously, apart from successful boot, there are no error messages concerning mtdblock1 this time... I really didn't expect such a big difference between using root=LABEL=<label> (as in my second posting) and root=/dev/disk/by-label/<label>, but I rebooted several times, also with the 3,5 HDD attached on USB1 and it always worked, so finally the issue is solved for me.
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 1 guest