NSA325> setenv load_dtb "ext2load ide $device_sata 0x1c00000 /boot/dts/kirkwood-nsa325.dtb" NSA325> setenv sata_boot "run load_dtb; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi' > " > ' > NSA325> setenv sata_boot "run load_dtb; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00000; fi" NSA325> setenv sata_load_uimage "ext2load ide $device_sata 0x800000 /boot/uImage_4.11" NSA325> setenv sata_load_uinitrd "ext2load ide $device_sata 0x1100000 /boot/uInitrd_4.11" NSA325> run sata_boot ** Bad device size - ide 0 ** ** Bad device size - ide 0 ** ** Bad device size - ide 0 ** Wrong Image Format for bootm command Error occured, error code = 112 ERROR: can't get kernel image! NSA325> run bootcmd (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 4 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Unknown command 'mmc' - try 'help' Reset IDE: Bus 0: OK Bus 1: OK Device 0: Model: WDC WD3200BPVT-00ZEST0 Firm: 01.01A01 Ser#: WD-WX91A41P0908 Type: Hard Disk Supports 48-bit addressing Capacity: 305245.3 MB = 298.0 GB (625142448 x 512) Device 1: Model: WDC WD20EFRX-68EUZN0 Firm: 80.00A80 Ser#: WD-WCC4MLJV65ZU Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512) Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 409600 000bc746-01 83 2 411648 7419904 000bc746-02 83 loading envs from usb 0 ... ** File not found /boot/uEnv.txt ** Unknown command 'mmc' - try 'help' Partition Map for IDE device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 2097152 000e8ba0-01 83 2 2099200 12582912 000e8ba0-02 83 4 14682112 610460336 000e8ba0-04 83 Partition Map for IDE device 1 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 409600 57ea3895-01 83 2 411648 8388608 57ea3895-02 83 3 8800256 2097152 57ea3895-03 82 4 10897408 -398835536 57ea3895-04 83 loading envs from ide 0 ... ** File not found /boot/uEnv.txt ** Reset IDE: Bus 0: OK Bus 1: OK Device 0: Model: WDC WD3200BPVT-00ZEST0 Firm: 01.01A01 Ser#: WD-WX91A41P0908 Type: Hard Disk Supports 48-bit addressing Capacity: 305245.3 MB = 298.0 GB (625142448 x 512) Device 1: Model: WDC WD20EFRX-68EUZN0 Firm: 80.00A80 Ser#: WD-WCC4MLJV65ZU Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512) 13708 bytes read in 97 ms (137.7 KiB/s) 3901632 bytes read in 1423 ms (2.6 MiB/s) 3901632 bytes read in 1477 ms (2.5 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.11.3-kirkwood-tld-2 Created: 2017-07-12 22:41:09 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3901568 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.11.3-kirkwood-tld-2 Created: 2017-07-12 22:41:49 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 3901568 Bytes = 3.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 1f763000, end 1fb1b880 ... OK Loading Device Tree to 1f75c000, end 1f76258b ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.11.3-kirkwood-tld-2 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Tue Jun 6 17:01:17 PDT 2017 [ 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: ZyXEL NSA325 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda2 rootdelay=4 rootfstype=ext4 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) security=selinux selinux=1 audit=1 enforcing=0 [ 0.000000] audit: enabled (after initialization) [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 502484K/524288K available (8192K kernel code, 786K rwdata, 2016K rodata, 1024K init, 280K bss, 21804K 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 : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB) [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB) [ 0.000000] .data : 0xc0d00000 - 0xc0dc49b4 ( 787 kB) [ 0.000000] .bss : 0xc0dc49b4 - 0xc0e0acc8 ( 281 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.000407] Console: colour dummy device 80x30 [ 0.000435] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816) [ 0.090075] pid_max: default: 32768 minimum: 301 [ 0.090241] Security Framework initialized [ 0.090259] SELinux: Initializing. [ 0.090526] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090543] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.091318] CPU: Testing write buffer coherency: ok [ 0.092217] Setting up static identity map for 0x100000 - 0x100058 [ 0.092454] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1 [ 0.095462] devtmpfs: initialized [ 0.100186] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.100210] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.100436] prandom: seed boundary self test passed [ 0.103241] prandom: 100 self tests passed [ 0.103250] pinctrl core: initialized pinctrl subsystem [ 0.104295] NET: Registered protocol family 16 [ 0.104722] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.106086] cpuidle: using governor ladder [ 0.106145] cpuidle: using governor menu [ 0.106593] Feroceon L2: Enabling L2 [ 0.106628] Feroceon L2: Cache support initialised. [ 0.106931] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set [ 0.110962] No ATAGs? [ 0.117978] vgaarb: loaded [ 0.118230] SCSI subsystem initialized [ 0.118606] usbcore: registered new interface driver usbfs [ 0.118665] usbcore: registered new interface driver hub [ 0.118709] usbcore: registered new device driver usb [ 0.119581] clocksource: Switched to clocksource orion_clocksource [ 0.194231] VFS: Disk quotas dquot_6.6.0 [ 0.194301] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.202335] NET: Registered protocol family 2 [ 0.202939] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.202996] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.203047] TCP: Hash tables configured (established 4096 bind 4096) [ 0.203112] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.203133] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.203271] NET: Registered protocol family 1 [ 0.203615] RPC: Registered named UNIX socket transport module. [ 0.203626] RPC: Registered udp transport module. [ 0.203631] RPC: Registered tcp transport module. [ 0.203637] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.203879] Unpacking initramfs... [ 0.203889] Initramfs unpacking failed: junk in compressed archive [ 0.214806] Freeing initrd memory: 3812K [ 0.214986] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.215645] audit: initializing netlink subsys (enabled) [ 0.215957] Initialise system trusted keyrings [ 0.216051] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=1 res=1 [ 0.216111] workingset: timestamp_bits=30 max_order=17 bucket_order=0 [ 0.216190] zbud: loaded [ 0.216907] NFS: Registering the id_resolver key type [ 0.216930] Key type id_resolver registered [ 0.216936] Key type id_legacy registered [ 0.216950] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.216957] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.217314] Key type cifs.spnego registered [ 0.217333] Key type cifs.idmap registered [ 0.217342] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.217486] fuse init (API version 7.26) [ 0.217758] orangefs_debugfs_init: called with debug mask: :none: :0: [ 0.217928] orangefs_init: module version upstream loaded [ 0.217936] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 2.559585] random: fast init done [ 3.266115] Key type asymmetric registered [ 3.266128] Asymmetric key parser 'x509' registered [ 3.266181] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 3.266190] io scheduler noop registered [ 3.266196] io scheduler deadline registered [ 3.266256] io scheduler cfq registered (default) [ 3.267203] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 3.268647] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00 [ 3.268665] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 3.268675] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 3.268685] pci_bus 0000:00: root bus resource [bus 00-ff] [ 3.268941] PCI: bus0: Fast back to back transfers disabled [ 3.268959] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 3.289741] PCI: bus1: Fast back to back transfers disabled [ 3.289910] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff] [ 3.289925] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit] [ 3.289945] pci 0000:00:01.0: PCI bridge to [bus 01] [ 3.289957] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff] [ 3.290022] pcieport 0000:00:01.0: enabling device (0140 -> 0142) [ 3.290144] pcie_pme: probe of 0000:00:01.0:pcie001 failed with error -22 [ 3.290212] pci 0000:01:00.0: enabling device (0140 -> 0142) [ 3.290601] mv_xor f1060800.xor: Marvell shared XOR driver [ 3.350146] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr ) [ 3.350320] mv_xor f1060900.xor: Marvell shared XOR driver [ 3.410126] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr ) [ 3.410509] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 3.411580] console [ttyS0] disabled [ 3.411633] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A [ 4.120651] console [ttyS0] enabled [ 4.130822] loop: module loaded [ 4.134379] sata_mv f1080000.sata: slots 32 ports 2 [ 4.141317] scsi host0: sata_mv [ 4.144796] scsi host1: sata_mv [ 4.148140] ata1: SATA max UDMA/133 irq 32 [ 4.152296] ata2: SATA max UDMA/133 irq 32 [ 4.157174] nand: device found, Manufacturer ID: 0x92, Chip ID: 0xf1 [ 4.163637] nand: Eon NAND 128MiB 3,3V 8-bit [ 4.167922] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 4.175556] Scanning device for bad blocks [ 4.184498] Bad eraseblock 100 at 0x000000c80000 [ 4.193913] Bad eraseblock 200 at 0x000001900000 [ 4.237792] 4 cmdlinepart partitions found on MTD device orion_nand [ 4.244095] Creating 4 MTD partitions on "orion_nand": [ 4.249256] 0x000000000000-0x000000100000 : "u-boot" [ 4.255294] 0x000000100000-0x000000500000 : "uImage" [ 4.261354] 0x000000500000-0x000002500000 : "rootfs" [ 4.267450] 0x000002500000-0x000008000000 : "data" [ 4.274305] libphy: Fixed MDIO Bus: probed [ 4.279089] libphy: orion_mdio_bus: probed [ 4.283940] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 4.390030] mv643xx_eth: Set the PHY to fix link down [ 4.390632] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:00:02:02 [ 4.404584] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.411190] ehci-pci: EHCI PCI platform driver [ 4.415693] ehci-orion: EHCI orion driver [ 4.419898] orion-ehci f1050000.ehci: EHCI Host Controller [ 4.425453] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 4.433305] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000 [ 4.459600] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 4.465839] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.472693] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.479975] usb usb1: Product: EHCI Host Controller [ 4.484877] usb usb1: Manufacturer: Linux 4.11.3-kirkwood-tld-2 ehci_hcd [ 4.491683] usb usb1: SerialNumber: f1050000.ehci [ 4.496953] hub 1-0:1.0: USB hub found [ 4.500788] hub 1-0:1.0: 1 port detected [ 4.505171] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 4.510482] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2 [ 4.518200] xhci_hcd 0000:01:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x00000004 [ 4.526800] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.533641] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.540907] usb usb2: Product: xHCI Host Controller [ 4.545804] usb usb2: Manufacturer: Linux 4.11.3-kirkwood-tld-2 xhci-hcd [ 4.552547] usb usb2: SerialNumber: 0000:01:00.0 [ 4.557714] hub 2-0:1.0: USB hub found [ 4.561546] hub 2-0:1.0: 2 ports detected [ 4.565971] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 4.571270] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3 [ 4.578764] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM. [ 4.587013] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003 [ 4.593850] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.601119] usb usb3: Product: xHCI Host Controller [ 4.606015] usb usb3: Manufacturer: Linux 4.11.3-kirkwood-tld-2 xhci-hcd [ 4.612827] usb usb3: SerialNumber: 0000:01:00.0 [ 4.618002] hub 3-0:1.0: USB hub found [ 4.621835] hub 3-0:1.0: 2 ports detected [ 4.626605] mousedev: PS/2 mouse device common for all mice [ 4.632482] i2c /dev entries driver [ 4.642371] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0 [ 4.651521] hidraw: raw HID events driver (C) Jiri Kosina [ 4.657204] drop_monitor: Initializing network drop monitor service [ 4.663553] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 4.670392] ata1.00: ATA-8: WDC WD3200BPVT-00ZEST0, 01.01A01, max UDMA/133 [ 4.670399] ata1.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 4.684753] NET: Registered protocol family 17 [ 4.689287] ata1.00: configured for UDMA/133 [ 4.693986] scsi 0:0:0:0: Direct-Access ATA WDC WD3200BPVT-0 1A01 PQ: 0 ANSI: 5 [ 4.703071] Key type dns_resolver registered [ 4.708031] registered taskstats version 1 [ 4.712195] Loading compiled-in X.509 certificates [ 4.717052] zswap: loaded using pool lzo/zbud [ 4.723259] Key type big_key registered [ 4.728436] Key type encrypted registered [ 4.735224] rtc-pcf8563 0-0051: setting system clock to 2017-07-12 23:17:26 UTC (1499901446) [ 4.744534] Waiting 4 sec before mounting root device... [ 4.859606] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 5.051187] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 5.057929] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 5.065122] usb 1-1: Product: USB2.0 Hub [ 5.069852] hub 1-1:1.0: USB hub found [ 5.073941] hub 1-1:1.0: 4 ports detected [ 5.199613] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 5.208330] ata2.00: ATA-9: WDC WD20EFRX-68EUZN0, 80.00A80, max UDMA/133 [ 5.215083] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 5.224418] ata2.00: configured for UDMA/133 [ 5.239166] scsi 1:0:0:0: Direct-Access ATA WDC WD20EFRX-68E 0A80 PQ: 0 ANSI: 5 [ 5.399602] usb 1-1.2: new high-speed USB device number 3 using orion-ehci [ 5.550561] usb 1-1.2: New USB device found, idVendor=18a5, idProduct=0302 [ 5.557471] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 5.564839] usb 1-1.2: Product: STORE N GO [ 5.570713] usb 1-1.2: Manufacturer: Verbatim [ 5.577010] usb 1-1.2: SerialNumber: 1226000000006EFD [ 5.679600] usb 1-1.3: new high-speed USB device number 4 using orion-ehci [ 5.831310] usb 1-1.3: New USB device found, idVendor=04a9, idProduct=1909 [ 5.838220] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 5.845586] usb 1-1.3: Product: CanoScan [ 5.849521] usb 1-1.3: Manufacturer: Canon [ 8.809735] VFS: Cannot open root device "sda2" or unknown-block(0,0): error -6 [ 8.817075] Please append a correct "root=" boot option; here are the available partitions: [ 8.825509] 1f00 1024 mtdblock0 [ 8.825513] (driver?) [ 8.832104] 1f01 4096 mtdblock1 [ 8.832107] (driver?) [ 8.838669] 1f02 32768 mtdblock2 [ 8.838671] (driver?) [ 8.845262] 1f03 93184 mtdblock3 [ 8.845265] (driver?) [ 8.851849] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 8.860147] CPU: 0 PID: 1 Comm: swapper Not tainted 4.11.3-kirkwood-tld-2 #1 [ 8.867223] Hardware name: Marvell Kirkwood (Flattened Device Tree) [ 8.873538] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 8.881318] [] (show_stack) from [] (panic+0xb0/0x250) [ 8.888233] [] (panic) from [] (mount_block_root+0x204/0x27c) [ 8.895754] [] (mount_block_root) from [] (mount_root+0xec/0x118) [ 8.903618] [] (mount_root) from [] (prepare_namespace+0x124/0x184) [ 8.911659] [] (prepare_namespace) from [] (kernel_init_freeable+0x210/0x260) [ 8.920570] [] (kernel_init_freeable) from [] (kernel_init+0x8/0x10c) [ 8.928785] [] (kernel_init) from [] (ret_from_fork+0x14/0x24) [ 8.936393] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 122.769621] random: crng init done [ 139.604443] ata2: exception Emask 0x10 SAct 0x0 SErr 0x180000 action 0x6