bodhi Wrote:
-------------------------------------------------------
> kuduku,
>
> Continue using rootfs 3.14.0-kirkwood-tld-1. Label
> the USB drive partition, and set U-Boot envs as
> described here:
> http://forum.doozan.com/read.php?3,8044,8152#msg-8
> 152
>
> The basic idea is to tell Linux to find the rootfs
> with label "rootfs".
Still doesnt work , same error
I booted in rescue
tune2fs -L rootfs /dev/sda1
then on uboot setenv usb_init "run usb_scan; setenv usb_root LABEL=rootfs"
then booted with same error
-------------------------------------------------------
> kuduku,
>
> Continue using rootfs 3.14.0-kirkwood-tld-1. Label
> the USB drive partition, and set U-Boot envs as
> described here:
> http://forum.doozan.com/read.php?3,8044,8152#msg-8
> 152
>
> The basic idea is to tell Linux to find the rootfs
> with label "rootfs".
Still doesnt work , same error
I booted in rescue
tune2fs -L rootfs /dev/sda1
then on uboot setenv usb_init "run usb_scan; setenv usb_root LABEL=rootfs"
then booted with same error
U-Boot 2011.12 (Feb 20 2012 - 21:21:59) Pogoplug E02 SoC: Kirkwood 88F6281_A0 DRAM: 256 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 3 ??? 0 u-boot>> setenv usb_init "run usb_scan; setenv usb_root LABEL=rootfs" u-boot>> boot (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 4 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-0x000008000000 : "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: 91 MiB UBI: number of good PEBs: 728 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: 717 UBI: total number of reserved PEBs: 11 UBI: number of PEBs reserved for bad PEB handling: 7 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) 2461416 bytes read Loading file "/boot/uInitrd" from usb device 0:1 (usbda1) 6362802 bytes read ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-3.14.0-kirkwood-tld-1 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 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 OK Using machid 0x831 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: Marvell SheevaPlug Reference Board [ 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 rootfstype=ext3 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 [ 5.397333] Console: colour dummy device 80x30 [ 5.397365] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584) [ 5.487108] pid_max: default: 32768 minimum: 301 [ 5.487216] Security Framework initialized [ 5.487280] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 5.487299] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 5.487888] Initializing cgroup subsys devices [ 5.487911] Initializing cgroup subsys freezer [ 5.487924] Initializing cgroup subsys net_cls [ 5.487934] Initializing cgroup subsys blkio [ 5.488011] CPU: Testing write buffer coherency: ok [ 5.488402] Setting up static identity map for 0x485fa0 - 0x485fdc [ 5.490518] devtmpfs: initialized [ 5.493121] prandom: seed boundary self test passed [ 5.497219] prandom: 100 self tests passed [ 5.497235] pinctrl core: initialized pinctrl subsystem [ 5.497613] regulator-dummy: no parameters [ 5.497950] NET: Registered protocol family 16 [ 5.498379] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 5.499157] cpuidle: using governor ladder [ 5.499175] cpuidle: using governor menu [ 5.499290] Kirkwood: MV88F6281-A0, TCLK=200000000. [ 5.499312] Feroceon L2: Enabling L2 [ 5.499350] Feroceon L2: Cache support initialised. [ 5.504609] bio: create slab <bio-0> at 0 [ 5.505063] vgaarb: loaded [ 5.505355] usbcore: registered new interface driver usbfs [ 5.505432] usbcore: registered new interface driver hub [ 5.505551] usbcore: registered new device driver usb [ 5.506280] Switched to clocksource orion_clocksource [ 5.531016] NET: Registered protocol family 2 [ 5.531669] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 5.531706] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 5.531737] TCP: Hash tables configured (established 2048 bind 2048) [ 5.531806] TCP: reno registered [ 5.531820] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 5.531842] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 5.532035] NET: Registered protocol family 1 [ 5.532354] RPC: Registered named UNIX socket transport module. [ 5.532365] RPC: Registered udp transport module. [ 5.532372] RPC: Registered tcp transport module. [ 5.532379] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 5.532638] Unpacking initramfs... [ 6.062000] Freeing initrd memory: 6208K (c1101000 - c1711000) [ 6.062114] NetWinder Floating Point Emulator V0.97 (double precision) [ 6.062667] futex hash table entries: 256 (order: -1, 3072 bytes) [ 6.062821] audit: initializing netlink subsys (disabled) [ 6.062877] audit: type=2000 audit(0.650:1): initialized [ 6.063546] bounce pool size: 64 pages [ 6.063618] zbud: loaded [ 6.063800] VFS: Disk quotas dquot_6.5.2 [ 6.063855] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 6.064155] NFS: Registering the id_resolver key type [ 6.064218] Key type id_resolver registered [ 6.064228] Key type id_legacy registered [ 6.064246] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 6.064255] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 6.064411] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 6.064695] msgmni has been set to 492 [ 6.064819] Key type big_key registered [ 6.066688] alg: No test for stdrng (krng) [ 6.066783] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 6.066794] io scheduler noop registered [ 6.066802] io scheduler deadline registered [ 6.066833] io scheduler cfq registered (default) [ 6.067090] mv_xor mv_xor.0: Marvell shared XOR driver [ 6.106343] mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) [ 6.146337] mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) [ 6.146457] mv_xor mv_xor.1: Marvell shared XOR driver [ 6.186344] mv_xor mv_xor.1: Marvell XOR: ( xor cpy ) [ 6.226342] mv_xor mv_xor.1: Marvell XOR: ( xor cpy ) [ 6.226641] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 6.247294] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A [ 6.796341] console [ttyS0] enabled [ 6.800812] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1 [ 6.807216] nand: Hynix NAND 128MiB 3,3V 8-bit [ 6.811684] nand: 128MiB, SLC, page size: 2048, OOB size: 64 [ 6.817386] Scanning device for bad blocks [ 6.928829] 4 cmdlinepart partitions found on MTD device orion_nand [ 6.935123] Creating 4 MTD partitions on "orion_nand": [ 6.940305] 0x000000000000-0x000000100000 : "u-boot" [ 6.945583] 0x000000100000-0x000000500000 : "uImage" [ 6.950852] 0x000000500000-0x000002500000 : "rootfs" [ 6.956134] 0x000002500000-0x000008000000 : "data" [ 6.961910] libphy: Fixed MDIO Bus: probed [ 6.977825] libphy: orion_mdio_bus: probed [ 6.982041] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 8.067143] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:00:83:23 [ 8.076071] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 8.082655] ehci-pci: EHCI PCI platform driver [ 8.087195] ehci-orion: EHCI orion driver [ 8.091288] orion-ehci orion-ehci.0: EHCI Host Controller [ 8.096759] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1 [ 8.104515] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000 [ 8.126314] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00 [ 8.132438] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 8.139284] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 8.146557] usb usb1: Product: EHCI Host Controller [ 8.151461] usb usb1: Manufacturer: Linux 3.14.0-kirkwood-tld-1 ehci_hcd [ 8.158206] usb usb1: SerialNumber: orion-ehci.0 [ 8.163405] hub 1-0:1.0: USB hub found [ 8.167231] hub 1-0:1.0: 1 port detected [ 8.171726] mousedev: PS/2 mouse device common for all mice [ 8.486336] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 8.637775] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 8.644518] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 8.651710] usb 1-1: Product: USB2.0 Hub [ 8.656424] hub 1-1:1.0: USB hub found [ 8.660523] hub 1-1:1.0: 4 ports detected [ 8.946652] usb 1-1.1: new full-speed USB device number 3 using orion-ehci [ 9.058901] usb 1-1.1: New USB device found, idVendor=214b, idProduct=1110 [ 9.065815] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 9.073183] usb 1-1.1: Product: USB2.0 Device [ 9.077836] usb 1-1.1: Manufacturer: Generic [ 9.082215] usb 1-1.1: SerialNumber: 8120120400400000 [ 9.166651] usb 1-1.4: new high-speed USB device number 4 using orion-ehci [ 9.186304] rtc-mv rtc-mv: internal RTC not ticking [ 9.191330] i2c /dev entries driver [ 9.195523] hidraw: raw HID events driver (C) Jiri Kosina [ 9.201329] drop_monitor: Initializing network drop monitor service [ 9.207849] TCP: cubic registered [ 9.211184] NET: Registered protocol family 17 [ 9.215763] Key type dns_resolver registered [ 9.220558] registered taskstats version 1 [ 9.225152] regulator-dummy: incomplete constraints, leaving on [ 9.231455] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 9.239402] Freeing unused kernel memory: 212K (c064e000 - c0683000) Loading, please wait... [ 9.288779] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=8176 ô[ 9.299916] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 9.315037] usb 1-1.4: Manufacturer: Realtek [ 9.326373] usb 1-1.4: SerialNumber: 00e04c000001 [ 9.347016] udevd[54]: starting version 175 [ 9.507762] mvsdio mvsdio: no pins associated [ 9.522160] SCSI subsystem initialized [ 9.556461] mvsdio mvsdio: lacking card detect (fall back to polling) þ[ 9.577490] usb-storage 1-1.1:1.0: USB Mass Storage device detected ñ[ 9.620754] scsi0 : usb-storage 1-1.1:1.0 ú[ 9.633621] usbcore: registered new interface driver usb-storage [ 10.627259] scsi 0:0:0:0: Direct-Access USB2.0 CARD-READER 1.01 PQ: 0 ANSI: 2 [ 10.664463] sd 0:0:0:0: [sda] 7843840 512-byte logical blocks: (4.01 GB/3.74 GiB) ÿ[ 10.673190] sd 0:0:0:0: [sda] Write Protect is off [ 10.678681] sd 0:0:0:0: [sda] No Caching mode page found [ 10.684032] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 10.694680] sd 0:0:0:0: [sda] No Caching mode page found [ 10.700107] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 10.712680] sda: sda1 ý[ 10.718430] sd 0:0:0:0: [sda] No Caching mode page found [ 10.723788] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 10.729969] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 10.750553] 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: Running /scripts/local-premount ... ýdone. mount: mounting /dev/disk/by-label/rootfs on /root failed: Invalid argument Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... òmount: mounting /dev on /root/dev failed: No such file or directory done. Target filesystem doesn't have requested /sbin/init. No init found. Try passing init= bootarg. modprobe: module i8042 not found in modules.dep [ 20.013453] uhci_hcd: USB Universal Host Controller Interface driver ý[ 20.027286] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 20.044674] usbcore: registered new interface driver usbhid [ 20.050394] 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)