<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>U-Boot Kirkwood - NSA310 - nandump segfault</title>
        <description>Hi,

I am trying to flash a Zyxel NSA310 that is branded as a &quot;TDC HomeDisk&quot; (Denmark).

I uart-booted a new uboot and tried out the first commands if the 2017.07 U-Boot Kirkwood-Thread.

[code]
/mnt/testmount/tools # cat /etc/fw_env.config 
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundand
# environment sector is assumed present.
# Notice, that the &quot;Number of sectors&quot; is ignored on NOR.

# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
# NAND example
/dev/mtd1		0x0000		0x20000		0x20000			4


[/code]

The guide says this line should be different (mtd0 instead of mtd0), can I continue with this?

The partitions are different, but according to the guide this is to be expected of NSA3xx devices:

[code]
/mnt/testmount/tools # cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00100000 00020000 &quot;uboot&quot;
mtd1: 00080000 00020000 &quot;uboot_env&quot;
mtd2: 00080000 00020000 &quot;key_store&quot;
mtd3: 00080000 00020000 &quot;info&quot;
mtd4: 00a00000 00020000 &quot;etc&quot;
mtd5: 00a00000 00020000 &quot;kernel_1&quot;
mtd6: 02fc0000 00020000 &quot;rootfs1&quot;
mtd7: 00a00000 00020000 &quot;kernel_2&quot;
mtd8: 02fc0000 00020000 &quot;rootfs2&quot;
[/code]

But what&#039;s an immediate showstopper was this segfault I got while running nandump from my USB stick.

[code]
/mnt/testmount/tools # ./nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0Segmentation fault
[/code]


This is from the boot of the original uboot:

[code]
20:37:30.619 -&gt;         |  \/  | __ _ _ ____   _____| | |
20:37:30.619 -&gt;         | |\/| |/ _` | &#039;__\ \ / / _ \ | |
20:37:30.619 -&gt;         | |  | | (_| | |   \ V /  __/ | |
20:37:30.619 -&gt;         |_|  |_|\__,_|_|    \_/ \___|_|_|
20:37:30.619 -&gt;  _   _     ____              _
20:37:30.619 -&gt; | | | |   | __ )  ___   ___ | |_ 
20:37:30.619 -&gt; | | | |___|  _ \ / _ \ / _ \| __| 
20:37:30.619 -&gt; | |_| |___| |_) | (_) | (_) | |_ 
20:37:30.619 -&gt;  \___/    |____/ \___/ \___/ \__| 
20:37:30.619 -&gt;  ** MARVELL BOARD: RD-88F6281A LE 
20:37:30.619 -&gt; 
20:37:30.619 -&gt; U-Boot 1.1.4 (Feb 22 2011 - 10:31:35) Marvell version: 3.4.19
20:37:30.619 -&gt; 
20:37:30.619 -&gt; U-Boot code: 00600000 -&gt; 0067FFF0  BSS: -&gt; 006CFEE0
20:37:30.685 -&gt; 
20:37:30.685 -&gt; Soc: 88F6281 A1 (DDR2)
20:37:30.685 -&gt; CPU running @ 1200Mhz L2 running @ 400Mhz
20:37:30.685 -&gt; SysClock = 400Mhz , TClock = 200Mhz 
20:37:30.685 -&gt; 
20:37:30.685 -&gt; DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
20:37:30.685 -&gt; DRAM CS[0] base 0x00000000   size 256MB 
20:37:30.685 -&gt; DRAM Total size 256MB  16bit width
20:37:30.685 -&gt; Addresses 10M - 0M are saved for the U-Boot usage.
20:37:30.685 -&gt; Mem malloc Initialization (10M - 7M): Done
20:37:30.738 -&gt; NAND:128 MB
20:37:31.781 -&gt; Flash:  0 kB
20:37:31.814 -&gt; 
20:37:31.814 -&gt; CPU : Marvell Feroceon (Rev 1)
20:37:32.379 -&gt; Kernel address is 0xc80000.
20:37:32.379 -&gt; 
20:37:32.379 -&gt; Streaming disabled 
20:37:32.379 -&gt; Write allocate disabled
20:37:32.379 -&gt; 
20:37:32.379 -&gt; Module 0 is RGMII
20:37:32.379 -&gt; Module 1 is TDM
20:37:32.379 -&gt; 
20:37:32.379 -&gt; USB 0: host mode
20:37:32.911 -&gt; PEX 0: PCI Express Root Complex Interface
20:37:32.911 -&gt; PEX interface detected Link X1
20:37:32.944 -&gt; Net:   egiga0, egiga1 [PRIME]
20:37:32.977 -&gt; Hit any key to stop autoboot:  2  1  0 
20:37:34.969 -&gt; 
20:37:34.969 -&gt; NAND read: device 0 offset 0xc80000, size 0xa00000
20:37:35.002 -&gt; 
20:37:35.002 -&gt; 
Reading data from 0xc80000 --   0% complete.
[...]
Reading data from 0x167f800 -- 100% complete.
20:37:41.976 -&gt;  10485760 bytes read: OK
20:37:41.976 -&gt; ## Booting image at 02000000 ...
20:37:41.976 -&gt;    Image Name:   Linux-2.6.22.18
20:37:41.976 -&gt;    Created:      2011-02-22   3:33:51 UTC
20:37:41.976 -&gt;    Image Type:   ARM Linux Kernel Image (uncompressed)
20:37:41.976 -&gt;    Data Size:    5701144 Bytes =  5.4 MB
20:37:41.976 -&gt;    Load Address: 00008000
20:37:41.976 -&gt;    Entry Point:  00008000
20:37:41.976 -&gt;    Verifying Checksum ... OK
20:37:43.304 -&gt; OK
20:37:43.304 -&gt; 
20:37:43.304 -&gt; Starting kernel ...
[/code]


Can I flash this box at all? 

All internal partitions are mounted as ro, is that normal? I couldn&#039;t copy the tools folder to the internal disk to ditch the USB-drive:

[code]
/mnt/testmount/tools # mount
rootfs on / type rootfs (rw)
/proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
none on /proc/bus/usb type usbfs (rw)
/dev/mtdblock6 on /zyxel/mnt/nand type yaffs2 (ro)
/dev/sda1 on /zyxel/mnt/sysdisk type ext3 (ro,data=ordered)
/dev/loop0 on /ram_bin type ext2 (ro)
/dev/loop0 on /usr type ext2 (ro)
/dev/loop0 on /lib/security type ext2 (ro)
/dev/loop0 on /lib/modules type ext2 (ro)
/dev/ram0 on /tmp/tmpfs type tmpfs (rw)
/dev/ram0 on /usr/local/etc type tmpfs (rw)
/dev/ram0 on /usr/local/var type tmpfs (rw)
/dev/mtdblock4 on /etc/zyxel type yaffs2 (rw)
/dev/md0 on /i-data/3c7e9e7c type xfs (rw,usrquota,nouuid)
/dev/md0 on /i-data/3c7e9e7c/.media/mbvideo/Musik type xfs (rw,usrquota,nouuid)
/dev/md0 on /i-data/3c7e9e7c/.media/mbvideo/Billeder type xfs (rw,usrquota,nouuid)
/dev/md0 on /i-data/3c7e9e7c/.media/mbvideo/Videoer type xfs (rw,usrquota,nouuid)
/dev/md0 on /i-data/3c7e9e7c/.media/mbvideo/Dokumenter type xfs (rw,usrquota,nouuid)
/dev/md0 on /usr/local/apache/web_framework/data/cache type xfs (rw,usrquota,nouuid)
/dev/mtdblock4 on /usr/local/apache/web_framework/data/config type yaffs2 (rw)
/dev/md0 on /usr/local/zy-pkgs type xfs (rw,usrquota,nouuid)
/dev/md0 on /etc/zyxel/zy-pkgs type xfs (rw,usrquota,nouuid)
/dev/md0 on /usr/local/apache/htdocs/zyxel/pkg type xfs (rw,usrquota,nouuid)
/dev/sdb1 on /mnt/testmount type ext3 (rw,data=ordered)
/mnt/testmount/tools # 
[/code]

I am happy about any help! Thanks!</description>
        <link>https://forum.doozan.com/read.php?3,97059,97059#msg-97059</link>
        <lastBuildDate>Wed, 11 Mar 2026 04:40:11 -0500</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98379#msg-98379</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98379#msg-98379</link>
            <description><![CDATA[ kiesel,<br />
<br />
&gt; Any guesstimates for how long such a stick would<br />
&gt; last? I mean are we talking months or weeks here,<br />
&gt; since writes degrade a usb stick.<br />
<br />
There are remedies to prolong the life of your USB stick. See the Wiki thread:<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>https://forum.doozan.com/read.php?2,23630</strong><br />
Flash drives issues <br />
<br />
<b>How to prolong the life of your rootfs USB thumb drive</b> <br />
Overprovisioning A Flash Drive?</div></blockquote>
<br />
&gt; And would it be better, performance wise, to<br />
&gt; create the swap partition on the usb stick? Or<br />
&gt; would that degrade the stick too fast?<br />
<br />
Swap on USB is not recommended, if you know the apps you will run will use up memory and cause lots of swapping. Even that, if swap is on USB, the stick will be gone quickly because it is hard to adjust the system settings to avoid. You could also use no swap at all, but that might give you OOM problem when too many thing running.<br />
<br />
With USB rootfs and HDD swap file setup, I have multiple small NAS running for many years (could have been 6 to 8 years) using the same Sandisk stick. I bring it down to backup the USB rootfs once in a while. But I have never had a worn out rootfs flash drive (these boxes are heavily used to serve media files to an HTPC, and for backup).]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Wed, 18 Mar 2020 18:36:01 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98364#msg-98364</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98364#msg-98364</link>
            <description><![CDATA[ Thank you for the info, that&#039;s what I will do then. <br />
<br />
Any guesstimates for how long such a stick would last? I mean are we talking months or weeks here, since writes degrade a usb stick.<br />
<br />
And would it be better, performance wise, to create the swap partition on the usb stick? Or would that degrade the stick too fast?]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Wed, 18 Mar 2020 16:29:22 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98289#msg-98289</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98289#msg-98289</link>
            <description><![CDATA[ kiesel,<br />
<br />
&gt; As a side note: I noticed that I can&#039;t get the<br />
&gt; disk to spin down, which of course draws more<br />
&gt; power than necessary (for my use case). Is it<br />
&gt; recommended to have your system on an USB stick or<br />
&gt; what would you recommend?<br />
<br />
Right. If the rootfs is on HDD, then it cannot be spun down. <br />
<br />
So to do that, the rootfs should be on USB. And then create a swap file on HDD. When the system is idle, the HDD can be put into sleep state. When the system is running something that cause swap, or disk R/W then it will be woken up.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Mon, 16 Mar 2020 19:01:04 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98264#msg-98264</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98264#msg-98264</link>
            <description><![CDATA[ <pre class="bbcode">
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.</pre>
<br />
<br />
That&#039;s what I have. Thanks again for your help.<br />
<br />
As a side note: I noticed that I can&#039;t get the disk to spin down, which of course draws more power than necessary (for my use case). Is it recommended to have your system on an USB stick or what would you recommend?]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Mon, 16 Mar 2020 09:41:41 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98204#msg-98204</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98204#msg-98204</link>
            <description><![CDATA[ kiesel,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />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.</div></blockquote>
<br />
I meant if the USB has the rootfs, and you are booting from USB, then the HDD should not contain any rootfs (unless you really want to have both, and then set it up further to have no conflict).<br />
<br />
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 <b>rootfs</b>, and all other partitions are data, or swap.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Sun, 15 Mar 2020 17:20:34 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98194#msg-98194</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98194#msg-98194</link>
            <description><![CDATA[ I am not sure I understand. The NAS boots correctly and my HDD has three partitions, one of them is labeled as rootfs. Is that not right?]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Sun, 15 Mar 2020 15:14:03 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98159#msg-98159</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98159#msg-98159</link>
            <description><![CDATA[ kiesel,<br />
<br />
&gt; I lost my temper and took the HDD out of the case.<br />
&gt; Everything works as expected now. Thank you VERY<br />
&gt; much for your help and your patience!<br />
<br />
You&#039;re welcome.<br />
<br />
The env was not a bproblem, the DTB was loaded OK.<br />
<br />
<pre class="bbcode">
loading DTB /boot/dts/kirkwood-nsa310.dtb ...</pre>
<br />
You&#039;re very close, I think your HDD partition setup still has problem. But no matter, as long as you can boot with USB rootfs. <br />
<br />
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 <b>rootfs</b> except the USB rootfs partition.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Sat, 14 Mar 2020 16:57:04 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98154#msg-98154</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98154#msg-98154</link>
            <description><![CDATA[ I lost my temper and took the HDD out of the case. Everything works as expected now. Thank you VERY much for your help and your patience!]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Sat, 14 Mar 2020 15:27:49 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98149#msg-98149</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98149#msg-98149</link>
            <description><![CDATA[ <pre class="bbcode">
�

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&gt; 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 &quot;usb start&quot;;  setenv scan_ide &quot;ide reset&quot;;  setenv scan_mmc &quot;mmc rescan&quot;; 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 &quot;usb start&quot;;  setenv init_ide &quot;ide reset&quot;;  setenv init_mmc &quot;mmc rescan&quot;; 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&gt; 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 &#039;step_wise&#039;
[    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 &lt;giometti@linux.it&gt;
[    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 &#039;x509&#039; 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 -&gt; 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 &quot;orion_nand&quot;:
[    9.217062][    T1] 0x000000000000-0x000000100000 : &quot;u-boot&quot;
[    9.224256][    T1] 0x000000100000-0x000000500000 : &quot;uImage&quot;
[    9.231376][    T1] 0x000000500000-0x000002500000 : &quot;rootfs&quot;
[    9.238570][    T1] 0x000002500000-0x000008000000 : &quot;data&quot;
[    9.247185][    T1] libphy: Fixed MDIO Bus: probed
[    9.252823][    T1] ehci_hcd: USB 2.0 &#039;Enhanced&#039; 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&#039;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&#039;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 &quot;LABEL=rootfs&quot; or unknown-block(0,0): error -6
[   19.727004][    T1] Please append a correct &quot;root=&quot; 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] [&lt;8010f668&gt;] (unwind_backtrace) from [&lt;8010b9f4&gt;] (show_stack+0x10/0x14)
[   19.846942][    T1] [&lt;8010b9f4&gt;] (show_stack) from [&lt;80119e8c&gt;] (panic+0xfc/0x328)
[   19.854560][    T1] [&lt;80119e8c&gt;] (panic) from [&lt;80f0157c&gt;] (mount_block_root+0x1c8/0x260)
[   19.862778][    T1] [&lt;80f0157c&gt;] (mount_block_root) from [&lt;80f01704&gt;] (mount_root+0xf0/0x130)
[   19.871349][    T1] [&lt;80f01704&gt;] (mount_root) from [&lt;80f01888&gt;] (prepare_namespace+0x144/0x180)
[   19.880095][    T1] [&lt;80f01888&gt;] (prepare_namespace) from [&lt;80f010a4&gt;] (kernel_init_freeable+0x144/0x1a0)
[   19.889721][    T1] [&lt;80f010a4&gt;] (kernel_init_freeable) from [&lt;809d9904&gt;] (kernel_init+0x8/0x10c)
[   19.898644][    T1] [&lt;809d9904&gt;] (kernel_init) from [&lt;801010e0&gt;] (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) ]---</pre>
<br />
I am running into this problem when booting from usb now. I followed the steps (except number 4: &quot; Create uImage with embedded DTB&quot;). The only thing I noticed is that when printing the env (please find them at the top of the paste), there is a weird character in front of &quot;dtb_file&quot;. I tried <br />
<br />
<pre class="bbcode">
setenv dtb_file /boot/dts/kirkwood-nsa310.dtb</pre>
<br />
But it persisted when calling &quot;printdev&quot;, but it isn&#039;t there when I issue &quot;printenv dtb_file&quot;. I don&#039;t know if it means anything, I just thought I should mention it.]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Sat, 14 Mar 2020 07:04:29 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98139#msg-98139</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98139#msg-98139</link>
            <description><![CDATA[ And since you have serial console, the bootarg should be like this:<br />
<br />
<pre class="bbcode">
setenv set_bootargs &#039;setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial&#039;
</pre>]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Sat, 14 Mar 2020 01:04:25 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98134#msg-98134</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98134#msg-98134</link>
            <description><![CDATA[ kiesel Wrote:<br />
-------------------------------------------------------<br />
&gt; Should I start over? Or does this mean I made a<br />
&gt; mistake during installation?<br />
<br />
Yes. Best to start again with Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Sat, 14 Mar 2020 00:58:37 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98129#msg-98129</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98129#msg-98129</link>
            <description><![CDATA[ Should I start over? Or does this mean I made a mistake during installation?]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Sat, 14 Mar 2020 00:46:09 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98094#msg-98094</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98094#msg-98094</link>
            <description><![CDATA[ Please find the log attached below:<br />
<br />
<pre class="bbcode">
 ▒

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&gt; setenv set_bootargs &#039;setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts&#039;
NSA310&gt; 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 &#039;step_wise&#039;
[    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 &lt;giometti@linux.it&gt;
[    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 &#039;x509&#039; 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 -&gt; 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 &quot;orion_nand&quot;:
[    9.389135][    T1] 0x000000000000-0x000000100000 : &quot;u-boot&quot;
[    9.396321][    T1] 0x000000100000-0x000000500000 : &quot;uImage&quot;
[    9.403383][    T1] 0x000000500000-0x000002500000 : &quot;rootfs&quot;
[    9.410626][    T1] 0x000002500000-0x000008000000 : &quot;data&quot;
[    9.419228][    T1] libphy: Fixed MDIO Bus: probed
[    9.424872][    T1] ehci_hcd: USB 2.0 &#039;Enhanced&#039; 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&#039;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&#039;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 &quot;LABEL=rootfs&quot; or unknown-block(0,0): error -6
[   20.360309][    T1] Please append a correct &quot;root=&quot; 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] [&lt;8010f668&gt;] (unwind_backtrace) from [&lt;8010b9f4&gt;] (show_stack+0x10/0x14)
[   20.464830][    T1] [&lt;8010b9f4&gt;] (show_stack) from [&lt;80119e8c&gt;] (panic+0xfc/0x328)
[   20.472447][    T1] [&lt;80119e8c&gt;] (panic) from [&lt;80f0157c&gt;] (mount_block_root+0x1c8/0x260)
[   20.480667][    T1] [&lt;80f0157c&gt;] (mount_block_root) from [&lt;80f01704&gt;] (mount_root+0xf0/0x130)
[   20.489237][    T1] [&lt;80f01704&gt;] (mount_root) from [&lt;80f01888&gt;] (prepare_namespace+0x144/0x180)
[   20.497983][    T1] [&lt;80f01888&gt;] (prepare_namespace) from [&lt;80f010a4&gt;] (kernel_init_freeable+0x144/0x1a0)
[   20.507609][    T1] [&lt;80f010a4&gt;] (kernel_init_freeable) from [&lt;809d9904&gt;] (kernel_init+0x8/0x10c)
[   20.516531][    T1] [&lt;809d9904&gt;] (kernel_init) from [&lt;801010e0&gt;] (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) ]---

</pre>]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Fri, 13 Mar 2020 02:56:32 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98074#msg-98074</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98074#msg-98074</link>
            <description><![CDATA[ Power up, interrupt serial console and<br />
<br />
<pre class="bbcode">
setenv set_bootargs &#039;setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts&#039;</pre>
<br />
And then<br />
<pre class="bbcode">
boot</pre>
<br />
And post the entire serial console log.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Thu, 12 Mar 2020 18:59:47 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,98054#msg-98054</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,98054#msg-98054</link>
            <description><![CDATA[ I am sorry that this seems like a never ending story, but I am getting a kernel panic.<br />
<br />
<pre class="bbcode">
NSA310&gt; 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... 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
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...
** 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 **
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 53 ms (0 Bytes/s)
Found bootable drive on ide 0
loading uImage ...
5202928 bytes read in 1096 ms (4.5 MiB/s)
loading uInitrd ...
9138783 bytes read in 1885 ms (4.6 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  16:13:19 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  16:13:27 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9138719 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 0fb0d21f ... 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) init=/bin/systemd
[    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.000052][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000837][    T0] Console: colour dummy device 80x30
[    0.000890][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000916][    T0] pid_max: default: 32768 minimum: 301
[    0.001293][    T0] LSM: Security Framework initializing
[    0.001465][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001492][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001646][    T0] *** VALIDATE tmpfs ***
[    0.002523][    T0] *** VALIDATE proc ***
[    0.002784][    T0] *** VALIDATE cgroup1 ***
[    0.002810][    T0] *** VALIDATE cgroup2 ***
[    0.002920][    T0] CPU: Testing write buffer coherency: ok
[    0.004892][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.005205][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.005526][    T1] rcu: Hierarchical SRCU implementation.
[    0.008235][    T1] devtmpfs: initialized
[    0.015506][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015545][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.015831][    T1] xor: measuring software checksum speed
[    0.110127][    T1]    arm4regs  :  1088.400 MB/sec
[    0.210083][    T1]    8regs     :   653.600 MB/sec
[    0.310081][    T1]    32regs    :   950.000 MB/sec
[    0.310100][    T1] xor: using function: arm4regs (1088.400 MB/sec)
[    0.310121][    T1] prandom: seed boundary self test passed
[    0.314299][    T1] prandom: 100 self tests passed
[    0.314310][    T1] pinctrl core: initialized pinctrl subsystem
[    0.315285][    T1] thermal_sys: Registered thermal governor &#039;step_wise&#039;
[    0.315981][    T1] NET: Registered protocol family 16
[    0.316744][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.317742][    T1] audit: initializing netlink subsys (disabled)
[    0.319179][   T14] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.319313][    T1] cpuidle: using governor ladder
[    0.319400][    T1] cpuidle: using governor menu
[    0.319955][    T1] Feroceon L2: Enabling L2
[    0.320007][    T1] Feroceon L2: Cache support initialised.
[    0.326213][    T1] No ATAGs?
[    2.560060][    C0] random: fast init done
[    5.400337][    T1] raid6: int32x8  gen()   105 MB/s
[    5.570404][    T1] raid6: int32x8  xor()    65 MB/s
[    5.740276][    T1] raid6: int32x4  gen()   106 MB/s
[    5.910400][    T1] raid6: int32x4  xor()    69 MB/s
[    6.080318][    T1] raid6: int32x2  gen()   132 MB/s
[    6.250293][    T1] raid6: int32x2  xor()    94 MB/s
[    6.420421][    T1] raid6: int32x1  gen()   100 MB/s
[    6.590440][    T1] raid6: int32x1  xor()    69 MB/s
[    6.590451][    T1] raid6: using algorithm int32x2 gen() 132 MB/s
[    6.590460][    T1] raid6: .... xor() 94 MB/s, rmw enabled
[    6.590468][    T1] raid6: using intx1 recovery algorithm
[    6.590759][    T1] vgaarb: loaded
[    6.591366][    T1] SCSI subsystem initialized
[    6.591904][    T1] usbcore: registered new interface driver usbfs
[    6.591973][    T1] usbcore: registered new interface driver hub
[    6.592063][    T1] usbcore: registered new device driver usb
[    6.592273][    T1] pps_core: LinuxPPS API ver. 1 registered
[    6.592285][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti &lt;giometti@linux.it&gt;
[    6.592314][    T1] PTP clock support registered
[    6.593837][    T1] clocksource: Switched to clocksource orion_clocksource
[    7.933973][    T1] *** VALIDATE bpf ***
[    7.934441][    T1] VFS: Disk quotas dquot_6.6.0
[    7.934534][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    7.934641][    T1] *** VALIDATE ramfs ***
[    7.945364][    T1] NET: Registered protocol family 2
[    7.946260][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    7.946302][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    7.946344][    T1] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    7.946376][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    7.946520][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    7.946552][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    7.946786][    T1] NET: Registered protocol family 1
[    7.947549][    T1] RPC: Registered named UNIX socket transport module.
[    7.947563][    T1] RPC: Registered udp transport module.
[    7.947572][    T1] RPC: Registered tcp transport module.
[    7.947580][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    7.947595][    T1] PCI: CLS 0 bytes, default 32
[    7.947931][    T1] Trying to unpack rootfs image as initramfs...
[    7.950306][    T1] Initramfs unpacking failed: broken padding
[    7.975897][    T1] Freeing initrd memory: 8928K
[    7.976089][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    7.977434][    T1] Initialise system trusted keyrings
[    7.977493][    T1] Key type blacklist registered
[    7.977728][    T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    7.977836][    T1] zbud: loaded
[    7.979094][    T1] NFS: Registering the id_resolver key type
[    7.979128][    T1] Key type id_resolver registered
[    7.979138][    T1] Key type id_legacy registered
[    7.979162][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.979180][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.979612][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.980087][    T1] *** VALIDATE jffs2 ***
[    7.980105][    T1] fuse: init (API version 7.31)
[    7.980126][    T1] *** VALIDATE fuse ***
[    7.980140][    T1] *** VALIDATE fuse ***
[    7.980529][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.980748][    T1] orangefs_init: module version upstream loaded
[    7.980762][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.981515][    T1] *** VALIDATE xfs ***
[    8.019067][    T1] async_tx: api initialized (async)
[    8.019092][    T1] Key type asymmetric registered
[    8.019102][    T1] Asymmetric key parser &#039;x509&#039; registered
[    8.019161][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    8.020743][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    8.022227][    T1] mvebu-gpio f1010140.gpio: IRQ index 3 not found
[    8.022846][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    8.022869][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    8.022885][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    8.022900][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    8.023023][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[    8.023065][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    8.024608][    T1] PCI: bus0: Fast back to back transfers disabled
[    8.024638][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.024871][    T1] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
[    8.024915][    T1] pci 0000:01:00.0: reg 0x10: [io  0x0000-0x00ff]
[    8.024946][    T1] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit pref]
[    8.024971][    T1] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref]
[    8.024992][    T1] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    8.025099][    T1] pci 0000:01:00.0: supports D1 D2
[    8.025114][    T1] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    8.055081][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.055111][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.055322][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.055340][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.055357][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.055380][    T1] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[    8.055397][    T1] pci 0000:01:00.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref]
[    8.055423][    T1] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref]
[    8.055447][    T1] pci 0000:01:00.0: BAR 0: assigned [io  0x10000-0x100ff]
[    8.055464][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.055479][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.055497][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.055615][    T1] pcieport 0000:00:01.0: enabling device (0140 -&gt; 0143)
[    8.056182][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.114886][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.117463][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.174859][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.177738][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.179145][    T1] printk: console [ttyS0] disabled
[    8.179244][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    9.185997][    T1] printk: console [ttyS0] enabled
[    9.199438][    T1] loop: module loaded
[    9.203981][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    9.213237][    T1] scsi host0: sata_mv
[    9.217750][    T1] scsi host1: sata_mv
[    9.221880][    T1] ata1: SATA max UDMA/133 irq 32
[    9.226762][    T1] ata2: SATA max UDMA/133 irq 32
[    9.232601][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    9.239815][    T1] nand: Samsung NAND 128MiB 3,3V 8-bit
[    9.245186][    T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    9.253501][    T1] Scanning device for bad blocks
[    9.265690][    T1] Bad eraseblock 76 at 0x000000980000
[    9.290583][    T1] Bad eraseblock 281 at 0x000002320000
[    9.316350][    T1] Bad eraseblock 494 at 0x000003dc0000
[    9.341727][    T1] Bad eraseblock 703 at 0x0000057e0000
[    9.377856][    T1] 4 cmdlinepart partitions found on MTD device orion_nand
[    9.384874][    T1] Creating 4 MTD partitions on &quot;orion_nand&quot;:
[    9.390754][    T1] 0x000000000000-0x000000100000 : &quot;u-boot&quot;
[    9.397942][    T1] 0x000000100000-0x000000500000 : &quot;uImage&quot;
[    9.405061][    T1] 0x000000500000-0x000002500000 : &quot;rootfs&quot;
[    9.412244][    T1] 0x000002500000-0x000008000000 : &quot;data&quot;
[    9.420860][    T1] libphy: Fixed MDIO Bus: probed
[    9.426504][    T1] ehci_hcd: USB 2.0 &#039;Enhanced&#039; Host Controller (EHCI) Driver
[    9.433797][    T1] ehci-pci: EHCI PCI platform driver
[    9.439052][    T1] ehci-orion: EHCI orion driver
[    9.444012][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    9.450257][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    9.458929][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    9.493862][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    9.500913][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.05
[    9.509968][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.517965][    T1] usb usb1: Product: EHCI Host Controller
[    9.523592][    T1] usb usb1: Manufacturer: Linux 5.5.1-kirkwood-tld-1 ehci_hcd
[    9.530981][    T1] usb usb1: SerialNumber: f1050000.ehci
[    9.537135][    T1] hub 1-0:1.0: USB hub found
[    9.541683][    T1] hub 1-0:1.0: 1 port detected
[    9.547201][    T1] usbcore: registered new interface driver usb-storage
[    9.554416][    T1] mousedev: PS/2 mouse device common for all mice
[    9.561537][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    9.567431][    T1] i2c /dev entries driver
[    9.573220][    T1] device-mapper: uevent: version 1.0.3
[    9.578998][    T1] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[    9.588678][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    9.596014][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    9.603359][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    9.610809][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.617662][    T1] device-mapper: raid: Loading target version 1.15.0
[    9.626795][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.633007][    T1] exFAT: Version 1.3.0
[    9.637088][    T1] drop_monitor: Initializing network drop monitor service
[    9.644406][    T1] NET: Registered protocol family 17
[    9.649839][    T1] Key type dns_resolver registered
[    9.655505][    T1] registered taskstats version 1
[    9.660325][    T1] Loading compiled-in X.509 certificates
[    9.665989][    T1] zswap: loaded using pool lzo/zbud
[    9.671275][    T1] Key type ._fscrypt registered
[    9.676036][    T1] Key type .fscrypt registered
[    9.702368][    T1] Key type big_key registered
[    9.710651][    T1] Key type encrypted registered
[    9.718528][    T1] Waiting 10 sec before mounting root device...
[    9.733929][  T118] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    9.745500][  T118] ata1.00: ATA-8: WDC WD5000AAKX-001CA0, 15.01H15, max UDMA/133
[    9.753023][  T118] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    9.765200][  T118] ata1.00: configured for UDMA/133
[    9.780747][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AAKX-0 1H15 PQ: 0 ANSI: 5
[    9.790908][  T122] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    9.799729][  T122] sd 0:0:0:0: [sda] Write Protect is off
[    9.805474][  T122] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn&#039;t support DPO or FUA
[    9.829226][  T122]  sda: sda1 sda2 sda3
[    9.835223][  T122] sd 0:0:0:0: [sda] Attached SCSI disk
[    9.913875][    T5] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.965816][    T5] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    9.974771][    T5] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.982660][    T5] usb 1-1: Product: USB2.0 Hub
[    9.988114][    T5] hub 1-1:1.0: USB hub found
[    9.992939][    T5] hub 1-1:1.0: 4 ports detected
[   10.135492][  T120] ata2: SATA link down (SStatus 0 SControl F300)
[   10.313868][    T5] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[   10.366188][    T5] usb 1-1.3: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00
[   10.375313][    T5] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.383379][    T5] usb 1-1.3: SerialNumber: T1205060000776
[   10.389775][    T5] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[   10.397305][    T5] scsi host2: usb-storage 1-1.3:1.0
[   11.638681][   T22] scsi 2:0:0:0: Direct-Access                               1100 PQ: 0 ANSI: 4
[   11.649234][  T122] sd 2:0:0:0: [sdb] 15950592 512-byte logical blocks: (8.17 GB/7.61 GiB)
[   11.658220][  T122] sd 2:0:0:0: [sdb] Write Protect is off
[   11.664343][  T122] sd 2:0:0:0: [sdb] No Caching mode page found
[   11.670387][  T122] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[   11.681588][  T122]  sdb: sdb1
[   11.687848][  T122] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[   20.323944][    T1] md: Waiting for all devices to be available before autodetect
[   20.331485][    T1] md: If you don&#039;t use raid, use raid=noautodetect
[   20.338790][    T1] md: Autodetecting RAID arrays.
[   20.343606][    T1] md: autorun ...
[   20.347187][    T1] md: ... autorun DONE.
[   20.351442][    T1] VFS: Cannot open root device &quot;LABEL=rootfs&quot; or unknown-block(0,0): error -6
[   20.360248][    T1] Please append a correct &quot;root=&quot; boot option; here are the available partitions:
[   20.369431][    T1] 1f00            1024 mtdblock0 
[   20.369434][    T1]  (driver?)
[   20.377457][    T1] 1f01            4096 mtdblock1 
[   20.377460][    T1]  (driver?)
[   20.385469][    T1] 1f02           32768 mtdblock2 
[   20.385472][    T1]  (driver?)
[   20.393437][    T1] 1f03           93184 mtdblock3 
[   20.393439][    T1]  (driver?)
[   20.401435][    T1] 0800       488386584 sda 
[   20.401439][    T1]  driver: sd
[   20.408994][    T1]   0801        16547840 sda1 00000000-01
[   20.408997][    T1] 
[   20.416816][    T1]   0802         4194304 sda2 00000000-02
[   20.416818][    T1] 
[   20.424630][    T1]   0803       467643416 sda3 00000000-03
[   20.424633][    T1] 
[   20.432425][    T1] 0810         7975296 sdb 
[   20.432428][    T1]  driver: sd
[   20.439985][    T1]   0811         7973888 sdb1 6633f146-01
[   20.439988][    T1] 
[   20.447798][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   20.456806][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.5.1-kirkwood-tld-1 #1.0
[   20.464665][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   20.471688][    T1] [&lt;8010f668&gt;] (unwind_backtrace) from [&lt;8010b9f4&gt;] (show_stack+0x10/0x14)
[   20.480170][    T1] [&lt;8010b9f4&gt;] (show_stack) from [&lt;80119e8c&gt;] (panic+0xfc/0x328)
[   20.487789][    T1] [&lt;80119e8c&gt;] (panic) from [&lt;80f0157c&gt;] (mount_block_root+0x1c8/0x260)
[   20.496007][    T1] [&lt;80f0157c&gt;] (mount_block_root) from [&lt;80f01704&gt;] (mount_root+0xf0/0x130)
[   20.504578][    T1] [&lt;80f01704&gt;] (mount_root) from [&lt;80f01888&gt;] (prepare_namespace+0x144/0x180)
[   20.513323][    T1] [&lt;80f01888&gt;] (prepare_namespace) from [&lt;80f010a4&gt;] (kernel_init_freeable+0x144/0x1a0)
[   20.522950][    T1] [&lt;80f010a4&gt;] (kernel_init_freeable) from [&lt;809d9904&gt;] (kernel_init+0x8/0x10c)
[   20.531873][    T1] [&lt;809d9904&gt;] (kernel_init) from [&lt;801010e0&gt;] (ret_from_fork+0x14/0x34)
[   20.540173][    T1] Exception stack(0x8ec3dfb0 to 0x8ec3dff8)
[   20.545948][    T1] dfa0:                                     00000000 00000000 00000000 00000000
[   20.554861][    T1] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   20.563773][    T1] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   20.571125][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---</pre>
<br />
I thought at first that sda1 didn&#039;t have the rootfs label, but it does:<br />
<br />
<pre class="bbcode">
root@debian:~# lsblk -o name,label
NAME      LABEL
sda       
|-sda1    rootfs
|-sda2    
`-sda3    
sdb       
`-sdb1    rootfs
mtdblock0 
mtdblock1 
mtdblock2 
mtdblock3 
root@debian:~#</pre>
<br />
I booted to USB, used the uImage backup I had and started from HDD again, but I get the same result.<br />
<br />
These are the envs I am using:<br />
<br />
<pre class="bbcode">
NSA310&gt; 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=ide
device=0:1
devices=ide usb
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 &quot;usb start&quot;;  setenv scan_ide &quot;ide reset&quot;;  setenv scan_mmc &quot;mmc rescan&quot;; 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 init=/bin/systemd
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 &quot;usb start&quot;;  setenv init_ide &quot;ide reset&quot;;  setenv init_mmc &quot;mmc rescan&quot;; 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: 3033/131068 bytes</pre>
<br />
Any idea what&#039;s wrong?]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Thu, 12 Mar 2020 15:44:51 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97994#msg-97994</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97994#msg-97994</link>
            <description><![CDATA[ kiesel,<br />
<br />
&gt; Thanks, I will figure out how to save the envs.<br />
&gt; <br />
<br />
OK. if you are not sure, post the quetion!<br />
<br />
&gt; About the kernel: Can I just follow the normal<br />
&gt; update procedure to get to 5.5.1?<br />
<br />
Yes, now it is a normal update procedure. You don&#039;t append DTB to uImage (i.e don&#039;t do Step 4b). Upgrade kernel and do Step 4a. And you are booting with new u-boot now so just regenerate the uImage and uInitrd (no need to change any envs).<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />4b. Boot with DTB file embedded in the kernel image (no U-Boot envs changes are needed if your system already booting on USB or HDD). Again, this step 4b is for stock U-Boot only.</div></blockquote>]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Thu, 12 Mar 2020 04:00:53 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97989#msg-97989</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97989#msg-97989</link>
            <description><![CDATA[ Thanks, I will figure out how to save the envs.<br />
<br />
About the kernel: Can I just follow the normal update procedure to get to 5.5.1?]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Thu, 12 Mar 2020 03:32:35 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97954#msg-97954</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97954#msg-97954</link>
            <description><![CDATA[ kiesel,<br />
<br />
&gt; I successfully followed the rest of the steps, I<br />
&gt; can boot from HDD without the USB key now, thank<br />
&gt; you very much!<br />
<br />
Cool!<br />
<br />
Now you need to save the envs to make it permanent, either by setting them in Debian, or come back to serial console and save them.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Wed, 11 Mar 2020 18:20:45 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97929#msg-97929</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97929#msg-97929</link>
            <description><![CDATA[ That boots, but from the HDD.<br />
<br />
I thought I had to boot from USB first to change the uImage on the HDD? I can&#039;t switch the images in a live system, can I?<br />
<br />
The plan is to change the uImage on the HDD back to the older one, right?<br />
<br />
/edit: I noticed that dtb_file wasn&#039;t set, so after setting it I was able to boot from USB<br />
<br />
<pre class="bbcode">
setenv dtb_file /boot/dts/kirkwood-nsa310.dtb</pre>
<br />
I successfully followed the rest of the steps, I can boot from HDD without the USB key now, thank you very much!<br />
<br />
Is updating the kernel part of the rest of the steps?<br />
<br />
<pre class="bbcode">
root@debian:~# uname -a
Linux debian 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel GNU/Linux
</pre>]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Wed, 11 Mar 2020 14:21:44 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97889#msg-97889</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97889#msg-97889</link>
            <description><![CDATA[ kiesel,<br />
<br />
Try again:<br />
<br />
<pre class="bbcode">
setenv devices &#039;ide usb&#039;
setenv bootdev ide
setenv dtb_file &#039;/boot/dts/kirkwood-nsa310.dtb&#039;
setenv load_dtb &#039;echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file&#039;
setenv load_initrd &#039;echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd&#039;
setenv load_uimage &#039;echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage&#039;
boot
</pre>]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Tue, 10 Mar 2020 17:30:47 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97864#msg-97864</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97864#msg-97864</link>
            <description><![CDATA[ Running the first set of commands fails:<br />
<br />
<pre class="bbcode">
NSA310&gt; setenv devices &#039;usb ide&#039;
NSA310&gt; setenv bootdev usb
NSA310&gt; setenv load_dtb &#039;echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file&#039;
NSA310&gt; setenv load_initrd &#039;echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd&#039;
NSA310&gt; setenv load_uimage &#039;echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage&#039;
NSA310&gt; 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
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5202928 bytes read in 919 ms (5.4 MiB/s)
loading uInitrd ...
9743560 bytes read in 849 ms (10.9 MiB/s)
loading DTB ...
** No boot file defined **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.5.1-kirkwood-tld-1
   Created:      2020-03-04  20:55:12 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-03-04  20:55:42 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9743496 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f1c2000, end 0fb0cc88 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: invalid dtb and unrecognized/unsupported machine ID
  r1=0x00000fb6, r2=0x00000100
  r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00
Available machine support:

ID (hex)	NAME
ffffffff	Generic DT based system
ffffffff	Marvell Kirkwood (Flattened Device Tree)

Please check your kernel config and/or bootloader.</pre>
I can start without any intervention from USB though, was that the goal?<br />
<br />
/edit: For comparison, these are the envs when the device boots:<br />
<br />
<pre class="bbcode">
NSA310&gt; printenv
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 mmc
disks=0 1 2 3
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=ext2load usb 0:1 0x1c00000 /boot/dts/kirkwood-nsa310.dtb
load_dtb_addr=0x1c00000
load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=ext2load usb 0:1 0x800000 /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 &quot;usb start&quot;;  setenv scan_ide &quot;ide reset&quot;;  setenv scan_mmc &quot;mmc rescan&quot;; 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 init=/bin/systemd
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 &quot;usb start&quot;;  setenv init_ide &quot;ide reset&quot;;  setenv init_mmc &quot;mmc rescan&quot;; 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: 2854/131068 bytes
NSA310&gt; 

</pre>]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Tue, 10 Mar 2020 14:01:30 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97809#msg-97809</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97809#msg-97809</link>
            <description><![CDATA[ kiesel,<br />
<br />
I see. The envs change you&#039;ve made was when you create the rootfs to boot with stock u-boot. Now you are booting with new u-boot, the envs must conform to the new booting sequence.<br />
<br />
And the new error above was because the rootfs were prepared to boot with stock u-boot. So no you need to reverse uImage to be the original.<br />
<br />
With your USB rootfs plugged in, power up, interrupt serial console and enter the envs again<br />
<br />
<pre class="bbcode">
setenv devices &#039;usb ide&#039;
setenv bootdev usb
setenv load_dtb &#039;echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file&#039;
setenv load_initrd &#039;echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd&#039;
setenv load_uimage &#039;echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage&#039;
boot</pre>
<br />
Let it boot all the way into Debian. Log in.<br />
<br />
Mount the HDD partition:<br />
<br />
<pre class="bbcode">
mkdir -p /media/sda1
mount -o noatime /dev/sda1 /media/sda1</pre>
<br />
Reverse uImage to the original.<br />
<br />
<pre class="bbcode">
cd /media/sda1/boot
cp -a uImage uImage.nsa310_with_dtb
cp -a uImage.orig uImage
sync
ls -lart /media/sda1/boot</pre>
<br />
If you cannot do the above steps (seeing errors) then stop and post back here. Else continue.<br />
<br />
And shutdown the box.<br />
<br />
<pre class="bbcode">
shutdown -h now</pre>
<br />
<br />
Remove the USB drive. Power up and set up HDD booting as before.<br />
<br />
<pre class="bbcode">
setenv devices &#039;ide usb&#039;
setenv bootdev ide
setenv load_dtb &#039;echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file&#039;
setenv load_initrd &#039;echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd&#039;
setenv load_uimage &#039;echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage&#039;
boot</pre>
<br />
Once it boots into HDD rootfs, post back and I show you a couple more things to do to complete.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Mon, 09 Mar 2020 17:36:24 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97789#msg-97789</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97789#msg-97789</link>
            <description><![CDATA[ I must have then... I thought I followed the instructions to the letter.<br />
<br />
The weird question mark is the u-boot banner I think? That&#039;s all I am getting, no splash screen anymore. I thought that was normal.<br />
<br />
Thank you for your help!<br />
<br />
<pre class="bbcode">
�

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&gt; ver

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:54:15 -0700)
ZyXEL NSA310 1-Bay Power Media Server 

gcc (Debian 6.3.0-18) 6.3.0 20170516
GNU ld (GNU Binutils for Debian) 2.28
NSA310&gt; setenv load_dtb &#039;echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file&#039;
NSA310&gt; setenv load_initrd &#039;echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd&#039;
NSA310&gt; setenv load_uimage &#039;echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage&#039;
NSA310&gt; printenv
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 mmc
disks=0 1 2 3
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 &quot;usb start&quot;;  setenv scan_ide &quot;ide reset&quot;;  setenv scan_mmc &quot;mmc rescan&quot;; 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 init=/bin/systemd
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 &quot;usb start&quot;;  setenv init_ide &quot;ide reset&quot;;  setenv init_mmc &quot;mmc rescan&quot;; 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: 2954/131068 bytes
NSA310&gt; boot
Initializing devices...
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

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)
Unknown command &#039;mmc&#039; - try &#039;help&#039;
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 **
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 mmc 0...
** Bad device mmc 0 **
Loading envs from mmc 1...
** Bad device mmc 1 **
Loading envs from mmc 2...
** Bad device mmc 2 **
Loading envs from mmc 3...
** Bad device mmc 3 **
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
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 47 ms (0 Bytes/s)
Found bootable drive on ide 0
loading uImage ...
5202928 bytes read in 1097 ms (4.5 MiB/s)
loading uInitrd ...
9743560 bytes read in 2096 ms (4.4 MiB/s)
loading DTB ...
** No boot file defined **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.5.1-kirkwood-tld-1
   Created:      2020-03-04  20:55:12 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-03-04  20:55:42 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9743496 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f1c2000, end 0fb0cc88 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: invalid dtb and unrecognized/unsupported machine ID
  r1=0x00000fb6, r2=0x00000100
  r2[]=05 00 00 00 01 00 41 54 00 00 00 00 00 00 00 00
Available machine support:

ID (hex)	NAME
ffffffff	Generic DT based system
ffffffff	Marvell Kirkwood (Flattened Device Tree)

Please check your kernel config and/or bootloader.
</pre>]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Mon, 09 Mar 2020 14:09:00 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97719#msg-97719</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97719#msg-97719</link>
            <description><![CDATA[ It seems your envs are messed up. You must have been changing them?<br />
<br />
Power up, interrupt serial console.<br />
<pre class="bbcode">
ver
setenv load_dtb &#039;echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file&#039;
setenv load_initrd &#039;echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd&#039;
setenv load_uimage &#039;echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage&#039;
printenv
boot</pre>
<br />
And please post the entire serial console log (from the u-boot banner).]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Sun, 08 Mar 2020 18:01:14 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97679#msg-97679</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97679#msg-97679</link>
            <description><![CDATA[ Hi Bodhi,<br />
<br />
please find the output here:<br />
<br />
<br />
<b>printenv:</b><br />
<pre class="bbcode">
NSA310&gt; printenv
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 mmc
disks=0 1 2 3
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=ext2load usb 0:1 0x1c00000 /boot/dts/kirkwood-nsa310.dtb
load_dtb_addr=0x1c00000
load_initrd=ext2load usb 0:1 0x1100000 /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=ext2load usb 0:1 0x800000 /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 &quot;usb start&quot;;  setenv scan_ide &quot;ide reset&quot;;  setenv scan_mmc &quot;mmc rescan&quot;; 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 init=/bin/systemd
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 &quot;usb start&quot;;  setenv init_ide &quot;ide reset&quot;;  setenv init_mmc &quot;mmc rescan&quot;; 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: 2854/131068 bytes
NSA310&gt;</pre>
<br />
<b>boot:</b><br />
<pre class="bbcode">
NSA310&gt; boot
Initializing devices...
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

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)
Unknown command &#039;mmc&#039; - try &#039;help&#039;
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 **
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 mmc 0...
** Bad device mmc 0 **
Loading envs from mmc 1...
** Bad device mmc 1 **
Loading envs from mmc 2...
** Bad device mmc 2 **
Loading envs from mmc 3...
** Bad device mmc 3 **
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
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 47 ms (0 Bytes/s)
Found bootable drive on ide 0
** Bad device usb 0 **
** Bad device usb 0 **
** Bad device usb 0 **
Wrong Image Format for bootm command
Error occured, error code = 112
ERROR: can&#039;t get kernel image!
NSA310&gt; 

</pre>]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Sun, 08 Mar 2020 14:00:57 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97634#msg-97634</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97634#msg-97634</link>
            <description><![CDATA[ kiesel,<br />
<br />
With USB drive removed, the HDD rootfs attched. Power up, interrupt serial console and <br />
<br />
<pre class="bbcode">
printenv
boot</pre>
<br />
And post the entire serial console log here.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Sat, 07 Mar 2020 16:45:33 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97624#msg-97624</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97624#msg-97624</link>
            <description><![CDATA[ I was a bit too quick there.<br />
<br />
I moved everything to the internal HDD but I only just now realized the NAS doesn&#039;t boot without the stick.<br />
<br />
<pre class="bbcode">
root@debian:/boot# parted -l
Model: ATA WDC WD5000AAKX-0 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system     Flags
 1      1049kB  16.9GB  16.9GB  primary  ext4
 2      16.9GB  21.2GB  4295MB  primary  linux-swap(v1)
 3      21.2GB  500GB   479GB   primary  ext4


Model:   (scsi)
Disk /dev/sdb: 8167MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  8166MB  8165MB  primary  ext4


Error: /dev/mtdblock2: unrecognised disk label
Model: Unknown (unknown)                                                  
Disk /dev/mtdblock2: 33.6MB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags: 

Error: /dev/mtdblock0: unrecognised disk label
Model: Unknown (unknown)                                                  
Disk /dev/mtdblock0: 1049kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags: 

Error: /dev/mtdblock3: unrecognised disk label
Model: Unknown (unknown)                                                  
Disk /dev/mtdblock3: 95.4MB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags: 

Error: /dev/mtdblock1: unrecognised disk label
Model: Unknown (unknown)                                                  
Disk /dev/mtdblock1: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags: 

root@debian:/boot#</pre>
<br />
As you can see the internal HDD is sda and the USB stick is sdb.<br />
<br />
sdb isn&#039;t mounted<br />
<pre class="bbcode">
root@debian:/boot# mount|grep sdb
root@debian:/boot#</pre>
<br />
And the labels are right:<br />
<br />
<pre class="bbcode">
root@debian:/boot# ls -l /dev/disk/by-label
total 0
drwxr-xr-x 2 root root  80 Mar  7 13:04 .
drwxr-xr-x 7 root root 140 Mar  7 13:04 ..
lrwxrwxrwx 1 root root  10 Mar  7 13:08 rootfs -&gt; ../../sda1
lrwxrwxrwx 1 root root  10 Mar  7 13:08 rootfs_bu -&gt; ../../sdb1
root@debian:/boot#</pre>
<br />
This is the fstab<br />
<br />
<pre class="bbcode">
root@debian:/boot# cat /etc/fstab 
# /etc/fstab: static file system information.
#
# &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;
LABEL=rootfs    /               ext4    noatime,errors=remount-ro 0 1
/dev/sda3    /media/daten    ext4    defaults    0    1
UUID=9e41369a-fb52-4f05-b1d1-0e3f2cabb176 none   swap    sw      0       0
tmpfs          /tmp            tmpfs   defaults          0       0
root@debian:/boot#</pre>
<br />
Are there any kirkwood specific settings I am overlooking?]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Sat, 07 Mar 2020 15:10:32 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97564#msg-97564</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97564#msg-97564</link>
            <description><![CDATA[ Cool!]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Fri, 06 Mar 2020 02:15:17 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97559#msg-97559</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97559#msg-97559</link>
            <description><![CDATA[ Everything works perfectly now. Thank you so much for your help!<br />
<br />
Have a nice weekend!]]></description>
            <dc:creator>kiesel</dc:creator>
            <category>uBoot</category>
            <pubDate>Fri, 06 Mar 2020 01:31:39 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?3,97059,97424#msg-97424</guid>
            <title>Re: U-Boot Kirkwood - NSA310 - nandump segfault</title>
            <link>https://forum.doozan.com/read.php?3,97059,97424#msg-97424</link>
            <description><![CDATA[ kiesel,<br />
<br />
&gt; /edit3: So I updated to 5.5.1 and everything is<br />
&gt; working perfectly, thanks! I somehow (mistakenly)<br />
&gt; suspected to find an installer which would let me<br />
&gt; format the internal HDD of the nas and install<br />
&gt; everything there. <br />
<br />
&gt; Is the easiest way to take the HDD<br />
&gt; out and hook it up to my laptop or should I<br />
&gt; partition everything via the serial console/ssh?<br />
<br />
You can either do this while SSH in the NSA310 with USB rootfs running. Or you can take it out to other Linux box. See here for example:<br />
<br />
<a href="https://forum.doozan.com/read.php?2,96569,97274#msg-97274"  rel="nofollow">https://forum.doozan.com/read.php?2,96569,97274#msg-97274</a>]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>uBoot</category>
            <pubDate>Wed, 04 Mar 2020 17:51:44 -0600</pubDate>
        </item>
    </channel>
</rss>
