Status of Debian on QNAP
Hello,
I have try to boot my TS-219 with kernel 5.9.0-4-marvell from USB.
Marvell>> fatload usb 0:1 0x800000 kernel
reading kernel
2329698 bytes read
Marvell>> bootm 0x800000
## Booting image at 00800000 ...
Image Name: kernel 5.9.0-4-marvell
Created: 2020-12-05 19:50:52 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2329634 Bytes = 2.2 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel ...
...
[ 0.060418] Trying to unpack rootfs image as initramfs...
[ 0.060445] Initramfs unpacking failed: invalid magic at start of
compressed archive
...
[ 1.136226] No filesystem could mount root, tried:
[ 1.136228]
[ 1.142637] Kernel panic - not syncing: VFS: Unable to mount root fs
on unknown-block(1,0)
[ 1.150941] CPU: 0 PID: 1 Comm: swapper Not tainted 5.9.0-4-marvell
#1 Debian 5.9.11-1
[ 1.158888] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[ 1.165195] [<c0014a4c>] (unwind_backtrace) from [<c00119d4>]
(show_stack+0x18/0x1c)
[ 1.172969] [<c00119d4>] (show_stack) from [<c044bee8>]
(panic+0xdc/0x308)
[ 1.179880] [<c044bee8>] (panic) from [<c05c15b4>]
(mount_block_root+0x29c/0x330)
[ 1.187395] [<c05c15b4>] (mount_block_root) from [<c05c180c>]
(prepare_namespace+0x148/0x184)
[ 1.195957] [<c05c180c>] (prepare_namespace) from [<c044fe94>]
(kernel_init+0x10/0x100)
[ 1.203995] [<c044fe94>] (kernel_init) from [<c0008320>]
(ret_from_fork+0x14/0x34)
[ 1.211593] Exception stack(0xdf4c3fb0 to 0xdf4c3ff8)
[ 1.216661] 3fa0: 00000000
00000000 00000000 00000000
[ 1.224868] 3fc0: 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
[ 1.233081] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.239721] ---[ end Kernel panic - not syncing: VFS: Unable to mount
root fs on unknown-block(1,0) ]---
The initrd is xz compressed.
I would try a non-compressed initrd but I have no idea how to set the
memory addresses in uboot bootargs for the corect size.
root@qnap:/mnt# ls -la
insgesamt 46152
drwxr-xr-x 2 root root 4096 5. Dez 21:18 .
drwxr-xr-x 23 root root 4096 1. Feb 2017 ..
-rwxr-xr-x 1 root root 23948800 5. Dez 21:18 initrd
-rwxr-xr-x 1 root root 9437184 4. Dez 17:13 initrd.old
-rwxr-xr-x 1 root root 9437184 5. Dez 21:17 initrd.xz
-rwxr-xr-x 1 root root 2329698 5. Dez 21:17 kernel
-rwxr-xr-x 1 root root 2097152 4. Dez 17:13 kernel.old
root@qnap:/mnt#
Kernel 4.19 load without problems.
Best Regards
Reply to: