Nsa320 Kernelpanic
February 10, 2020 12:56AM
hi folks,

i want to revive my old Nsa320 with Debian..but no luck.
kwboot the uboot 2017.07. runs fine but booting debian ends up with kernelpanic :-(


root@DebianWorkstation:~/Downloads/kwboot-tool# kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa320.mtd0.kwb  -p
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:46:11 -0700)
ZyXEL NSA320 2-Bay Power Media Server

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0 
NSA320> printenv
arcNumber=3956
baudrate=115200
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-nsa320.dtb
ethact=egiga0
ethaddr=50:67:f0:a3:1b:54
if_netconsole=ping $serverip
ipaddr=192.168.0.222
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:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
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.1
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 2971/131068 bytes
NSA320>
boot
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: ide_preinit failed

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

Part	Start Sector	Num Sectors	UUID		Type
  1	2048      	60479488  	2431b290-01	83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4976833 bytes read in 1053 ms (4.5 MiB/s)
loading uInitrd ...
EHCI timed out on TD - token=0xd8d80
9713936 bytes read in 6707 ms (1.4 MiB/s)
loading DTB /boot/dts/kirkwood-nsa320.dtb ...
13153 bytes read in 2753 ms (3.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-1
   Created:      2020-02-07  19:18:43 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4976769 Bytes = 4.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-1
   Created:      2019-08-25   2:22:50 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9713872 Bytes = 9.3 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 0f6bc000, end 0ffff8d0 ... OK
   Loading Device Tree to 0f6b5000, end 0f6bb360 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019
[    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 NSA320
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000][    T0] Memory: 504168K/524288K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 20120K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 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.000047][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000796][    T0] Console: colour dummy device 80x30
[    0.000847][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000873][    T0] pid_max: default: 32768 minimum: 301
[    0.001252][    T0] LSM: Security Framework initializing
[    0.001435][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001463][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002396][    T0] *** VALIDATE proc ***
[    0.002667][    T0] *** VALIDATE cgroup1 ***
[    0.002694][    T0] *** VALIDATE cgroup2 ***
[    0.002795][    T0] CPU: Testing write buffer coherency: ok
[    0.004464][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.004785][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.005066][    T1] rcu: Hierarchical SRCU implementation.
[    0.008262][    T1] devtmpfs: initialized
[    0.014260][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.014292][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.014534][    T1] xor: measuring software checksum speed
[    0.110110][    T1]    arm4regs  :  1088.800 MB/sec
[    0.210076][    T1]    8regs     :   654.000 MB/sec
[    0.310074][    T1]    32regs    :   950.800 MB/sec
[    0.310095][    T1] xor: using function: arm4regs (1088.800 MB/sec)
[    0.310116][    T1] prandom: seed boundary self test passed
[    0.314293][    T1] prandom: 100 self tests passed
[    0.314305][    T1] pinctrl core: initialized pinctrl subsystem
[    0.315735][    T1] NET: Registered protocol family 16
[    0.316183][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.316985][    T1] audit: initializing netlink subsys (disabled)
[    0.318232][   T14] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.318350][    T1] cpuidle: using governor ladder
[    0.318428][    T1] cpuidle: using governor menu
[    0.318876][    T1] Feroceon L2: Enabling L2
[    0.318927][    T1] Feroceon L2: Cache support initialised.
[    0.325220][    T1] No ATAGs?
[    2.560055][    C0] random: fast init done
[    6.251920][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    6.252278][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    6.430650][    T1] raid6: int32x8  gen()   128 MB/s
[    6.600320][    T1] raid6: int32x8  xor()    86 MB/s
[    6.770250][    T1] raid6: int32x4  gen()   130 MB/s
[    6.940237][    T1] raid6: int32x4  xor()    84 MB/s
[    7.110092][    T1] raid6: int32x2  gen()   133 MB/s
[    7.280193][    T1] raid6: int32x2  xor()    94 MB/s
[    7.450399][    T1] raid6: int32x1  gen()   100 MB/s
[    7.620404][    T1] raid6: int32x1  xor()    69 MB/s
[    7.620416][    T1] raid6: using algorithm int32x2 gen() 133 MB/s
[    7.620424][    T1] raid6: .... xor() 94 MB/s, rmw enabled
[    7.620432][    T1] raid6: using intx1 recovery algorithm
[    7.620687][    T1] vgaarb: loaded
[    7.621194][    T1] SCSI subsystem initialized
[    7.621686][    T1] usbcore: registered new interface driver usbfs
[    7.621748][    T1] usbcore: registered new interface driver hub
[    7.621840][    T1] usbcore: registered new device driver usb
[    7.622019][    T1] pps_core: LinuxPPS API ver. 1 registered
[    7.622031][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    7.622059][    T1] PTP clock support registered
[    7.623271][    T1] clocksource: Switched to clocksource orion_clocksource
[    8.654336][    T1] VFS: Disk quotas dquot_6.6.0
[    8.654433][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    8.664241][    T1] NET: Registered protocol family 2
[    8.665058][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    8.665093][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    8.665151][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    8.665204][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    8.665301][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    8.665327][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    8.665556][    T1] NET: Registered protocol family 1
[    8.666196][    T1] RPC: Registered named UNIX socket transport module.
[    8.666211][    T1] RPC: Registered udp transport module.
[    8.666220][    T1] RPC: Registered tcp transport module.
[    8.666228][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    8.666243][    T1] PCI: CLS 0 bytes, default 32
[    8.666564][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    8.667693][    T1] Initialise system trusted keyrings
[    8.667739][    T1] Key type blacklist registered
[    8.667961][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    8.668050][    T1] zbud: loaded
[    8.669133][    T1] NFS: Registering the id_resolver key type
[    8.669173][    T1] Key type id_resolver registered
[    8.669183][    T1] Key type id_legacy registered
[    8.669204][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    8.669220][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    8.669518][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    8.669755][    T1] fuse: init (API version 7.31)
[    8.670134][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    8.670328][    T1] orangefs_init: module version upstream loaded
[    8.670341][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    8.673533][    T1] async_tx: api initialized (async)
[    8.673555][    T1] Key type asymmetric registered
[    8.673564][    T1] Asymmetric key parser 'x509' registered
[    8.673622][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    8.675020][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    8.676979][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    8.677002][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    8.677018][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    8.677032][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    8.677157][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[    8.677198][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    8.678724][    T1] PCI: bus0: Fast back to back transfers disabled
[    8.678753][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.680202][    T1] PCI: bus1: Fast back to back transfers enabled
[    8.680228][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.680431][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    8.680449][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.681083][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.744063][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.746041][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.804109][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.806327][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.807612][    T1] printk: console [ttyS0] disabled
[    8.807682][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    9.628873][    T1] printk: console [ttyS0] enabled
[    9.641362][    T1] loop: module loaded
[    9.645839][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    9.654264][    T1] scsi host0: sata_mv
[    9.658715][    T1] scsi host1: sata_mv
[    9.662879][    T1] ata1: SATA max UDMA/133 irq 33
[    9.667757][    T1] ata2: SATA max UDMA/133 irq 33
[    9.673605][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    9.680786][    T1] nand: Samsung NAND 128MiB 3,3V 8-bit
[    9.686158][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    9.694493][    T1] Scanning device for bad blocks
[    9.706557][    T1] Bad eraseblock 75 at 0x000000960000
[    9.774920][    T1] Bad eraseblock 733 at 0x000005ba0000
[    9.780597][    T1] Bad eraseblock 737 at 0x000005c20000
[    9.788594][    T1] Bad eraseblock 765 at 0x000005fa0000
[    9.800905][    T1] Bad eraseblock 838 at 0x0000068c0000
[    9.811779][    T1] Bad eraseblock 896 at 0x000007000000
[    9.829404][    T1] 9 fixed-partitions partitions found on MTD device orion_nand
[    9.836857][    T1] Creating 9 MTD partitions on "orion_nand":
[    9.842727][    T1] 0x000000000000-0x000000100000 : "uboot"
[    9.849661][    T1] 0x000000100000-0x000000180000 : "uboot_env"
[    9.856884][    T1] 0x000000180000-0x000000200000 : "key_store"
[    9.864107][    T1] 0x000000200000-0x000000280000 : "info"
[    9.870859][    T1] 0x000000280000-0x000000c80000 : "etc"
[    9.877606][    T1] 0x000000c80000-0x000001680000 : "kernel_1"
[    9.884784][    T1] 0x000001680000-0x000004640000 : "rootfs1"
[    9.891960][    T1] 0x000004640000-0x000005040000 : "kernel_2"
[    9.899168][    T1] 0x000005040000-0x000008000000 : "rootfs2"
[    9.907642][    T1] libphy: Fixed MDIO Bus: probed
[    9.913341][    T1] libphy: orion_mdio_bus: probed
[    9.919410][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    9.927505][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    9.935163][    T1] mv643xx_eth: Set the PHY to fix link down
[    9.935785][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 50:67:f0:a3:1b:54
[    9.951237][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.958590][    T1] ehci-pci: EHCI PCI platform driver
[    9.963873][    T1] ehci-orion: EHCI orion driver
[    9.968789][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    9.975105][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    9.983704][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   10.005614][  T112] ata1: SATA link down (SStatus 0 SControl F300)
[   10.013302][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   10.020326][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[   10.029482][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   10.037486][    T1] usb usb1: Product: EHCI Host Controller
[   10.043092][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd
[   10.050456][    T1] usb usb1: SerialNumber: f1050000.ehci
[   10.056517][    T1] hub 1-0:1.0: USB hub found
[   10.061023][    T1] hub 1-0:1.0: 1 port detected
[   10.066430][    T1] usbcore: registered new interface driver usb-storage
[   10.073575][    T1] mousedev: PS/2 mouse device common for all mice
[   10.080427][    T1] rtc-mv f1010300.rtc: registered as rtc0
[   10.086348][    T1] i2c /dev entries driver
[   10.093339][    T1] rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.
[   10.101647][    T1] rtc-pcf8563 0-0051: registered as rtc1
[   10.108888][    T1] device-mapper: uevent: version 1.0.3
[   10.114562][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[   10.124184][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   10.131441][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   10.138853][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   10.146303][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   10.153129][    T1] device-mapper: raid: Loading target version 1.14.0
[   10.161729][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[   10.168209][    T1] drop_monitor: Initializing network drop monitor service
[   10.175665][    T1] NET: Registered protocol family 17
[   10.181080][    T1] Key type dns_resolver registered
[   10.186826][    T1] registered taskstats version 1
[   10.191642][    T1] Loading compiled-in X.509 certificates
[   10.197268][    T1] zswap: loaded using pool lzo/zbud
[   10.217477][    T1] Key type big_key registered
[   10.225470][    T1] Key type encrypted registered
[   10.364803][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[   10.381191][    T1] md: Waiting for all devices to be available before autodetect
[   10.388768][    T1] md: If you don't use raid, use raid=noautodetect
[   10.395885][    T1] md: Autodetecting RAID arrays.
[   10.400705][    T1] md: autorun ...
[   10.404273][    T1] md: ... autorun DONE.
[   10.408501][    T1] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[   10.416769][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   10.425939][    T1] 1f00            1024 mtdblock0 
[   10.425943][    T1]  (driver?)
[   10.433956][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   10.441444][    T1] 1f01             512 mtdblock1 
[   10.441448][    T1]  (driver?)
[   10.449528][    T1] 1f02             512 mtdblock2 
[   10.449532][    T1]  (driver?)
[   10.457567][    T1] 1f03             512 mtdblock3 
[   10.457571][    T1]  (driver?)
[   10.465558][    T1] 1f04           10240 mtdblock4 
[   10.465561][    T1]  (driver?)
[   10.473552][    T1] 1f05           10240 mtdblock5 
[   10.473555][    T1]  (driver?)
[   10.481518][    T1] 1f06           48896 mtdblock6 
[   10.481520][    T1]  (driver?)
[   10.489506][    T1] 1f07           10240 mtdblock7 
[   10.489509][    T1]  (driver?)
[   10.497494][    T1] 1f08           48896 mtdblock8 
[   10.497497][    T1]  (driver?)
[   10.505514][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   10.514515][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.2.9-kirkwood-tld-1 #1
[   10.522200][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   10.529220][    T1] [<c010f6ac>] (unwind_backtrace) from [<c010bb00>] (show_stack+0x10/0x14)
[   10.537712][    T1] [<c010bb00>] (show_stack) from [<c0119fa0>] (panic+0xe0/0x30c)
[   10.545333][    T1] [<c0119fa0>] (panic) from [<c0e01628>] (mount_block_root+0x1bc/0x2a4)
[   10.553557][    T1] [<c0e01628>] (mount_block_root) from [<c0e017f8>] (mount_root+0xe8/0x154)
[   10.562130][    T1] [<c0e017f8>] (mount_root) from [<c0e019b0>] (prepare_namespace+0x14c/0x18c)
[   10.570875][    T1] [<c0e019b0>] (prepare_namespace) from [<c0e011c8>] (kernel_init_freeable+0x270/0x2dc)
[   10.580497][    T1] [<c0e011c8>] (kernel_init_freeable) from [<c09dcee0>] (kernel_init+0x8/0x10c)
[   10.589414][    T1] [<c09dcee0>] (kernel_init) from [<c01010e0>] (ret_from_fork+0x14/0x34)
[   10.597717][    T1] Exception stack(0xdf48bfb0 to 0xdf48bff8)
[   10.603492][    T1] bfa0:                                     00000000 00000000 00000000 00000000
[   10.612405][    T1] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   10.621315][    T1] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   10.628667][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---






pls help :-((

p.s.: Sorry for the poor english..


====

Moderator edit: Add code tag. Please use code tag to post log.



Edited 1 time(s). Last edit at 02/10/2020 02:39AM by bodhi.
Re: Nsa320 Kernelpanic
February 10, 2020 02:54AM
sammyE61,

It is a common problem when you kwboot. You need to fix your rootfs.


You should not do Step 4. It is for older uboot (2012 or earlier). You are booting the new u-boot now.


Quote

4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Do not do this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time).

Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).

Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-5.2.9-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-kirkwood-tld-1 -d zImage.fdt uImage
sync

So mount the USB rootfs on another Linux box. Assuming it is mounted at /media/sdb1.

cd /media/sdb1/boot
cp -a uImage uImage.nsa320_with_DTB
cp -a uImage.orig uImage
sync

And then bring it back to the NSA320. Boot again.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Nsa320 Kernelpanic
February 10, 2020 08:25AM
thank you man..works like a charm ;-))

youre best...
Author:

Your Email:


Subject:


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