Re: U-Boot Kirkwood - NSA310 - nandump segfault March 13, 2020 02:56AM |
Registered: 5 years ago Posts: 29 |
▒ U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:54:15 -0700) ZyXEL NSA310 1-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 NSA310> setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts' NSA310> boot Initializing devices... Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000AAKX-001CA0 Firm: 15.01H15 Ser#: WD-WCAYUL098558 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Loading envs from ide 0... ** File not found /boot/uEnv.txt ** Loading envs from ide 1... ** Bad device ide 1 ** Loading envs from ide 2... ** Bad device ide 2 ** Loading envs from ide 3... ** Bad device ide 3 ** Loading envs from usb 0... ** Bad device usb 0 ** Loading envs from usb 1... ** Bad device usb 1 ** Loading envs from usb 2... ** Bad device usb 2 ** Loading envs from usb 3... ** Bad device usb 3 ** running scan_disk ... Scan device ide Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000AAKX-001CA0 Firm: 15.01H15 Ser#: WD-WCAYUL098558 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) device ide 0:1 1 bytes read in 51 ms (0 Bytes/s) Found bootable drive on ide 0 loading uImage ... 5202928 bytes read in 1302 ms (3.8 MiB/s) loading uInitrd ... 9138519 bytes read in 1741 ms (5 MiB/s) loading DTB /boot/dts/kirkwood-nsa310.dtb ... 12568 bytes read in 32 ms (382.8 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-5.5.1-kirkwood-tld-1 Created: 2020-02-07 15:57:03 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5202864 Bytes = 5 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-5.5.1-kirkwood-tld-1 Created: 2020-02-07 15:57:05 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9138455 Bytes = 8.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 0f256000, end 0fb0d117 ... OK Loading Device Tree to 0f24f000, end 0f255117 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.5.1-kirkwood-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1.0 PREEMPT Sat Feb 1 22:28:36 PST 2020 [ 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: ZyXEL NSA310 [ 0.000000][ T0] Memory policy: Data cache writeback [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 65024 [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) [ 0.000000][ T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000][ T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000][ T0] Memory: 234256K/262144K available (9216K kernel code, 926K rwdata, 3860K rodata, 1024K init, 296K bss, 27888K reserved, 0K cma-reserved) [ 0.000000][ T0] random: get_random_u32 called from ____cache_alloc+0x470/0x80c 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_idle_ns: 9556302233 ns [ 0.000008][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.000050][ T0] Switching to timer-based delay loop, resolution 5ns [ 0.000835][ T0] Console: colour dummy device 80x30 [ 0.000889][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.000915][ T0] pid_max: default: 32768 minimum: 301 [ 0.001299][ T0] LSM: Security Framework initializing [ 0.001474][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001502][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001655][ T0] *** VALIDATE tmpfs *** [ 0.002533][ T0] *** VALIDATE proc *** [ 0.002796][ T0] *** VALIDATE cgroup1 *** [ 0.002820][ T0] *** VALIDATE cgroup2 *** [ 0.002931][ T0] CPU: Testing write buffer coherency: ok [ 0.004899][ T1] Setting up static identity map for 0x100000 - 0x100058 [ 0.005214][ T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.005533][ T1] rcu: Hierarchical SRCU implementation. [ 0.008232][ T1] devtmpfs: initialized [ 0.015481][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.015517][ T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.015802][ T1] xor: measuring software checksum speed [ 0.110123][ T1] arm4regs : 1088.400 MB/sec [ 0.210077][ T1] 8regs : 653.600 MB/sec [ 0.310082][ T1] 32regs : 950.000 MB/sec [ 0.310101][ T1] xor: using function: arm4regs (1088.400 MB/sec) [ 0.310124][ T1] prandom: seed boundary self test passed [ 0.314302][ T1] prandom: 100 self tests passed [ 0.314313][ T1] pinctrl core: initialized pinctrl subsystem [ 0.315299][ T1] thermal_sys: Registered thermal governor 'step_wise' [ 0.316003][ T1] NET: Registered protocol family 16 [ 0.316738][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.317732][ T1] audit: initializing netlink subsys (disabled) [ 0.319164][ T14] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1 [ 0.319294][ T1] cpuidle: using governor ladder [ 0.319379][ T1] cpuidle: using governor menu [ 0.319909][ T1] Feroceon L2: Enabling L2 [ 0.319960][ T1] Feroceon L2: Cache support initialised. [ 0.326189][ T1] No ATAGs? [ 2.560060][ C0] random: fast init done [ 5.400329][ T1] raid6: int32x8 gen() 105 MB/s [ 5.570405][ T1] raid6: int32x8 xor() 65 MB/s [ 5.740274][ T1] raid6: int32x4 gen() 106 MB/s [ 5.910402][ T1] raid6: int32x4 xor() 69 MB/s [ 6.080520][ T1] raid6: int32x2 gen() 132 MB/s [ 6.250292][ T1] raid6: int32x2 xor() 94 MB/s [ 6.420421][ T1] raid6: int32x1 gen() 100 MB/s [ 6.590438][ T1] raid6: int32x1 xor() 69 MB/s [ 6.590450][ T1] raid6: using algorithm int32x2 gen() 132 MB/s [ 6.590458][ T1] raid6: .... xor() 94 MB/s, rmw enabled [ 6.590467][ T1] raid6: using intx1 recovery algorithm [ 6.590759][ T1] vgaarb: loaded [ 6.591368][ T1] SCSI subsystem initialized [ 6.591903][ T1] usbcore: registered new interface driver usbfs [ 6.591972][ T1] usbcore: registered new interface driver hub [ 6.592062][ T1] usbcore: registered new device driver usb [ 6.592269][ T1] pps_core: LinuxPPS API ver. 1 registered [ 6.592281][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 6.592311][ T1] PTP clock support registered [ 6.593810][ T1] clocksource: Switched to clocksource orion_clocksource [ 7.934446][ T1] *** VALIDATE bpf *** [ 7.934913][ T1] VFS: Disk quotas dquot_6.6.0 [ 7.935005][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 7.935113][ T1] *** VALIDATE ramfs *** [ 7.945832][ T1] NET: Registered protocol family 2 [ 7.946725][ T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 7.946767][ T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 7.946809][ T1] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 7.946840][ T1] TCP: Hash tables configured (established 2048 bind 2048) [ 7.946986][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 7.947017][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 7.947253][ T1] NET: Registered protocol family 1 [ 7.948023][ T1] RPC: Registered named UNIX socket transport module. [ 7.948038][ T1] RPC: Registered udp transport module. [ 7.948047][ T1] RPC: Registered tcp transport module. [ 7.948056][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 7.948070][ T1] PCI: CLS 0 bytes, default 32 [ 7.948405][ T1] Trying to unpack rootfs image as initramfs... [ 7.950781][ T1] Initramfs unpacking failed: broken padding [ 7.976377][ T1] Freeing initrd memory: 8928K [ 7.976543][ T1] NetWinder Floating Point Emulator V0.97 (double precision) [ 7.977890][ T1] Initialise system trusted keyrings [ 7.977947][ T1] Key type blacklist registered [ 7.978181][ T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0 [ 7.978288][ T1] zbud: loaded [ 7.979551][ T1] NFS: Registering the id_resolver key type [ 7.979589][ T1] Key type id_resolver registered [ 7.979600][ T1] Key type id_legacy registered [ 7.979623][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 7.979642][ T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 7.980076][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 7.980551][ T1] *** VALIDATE jffs2 *** [ 7.980569][ T1] fuse: init (API version 7.31) [ 7.980590][ T1] *** VALIDATE fuse *** [ 7.980604][ T1] *** VALIDATE fuse *** [ 7.980994][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 7.981213][ T1] orangefs_init: module version upstream loaded [ 7.981226][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled [ 7.981980][ T1] *** VALIDATE xfs *** [ 8.019774][ T1] async_tx: api initialized (async) [ 8.019798][ T1] Key type asymmetric registered [ 8.019808][ T1] Asymmetric key parser 'x509' registered [ 8.019871][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 8.021450][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 8.022932][ T1] mvebu-gpio f1010140.gpio: IRQ index 3 not found [ 8.023556][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00 [ 8.023578][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 8.023594][ T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 8.023609][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 8.023732][ T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400 [ 8.023774][ T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref] [ 8.025315][ T1] PCI: bus0: Fast back to back transfers disabled [ 8.025344][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 8.025568][ T1] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000 [ 8.025612][ T1] pci 0000:01:00.0: reg 0x10: [io 0x0000-0x00ff] [ 8.025643][ T1] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit pref] [ 8.025668][ T1] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref] [ 8.025688][ T1] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 8.025795][ T1] pci 0000:01:00.0: supports D1 D2 [ 8.025810][ T1] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 8.055053][ T1] PCI: bus1: Fast back to back transfers disabled [ 8.055082][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 8.055292][ T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff] [ 8.055310][ T1] pci 0000:00:01.0: BAR 13: assigned [io 0x10000-0x10fff] [ 8.055327][ T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref] [ 8.055349][ T1] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref] [ 8.055367][ T1] pci 0000:01:00.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref] [ 8.055393][ T1] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref] [ 8.055417][ T1] pci 0000:01:00.0: BAR 0: assigned [io 0x10000-0x100ff] [ 8.055435][ T1] pci 0000:00:01.0: PCI bridge to [bus 01] [ 8.055450][ T1] pci 0000:00:01.0: bridge window [io 0x10000-0x10fff] [ 8.055468][ T1] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff] [ 8.055585][ T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143) [ 8.056151][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 8.114856][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 8.117437][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 8.174839][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 8.177714][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 8.179128][ T1] printk: console [ttyS0] disabled [ 8.179229][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 9.184415][ T1] printk: console [ttyS0] enabled [ 9.197860][ T1] loop: module loaded [ 9.202337][ T1] sata_mv f1080000.sata: slots 32 ports 2 [ 9.211642][ T1] scsi host0: sata_mv [ 9.216151][ T1] scsi host1: sata_mv [ 9.220283][ T1] ata1: SATA max UDMA/133 irq 32 [ 9.225163][ T1] ata2: SATA max UDMA/133 irq 32 [ 9.230995][ T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1 [ 9.238208][ T1] nand: Samsung NAND 128MiB 3,3V 8-bit [ 9.243553][ T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 9.251895][ T1] Scanning device for bad blocks [ 9.264083][ T1] Bad eraseblock 76 at 0x000000980000 [ 9.288962][ T1] Bad eraseblock 281 at 0x000002320000 [ 9.314737][ T1] Bad eraseblock 494 at 0x000003dc0000 [ 9.340116][ T1] Bad eraseblock 703 at 0x0000057e0000 [ 9.376246][ T1] 4 cmdlinepart partitions found on MTD device orion_nand [ 9.383235][ T1] Creating 4 MTD partitions on "orion_nand": [ 9.389135][ T1] 0x000000000000-0x000000100000 : "u-boot" [ 9.396321][ T1] 0x000000100000-0x000000500000 : "uImage" [ 9.403383][ T1] 0x000000500000-0x000002500000 : "rootfs" [ 9.410626][ T1] 0x000002500000-0x000008000000 : "data" [ 9.419228][ T1] libphy: Fixed MDIO Bus: probed [ 9.424872][ T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 9.432162][ T1] ehci-pci: EHCI PCI platform driver [ 9.437419][ T1] ehci-orion: EHCI orion driver [ 9.442351][ T1] orion-ehci f1050000.ehci: EHCI Host Controller [ 9.448633][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 9.457296][ T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 9.493834][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 9.500885][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.05 [ 9.509940][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.517937][ T1] usb usb1: Product: EHCI Host Controller [ 9.523563][ T1] usb usb1: Manufacturer: Linux 5.5.1-kirkwood-tld-1 ehci_hcd [ 9.530953][ T1] usb usb1: SerialNumber: f1050000.ehci [ 9.537112][ T1] hub 1-0:1.0: USB hub found [ 9.541664][ T1] hub 1-0:1.0: 1 port detected [ 9.547180][ T1] usbcore: registered new interface driver usb-storage [ 9.554398][ T1] mousedev: PS/2 mouse device common for all mice [ 9.561513][ T1] rtc-mv f1010300.rtc: registered as rtc0 [ 9.567408][ T1] i2c /dev entries driver [ 9.573208][ T1] device-mapper: uevent: version 1.0.3 [ 9.578979][ T1] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com [ 9.588653][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 9.595995][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 9.603339][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 9.610788][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 9.617643][ T1] device-mapper: raid: Loading target version 1.15.0 [ 9.626788][ T1] hid: raw HID events driver (C) Jiri Kosina [ 9.632997][ T1] exFAT: Version 1.3.0 [ 9.637087][ T1] drop_monitor: Initializing network drop monitor service [ 9.644403][ T1] NET: Registered protocol family 17 [ 9.649842][ T1] Key type dns_resolver registered [ 9.655483][ T1] registered taskstats version 1 [ 9.660296][ T1] Loading compiled-in X.509 certificates [ 9.665958][ T1] zswap: loaded using pool lzo/zbud [ 9.671249][ T1] Key type ._fscrypt registered [ 9.676008][ T1] Key type .fscrypt registered [ 9.702370][ T1] Key type big_key registered [ 9.710670][ T1] Key type encrypted registered [ 9.718543][ T1] Waiting 10 sec before mounting root device... [ 9.733902][ T118] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 9.773904][ T118] ata1.00: ATA-8: WDC WD5000AAKX-001CA0, 15.01H15, max UDMA/133 [ 9.781430][ T118] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 9.793585][ T118] ata1.00: configured for UDMA/133 [ 9.809165][ T7] scsi 0:0:0:0: Direct-Access ATA WDC WD5000AAKX-0 1H15 PQ: 0 ANSI: 5 [ 9.819372][ T122] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB) [ 9.828195][ T122] sd 0:0:0:0: [sda] Write Protect is off [ 9.833957][ T122] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 9.854399][ T122] sda: sda1 sda2 sda3 [ 9.860320][ T122] sd 0:0:0:0: [sda] Attached SCSI disk [ 9.913849][ T127] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 9.965809][ T127] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63 [ 9.974759][ T127] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 9.982638][ T127] usb 1-1: Product: USB2.0 Hub [ 9.988110][ T127] hub 1-1:1.0: USB hub found [ 9.992934][ T127] hub 1-1:1.0: 4 ports detected [ 10.155473][ T120] ata2: SATA link down (SStatus 0 SControl F300) [ 20.323938][ T1] md: Waiting for all devices to be available before autodetect [ 20.331457][ T1] md: If you don't use raid, use raid=noautodetect [ 20.338853][ T1] md: Autodetecting RAID arrays. [ 20.343674][ T1] md: autorun ... [ 20.347255][ T1] md: ... autorun DONE. [ 20.351506][ T1] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6 [ 20.360309][ T1] Please append a correct "root=" boot option; here are the available partitions: [ 20.369490][ T1] 1f00 1024 mtdblock0 [ 20.369494][ T1] (driver?) [ 20.377515][ T1] 1f01 4096 mtdblock1 [ 20.377518][ T1] (driver?) [ 20.385528][ T1] 1f02 32768 mtdblock2 [ 20.385531][ T1] (driver?) [ 20.393495][ T1] 1f03 93184 mtdblock3 [ 20.393498][ T1] (driver?) [ 20.401486][ T1] 0800 488386584 sda [ 20.401489][ T1] driver: sd [ 20.409043][ T1] 0801 16547840 sda1 00000000-01 [ 20.409046][ T1] [ 20.416857][ T1] 0802 4194304 sda2 00000000-02 [ 20.416859][ T1] [ 20.424672][ T1] 0803 467643416 sda3 00000000-03 [ 20.424674][ T1] [ 20.432466][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 20.441465][ T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.5.1-kirkwood-tld-1 #1.0 [ 20.449324][ T1] Hardware name: Marvell Kirkwood (Flattened Device Tree) [ 20.456347][ T1] [<8010f668>] (unwind_backtrace) from [<8010b9f4>] (show_stack+0x10/0x14) [ 20.464830][ T1] [<8010b9f4>] (show_stack) from [<80119e8c>] (panic+0xfc/0x328) [ 20.472447][ T1] [<80119e8c>] (panic) from [<80f0157c>] (mount_block_root+0x1c8/0x260) [ 20.480667][ T1] [<80f0157c>] (mount_block_root) from [<80f01704>] (mount_root+0xf0/0x130) [ 20.489237][ T1] [<80f01704>] (mount_root) from [<80f01888>] (prepare_namespace+0x144/0x180) [ 20.497983][ T1] [<80f01888>] (prepare_namespace) from [<80f010a4>] (kernel_init_freeable+0x144/0x1a0) [ 20.507609][ T1] [<80f010a4>] (kernel_init_freeable) from [<809d9904>] (kernel_init+0x8/0x10c) [ 20.516531][ T1] [<809d9904>] (kernel_init) from [<801010e0>] (ret_from_fork+0x14/0x34) [ 20.524833][ T1] Exception stack(0x8ec3dfb0 to 0x8ec3dff8) [ 20.530607][ T1] dfa0: 00000000 00000000 00000000 00000000 [ 20.539521][ T1] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 20.548431][ T1] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 20.555784][ T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
Re: U-Boot Kirkwood - NSA310 - nandump segfault March 14, 2020 12:46AM |
Registered: 5 years ago Posts: 29 |
Re: U-Boot Kirkwood - NSA310 - nandump segfault March 14, 2020 12:58AM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: U-Boot Kirkwood - NSA310 - nandump segfault March 14, 2020 01:04AM |
Admin Registered: 14 years ago Posts: 19,425 |
setenv set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial'
Re: U-Boot Kirkwood - NSA310 - nandump segfault March 14, 2020 07:04AM |
Registered: 5 years ago Posts: 29 |
� U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:54:15 -0700) ZyXEL NSA310 1-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 NSA310> printenv dtb_file=/boot/dts/kirkwood-nsa310.dtb arcNumber=4022 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 disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-nsa310.dtb ethact=egiga0 ethaddr=52:3b:20:9c:11:51 if_netconsole=ping $serverip ipaddr=192.168.0.231 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 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) partition=nand0,2 preboot_nc=run if_netconsole start_netconsole 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 serverip=192.168.0.220 set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial 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=echo Initializing 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 $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done; uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi usb_boot=run load_dtb; run load_uimage; if run load_initrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi usb_ready_retry=15 Environment size: 3034/131068 bytes NSA310> boot Initializing devices... 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 Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000AAKX-001CA0 Firm: 15.01H15 Ser#: WD-WCAYUL098558 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) Loading envs from usb 0... ** File not found /boot/uEnv.txt ** Loading envs from usb 1... ** Bad device usb 1 ** Loading envs from usb 2... ** Bad device usb 2 ** Loading envs from usb 3... ** Bad device usb 3 ** Loading envs from ide 0... ** File not found /boot/uEnv.txt ** Loading envs from ide 1... ** Bad device ide 1 ** Loading envs from ide 2... ** Bad device ide 2 ** Loading envs from ide 3... ** Bad device ide 3 ** running scan_disk ... Scan device usb device usb 0:1 ** File not found /boot/uImage ** device usb 1:1 ** Bad device usb 1 ** device usb 2:1 ** Bad device usb 2 ** device usb 3:1 ** Bad device usb 3 ** Scan device ide Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: WDC WD5000AAKX-001CA0 Firm: 15.01H15 Ser#: WD-WCAYUL098558 Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) device ide 0:1 1 bytes read in 51 ms (0 Bytes/s) Found bootable drive on ide 0 loading uImage ... 5202928 bytes read in 1294 ms (3.8 MiB/s) loading uInitrd ... 9138519 bytes read in 1738 ms (5 MiB/s) loading DTB /boot/dts/kirkwood-nsa310.dtb ... 12568 bytes read in 27 ms (454.1 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-5.5.1-kirkwood-tld-1 Created: 2020-02-07 15:57:03 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5202864 Bytes = 5 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-5.5.1-kirkwood-tld-1 Created: 2020-02-07 15:57:05 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9138455 Bytes = 8.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 0f256000, end 0fb0d117 ... OK Loading Device Tree to 0f24f000, end 0f255117 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.5.1-kirkwood-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1.0 PREEMPT Sat Feb 1 22:28:36 PST 2020 [ 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: ZyXEL NSA310 [ 0.000000][ T0] printk: bootconsole [earlycon0] enabled [ 0.000000][ T0] Memory policy: Data cache writeback [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 65024 [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) earlyprintk=serial [ 0.000000][ T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000][ T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000][ T0] Memory: 234256K/262144K available (9216K kernel code, 926K rwdata, 3860K rodata, 1024K init, 296K bss, 27888K reserved, 0K cma-reserved) [ 0.000000][ T0] random: get_random_u32 called from ____cache_alloc+0x470/0x80c 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_idle_ns: 9556302233 ns [ 0.000009][ T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.008602][ T0] Switching to timer-based delay loop, resolution 5ns [ 0.016013][ T0] Console: colour dummy device 80x30 [ 0.021267][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000) [ 0.032588][ T0] pid_max: default: 32768 minimum: 301 [ 0.038295][ T0] LSM: Security Framework initializing [ 0.043850][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.051956][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.060621][ T0] *** VALIDATE tmpfs *** [ 0.065601][ T0] *** VALIDATE proc *** [ 0.069935][ T0] *** VALIDATE cgroup1 *** [ 0.074233][ T0] *** VALIDATE cgroup2 *** [ 0.078677][ T0] CPU: Testing write buffer coherency: ok [ 0.086238][ T1] Setting up static identity map for 0x100000 - 0x100058 [ 0.093539][ T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.099729][ T1] rcu: Hierarchical SRCU implementation. [ 0.107926][ T1] devtmpfs: initialized [ 0.119239][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.129922][ T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.137781][ T1] xor: measuring software checksum speed [ 0.238629][ T1] arm4regs : 1088.400 MB/sec [ 0.338636][ T1] 8regs : 653.600 MB/sec [ 0.438633][ T1] 32regs : 950.000 MB/sec [ 0.443540][ T1] xor: using function: arm4regs (1088.400 MB/sec) [ 0.449884][ T1] prandom: seed boundary self test passed [ 0.459689][ T1] prandom: 100 self tests passed [ 0.464512][ T1] pinctrl core: initialized pinctrl subsystem [ 0.471455][ T1] thermal_sys: Registered thermal governor 'step_wise' [ 0.472160][ T1] NET: Registered protocol family 16 [ 0.484864][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.493506][ T1] audit: initializing netlink subsys (disabled) [ 0.501102][ T14] audit: type=2000 audit(0.490:1): state=initialized audit_enabled=0 res=1 [ 0.509744][ T1] cpuidle: using governor ladder [ 0.514642][ T1] cpuidle: using governor menu [ 0.519889][ T1] Feroceon L2: Enabling L2 [ 0.524219][ T1] Feroceon L2: Cache support initialised. [ 0.536047][ T1] No ATAGs? [ 2.568612][ C0] random: fast init done [ 5.618868][ T1] raid6: int32x8 gen() 105 MB/s [ 5.788968][ T1] raid6: int32x8 xor() 65 MB/s [ 5.958816][ T1] raid6: int32x4 gen() 106 MB/s [ 6.128946][ T1] raid6: int32x4 xor() 69 MB/s [ 6.298682][ T1] raid6: int32x2 gen() 132 MB/s [ 6.468848][ T1] raid6: int32x2 xor() 94 MB/s [ 6.638968][ T1] raid6: int32x1 gen() 100 MB/s [ 6.808992][ T1] raid6: int32x1 xor() 69 MB/s [ 6.813976][ T1] raid6: using algorithm int32x2 gen() 132 MB/s [ 6.820116][ T1] raid6: .... xor() 94 MB/s, rmw enabled [ 6.825626][ T1] raid6: using intx1 recovery algorithm [ 6.831349][ T1] vgaarb: loaded [ 6.835359][ T1] SCSI subsystem initialized [ 6.840380][ T1] usbcore: registered new interface driver usbfs [ 6.846646][ T1] usbcore: registered new interface driver hub [ 6.852806][ T1] usbcore: registered new device driver usb [ 6.858805][ T1] pps_core: LinuxPPS API ver. 1 registered [ 6.864492][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 6.874407][ T1] PTP clock support registered [ 6.880573][ T1] clocksource: Switched to clocksource orion_clocksource [ 8.228071][ T1] *** VALIDATE bpf *** [ 8.232518][ T1] VFS: Disk quotas dquot_6.6.0 [ 8.237239][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 8.245062][ T1] *** VALIDATE ramfs *** [ 8.259888][ T1] NET: Registered protocol family 2 [ 8.265905][ T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 8.275102][ T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 8.283574][ T1] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 8.291423][ T1] TCP: Hash tables configured (established 2048 bind 2048) [ 8.298645][ T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 8.305947][ T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 8.313889][ T1] NET: Registered protocol family 1 [ 8.319707][ T1] RPC: Registered named UNIX socket transport module. [ 8.326451][ T1] RPC: Registered udp transport module. [ 8.331900][ T1] RPC: Registered tcp transport module. [ 8.337325][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 8.344520][ T1] PCI: CLS 0 bytes, default 32 [ 8.349485][ T1] Trying to unpack rootfs image as initramfs... [ 8.358022][ T1] Initramfs unpacking failed: broken padding [ 8.389419][ T1] Freeing initrd memory: 8928K [ 8.394284][ T1] NetWinder Floating Point Emulator V0.97 (double precision) [ 8.402901][ T1] Initialise system trusted keyrings [ 8.408113][ T1] Key type blacklist registered [ 8.413144][ T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0 [ 8.420407][ T1] zbud: loaded [ 8.424982][ T1] NFS: Registering the id_resolver key type [ 8.430878][ T1] Key type id_resolver registered [ 8.435783][ T1] Key type id_legacy registered [ 8.440526][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 8.448026][ T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 8.455566][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 8.463840][ T1] *** VALIDATE jffs2 *** [ 8.467966][ T1] fuse: init (API version 7.31) [ 8.472730][ T1] *** VALIDATE fuse *** [ 8.476762][ T1] *** VALIDATE fuse *** [ 8.481198][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 8.488571][ T1] orangefs_init: module version upstream loaded [ 8.494731][ T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled [ 8.504658][ T1] *** VALIDATE xfs *** [ 8.545608][ T1] async_tx: api initialized (async) [ 8.550770][ T1] Key type asymmetric registered [ 8.555587][ T1] Asymmetric key parser 'x509' registered [ 8.561311][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 8.571118][ T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 8.580735][ T1] mvebu-gpio f1010140.gpio: IRQ index 3 not found [ 8.587651][ T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00 [ 8.596041][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 8.602305][ T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 8.609909][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 8.617039][ T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400 [ 8.623829][ T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref] [ 8.632704][ T1] PCI: bus0: Fast back to back transfers disabled [ 8.639019][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 8.648010][ T1] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000 [ 8.654804][ T1] pci 0000:01:00.0: reg 0x10: [io 0x0000-0x00ff] [ 8.661145][ T1] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit pref] [ 8.669110][ T1] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref] [ 8.677090][ T1] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 8.684639][ T1] pci 0000:01:00.0: supports D1 D2 [ 8.689626][ T1] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 8.721801][ T1] PCI: bus1: Fast back to back transfers disabled [ 8.728111][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 8.735686][ T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff] [ 8.743320][ T1] pci 0000:00:01.0: BAR 13: assigned [io 0x10000-0x10fff] [ 8.750408][ T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref] [ 8.758399][ T1] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref] [ 8.766381][ T1] pci 0000:01:00.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref] [ 8.774890][ T1] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref] [ 8.783399][ T1] pci 0000:01:00.0: BAR 0: assigned [io 0x10000-0x100ff] [ 8.790400][ T1] pci 0000:00:01.0: PCI bridge to [bus 01] [ 8.796113][ T1] pci 0000:00:01.0: bridge window [io 0x10000-0x10fff] [ 8.803134][ T1] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff] [ 8.810777][ T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143) [ 8.818155][ T1] mv_xor f1060800.xor: Marvell shared XOR driver [ 8.881627][ T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 8.892314][ T1] mv_xor f1060900.xor: Marvell shared XOR driver [ 8.961596][ T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 8.972518][ T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 8.981041][ T1] printk: console [ttyS0] disabled [ 8.986118][ T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 8.995941][ T1] printk: console [ttyS0] enabled [ 8.995941][ T1] printk: console [ttyS0] enabled [ 9.005789][ T1] printk: bootconsole [earlycon0] disabled [ 9.005789][ T1] printk: bootconsole [earlycon0] disabled [ 9.025735][ T1] loop: module loaded [ 9.030219][ T1] sata_mv f1080000.sata: slots 32 ports 2 [ 9.039536][ T1] scsi host0: sata_mv [ 9.044039][ T1] scsi host1: sata_mv [ 9.048175][ T1] ata1: SATA max UDMA/133 irq 32 [ 9.053050][ T1] ata2: SATA max UDMA/133 irq 32 [ 9.058885][ T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1 [ 9.066099][ T1] nand: Samsung NAND 128MiB 3,3V 8-bit [ 9.071467][ T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 9.079781][ T1] Scanning device for bad blocks [ 9.091987][ T1] Bad eraseblock 76 at 0x000000980000 [ 9.116877][ T1] Bad eraseblock 281 at 0x000002320000 [ 9.142652][ T1] Bad eraseblock 494 at 0x000003dc0000 [ 9.168032][ T1] Bad eraseblock 703 at 0x0000057e0000 [ 9.204161][ T1] 4 cmdlinepart partitions found on MTD device orion_nand [ 9.211181][ T1] Creating 4 MTD partitions on "orion_nand": [ 9.217062][ T1] 0x000000000000-0x000000100000 : "u-boot" [ 9.224256][ T1] 0x000000100000-0x000000500000 : "uImage" [ 9.231376][ T1] 0x000000500000-0x000002500000 : "rootfs" [ 9.238570][ T1] 0x000002500000-0x000008000000 : "data" [ 9.247185][ T1] libphy: Fixed MDIO Bus: probed [ 9.252823][ T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 9.260112][ T1] ehci-pci: EHCI PCI platform driver [ 9.265366][ T1] ehci-orion: EHCI orion driver [ 9.270300][ T1] orion-ehci f1050000.ehci: EHCI Host Controller [ 9.276580][ T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 9.285248][ T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 9.320599][ T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 9.327653][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.05 [ 9.336710][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.344709][ T1] usb usb1: Product: EHCI Host Controller [ 9.350335][ T1] usb usb1: Manufacturer: Linux 5.5.1-kirkwood-tld-1 ehci_hcd [ 9.357724][ T1] usb usb1: SerialNumber: f1050000.ehci [ 9.363879][ T1] hub 1-0:1.0: USB hub found [ 9.368423][ T1] hub 1-0:1.0: 1 port detected [ 9.373935][ T1] usbcore: registered new interface driver usb-storage [ 9.381156][ T1] mousedev: PS/2 mouse device common for all mice [ 9.388278][ T1] rtc-mv f1010300.rtc: registered as rtc0 [ 9.394171][ T1] i2c /dev entries driver [ 9.399974][ T1] device-mapper: uevent: version 1.0.3 [ 9.405752][ T1] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com [ 9.415418][ T1] device-mapper: multipath round-robin: version 1.2.0 loaded [ 9.422757][ T1] device-mapper: multipath queue-length: version 0.2.0 loaded [ 9.430101][ T1] device-mapper: multipath service-time: version 0.3.0 loaded [ 9.437549][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 9.444397][ T1] device-mapper: raid: Loading target version 1.15.0 [ 9.453545][ T1] hid: raw HID events driver (C) Jiri Kosina [ 9.459752][ T1] exFAT: Version 1.3.0 [ 9.463840][ T1] drop_monitor: Initializing network drop monitor service [ 9.471156][ T1] NET: Registered protocol family 17 [ 9.476591][ T1] Key type dns_resolver registered [ 9.482264][ T1] registered taskstats version 1 [ 9.487084][ T1] Loading compiled-in X.509 certificates [ 9.492749][ T1] zswap: loaded using pool lzo/zbud [ 9.498035][ T1] Key type ._fscrypt registered [ 9.502798][ T1] Key type .fscrypt registered [ 9.529138][ T1] Key type big_key registered [ 9.537400][ T1] Key type encrypted registered [ 9.545278][ T1] Waiting 10 sec before mounting root device... [ 9.560667][ T118] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 9.600668][ T118] ata1.00: ATA-8: WDC WD5000AAKX-001CA0, 15.01H15, max UDMA/133 [ 9.608193][ T118] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 9.620338][ T118] ata1.00: configured for UDMA/133 [ 9.635913][ T7] scsi 0:0:0:0: Direct-Access ATA WDC WD5000AAKX-0 1H15 PQ: 0 ANSI: 5 [ 9.646123][ T122] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB) [ 9.654944][ T122] sd 0:0:0:0: [sda] Write Protect is off [ 9.660702][ T122] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 9.683776][ T122] sda: sda1 sda2 sda3 [ 9.689687][ T122] sd 0:0:0:0: [sda] Attached SCSI disk [ 9.740614][ T127] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 9.792634][ T127] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63 [ 9.801584][ T127] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 9.809462][ T127] usb 1-1: Product: USB2.0 Hub [ 9.814934][ T127] hub 1-1:1.0: USB hub found [ 9.819758][ T127] hub 1-1:1.0: 4 ports detected [ 9.982239][ T120] ata2: SATA link down (SStatus 0 SControl F300) [ 10.140708][ T127] usb 1-1.3: new high-speed USB device number 3 using orion-ehci [ 10.193010][ T127] usb 1-1.3: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00 [ 10.202136][ T127] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 10.210200][ T127] usb 1-1.3: SerialNumber: T1205060000776 [ 10.216596][ T127] usb-storage 1-1.3:1.0: USB Mass Storage device detected [ 10.224125][ T127] scsi host2: usb-storage 1-1.3:1.0 [ 11.492623][ T22] scsi 2:0:0:0: Direct-Access 1100 PQ: 0 ANSI: 4 [ 11.503177][ T122] sd 2:0:0:0: [sdb] 15950592 512-byte logical blocks: (8.17 GB/7.61 GiB) [ 11.512161][ T122] sd 2:0:0:0: [sdb] Write Protect is off [ 11.518284][ T122] sd 2:0:0:0: [sdb] No Caching mode page found [ 11.524395][ T122] sd 2:0:0:0: [sdb] Assuming drive cache: write through [ 11.535532][ T122] sdb: sdb1 [ 11.541791][ T122] sd 2:0:0:0: [sdb] Attached SCSI removable disk [ 19.690682][ T1] md: Waiting for all devices to be available before autodetect [ 19.698205][ T1] md: If you don't use raid, use raid=noautodetect [ 19.705541][ T1] md: Autodetecting RAID arrays. [ 19.710360][ T1] md: autorun ... [ 19.713941][ T1] md: ... autorun DONE. [ 19.718195][ T1] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6 [ 19.727004][ T1] Please append a correct "root=" boot option; here are the available partitions: [ 19.736186][ T1] 1f00 1024 mtdblock0 [ 19.736190][ T1] (driver?) [ 19.744210][ T1] 1f01 4096 mtdblock1 [ 19.744214][ T1] (driver?) [ 19.752224][ T1] 1f02 32768 mtdblock2 [ 19.752228][ T1] (driver?) [ 19.760210][ T1] 1f03 93184 mtdblock3 [ 19.760213][ T1] (driver?) [ 19.768206][ T1] 0800 488386584 sda [ 19.768210][ T1] driver: sd [ 19.775766][ T1] 0801 16547840 sda1 00000000-01 [ 19.775768][ T1] [ 19.783579][ T1] 0802 4194304 sda2 00000000-02 [ 19.783581][ T1] [ 19.791393][ T1] 0803 467643416 sda3 00000000-03 [ 19.791396][ T1] [ 19.799187][ T1] 0810 7975296 sdb [ 19.799190][ T1] driver: sd [ 19.806748][ T1] 0811 7973888 sdb1 6633f146-01 [ 19.806751][ T1] [ 19.814571][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 19.823578][ T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.5.1-kirkwood-tld-1 #1.0 [ 19.831437][ T1] Hardware name: Marvell Kirkwood (Flattened Device Tree) [ 19.838460][ T1] [<8010f668>] (unwind_backtrace) from [<8010b9f4>] (show_stack+0x10/0x14) [ 19.846942][ T1] [<8010b9f4>] (show_stack) from [<80119e8c>] (panic+0xfc/0x328) [ 19.854560][ T1] [<80119e8c>] (panic) from [<80f0157c>] (mount_block_root+0x1c8/0x260) [ 19.862778][ T1] [<80f0157c>] (mount_block_root) from [<80f01704>] (mount_root+0xf0/0x130) [ 19.871349][ T1] [<80f01704>] (mount_root) from [<80f01888>] (prepare_namespace+0x144/0x180) [ 19.880095][ T1] [<80f01888>] (prepare_namespace) from [<80f010a4>] (kernel_init_freeable+0x144/0x1a0) [ 19.889721][ T1] [<80f010a4>] (kernel_init_freeable) from [<809d9904>] (kernel_init+0x8/0x10c) [ 19.898644][ T1] [<809d9904>] (kernel_init) from [<801010e0>] (ret_from_fork+0x14/0x34) [ 19.906946][ T1] Exception stack(0x8ec3dfb0 to 0x8ec3dff8) [ 19.912720][ T1] dfa0: 00000000 00000000 00000000 00000000 [ 19.921633][ T1] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 19.930544][ T1] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 19.937897][ T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
setenv dtb_file /boot/dts/kirkwood-nsa310.dtb
Re: U-Boot Kirkwood - NSA310 - nandump segfault March 14, 2020 03:27PM |
Registered: 5 years ago Posts: 29 |
Re: U-Boot Kirkwood - NSA310 - nandump segfault March 14, 2020 04:57PM |
Admin Registered: 14 years ago Posts: 19,425 |
loading DTB /boot/dts/kirkwood-nsa310.dtb ...
Re: U-Boot Kirkwood - NSA310 - nandump segfault March 15, 2020 03:14PM |
Registered: 5 years ago Posts: 29 |
Re: U-Boot Kirkwood - NSA310 - nandump segfault March 15, 2020 05:20PM |
Admin Registered: 14 years ago Posts: 19,425 |
Quote
Remember in order for it to boot correctly when the HDD is inside, the HDD must not contain rootfs, and no partition can be labeled as rootfs except the USB rootfs partition.
Re: U-Boot Kirkwood - NSA310 - nandump segfault March 16, 2020 09:41AM |
Registered: 5 years ago Posts: 29 |
If you dont have any USB rootfs plugged in, and only want to boot with HDD, then the HDD should have 1 partition labeled as rootfs, and all other partitions are data, or swap.
Re: U-Boot Kirkwood - NSA310 - nandump segfault March 16, 2020 07:01PM |
Admin Registered: 14 years ago Posts: 19,425 |
Re: U-Boot Kirkwood - NSA310 - nandump segfault March 18, 2020 04:29PM |
Registered: 5 years ago Posts: 29 |
Re: U-Boot Kirkwood - NSA310 - nandump segfault March 18, 2020 06:36PM |
Admin Registered: 14 years ago Posts: 19,425 |
Quote
https://forum.doozan.com/read.php?2,23630
Flash drives issues
How to prolong the life of your rootfs USB thumb drive
Overprovisioning A Flash Drive?