Welcome! Log In Create A New Profile

Advanced

Pogoplug E02 couldn't get the rootfs and showed "Gave up waiting for root device"

Posted by Ben 
PogoE02>

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:13:18 -0700)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
No link on egiga0
ping failed; host 192.168.2.118 is not alive
No link on egiga0
ping failed; host 192.168.2.118 is not alive
No link on egiga0
ping failed; host 192.168.2.118 is not alive
No link on egiga0
ping failed; host 192.168.2.118 is not alive
No link on egiga0
ping failed; host 192.168.2.118 is not alive
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     63              7293825         79534b65-01     83 Boot
  2     7293888         532224          79534b65-02     82

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 754 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
2461416 bytes read in 904 ms (2.6 MiB/s)
loading uInitrd ...
6362802 bytes read in 1062 ms (5.7 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
** File not found /boot/dts/kirkwood-pogo_e02.dtb **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.14.0-kirkwood-tld-1
   Created:      2014-04-06  20:44:27 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2461352 Bytes = 2.3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.14.0-kirkwood-tld-1
   Created:      2014-04-06  20:44:41 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6362738 Bytes = 6.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f4fe000, end 0fb0f672 ... OK
Using machid 0xdd6 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.14.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Tue Apr 1 22:54:58 PDT 2014
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Pogoplug E02
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 246192K/262144K available (4779K kernel code, 352K rwdata, 1644K rodata, 213K init, 424K bss, 15952K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc064df14   (6424 kB)
[    0.000000]       .init : 0xc064e000 - 0xc0683444   ( 214 kB)
[    0.000000]       .data : 0xc0684000 - 0xc06dc3c4   ( 353 kB)
[    0.000000]        .bss : 0xc06dc3c4 - 0xc074665c   ( 425 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000012] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[   13.878440] Console: colour dummy device 80x30
[   13.878470] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   13.968215] pid_max: default: 32768 minimum: 301
[   13.968324] Security Framework initialized
[   13.968388] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   13.968408] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   13.968995] Initializing cgroup subsys devices
[   13.969019] Initializing cgroup subsys freezer
[   13.969032] Initializing cgroup subsys net_cls
[   13.969043] Initializing cgroup subsys blkio
[   13.969120] CPU: Testing write buffer coherency: ok
[   13.969510] Setting up static identity map for 0x485fa0 - 0x485fdc
[   13.971624] devtmpfs: initialized
[   13.974200] prandom: seed boundary self test passed
[   13.978297] prandom: 100 self tests passed
[   13.978314] pinctrl core: initialized pinctrl subsystem
[   13.978692] regulator-dummy: no parameters
[   13.979029] NET: Registered protocol family 16
[   13.979437] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   13.980218] cpuidle: using governor ladder
[   13.980235] cpuidle: using governor menu
[   13.980329] Kirkwood: MV88F6281-A0, TCLK=200000000.
[   13.980350] Feroceon L2: Enabling L2
[   13.980388] Feroceon L2: Cache support initialised.
[   13.985589] bio: create slab <bio-0> at 0
[   13.986035] vgaarb: loaded
[   13.986333] usbcore: registered new interface driver usbfs
[   13.986400] usbcore: registered new interface driver hub
[   13.986524] usbcore: registered new device driver usb
[   13.987233] Switched to clocksource orion_clocksource
[   14.011955] NET: Registered protocol family 2
[   14.012608] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[   14.012644] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[   14.012676] TCP: Hash tables configured (established 2048 bind 2048)
[   14.012744] TCP: reno registered
[   14.012758] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   14.012780] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   14.012973] NET: Registered protocol family 1
[   14.013296] RPC: Registered named UNIX socket transport module.
[   14.013308] RPC: Registered udp transport module.
[   14.013315] RPC: Registered tcp transport module.
[   14.013322] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   14.013577] Unpacking initramfs...
[   14.542882] Freeing initrd memory: 6212K (cf4fe000 - cfb0f000)
[   14.542980] NetWinder Floating Point Emulator V0.97 (double precision)
[   14.543536] futex hash table entries: 256 (order: -1, 3072 bytes)
[   14.543691] audit: initializing netlink subsys (disabled)
[   14.543747] audit: type=2000 audit(0.650:1): initialized
[   14.544421] bounce pool size: 64 pages
[   14.544492] zbud: loaded
[   14.544676] VFS: Disk quotas dquot_6.5.2
[   14.544731] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   14.545031] NFS: Registering the id_resolver key type
[   14.545089] Key type id_resolver registered
[   14.545099] Key type id_legacy registered
[   14.545116] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   14.545126] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   14.545282] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   14.545566] msgmni has been set to 492
[   14.545689] Key type big_key registered
[   14.547559] alg: No test for stdrng (krng)
[   14.547652] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[   14.547664] io scheduler noop registered
[   14.547672] io scheduler deadline registered
[   14.547702] io scheduler cfq registered (default)
[   14.547961] mv_xor mv_xor.0: Marvell shared XOR driver
[   14.587296] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   14.627289] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   14.627408] mv_xor mv_xor.1: Marvell shared XOR driver
[   14.667297] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   14.707295] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   14.707590] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   14.728248] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[   15.273954] console [ttyS0] enabled
[   15.278437] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[   15.284821] nand: Hynix NAND 128MiB 3,3V 8-bit
[   15.289313] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[   15.295003] Scanning device for bad blocks
[   15.406443] 4 cmdlinepart partitions found on MTD device orion_nand
[   15.412751] Creating 4 MTD partitions on "orion_nand":
[   15.417934] 0x000000000000-0x000000100000 : "u-boot"
[   15.423199] 0x000000100000-0x000000500000 : "uImage"
[   15.428479] 0x000000500000-0x000002500000 : "rootfs"
[   15.433756] 0x000002500000-0x000008000000 : "data"
[   15.439536] libphy: Fixed MDIO Bus: probed
[   15.455575] libphy: orion_mdio_bus: probed
[   15.459838] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   16.538100] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:00:37:6b
[   16.547040] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   16.553626] ehci-pci: EHCI PCI platform driver
[   16.558163] ehci-orion: EHCI orion driver
[   16.562256] orion-ehci orion-ehci.0: EHCI Host Controller
[   16.567726] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   16.575444] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   16.597267] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   16.603393] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   16.610233] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   16.617508] usb usb1: Product: EHCI Host Controller
[   16.622411] usb usb1: Manufacturer: Linux 3.14.0-kirkwood-tld-1 ehci_hcd
[   16.629157] usb usb1: SerialNumber: orion-ehci.0
[   16.634359] hub 1-0:1.0: USB hub found
[   16.638182] hub 1-0:1.0: 1 port detected
[   16.642671] mousedev: PS/2 mouse device common for all mice
[   16.957289] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   17.108705] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[   17.115451] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   17.122644] usb 1-1: Product: USB2.0 Hub
[   17.127356] hub 1-1:1.0: USB hub found
[   17.131453] hub 1-1:1.0: 4 ports detected
[   17.417581] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[   17.530829] usb 1-1.3: New USB device found, idVendor=0930, idProduct=6544
[   17.537764] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   17.545123] usb 1-1.3: Product: DataTraveler 2.0
[   17.549781] usb 1-1.3: Manufacturer: Kingston
[   17.554160] usb 1-1.3: SerialNumber: 001CC0EC329EC020669A06EE
[   17.657259] rtc-mv rtc-mv: internal RTC not ticking
[   17.662281] i2c /dev entries driver
[   17.666398] hidraw: raw HID events driver (C) Jiri Kosina
[   17.672119] drop_monitor: Initializing network drop monitor service
[   17.678634] TCP: cubic registered
[   17.681969] NET: Registered protocol family 17
[   17.686553] Key type dns_resolver registered
[   17.691340] registered taskstats version 1
[   17.695940] regulator-dummy: incomplete constraints, leaving on
[   17.702248] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   17.710190] Freeing unused kernel memory: 212K (c064e000 - c0683000)
Loading, please wait...
[   17.787942] udevd[54]: starting version 175
[   17.955983] SCSI subsystem initialized
[   17.985751] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[   18.030006] scsi0 : usb-storage 1-1.3:1.0
[   18.042877] usbcore: registered new interface driver usb-storage
[   19.028190] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
[   19.065019] sd 0:0:0:0: [sda] 7827392 512-byte logical blocks: (4.00 GB/3.73 GiB)
[   19.073870] sd 0:0:0:0: [sda] Write Protect is off
[   19.079234] sd 0:0:0:0: [sda] No Caching mode page found
[   19.084574] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   19.094483] sd 0:0:0:0: [sda] No Caching mode page found
[   19.099888] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   19.107731]  sda: sda1 sda2
[   19.113608] sd 0:0:0:0: [sda] No Caching mode page found
[   19.118990] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   19.125115] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   19.141197] sd 0:0:0:0: Attached scsi generic sg0 type 0
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-label/rootfs does not exist.  Dropping to a shell!
modprobe: module i8042 not found in modules.dep
[   38.406883] uhci_hcd: USB Universal Host Controller Interface driver
[   38.422800] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   38.439274] usbcore: registered new interface driver usbhid
[   38.444880] usbhid: USB HID core driver


BusyBox v1.20.2 (Debian 1:1.20.0-7) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) ls /boot
ls: /boot: No such file or directory
(initramfs) printenv
Please ignore the last post. I recovered the file system from an early back-up. After that, I got this:


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:13:18 -0700)
Pogo E02

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
No link on egiga0
ping failed; host 192.168.2.118 is not alive
No link on egiga0
ping failed; host 192.168.2.118 is not alive
No link on egiga0
ping failed; host 192.168.2.118 is not alive
No link on egiga0
ping failed; host 192.168.2.118 is not alive
No link on egiga0
ping failed; host 192.168.2.118 is not alive
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     63              7293825         79534b65-01     83 Boot
  2     7293888         532224          79534b65-02     82

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
119 bytes read in 1353 ms (0 Bytes/s)
Unknown command 'ide' - try 'help'
Unknown command 'mmc' - try 'help'
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 1153 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3926040 bytes read in 1342 ms (2.8 MiB/s)
loading uInitrd ...
8104328 bytes read in 1512 ms (5.1 MiB/s)
loading DTB /boot/dts/kirkwood-pogo_e02.dtb ...
10106 bytes read in 1261 ms (7.8 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.15.2-kirkwood-tld-1
   Created:      2018-03-14   5:36:31 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3925976 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.15.2-kirkwood-tld-1
   Created:      2018-03-14   8:56:52 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    8104264 Bytes = 7.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f355000, end 0fb0f948 ... OK
   Loading Device Tree to 0f34f000, end 0f354779 ... OK
Using machid 0xdd6 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.15.2-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #1 PREEMPT Fri Feb 9 01:52:00 PST 2018
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: CloudEngines Pogoplug E02
[    0.000000] Memory policy: Data cache writeback
[    0.000000] random: fast init done
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root) init=/bin/systemd
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 238544K/262144K available (8192K kernel code, 750K rwdata, 2068K rodata, 1024K init, 282K bss, 23600K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 751 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 283 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000046] Switching to timer-based delay loop, resolution 5ns
[    0.000562] Console: colour dummy device 80x30
[    0.000602] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000626] pid_max: default: 32768 minimum: 301
[    0.000784] Security Framework initialized
[    0.000939] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000963] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001878] CPU: Testing write buffer coherency: ok
[    0.002965] Setting up static identity map for 0x100000 - 0x100058
[    0.003232] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.003494] Hierarchical SRCU implementation.
[    0.006942] devtmpfs: initialized
[    0.011346] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.011374] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.011745] prandom: seed boundary self test passed
[    0.015952] prandom: 100 self tests passed
[    0.015965] pinctrl core: initialized pinctrl subsystem
[    0.017090] NET: Registered protocol family 16
[    0.017594] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.018205] audit: initializing netlink subsys (disabled)
[    0.018502] audit: type=2000 audit(0.010:1): state=initialized audit_enabled=0 res=1
[    0.019410] cpuidle: using governor ladder
[    0.019479] cpuidle: using governor menu
[    0.019972] Feroceon L2: Enabling L2
[    0.020019] Feroceon L2: Cache support initialised.
[    0.020415] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.024815] No ATAGs?
[    0.032842] vgaarb: loaded
[    0.033181] SCSI subsystem initialized
[    0.033610] usbcore: registered new interface driver usbfs
[    0.033678] usbcore: registered new interface driver hub
[    0.033733] usbcore: registered new device driver usb
[    0.034763] clocksource: Switched to clocksource orion_clocksource
[    0.127584] VFS: Disk quotas dquot_6.6.0
[    0.127672] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.136679] NET: Registered protocol family 2
[    0.137461] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.137500] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.137532] TCP: Hash tables configured (established 2048 bind 2048)
[    0.137620] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.137645] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.137846] NET: Registered protocol family 1
[    0.138285] RPC: Registered named UNIX socket transport module.
[    0.138298] RPC: Registered udp transport module.
[    0.138306] RPC: Registered tcp transport module.
[    0.138314] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.138573] Unpacking initramfs...
[    0.853824] Freeing initrd memory: 7916K
[    0.854001] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.855102] Initialise system trusted keyrings
[    0.855158] Key type blacklist registered
[    0.855344] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.855435] zbud: loaded
[    0.856359] NFS: Registering the id_resolver key type
[    0.856388] Key type id_resolver registered
[    0.856396] Key type id_legacy registered
[    0.856414] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.856425] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.856695] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.856896] fuse init (API version 7.26)
[    0.857253] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.857439] orangefs_init: module version upstream loaded
[    0.857451] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    6.814651] Key type asymmetric registered
[    6.814669] Asymmetric key parser 'x509' registered
[    6.814734] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    6.814747] io scheduler noop registered
[    6.814902] io scheduler deadline registered
[    6.815001] io scheduler cfq registered (default)
[    6.816229] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.818191] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.875558] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.875804] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.935540] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.935983] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.937140] console [ttyS0] disabled
[    6.937209] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    7.542871] console [ttyS0] enabled
[    7.552639] loop: module loaded
[    7.556592] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    7.562974] nand: Hynix NAND 128MiB 3,3V 8-bit
[    7.567479] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    7.575109] Scanning device for bad blocks
[    7.688757] 5 cmdlinepart partitions found on MTD device orion_nand
[    7.695076] Creating 5 MTD partitions on "orion_nand":
[    7.700242] 0x000000000000-0x000000200000 : "u-boot"
[    7.706190] 0x000000200000-0x000000500000 : "uImage"
[    7.712030] 0x000000500000-0x000000800000 : "uImage2"
[    7.717992] 0x000000800000-0x000001000000 : "failsafe"
[    7.724039] 0x000001000000-0x000008000000 : "root"
[    7.731530] libphy: Fixed MDIO Bus: probed
[    7.736423] libphy: orion_mdio_bus: probed
[    7.745666] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.545382] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:00:37:6b
[    8.554256] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.560869] ehci-pci: EHCI PCI platform driver
[    8.565410] ehci-orion: EHCI orion driver
[    8.569634] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.575203] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.583056] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    8.614797] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.621068] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    8.627917] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.635190] usb usb1: Product: EHCI Host Controller
[    8.640088] usb usb1: Manufacturer: Linux 4.15.2-kirkwood-tld-1 ehci_hcd
[    8.646839] usb usb1: SerialNumber: f1050000.ehci
[    8.652125] hub 1-0:1.0: USB hub found
[    8.655989] hub 1-0:1.0: 1 port detected
[    8.660578] usbcore: registered new interface driver usb-storage
[    8.666965] mousedev: PS/2 mouse device common for all mice
[    9.024800] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.226560] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    9.233307] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.240513] usb 1-1: Product: USB2.0 Hub
[    9.245207] hub 1-1:1.0: USB hub found
[    9.249309] hub 1-1:1.0: 4 ports detected
[    9.684788] rtc-mv f1010300.rtc: internal RTC not ticking
[    9.690374] i2c /dev entries driver
[    9.695217] hidraw: raw HID events driver (C) Jiri Kosina
[    9.700987] drop_monitor: Initializing network drop monitor service
[    9.707584] NET: Registered protocol family 17
[    9.712141] Key type dns_resolver registered
[    9.717210] registered taskstats version 1
[    9.721322] Loading compiled-in X.509 certificates
[    9.726268] zswap: loaded using pool lzo/zbud
[    9.752770] Key type big_key registered
[    9.766501] Key type encrypted registered
[    9.771820] hctosys: unable to open rtc device (rtc0)
[    9.780282] Freeing unused kernel memory: 1024K
[    9.794889] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
Loading, please wait...
starting version 232
[   10.178592] usb 1-1.3: New USB device found, idVendor=0930, idProduct=6544
[   10.194528] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.204867] usb 1-1.3: Product: DataTraveler 2.0
[   10.209529] usb 1-1.3: Manufacturer: Kingston
[   10.213909] usb 1-1.3: SerialNumber: 001CC0EC329EC020669A06EE
[   10.237812] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[   10.253759] scsi host0: usb-storage 1-1.3:1.0
[   10.543732] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
[   11.285795] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
[   11.299875] sd 0:0:0:0: [sda] 7827392 512-byte logical blocks: (4.01 GB/3.73 GiB)
[   11.314624] sd 0:0:0:0: [sda] Write Protect is off
[   11.325379] sd 0:0:0:0: [sda] No Caching mode page found
[   11.330745] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   11.352587]  sda: sda1 sda2
[   11.361488] sd 0:0:0:0: [sda] Attached SCSI removable disk
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
[   42.714872] random: crng init done
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  LABEL=rootfs does not exist.  Dropping to a shell!


BusyBox v1.22.1 (Debian 1:1.22.0-19+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) ls
bin      dev      init     proc     run      scripts  tmp
conf     etc      lib      root     sbin     sys      var
(initramfs)
Re: Pogoplug E02 couldn't get the rootfs and showed "Gave up waiting for root device"
September 13, 2019 03:01AM
Ben,

> [ 0.000000] Linux version 3.14.0-kirkwood-tld-1
> (root@tldDebian) (gcc version 4.6.3 (Debian
> 4.6.3-14) ) #1 PREEMPT Tue Apr 1 22:54:58 PDT
> 2014

You are running a really old rootfs. But that's not the reason. The reason is with your roots setup.

Get more information as described below.

Mount your USB rootfs on another Linux box. Assuming it is mounted as /media/sdb1.

e2label /dev/sdb1
cd /media/sdb1/
cat /media/sdb1/fstab
cat /etc/debian_version 
cd /media/sdb1/boot
ls -lart

And post the entire log of the above here (including the comands).

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Pogoplug E02 couldn't get the rootfs and showed "Gave up waiting for root device"
September 13, 2019 03:03AM
OK I see:
[    0.000000] Linux version 4.15.2-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #1 PREEMPT Fri Feb 9 01:52:00 PST 2018

Still please do what I asked above.

-bodhi
===========================
Forum Wiki
bodhi's corner
[root@alarm ~]# mount /dev/sdb1 /media/flash/
[root@alarm ~]# e2label /dev/sdb1
ROOTFS
[root@alarm ~]# cd /media/flash/
[root@alarm flash]# cat /media/flash/fstab
cat: /media/flash/fstab: No such file or directory
[root@alarm flash]# cat /media/flash/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/root      /               ext3    noatime,errors=remount-ro 0 1
tmpfs          /tmp            tmpfs   defaults          0       0
#UUID="b82407a7-0583-4ad1-aa52-c4f6785e0769" /media/USBHHD ext3 users,defaults 0                                                                                                          0
#UUID="01CD042CF9B03800" /media/WIN ntfs users,defaults 0 0
[root@alarm flash]# cat /etc/debian_version
cat: /etc/debian_version: No such file or directory
[root@alarm flash]# cd /media/flash/boot/
[root@alarm boot]# ls -lart
total 115276
-rw-r--r--  1 root root      119 Jan  1  1970 uEnv.txt
drwxr-xr-x  3 root root     4096 Jan  1  1970 .
-rw-r--r--  1 root root   153501 Jul 16  2017 config-4.12.1-kirkwood-tld-1
-rwxr-xr-x  1 root root  3821528 Jul 16  2017 zImage-4.12.1-kirkwood-tld-1
-rw-------  1 root root  3821528 Jul 16  2017 vmlinuz-4.12.1-kirkwood-tld-1
-rw-------  1 root root  2504031 Jul 16  2017 System.map-4.12.1-kirkwood-tld-1
-rw-r--r--  1 root root  8435004 Jul 16  2017 linux-headers-4.12.1-kirkwood-tld-                                                                                                         1_1.0_armel.deb
-rw-r--r--  1 root root  7245632 Jul 24  2017 initrd.img-4.12.1-kirkwood-tld-1
-rw-r--r--  1 root root   156179 Feb  9  2018 config-4.15.2-kirkwood-tld-1
-rwxr-xr-x  1 root root  3925976 Feb  9  2018 zImage-4.15.2-kirkwood-tld-1
-rw-------  1 root root  3925976 Feb  9  2018 vmlinuz-4.15.2-kirkwood-tld-1
-rw-------  1 root root  2604374 Feb  9  2018 System.map-4.15.2-kirkwood-tld-1
-rw-r--r--  1 root root 18877458 Feb  9  2018 linux-image-4.15.2-kirkwood-tld-1_                                                                                                         1.0_armel.deb
-rw-r--r--  1 root root  8883380 Feb  9  2018 linux-headers-4.15.2-kirkwood-tld-                                                                                                         1_1.0_armel.deb
drwxr-xr-x  2 root root     4096 Feb  9  2018 dts
-rw-r--r--  1 root root  1239040 Feb  9  2018 linux-dtb-4.15.2-kirkwood-tld-1.ta                                                                                                         r
-rw-r--r--  1 root root   143687 Feb 11  2018 linux-4.15.2-kirkwood-tld-1.patch
-rwxr--r--  1 root root 31952182 Mar 14  2018 linux-4.15.2-kirkwood-tld-1-bodhi.                                                                                                         tar.bz2
-rw-r--r--  1 root root  3926040 Mar 14  2018 uImage
drwxr-xr-x 22 root root     4096 Mar 14  2018 ..
-rw-r--r--  1 root root  8104264 Mar 14  2018 initrd.img-4.15.2-kirkwood-tld-1
-rw-r--r--  1 root root  8104328 Mar 14  2018 uInitrd

I guess this is what you wanted to run

[root@alarm boot]# cat /media/flash/etc/debian_version
9.4
Re: Pogoplug E02 couldn't get the rootfs and showed "Gave up waiting for root device"
September 13, 2019 02:50PM
Ben,


Quote

[root@alarm ~]# e2label /dev/sdb1
ROOTFS

This partition label should be rootfs (lowever case).

That's the only thing could have been the error. So relabel it and try booting again.

-bodhi
===========================
Forum Wiki
bodhi's corner
bodhi

Once you know things, it's just simple like that. It's working now. I spent 3 nights scratching my head on this. It took you 3 seconds...

Thank you.
Ben
Hi bodhi,

Can you take a look at my uboot env setting? My USB drive is plugged into the first USB port and my portable Hard Drive is on the second. When I boot the E02, I usually have to take out the HD first so the system can know it should boot from the USB drive. If I don't do that, very often it tries to boot from the HD and then hangs. I remember I followed a post here to change the uboot env to boot from the USB drive first but it didn't seem to work. If you spot any problem, how can I fix it? I'd be grateful if you can help me figure this out. It's been bothering me for years.

PogoE02> printenv
arcNumber=3542
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-pogo_e02.dtb
ethact=egiga0
ethaddr=00:25:31:00:37:6B
if_netconsole=ping $serverip
init_ide=ide reset
init_mmc=mmc rescan
init_usb=usb start
ipaddr=192.168.2.19
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
machid=dd6
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
nc_ready=0
ncip=192.168.2.118
partition=nand0,2
preboot=run if_netconsole start_netconsole
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
rootdelay=40
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
scan_ide=ide reset
scan_mmc=mmc rescan
scan_usb=usb start
serverip=192.168.2.118
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_loaded=0
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 3355/131068 bytes
Re: Pogoplug E02 couldn't get the rootfs and showed "Gave up waiting for root device"
September 13, 2019 07:16PM
Ben,

It is a very typical booting problem for a multi-partition environment system.

I've solved this problem with the new u-boot. Note that you had to use a specific label for the main root file system and the lable is rootfs. The scanning logic in the envs will look for that and boot the system correctly.

If you have one or more HDDs resides in the system, just make sure:

1. It does not contain a root file system in it. This is because u-boot will search for the kernel file /boot/uImage, and use the 1st one it found to boot the system.

2. And avoid using the partition label rootfs for any of the HDD partitions. Then it will work perfectly, it does not matter how many drives you plug in later or leave attached.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Pogoplug E02 couldn't get the rootfs and showed "Gave up waiting for root device"
September 13, 2019 07:27PM
For even more detailed explanation,see the Wiki thread:
https://forum.doozan.com/read.php?2,23630


Quote

Booting Debian on Pogoplug

How to set up U-Boot for booting in multiple drives configuration
Backup and Restore NAND mtds
UART Booting HowTo for Selected Kirkwood Devices
Migrating from Arch to Debian?
How to boot new Debian rootfs using stock u-boot tftp - Pogo E02
How to boot new Debian rootfs on USB using stock u-boot - NSA325
How to boot Debian rootfs on a GPT HDD with stock u-boot (kernel files stored in HDD raw sector), 2nd HowTo post

-bodhi
===========================
Forum Wiki
bodhi's corner
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: