Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Unable to use LABEL for root fs on D-Link DNS-320 B1 (5 replies)

$
0
0
I've successfully got my D-Link DNS-320 B1 with stock u-boot to boot the latest (14 Dec 2019) Linux Kernel 5.4.2 Kirkwood package and Debian rootfs as per this post via an ext2 formatted USB stick.

When I add a SATA drive to the device it fails to load the rootfs from the USB when using the following settings:

bootargs=console=ttyS0,115200 root=/dev/sda1 usb-storage.delay_use=0 rootdelay=1 rw
bootcmd=usb reset; ext2load usb 0:1 0xa00000 /boot/uImage; ext2load usb 0:1 0xf00000 /boot/uInitrd; bootm 0xa00000 0xf00000

This is the kernel panic:

[   12.591782][    T1] VFS: Cannot open root device "sda1" or unknown-block(8,1): error -6
[   12.599821][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   12.608930][    T1] 1f00            1024 mtdblock0 
[   12.608935][    T1]  (driver?)
[   12.616886][    T1] 1f01            5120 mtdblock1 
[   12.616890][    T1]  (driver?)
[   12.624834][    T1] 1f02            5120 mtdblock2 
[   12.624837][    T1]  (driver?)
[   12.632735][    T1] 1f03          102400 mtdblock3 
[   12.632738][    T1]  (driver?)
[   12.640660][    T1] 1f04           10240 mtdblock4 
[   12.640663][    T1]  (driver?)
[   12.648582][    T1] 1f05            5120 mtdblock5 
[   12.648585][    T1]  (driver?)
[   12.656500][    T1] 1f06            2048 mtdblock6 
[   12.656504][    T1]  (driver?)
[   12.664422][    T1] 0800      3907018584 sda 
[   12.664427][    T1]  driver: sd
[   12.671891][    T1] 0810         1954176 sdb 
[   12.671895][    T1]  driver: sd
[   12.679383][    T1]   0811         1952768 sdb1 00046dc1-01
[   12.679386][    T1] 
[   12.687133][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
[   12.696058][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.2-kirkwood-tld-1 #1.0
[   12.703854][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   12.710814][    T1] [<8010f5a8>] (unwind_backtrace) from [<8010b930>] (show_stack+0x10/0x14)
[   12.719227][    T1] [<8010b930>] (show_stack) from [<80119bb8>] (panic+0xfc/0x328)
[   12.726771][    T1] [<80119bb8>] (panic) from [<80e01550>] (mount_block_root+0x1f8/0x290)
[   12.734916][    T1] [<80e01550>] (mount_block_root) from [<80e016d8>] (mount_root+0xf0/0x130)
[   12.743409][    T1] [<80e016d8>] (mount_root) from [<80e01860>] (prepare_namespace+0x148/0x188)
[   12.752075][    T1] [<80e01860>] (prepare_namespace) from [<80e010d0>] (kernel_init_freeable+0x174/0)
[   12.761609][    T1] [<80e010d0>] (kernel_init_freeable) from [<809c036c>] (kernel_init+0x8/0x10c)
[   12.770456][    T1] [<809c036c>] (kernel_init) from [<801010e0>] (ret_from_fork+0x14/0x34)
[   12.778686][    T1] Exception stack(0x87883fb0 to 0x87883ff8)
[   12.784409][    T1] 3fa0:                                     00000000 00000000 00000000 00000000
[   12.793242][    T1] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.802078][    T1] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   12.809362][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-blo-

I removed the SATA drive, successfully booted and then labelled the ext2 partition with 'rootfs'.

root@debian:~# tune2fs -L rootfs /dev/sda1
tune2fs 1.44.5 (15-Dec-2018)
root@debian:~# blkid
/dev/sda1: LABEL="rootfs" UUID="f4814f03-f575-4a5b-85f4-6e06ade640ea" TYPE="ext2" PARTUUID="00046dc1-01"

and then tried to modify the bootargs to the following, but also get a kernel panic (even without the SATA disk connected).

bootargs=console=ttyS0,115200 root=LABEL=rootfs usb-storage.delay_use=0 rootdelay=1 rw

Full kernel log:

## Booting image at 00a00000 ...
   Image Name:   Linux-5.4.2-kirkwood-tld-1
   Created:      1970-01-01   0:04:39 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5103948 Bytes =  4.9 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00f00000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-1
   Created:      2020-01-07   1:58:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9713872 Bytes =  9.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.4.2-kirkwood-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 89
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: D-Link DNS-320L
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] INITRD: 0x00f00000+0x00944000 overlaps in-use memory region - disabling initrd
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs usb-storage.delay_usw
[    0.000000][    T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 114296K/131072K available (9216K kernel code, 897K rwdata, 3636K rodata,)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x46c/0x808 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idls
[    0.000010][    T0] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    0.000055][    T0] Switching to timer-based delay loop, resolution 6ns
[    0.000933][    T0] Console: colour dummy device 80x30
[    0.000988][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.3)
[    0.001020][    T0] pid_max: default: 32768 minimum: 301
[    0.001452][    T0] LSM: Security Framework initializing
[    0.001645][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001679][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001836][    T0] *** VALIDATE tmpfs ***
[    0.002819][    T0] *** VALIDATE proc ***
[    0.003136][    T0] *** VALIDATE cgroup1 ***
[    0.003164][    T0] *** VALIDATE cgroup2 ***
[    0.003292][    T0] CPU: Testing write buffer coherency: ok
[    0.005296][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.005628][    T1] mvebu-soc-id: MVEBU SoC ID=0x6702, Rev=0x3
[    0.005957][    T1] rcu: Hierarchical SRCU implementation.
[    0.008874][    T1] devtmpfs: initialized
[    0.015926][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911s
[    0.015966][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.016268][    T1] xor: measuring software checksum speed
[    0.110134][    T1]    arm4regs  :   906.800 MB/sec
[    0.210082][    T1]    8regs     :   544.400 MB/sec
[    0.310082][    T1]    32regs    :   791.600 MB/sec
[    0.310103][    T1] xor: using function: arm4regs (906.800 MB/sec)
[    0.310129][    T1] prandom: seed boundary self test passed
[    0.315139][    T1] prandom: 100 self tests passed
[    0.315155][    T1] pinctrl core: initialized pinctrl subsystem
[    0.316883][    T1] NET: Registered protocol family 16
[    0.317660][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.318834][    T1] audit: initializing netlink subsys (disabled)
[    0.320517][   T14] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.320650][    T1] cpuidle: using governor ladder
[    0.320737][    T1] cpuidle: using governor menu
[    0.321344][    T1] Feroceon L2: Enabling L2
[    0.321394][    T1] Feroceon L2: Cache support initialised.
[    0.328573][    T1] No ATAGs?
[    2.560063][    C0] random: fast init done
[    6.380919][    T1] raid6: int32x8  gen()    88 MB/s
[    6.550519][    T1] raid6: int32x8  xor()    55 MB/s
[    6.720592][    T1] raid6: int32x4  gen()    91 MB/s
[    6.890175][    T1] raid6: int32x4  xor()    58 MB/s
[    7.060084][    T1] raid6: int32x2  gen()   116 MB/s
[    7.230266][    T1] raid6: int32x2  xor()    79 MB/s
[    7.400645][    T1] raid6: int32x1  gen()    94 MB/s
[    7.570478][    T1] raid6: int32x1  xor()    58 MB/s
[    7.570491][    T1] raid6: using algorithm int32x2 gen() 116 MB/s
[    7.570502][    T1] raid6: .... xor() 79 MB/s, rmw enabled
[    7.570512][    T1] raid6: using intx1 recovery algorithm
[    7.570809][    T1] vgaarb: loaded
[    7.571492][    T1] SCSI subsystem initialized
[    7.572074][    T1] usbcore: registered new interface driver usbfs
[    7.572150][    T1] usbcore: registered new interface driver hub
[    7.572250][    T1] usbcore: registered new device driver usb
[    7.572505][    T1] pps_core: LinuxPPS API ver. 1 registered
[    7.572519][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@l>
[    7.572551][    T1] PTP clock support registered
[    7.574228][    T1] clocksource: Switched to clocksource orion_clocksource
[    8.945792][    T1] *** VALIDATE bpf ***
[    8.946052][    T1] VFS: Disk quotas dquot_6.6.0
[    8.946152][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    8.946265][    T1] *** VALIDATE ramfs ***
[    8.957945][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    8.958277][    T1] NET: Registered protocol family 2
[    8.959273][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    8.959314][    T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    8.959343][    T1] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    8.959369][    T1] TCP: Hash tables configured (established 1024 bind 1024)
[    8.959518][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    8.959551][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    8.959818][    T1] NET: Registered protocol family 1
[    8.960623][    T1] RPC: Registered named UNIX socket transport module.
[    8.960639][    T1] RPC: Registered udp transport module.
[    8.960650][    T1] RPC: Registered tcp transport module.
[    8.960660][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    8.960677][    T1] PCI: CLS 0 bytes, default 32
[    8.961246][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    8.962618][    T1] Initialise system trusted keyrings
[    8.962676][    T1] Key type blacklist registered
[    8.962950][    T1] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    8.963087][    T1] zbud: loaded
[    8.964547][    T1] NFS: Registering the id_resolver key type
[    8.964586][    T1] Key type id_resolver registered
[    8.964598][    T1] Key type id_legacy registered
[    8.964623][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    8.964643][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    8.965156][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  ?© 2001-2006 Red Hat, Inc.
[    8.965659][    T1] *** VALIDATE jffs2 ***
[    8.965679][    T1] fuse: init (API version 7.31)
[    8.965704][    T1] *** VALIDATE fuse ***
[    8.965720][    T1] *** VALIDATE fuse ***
[    8.966179][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    8.966431][    T1] orangefs_init: module version upstream loaded
[    8.966446][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    9.011660][    T1] async_tx: api initialized (async)
[    9.011686][    T1] Key type asymmetric registered
[    9.011698][    T1] Asymmetric key parser 'x509' registered
[    9.011766][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    9.013517][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    9.015328][    T1] mvebu-gpio f1010140.gpio: IRQ index 3 not found
[    9.016144][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    9.075459][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.078487][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    9.135446][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    9.138804][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    9.140319][    T1] printk: console [ttyS0] disabled
[    9.140426][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 10416666) is a A
[    9.921360][    T1] printk: console [ttyS0] enabled
[    9.927062][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 26, base_baud = 10416666) is a A
[    9.946435][    T1] loop: module loaded
[    9.950948][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    9.960518][    T1] scsi host0: sata_mv
[    9.965085][    T1] scsi host1: sata_mv
[    9.969212][    T1] ata1: SATA max UDMA/133 irq 33
[    9.973992][    T1] ata2: SATA max UDMA/133 irq 33
[    9.980149][    T1] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    9.987269][    T1] nand: Hynix H27U1G8F2BTR-BC
[    9.991781][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   10.000059][    T1] Scanning device for bad blocks
[   10.092114][    T1] Bad eraseblock 783 at 0x0000061e0000
[   10.124200][    T1] 7 fixed-partitions partitions found on MTD device orion_nand
[   10.131590][    T1] Creating 7 MTD partitions on "orion_nand":
[   10.137427][    T1] 0x000000000000-0x000000100000 : "u-boot"
[   10.144778][    T1] 0x000000100000-0x000000600000 : "uImage"
[   10.152029][    T1] 0x000000600000-0x000000b00000 : "ramdisk"
[   10.159374][    T1] 0x000000b00000-0x000006f00000 : "image"
[   10.167040][    T1] 0x000006f00000-0x000007900000 : "mini firmware"
[   10.174931][    T1] 0x000007900000-0x000007e00000 : "config"
[   10.182171][    T1] 0x000007e00000-0x000008000000 : "my-dlink"
[   10.191071][    T1] libphy: Fixed MDIO Bus: probed
[   10.196903][    T1] libphy: orion_mdio_bus: probed
[   10.203179][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   10.212540][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:00:022
[   10.222206][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   10.229524][    T1] ehci-pci: EHCI PCI platform driver
[   10.234785][    T1] ehci-orion: EHCI orion driver
[   10.239694][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   10.245966][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   10.254597][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   10.284261][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   10.291293][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[   10.300278][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   10.308209][  T118] ata1: SATA link down (SStatus 0 SControl F300)
[   10.314397][    T1] usb usb1: Product: EHCI Host Controller
[   10.319947][    T1] usb usb1: Manufacturer: Linux 5.4.2-kirkwood-tld-1 ehci_hcd
[   10.327317][    T1] usb usb1: SerialNumber: f1050000.ehci
[   10.333484][    T1] hub 1-0:1.0: USB hub found
[   10.338155][    T1] hub 1-0:1.0: 1 port detected
[   10.343613][    T1] usbcore: registered new interface driver usb-storage
[   10.350788][    T1] mousedev: PS/2 mouse device common for all mice
[   10.665935][  T120] ata2: SATA link down (SStatus 0 SControl F300)
[   10.704271][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   10.905260][   T15] usb 1-1: New USB device found, idVendor=0781, idProduct=5151, bcdDevice= 1.26
[   10.914119][   T15] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.921964][   T15] usb 1-1: Product: Cruzer Micro
[   10.926764][   T15] usb 1-1: Manufacturer: SanDisk
[   10.931537][   T15] usb 1-1: SerialNumber: 20043515700598026046
[   10.938343][   T15] usb-storage 1-1:1.0: USB Mass Storage device detected
[   10.945652][   T15] scsi host2: usb-storage 1-1:1.0
[   10.952122][   T22] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Micro     1.26 PQ: 0 ANSI: 5
[   10.962805][    T7] sd 2:0:0:0: [sda] 3908352 512-byte logical blocks: (2.00 GB/1.86 GiB)
[   10.972664][    T7] sd 2:0:0:0: [sda] Write Protect is off
[   10.978913][    T7] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPA
[   10.994036][    T7]  sda: sda1
[   11.000796][    T7] sd 2:0:0:0: [sda] Attached SCSI removable disk
[   11.444264][    T1] rtc-mv f1010300.rtc: internal RTC not ticking
[   11.450530][    T1] i2c /dev entries driver
[   11.455509][    T1] device-mapper: uevent: version 1.0.3
[   11.461129][    T1] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[   11.470745][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   11.478019][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   11.485348][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   11.492695][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   11.499492][    T1] device-mapper: raid: Loading target version 1.14.0
[   11.507769][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[   11.514145][    T1] exFAT: Version 1.3.0
[   11.518207][    T1] drop_monitor: Initializing network drop monitor service
[   11.525496][    T1] NET: Registered protocol family 17
[   11.530901][    T1] Key type dns_resolver registered
[   11.536423][    T1] registered taskstats version 1
[   11.541197][    T1] Loading compiled-in X.509 certificates
[   11.546810][    T1] zswap: loaded using pool lzo/zbud
[   11.552115][    T1] Key type ._fscrypt registered
[   11.556836][    T1] Key type .fscrypt registered
[   11.581374][    T1] Key type big_key registered
[   11.589979][    T1] Key type encrypted registered
[   11.597737][    T1] hctosys: unable to open rtc device (rtc0)
[   11.603946][    T1] Waiting 1 sec before mounting root device...
[   12.644451][    T1] md: Waiting for all devices to be available before autodetect
[   12.651905][    T1] md: If you don't use raid, use raid=noautodetect
[   12.659170][    T1] md: Autodetecting RAID arrays.
[   12.663940][    T1] md: autorun ...
[   12.667489][    T1] md: ... autorun DONE.
[   12.671722][    T1] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6
[   12.680447][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   12.689556][    T1] 1f00            1024 mtdblock0 
[   12.689560][    T1]  (driver?)
[   12.697516][    T1] 1f01            5120 mtdblock1 
[   12.697519][    T1]  (driver?)
[   12.705466][    T1] 1f02            5120 mtdblock2 
[   12.705470][    T1]  (driver?)
[   12.713366][    T1] 1f03          102400 mtdblock3 
[   12.713369][    T1]  (driver?)
[   12.721290][    T1] 1f04           10240 mtdblock4 
[   12.721294][    T1]  (driver?)
[   12.729213][    T1] 1f05            5120 mtdblock5 
[   12.729217][    T1]  (driver?)
[   12.737131][    T1] 1f06            2048 mtdblock6 
[   12.737134][    T1]  (driver?)
[   12.745054][    T1] 0800         1954176 sda 
[   12.745058][    T1]  driver: sd
[   12.752522][    T1]   0801         1952768 sda1 00046dc1-01
[   12.752525][    T1] 
[   12.760273][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   12.769199][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.2-kirkwood-tld-1 #1.0
[   12.776993][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   12.783954][    T1] [<8010f5a8>] (unwind_backtrace) from [<8010b930>] (show_stack+0x10/0x14)
[   12.792368][    T1] [<8010b930>] (show_stack) from [<80119bb8>] (panic+0xfc/0x328)
[   12.799911][    T1] [<80119bb8>] (panic) from [<80e01550>] (mount_block_root+0x1f8/0x290)
[   12.808057][    T1] [<80e01550>] (mount_block_root) from [<80e016d8>] (mount_root+0xf0/0x130)
[   12.816548][    T1] [<80e016d8>] (mount_root) from [<80e01860>] (prepare_namespace+0x148/0x188)
[   12.825215][    T1] [<80e01860>] (prepare_namespace) from [<80e010d0>] (kernel_init_freeable+0x174/0)
[   12.834751][    T1] [<80e010d0>] (kernel_init_freeable) from [<809c036c>] (kernel_init+0x8/0x10c)
[   12.843595][    T1] [<809c036c>] (kernel_init) from [<801010e0>] (ret_from_fork+0x14/0x34)
[   12.851818][    T1] Exception stack(0x87883fb0 to 0x87883ff8)
[   12.857540][    T1] 3fa0:                                     00000000 00000000 00000000 00000000
[   12.866373][    T1] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.875210][    T1] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   12.882493][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-blo-

I have also tried to use kwboot to load a newer u-boot image to see if that helps, but it gets to 98/99% and hangs.

I'm using an ubuntu vm with usb passthrough for my usb-serial cable, similar to Ironaxe's post. I also experience the same problem via ubuntu running directly on a laptop... Therefore I'm either stuck with stock u-boot or may need to try another method (RPi Zero?) to test a newer u-boot if necessary.

Hopefully this can be fixed by tweaking the stock U-Boot boot arguments, appreciate any suggestions.

Thanks.

Viewing all articles
Browse latest Browse all 3247

Trending Articles