Welcome! Log In Create A New Profile

Advanced

Debian on Dell Kace M300

Posted by JDS420 
Re: Debian on Dell Kace M300
July 29, 2021 11:13AM
1 Use newer kernels to get better performance. Old 5.2.9 , iperf is only 600-700, while newer kernels can reach 940mbit/s
2 5400 rpm drive is actually a bit slow...
--------------------------------------------------------------
I use one 2.5" 750GB 5400rpm HD, samba transfer big file speed ~80MB/s, much better performance than dockstar

One bad USB flash drive on usb to make system stable.

root@m300:~# hdparm -i /dev/sda

/dev/sda:

Model=TOSHIBA MQ01ABD075, FwRev=AX003M, SerialNo=changedhere
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=1465149168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-3,4,5,6,7

* signifies the current active mode

root@m300:~# uname -a
Linux m300 5.12.6-kirkwood-tld-1 #1.0 PREEMPT Sat May 22 16:43:11 PDT 2021 armv5tel GNU/Linux

root@m300:~# dd if=/dev/sda of=/dev/null bs=4M count=512
512+0 records in
512+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 22.3871 s, 95.9 MB/s
Attachments:
open | download - m300_samba.jpg (64.3 KB)
Re: Debian on Dell Kace M300
July 29, 2021 05:35PM
@daviddyer, thanks for sharing. I was looking mostly at writes which may just be slow no matter what?

root@kaceM300-2:/tmp/usb# uname -a
Linux kaceM300-2 5.12.6-kirkwood-tld-1 #1.0 PREEMPT Sat May 22 16:43:11 PDT 2021 armv5tel GNU/Linux

root@kaceM300-2:~# hdparm -i /dev/sda

/dev/sda:

 Model=ST1000LM035-1RK172, FwRev=SBM3, SerialNo=ZDE41VKE
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=1953525168
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
 AdvancedPM=yes: unknown setting WriteCache=enabled
 Drive conforms to: Reserved:  ATA/ATAPI-4,5,6,7

 * signifies the current active mode

If I had just looked at reads I might have thought SATA was really fast.

SATA:
root@kaceM300-2:~# dd if=/dev/sda of=/dev/null bs=4M count=512
512+0 records in
512+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 17.1665 s, 125 MB/s

Same drive, USB:
root@kaceM300-2:/tmp# dd if=/dev/sda of=/dev/null bs=4M count=512
512+0 records in
512+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 61.3963 s, 35.0 MB/s

125MB/s vs 35MB/s - quite a difference!

Writes:

SATA:
root@kaceM300-2:/tmp/sata# sync ; dd if=/dev/zero of=zeros.bin bs=1M count=1024 ; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 94.5218 s, 11.4 MB/s

USB:
root@kaceM300-2:/tmp/usb# sync ; dd if=/dev/zero of=zeros.bin bs=1M count=1024 ; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 99.7069 s, 10.8 MB/s

11.4MB/s vs 10.8MB/s - not so impressive. The drive is certainly capable of more than 11MB/s.

I should note that this drive is formatted with NTFS, but I tried an ext4 drive before it went belly up and got pretty much the same results.

The problem I was hoping using the M300 with its SATA interface would solve is that one of the myriad of services my Dockstar performs is being my media server. If I'm copying a large file to it at the same time as someone is streaming something it can't keep up. I haven't tried that use case with the M300, but having my media drive go belly up during this testing hasn't put me in the mood to continue down this path. I really wish I had left well enough alone.
Re: Debian on Dell Kace M300
July 29, 2021 06:38PM
Samba write from Windows 10 SSD to M300 (750GB SATA 2.5" Toshiba 5400rpm)

About 20-60MB/s write about 1GB file M300
Attachments:
open | download - m300_write_samba.jpg (64.5 KB)
Re: Debian on Dell Kace M300
July 29, 2021 06:42PM
ST1000LM035-1RK172

SMR drive

this might be the reason for slow writing....

The BIG cache (128MB) of this drive reminds me of SMR...



Edited 1 time(s). Last edit at 07/29/2021 06:54PM by daviddyer.
Re: Debian on Dell Kace M300
July 29, 2021 07:08PM
renojim,

Unfortunately, I think David is right. Might be the SMR type is the reason.

For sanity, run the same command David used (so we compare apple-to-apple):

dd if=/dev/sda of=/dev/null bs=4M count=512

FWIW, I don't think this Seagate HDD is suited for what you have in mind. You were transfering large amount of data to it while somebody is streaming.

It is perfectly nice as an archive media for streaming. But I would not use it as a system disk. And also I would avoid archiving data during prime hour.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Kace M300
July 29, 2021 10:18PM
> ST1000LM035-1RK172
>
> SMR drive
>
> this might be the reason for slow writing....
>
> The BIG cache (128MB) of this drive reminds me of
> SMR...

Yeah :) they compensate the slow SMR disk with a large cache. I did look at some new Seagate 2.5" portable HDDs before, since the price is so good. But when I looked at the specs, I balked. However, if we want to use it on small plugs like Pogo V4/ GoFlex Net/ GF Home/ M300 as a media server disk, it is quite decent for the cost.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Kace M300
July 31, 2021 05:22PM
bodhi, I posted the read results. My disk was faster than David's.

Before I blew it up, I used a 8TB drive formatted with ext4. It has an even bigger cache, but I always get "Asking for cache data failed" and "Assuming drive cache: write through" in dmesg, whatever that means. It's definitely CMR (if WD is to believed) and had practically the same read/write speeds connected to USB or SATA.

This drive I'm testing with is just one I had lying around; it won't be my media disk. I plan on getting a replacement 8TB drive and I'll run the tests again. I had assumed that the USB connection was the bottleneck, so I expected much better results with SATA.

I spent hours testing, looking into SMR vs CMR (there's no reliable/foolproof method to ascertain what a disk is using, but I don't believe it comes in to play on these small writes to a "new" disk and I'm fairly certain my disk is CMR), and I've come to some conclusions:

  • The SATA port isn't substantially faster than the USB port.
  • Simultaneous reads and writes will bring both transfer rates to a crawl
  • The M300 doesn't offer much over my old reliable Dockstar

I am curious to see how much of an effect NTFS had on my tests, so I'll reformat it to ext4 and try some more tests.
Re: Debian on Dell Kace M300
July 31, 2021 06:30PM
renojim,

> [*] The SATA port isn't substantially faster than
> the USB port.

Usually you can get 8-10 MB/s with USB, so your test is in the ballpark for USB.

David's test proved that the SATA port on this box is quite fast. And he used an old 2.5" HDD for laptop drive.

root@m300:~# dd if=/dev/sda of=/dev/null bs=4M count=512 
512+0 records in 
512+0 records out 
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 22.3871 s, 95.9 MB/s

I'm little bit lazy to open up my M300 :) (I'm testing various 2021.07 u-boots for Kirkwood and the M300 is my test box). But I will do that when I have some time, to add another data point to this benchmark.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Kace M300
July 31, 2021 07:09PM
Also,

I recall LeggoMyEggo has also tested this box with a 2.5 SSD. He did not report any bad observation.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Kace M300
July 31, 2021 07:52PM
https://www.cnet.com/products/seagate-mobile-st1000lm035-hard-drive-1-tb-sata-6gb-s/

it is SMR.

SMR reading is as fast as old drives, but when it comes to writing something, it needs to (re)write much more than the data we intend to write.
Re: Debian on Dell Kace M300
July 31, 2021 07:56PM
And if your WD 8TB drive has 256MB cache and slow writing, guess it is SMR as well.... they give you such large cache for a reason, the seller is always smarter...



Edited 1 time(s). Last edit at 07/31/2021 08:03PM by daviddyer.
Re: Debian on Dell Kace M300
July 31, 2021 09:28PM
As I said, WD says all their drives over 6TB are CMR (https://www.extremetech.com/computing/309730-western-digital-comes-clean-shares-which-hard-drives-use-smr).
It goes to show you how hard it is to determine whether or not a drive is SMR or CMR. No amount of querying parameters with hdparm or smartctl showed any indication of SMR.
SMR/CMR really doesn't come into play until you've done on the order of 500GB worth of writes to a drive. Believe me, I researched this to death. (https://unix.stackexchange.com/questions/286432/how-to-determine-whether-hard-drive-uses-smr - I ran the test for an hour and got constant data rates, but never approached writing 500GB since it's so slow). Keep in mind that this is a new or fresh drive in that it's been lying around for years with little to no use.

Let me format my drive with ext4 and run some more tests. Given the amount of CPU cycles dedicated to mount.ntfs during file transfers that may be part of the problem.

I'd rather see meaningful file read/writes over reading from /dev/sda. I get 125MB/s reading from /dev/sda. So what? SATA vs USB gives me little to no advantage. I'm really hoping that's because of NTFS. We'll see...

Sorry if I seem short, but I'm just in a bad mood. On top of spending hours on this and having it bear no fruit my desktop Windows computer has decided it wants to randomly crash. I do appreciate you guys looking into it.

It may be time to get drunk and revisit this later. :-)
Re: Debian on Dell Kace M300
July 31, 2021 10:08PM
> Let me format my drive with ext4 and run some more
> tests. Given the amount of CPU cycles dedicated
> to mount.ntfs during file transfers that may be
> part of the problem.

Now that is something could be problematic. That brings a question, was the drive sleeping when you started testing? I would run the test at least twice consecutively to make sure it was fully spun up before test is run.

> I'd rather see meaningful file read/writes over
> reading from /dev/sda. I get 125MB/s reading from
> /dev/sda. So what? SATA vs USB gives me
> little to no advantage. I'm really hoping that's
> because of NTFS. We'll see...

I would never test with NTFS. But If I did then make sure the "big_writes" option is in effect. This is in my mount script for all SATA drives.

         elif  [ $FSTYPE = "ntfs" ]; then
            mount -L $disk_label -o noatime,big_writes /media/$disk_label

>
> Sorry if I seem short, but I'm just in a bad mood.
> On top of spending hours on this and having it
> bear no fruit my desktop Windows computer has
> decided it wants to randomly crash. I do
> appreciate you guys looking into it.

Ouch!

> It may be time to get drunk and revisit this
> later. :-)

Yeah, something is missing, and if you spent too much time looking, it could be an "ah %^&*!" moment later :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Kace M300
August 12, 2021 01:01AM
Ok, so I'm finally sober enough to revisit this. :-) The TL;DR version is don't use NTFS to do disk tests. The SATA port is substantially faster than the USB port on the M300, which is what I had expected. Here's the data with the same Seagate 1TB drive formatted as ext4:

USB read:
root@kaceM300-2:/tmp/usb# sync ; dd if=zeros.bin of=/dev/null bs=4M count=1024 ; sync
1024+0 records in
1024+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 110.646 s, 38.8 MB/s

USB write:
root@kaceM300-2:/tmp/usb# sync ; dd if=/dev/zero of=zeros.bin bs=4M count=1024 ; sync
1024+0 records in
1024+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 123.553 s, 34.8 MB/s

SATA read:
root@kaceM300-2:/tmp/sata# sync ; dd if=zeros.bin of=/dev/null bs=4M count=1024 ; sync
1024+0 records in
1024+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 32.3266 s, 133 MB/s

SATA write:
root@kaceM300-2:/tmp/sata# sync ; dd if=/dev/zero of=zeros.bin bs=4M count=1024 ; sync
1024+0 records in
1024+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 52.8933 s, 81.2 MB/s

And for simultaneous read/write:
USB read (while writing):
root@kaceM300-2:/tmp/usb# sync ; dd if=/dev/zero of=zeros2.bin bs=4M count=1024 ; sync
1024+0 records in
1024+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 142.368 s, 30.2 MB/s
USB write (while reading):
root@kaceM300-2:/tmp/usb# sync ; dd if=zeros.bin of=/dev/null bs=4M count=1024 ; sync
1024+0 records in
1024+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 249.903 s, 17.2 MB/s

SATA read (while writing):
root@kaceM300-2:/tmp/sata# sync ; dd if=/dev/zero of=zeros2.bin bs=4M count=1024 ; sync
1024+0 records in
1024+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 63.161 s, 68.0 MB/s
SATA write (while reading):
root@kaceM300-2:/tmp/sata# sync ; dd if=zeros.bin of=/dev/null bs=4M count=1024 ; sync
1024+0 records in
1024+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 83.11 s, 51.7 MB/s

For completeness I did the same tests on my Dockstar and got pretty much the same results as the M300 USB tests. I'm a little surprised I had problems streaming video while writing to the drive given that the read speed doesn't seem to be affected during the simultaneous write, but I no longer have the original 8TB disk to use for testing (damn it!).

I did one final test where I performed the read over and over during the write since the read finishes before the write and the USB write is really brought to its knees on the Dockstar, but not on the M300. The SATA write isn't affected and is sometimes faster than the read.
Re: Debian on Dell Kace M300
February 15, 2022 09:06PM
So I was inspired by our forum members to figure out this u-boot (when there is a will, there will be a way :)

Attached is the new u-boot: uboot.2021.10-tld-1.m300.mtd0.kwb

Create the uEnv.txt on your rootfs /boot. Below is an example, adjust with your real MAC address, ipaddr, and serverip in this file.

# cat /boot/uEnv.txt
dtb_file=
ethaddr=18:03:73:xx:xx:xx
ipaddr=192.168.0.249
serverip=192.168.0.220
custom_params=raid=noautodetect
load_initrd_addr=0x2100000
initrd_high=0x40000000

kwboot command:

kwboot -t -b uboot.2021.10-tld-1.m300.mtd0.kwb  -B 115200 /dev/ttyUSB0

With the uEnv.txt as above, it should boot automatically all the way into Debian. No change is need in your current M300 rootfs, except the new uEnv.txt.

Please test and report. Try both USB and SATA rootfs booting.

Warning: don't attempt to flash this u-boot. I need to iron out the mtd layout and where to store the envs. For now, just run kwboot to start the box.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - uboot.2021.10-tld-1.m300.mtd0.kwb (384 KB)
Re: Debian on Dell Kace M300
February 16, 2022 05:57AM
USB booting went well, but not SATA. I had two of the 16GB SSDs lying around, but I honestly don't know where I left off with them. I can get one to boot with the old u-boot if I have something in the USB port. With the new u-boot I get a kernel panic with or without something in the USB port.

By the way, I had to add the -p flag for kwboot.

Here's my printenv output:
baudrate=115200
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=if run load_uimage; then; 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; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
console=ttyS0,115200
device=0:1
devices=usb sata mmc
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-m300.dtb
fdtcontroladdr=7fb9b5c0
if_netconsole=ping $serverip
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
mtdparts=mtdparts=spi0.0:0x7e000@0(uboot),0x2000@0x7e000(u-boot-env)
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb reset; sleep 1; usb reset";  setenv scan_sata "sata init";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=echo Initializing devices...; setenv init_usb "usb reset; sleep 1; usb reset"; setenv init_sata sata init;  setenv init_mmc mmc rescan; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in $disks; do if test $uenv_loaded -eq 0; then setenv device_type $devtype; setenv disk_number $disknum; run uenv_read; fi; done; done;
uenv_read=echo Loading envs from $device_type $disk_number...; if load $device_type  $disk_number:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; echo ... envs loaded; fi
usb_ready_retry=15
ver=U-Boot 2021.10-tld-1 (Feb 15 2022 - 17:41:23 -0800)\
Dell KACE M300

Environment size: 2731/8188 bytes

Here's the attempt at SATA booting (with a USB UART connected):

 0
Initializing devices...
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Unknown command 'mmc' - try 'help'
Loading envs from usb 0...
Couldn't find partition usb 0:1
Can't set block device
Loading envs from usb 1...
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
Failed to load '/boot/uEnv.txt'
Loading envs from sata 1...
Couldn't find partition sata 1:1
Can't set block device
Loading envs from sata 2...
Couldn't find partition sata 2:1
Can't set block device
Loading envs from sata 3...
Couldn't find partition sata 3:1
Can't set block device
Loading envs from mmc 0...
Couldn't find partition mmc 0:1
Can't set block device
Loading envs from mmc 1...
Couldn't find partition mmc 1:1
Can't set block device
Loading envs from mmc 2...
Couldn't find partition mmc 2:1
Can't set block device
Loading envs from mmc 3...
Couldn't find partition mmc 3:1
Can't set block device
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
device usb 0:1
Couldn't find partition usb 0:1
Can't set block device
device usb 1:1
Couldn't find partition usb 1:1
Can't set block device
device usb 2:1
Couldn't find partition usb 2:1
Can't set block device
device usb 3:1
Couldn't find partition usb 3:1
Can't set block device
Scan device sata
device sata 0:1
1 bytes read in 6 ms (0 Bytes/s)
Found bootable drive on sata 0
loading uImage ...
4981772 bytes read in 78 ms (60.9 MiB/s)
loading uInitrd ...
9789966 bytes read in 146 ms (63.9 MiB/s)
loading DTB /boot/dts/kirkwood-m300.dtb ...
10780 bytes read in 13 ms (809.6 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-2
   Created:      2019-09-18   8:31:06 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4981708 Bytes = 4.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-2
   Created:      2020-03-02   9:34:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9789902 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image
   Loading Ramdisk to 7f243000, end 7fb991ce ... OK
   Loading Device Tree to 7f23d000, end 7f242a1b ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-2 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Wed Aug 28 03:55:21 PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Dell KACE M300
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Ignoring RAM at 0x70000000-0x80000000
[    0.000000][    T0] Consider using a HIGHMEM enabled kernel.
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 455168
[    0.000000][    T0] Kernel command line: console=ttyS0,115200
[    0.000000][    T0] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000][    T0] Memory: 1803508K/1835008K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 300K bss, 31500K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x52c/0x924 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.000006][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000037][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000598][    T0] Console: colour dummy device 80x30
[    0.000642][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000663][    T0] pid_max: default: 32768 minimum: 301
[    0.000950][    T0] LSM: Security Framework initializing
[    0.001104][    T0] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.001133][    T0] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.001849][    T0] *** VALIDATE proc ***
[    0.002081][    T0] *** VALIDATE cgroup1 ***
[    0.002103][    T0] *** VALIDATE cgroup2 ***
[    0.002191][    T0] CPU: Testing write buffer coherency: ok
[    0.003583][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.003796][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.004026][    T1] rcu: Hierarchical SRCU implementation.
[    0.006353][    T1] devtmpfs: initialized
[    0.010098][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010125][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.010334][    T1] xor: measuring software checksum speed
[    0.110093][    T1]    arm4regs  :  1816.400 MB/sec
[    0.210061][    T1]    8regs     :  1090.400 MB/sec
[    0.310056][    T1]    32regs    :  1585.200 MB/sec
[    0.310073][    T1] xor: using function: arm4regs (1816.400 MB/sec)
[    0.310090][    T1] prandom: seed boundary self test passed
[    0.312599][    T1] prandom: 100 self tests passed
[    0.312608][    T1] pinctrl core: initialized pinctrl subsystem
[    0.313768][    T1] NET: Registered protocol family 16
[    0.314091][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.314765][    T1] audit: initializing netlink subsys (disabled)
[    0.315795][   T14] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.315897][    T1] cpuidle: using governor ladder
[    0.315963][    T1] cpuidle: using governor menu
[    0.316278][    T1] Feroceon L2: Enabling L2
[    0.316319][    T1] Feroceon L2: Cache support initialised.
[    0.320213][    T1] No ATAGs?
[    2.560041][    C0] random: fast init done
[    3.537953][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    3.538210][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    3.710595][    T1] raid6: int32x8  gen()   208 MB/s
[    3.880191][    T1] raid6: int32x8  xor()   142 MB/s
[    4.050128][    T1] raid6: int32x4  gen()   208 MB/s
[    4.220191][    T1] raid6: int32x4  xor()   138 MB/s
[    4.390293][    T1] raid6: int32x2  gen()   210 MB/s
[    4.560198][    T1] raid6: int32x2  xor()   152 MB/s
[    4.730235][    T1] raid6: int32x1  gen()   157 MB/s
[    4.900078][    T1] raid6: int32x1  xor()   109 MB/s
[    4.900086][    T1] raid6: using algorithm int32x2 gen() 210 MB/s
[    4.900091][    T1] raid6: .... xor() 152 MB/s, rmw enabled
[    4.900097][    T1] raid6: using intx1 recovery algorithm
[    4.900298][    T1] vgaarb: loaded
[    4.900661][    T1] SCSI subsystem initialized
[    4.901036][    T1] usbcore: registered new interface driver usbfs
[    4.901080][    T1] usbcore: registered new interface driver hub
[    4.901138][    T1] usbcore: registered new device driver usb
[    4.901274][    T1] pps_core: LinuxPPS API ver. 1 registered
[    4.901282][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    4.901300][    T1] PTP clock support registered
[    4.902182][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.508362][    T1] VFS: Disk quotas dquot_6.6.0
[    5.508435][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.515169][    T1] NET: Registered protocol family 2
[    5.515772][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 1, 8192 bytes)
[    5.515813][    T1] TCP established hash table entries: 16384 (order: 4, 65536 bytes)
[    5.516007][    T1] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    5.516199][    T1] TCP: Hash tables configured (established 16384 bind 16384)
[    5.516287][    T1] UDP hash table entries: 1024 (order: 2, 16384 bytes)
[    5.516345][    T1] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes)
[    5.516547][    T1] NET: Registered protocol family 1
[    5.517034][    T1] RPC: Registered named UNIX socket transport module.
[    5.517045][    T1] RPC: Registered udp transport module.
[    5.517050][    T1] RPC: Registered tcp transport module.
[    5.517056][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.517066][    T1] PCI: CLS 0 bytes, default 32
[    5.517301][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.518109][    T1] Initialise system trusted keyrings
[    5.518147][    T1] Key type blacklist registered
[    5.518316][    T1] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    5.518377][    T1] zbud: loaded
[    5.519137][    T1] NFS: Registering the id_resolver key type
[    5.519160][    T1] Key type id_resolver registered
[    5.519166][    T1] Key type id_legacy registered
[    5.519180][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    5.519193][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    5.519420][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    5.519577][    T1] fuse: init (API version 7.31)
[    5.519854][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    5.519997][    T1] orangefs_init: module version upstream loaded
[    5.520006][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    5.522068][    T1] async_tx: api initialized (async)
[    5.522084][    T1] Key type asymmetric registered
[    5.522091][    T1] Asymmetric key parser 'x509' registered
[    5.522132][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    5.523166][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    5.524524][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    5.524540][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    5.524551][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    5.524560][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    5.524636][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    5.524665][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    5.525418][    T1] PCI: bus0: Fast back to back transfers disabled
[    5.525437][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.526118][    T1] PCI: bus1: Fast back to back transfers enabled
[    5.526135][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    5.526266][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    5.526279][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    5.526700][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    5.582694][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.584004][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    5.642719][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.644199][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.645100][    T1] printk: console [ttyS0] disabled
[    5.645153][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    6.478378][    T1] printk: console [ttyS0] enabled
[    6.488588][    T1] loop: module loaded
[    6.492914][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    6.500429][    T1] scsi host0: sata_mv
[    6.504749][    T1] scsi host1: sata_mv
[    6.508807][    T1] ata1: SATA max UDMA/133 irq 33
[    6.513665][    T1] ata2: SATA max UDMA/133 irq 33
[    6.519731][    T1] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    6.525305][    T1] 2 fixed-partitions partitions found on MTD device spi0.0
[    6.532400][    T1] Creating 2 MTD partitions on "spi0.0":
[    6.537908][    T1] 0x000000000000-0x00000007f000 : "U-Boot"
[    6.544544][    T1] 0x00000007f000-0x000000080000 : "U-Boot-Env"
[    6.552276][    T1] libphy: Fixed MDIO Bus: probed
[    6.557629][    T1] libphy: orion_mdio_bus: probed
[    6.563405][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    6.571240][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    6.578985][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address a6:c1:c4:86:0e:d8
[    6.588595][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.595933][    T1] ehci-pci: EHCI PCI platform driver
[    6.601139][    T1] ehci-orion: EHCI orion driver
[    6.606034][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    6.612301][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    6.620804][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    6.652206][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    6.659142][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    6.668159][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.676122][    T1] usb usb1: Product: EHCI Host Controller
[    6.681715][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-2 ehci_hcd
[    6.689070][    T1] usb usb1: SerialNumber: f1050000.ehci
[    6.694936][    T1] hub 1-0:1.0: USB hub found
[    6.699425][    T1] hub 1-0:1.0: 1 port detected
[    6.704594][    T1] usbcore: registered new interface driver usb-storage
[    6.711582][    T1] mousedev: PS/2 mouse device common for all mice
[    6.718327][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    6.724066][    T1] i2c /dev entries driver
[    6.728737][    T1] device-mapper: uevent: version 1.0.3
[    6.734330][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    6.743828][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    6.751114][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    6.758494][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    6.765926][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    6.772801][    T1] device-mapper: raid: Loading target version 1.14.0
[    6.780157][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    6.786555][    T1] drop_monitor: Initializing network drop monitor service
[    6.793788][    T1] NET: Registered protocol family 17
[    6.799166][    T1] Key type dns_resolver registered
[    6.804716][    T1] registered taskstats version 1
[    6.809559][    T1] Loading compiled-in X.509 certificates
[    6.815253][    T1] zswap: loaded using pool lzo/zbud
[    6.830587][    T1] Key type big_key registered
[    6.837526][    T1] Key type encrypted registered
[    6.843790][    T1] rtc-mv f1010300.rtc: setting system clock to 2022-02-16T11:51:44 UTC (1645012304)
[    7.012218][  T112] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.023707][  T112] ata1.00: ATA-7: TS16GSSD25H-M, 20100712, max UDMA/133
[    7.030524][  T112] ata1.00: 31277056 sectors, multi 0: LBA48
[    7.043077][  T112] ata1.00: configured for UDMA/133
[    7.058463][    T7] scsi 0:0:0:0: Direct-Access     ATA      TS16GSSD25H-M    0712 PQ: 0 ANSI: 5
[    7.068114][  T116] sd 0:0:0:0: [sda] 31277056 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    7.076461][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.084360][  T116] sd 0:0:0:0: [sda] Write Protect is off
[    7.090054][  T116] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.101266][  T116]  sda: sda1
[    7.105483][  T116] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.282690][   T15] usb 1-1: New USB device found, idVendor=058f, idProduct=6254, bcdDevice= 1.00
[    7.291612][   T15] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    7.299916][   T15] hub 1-1:1.0: USB hub found
[    7.304557][   T15] hub 1-1:1.0: 4 ports detected
[    7.415779][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[    7.432165][    T1] md: Waiting for all devices to be available before autodetect
[    7.439725][    T1] md: If you don't use raid, use raid=noautodetect
[    7.446634][    T1] md: Autodetecting RAID arrays.
[    7.451445][    T1] md: autorun ...
[    7.454988][    T1] md: ... autorun DONE.
[    7.459152][    T1] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    7.467397][    T1] Please append a correct "root=" boot option; here are the available partitions:
[    7.476544][    T1] 1f00             508 mtdblock0
[    7.476546][    T1]  (driver?)
[    7.484541][    T1] 1f01               4 mtdblock1
[    7.484544][    T1]  (driver?)
[    7.492528][    T1] 0800        15638528 sda
[    7.492531][    T1]  driver: sd
[    7.500053][    T1]   0801        15637504 sda1 ed89ace6-01
[    7.500054][    T1]
[    7.507859][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    7.516857][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.2.9-kirkwood-tld-2 #1
[    7.524543][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    7.531550][    T1] [<8010f8cc>] (unwind_backtrace) from [<8010bd1c>] (show_stack+0x10/0x14)
[    7.540034][    T1] [<8010bd1c>] (show_stack) from [<8011a17c>] (panic+0xe0/0x30c)
[    7.547646][    T1] [<8011a17c>] (panic) from [<80e01628>] (mount_block_root+0x1bc/0x2a4)
[    7.555864][    T1] [<80e01628>] (mount_block_root) from [<80e017f8>] (mount_root+0xe8/0x154)
[    7.564426][    T1] [<80e017f8>] (mount_root) from [<80e019b0>] (prepare_namespace+0x14c/0x18c)
[    7.573164][    T1] [<80e019b0>] (prepare_namespace) from [<80e011c8>] (kernel_init_freeable+0x270/0x2dc)
[    7.582776][    T1] [<80e011c8>] (kernel_init_freeable) from [<809d9ea8>] (kernel_init+0x8/0x10c)
[    7.591686][    T1] [<809d9ea8>] (kernel_init) from [<801010e0>] (ret_from_fork+0x14/0x34)
[    7.599982][    T1] Exception stack(0xeecb3fb0 to 0xeecb3ff8)
[    7.605747][    T1] 3fa0:                                     00000000 00000000 00000000 00000000
[    7.614651][    T1] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.623562][    T1] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    7.630902][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---



Edited 1 time(s). Last edit at 02/16/2022 06:02AM by renojim.
Re: Debian on Dell Kace M300
February 16, 2022 04:21PM
renojim,

The kernel panic was an indirect effect of the uEnv.txt is missing. It is not on the SATA rootfs /boot? the uEnv.txt should be on the rootfs that you are booting.

Loading envs from sata 0...
Failed to load '/boot/uEnv.txt'

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Kace M300
February 16, 2022 04:57PM
That was stupid of me! That's what I get for trying something new at 5am.
Re: Debian on Dell Kace M300
February 17, 2022 06:15AM
It's late again, but this time I put uEnv.txt on the SATA SSD. It looks like SATA booting is still unreliable unless there's something in the USB port. On the other hand, USB booting seems to be more reliable. I have a flash drive that sometimes will boot with the old u-boot and sometimes won't, but I think it has never failed with the new u-boot.

I tried to capture some logs, but it's almost like it doesn't do the same thing twice. Sometimes I get dumped into initramfs with a complaint about it not being able to run fsck. On the next attempt it runs fsck without a problem.

Here's what I captured from an attempt with nothing in the USB port (it does make it to the login prompt, but it's not happy - it actually says, "Oops"):

kwboot.exe -p -t -B 115200 -b uboot.2021.10-tld-1.m300.mtd0.kwb /dev/ttyS4
Sending boot message. Please reboot the target... /
Sending boot image...
  0 % [......................................................................]

 98 % [..............................................................]
[Type Ctrl-\ + c to quit]
?

U-Boot 2021.10-tld-1 (Feb 15 2022 - 17:41:23 -0800)
Dell KACE M300

SoC:   Kirkwood 88F6282_A1
Model: Dell KACE M300
DRAM:  2 GiB
Loading Environment from SPIFlash... SF: Detected mx25l4005a with page size 256
Bytes, erase size 4 KiB, total 512 KiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:
Warning: ethernet-controller@72000 (eth0) using random MAC address - ea:42:6e:fa
:ee:46
eth0: ethernet-controller@72000
MV88E1318 PHY initialized on ethernet-controller@72000
Hit any key to stop autoboot:  0
Initializing devices...
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Unknown command 'mmc' - try 'help'
Loading envs from usb 0...
Couldn't find partition usb 0:1
Can't set block device
Loading envs from usb 1...
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
160 bytes read in 7 ms (21.5 KiB/s)
... envs loaded
importing envs ...
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
device usb 0:1
Couldn't find partition usb 0:1
Can't set block device
device usb 1:1
Couldn't find partition usb 1:1
Can't set block device
device usb 2:1
Couldn't find partition usb 2:1
Can't set block device
device usb 3:1
Couldn't find partition usb 3:1
Can't set block device
Scan device sata
device sata 0:1
1 bytes read in 6 ms (0 Bytes/s)
Found bootable drive on sata 0
loading uImage ...
4981772 bytes read in 78 ms (60.9 MiB/s)
loading uInitrd ...
9789966 bytes read in 145 ms (64.4 MiB/s)
loading DTB ...
** No boot file defined **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-2
   Created:      2019-09-18   8:31:06 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4981708 Bytes = 4.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-2
   Created:      2020-03-02   9:34:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9789902 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image
   Loading Ramdisk to 3f6a9000, end 3ffff1ce ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-2 (root@tldDebian) (gccversion 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Wed Aug 28 03:55:21PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Dell KACE M300
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Ignoring RAM at 0x70000000-0x80000000
[    0.000000][    T0] Consider using a HIGHMEM enabled kernel.
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 455168
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7e000@0(uboot),0x2000@0x7e000(u-boot-env) raid=noautodetect
[    0.000000][    T0] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 131072 (order: 7, 524288bytes)
[    0.000000][    T0] Memory: 1793944K/1835008K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 300K bss, 41064K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x52c/0x924 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.000006][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000037][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000594][    T0] Console: coloterminal: Resource temporarily unavailable

kwboot exited, continued from serial connection:

Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: clean, 20058/979200 files, 299642/3909376 blocks
done.
[   19.037607][  T194] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.056130][  T194] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
[ ok ] Synthesizing the initial hotplug events (subsystems)...done.
[....] Synthesizing the initial hotplug events (devices)...
[   20.399934][  T392] Unable to handle kernel NULL pointer dereference at virtual address 00000004
[   20.422155][  T392] pgd = (ptrval)
[   20.428956][  T392] [00000004] *pgd=00000000
[   20.437683][  T392] Internal error: Oops: 5 [#1] PREEMPT ARM
[   20.443373][  T392] Modules linked in: gpio_keys
[   20.448014][  T392] CPU: 0 PID: 392 Comm: udevadm Not tainted 5.2.9-kirkwood-tld-2 #1
[   20.455876][  T392] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   20.462869][  T392] PC is at kernfs_fop_open+0x78/0x34c
[   20.468112][  T392] LR is at kernfs_fop_open+0x28/0x34c
[   20.473352][  T392] pc : [<802f0bb0>]    lr : [<802f0b60>]    psr: a0000013
[   20.480336][  T392] sp : eeeefde8  ip : 00000001  fp : 00000000
[   20.486275][  T392] r10: 00000000  r9 : ee0bc680  r8 : ee0bc688
[   20.492214][  T392] r7 : 80a0f760  r6 : eeda8dc0  r5 : ee40d2a0  r4 : 00000000
[   20.499459][  T392] r3 : 00000001  r2 : 00000001  r1 : 60000013  r0 : eeda8dc0
[   20.506707][  T392] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   20.514563][  T392] Control: 0005397f  Table: 3f440000  DAC: 00000051
[   20.521024][  T392] Process udevadm (pid: 392, stack limit = 0x(ptrval))
[   20.527748][  T392] Stack: (0xeeeefde8 to 0xeeef0000)
[   20.532817][  T392] fde0:                   ee40d2a0 ee0bc680 b091e452 ee0bc680 ee40d2a0 ee0bc680
[   20.541729][  T392] fe00: 802f0b38 ee0bc688 00000000 00000000 00000000 802691b4 eeeefec0 00000000
[   20.550640][  T392] fe20: ee0bc680 ee40d2a0 00000000 ee523690 00000000 8027c594 eeeefeb8 00000000
[   20.559553][  T392] fe40: 80f04028 00000000 eeeeff70 00020000 00000000 00000000 eeeee000 ee522d48
[   20.568463][  T392] fe60: 00000041 00000000 00000004 00000000 eeeefec8 eeeefe8c eeeefeb8 00000000
[   20.577376][  T392] fe80: ee40d2a0 eec2b650 ee40c088 eeeefe8c eeeefe8c b091e452 eeeefec0 00000005
[   20.586289][  T392] fea0: 80f04028 eeeeff70 00000001 bfb06000 eeeee000 00000000 7ed8e8fc 8027c788
[   20.595200][  T392] fec0: eec2b650 ee40c088 06920c43 00000006 bfb0602e 00000dc0 bf9e1710 ee4f6f68
[   20.604111][  T392] fee0: ee40d2a0 00000101 00000000 00000062 00000000 00000000 00000000 eeeeff00
[   20.613024][  T392] ff00: 7ed8e878 00000ff0 bfb06010 ffffe000 00271788 80636208 bfb06010 00000ff0
[   20.621935][  T392] ff20: 00000ff0 b091e452 00000005 bfa5cc34 bfb06000 00000000 bfa5cc20 00000002
[   20.630848][  T392] ff40: ffffff9c 8028ab50 021dc150 b091e452 80f04028 00000005 ffffff9c 80f04028
[   20.639759][  T392] ff60: 000a0000 8026a508 ffffff9c 00000015 00020000 eec20000 00000004 00000100
[   20.648671][  T392] ff80: 00000001 b091e452 021dc150 76f08968 00000008 00000142 80101208 eeeee000
[   20.657583][  T392] ffa0: 00000000 80101000 021dc150 76f08968 ffffff9c 7ed8e878 000a0000 00000000
[   20.666495][  T392] ffc0: 021dc150 76f08968 00000008 00000142 7ed8e878 021fc4b0 021e49e0 7ed8e8fc
[   20.675406][  T392] ffe0: 76ed4000 7ed8e6e8 8fd41c00 76e4c250 60000010 ffffff9c 00000000 00000000
[   20.684333][  T392] [<802f0bb0>] (kernfs_fop_open) from [<802691b4>] (do_dentry_open+0x220/0x394)
[   20.693247][  T392] [<802691b4>] (do_dentry_open) from [<8027c594>] (path_openat+0xc30/0xde8)
[   20.701814][  T392] [<8027c594>] (path_openat) from [<8027c788>] (do_filp_open+0x3c/0x9c)
[   20.710027][  T392] [<8027c788>] (do_filp_open) from [<8026a508>] (do_sys_open+0xfc/0x1e8)
[   20.718328][  T392] [<8026a508>] (do_sys_open) from [<80101000>] (ret_fast_syscall+0x0/0x50)
[   20.726799][  T392] Exception stack(0xeeeeffa8 to 0xeeeefff0)
[   20.732565][  T392] ffa0:                   021dc150 76f08968 ffffff9c 7ed8e878 000a0000 00000000
[   20.741478][  T392] ffc0: 021dc150 76f08968 00000008 00000142 7ed8e878 021fc4b0 021e49e0 7ed8e8fc
[   20.750387][  T392] ffe0: 76ed4000 7ed8e6e8 8fd41c00 76e4c250
[   20.756155][  T392] Code: 1a000002 e597202c e2922000 13a02001 (e5941004)
[   20.778193][  T392] ---[ end trace 32c8ebac55fa9d63 ]---
Segmentation fault
failed.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Setting hostname to 'kaceM300-2'...done.
[ ok ] Activating swap:.
[   21.439835][  T559] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
LABEL=rootfs is mounted
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs[ ok hat location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Starting Setting kernel variables: sysctl.
[....] Initializing random number generator...[   23.254959][ T1033] random: dd: uninitialized urandom read (512 bytes read)
done.
[....] Configuring network interfaces...[   23.813834][ T1102] NET: Registered protocol family 10
[   23.819954][ T1102] Segment Routing with IPv6
[   25.968790][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   25.979406][   T15] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1312 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1339 (klogd)
. ok
[....] Starting system message bus: dbus[   32.320881][ T1369] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[   32.345077][ T1369] random: dbus-daemon: uninitialized urandom read (12 bytes read)
. ok
[....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[   32.463869][ T1392] random: avahi-daemon: uninitialized urandom read (4 bytes read)
. ok
[ ok ] Starting entropy daemon: haveged.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[....] Starting OpenBSD Secure Shell server: sshd[   34.865291][ T1421] random: crng init done
[   34.869673][ T1421] random: 1 urandom warning(s) missed due to ratelimiting
. ok
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 kaceM300-2 ttyS0

kaceM300-2 login:

dmesg output:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.9-kirkwood-tld-2 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Wed Aug 28 03:55:21 PDT 2019
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Dell KACE M300
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Ignoring RAM at 0x70000000-0x80000000
[    0.000000] Consider using a HIGHMEM enabled kernel.
[    0.000000] On node 0 totalpages: 458752
[    0.000000]   Normal zone: 3584 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 458752 pages, LIFO batch:63
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 455168
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7e000@0(uboot),0x2000@0x7e000(u-boot-env) raid=noautodetect
[    0.000000] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Memory: 1793944K/1835008K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 300K bss, 41064K reserved, 0K cma-reserved)
[    0.000000] random: get_random_u32 called from cache_alloc_refill+0x52c/0x924 with crng_init=0
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000006] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000037] Switching to timer-based delay loop, resolution 5ns
[    0.000594] Console: colour dummy device 80x30
[    0.000638] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000659] pid_max: default: 32768 minimum: 301
[    0.000942] LSM: Security Framework initializing
[    0.001092] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.001122] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.001773] *** VALIDATE proc ***
[    0.002001] *** VALIDATE cgroup1 ***
[    0.002023] *** VALIDATE cgroup2 ***
[    0.002104] CPU: Testing write buffer coherency: ok
[    0.003506] Setting up static identity map for 0x100000 - 0x100058
[    0.003719] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.003951] rcu: Hierarchical SRCU implementation.
[    0.006374] devtmpfs: initialized
[    0.010303] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010329] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.010536] xor: measuring software checksum speed
[    0.110092]    arm4regs  :  1706.000 MB/sec
[    0.210061]    8regs     :  1090.400 MB/sec
[    0.310060]    32regs    :  1585.600 MB/sec
[    0.310077] xor: using function: arm4regs (1706.000 MB/sec)
[    0.310094] prandom: seed boundary self test passed
[    0.312603] prandom: 100 self tests passed
[    0.312612] pinctrl core: initialized pinctrl subsystem
[    0.313782] NET: Registered protocol family 16
[    0.314193] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.314864] audit: initializing netlink subsys (disabled)
[    0.315905] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.316007] cpuidle: using governor ladder
[    0.316074] cpuidle: using governor menu
[    0.316474] Feroceon L2: Enabling L2
[    0.316514] Feroceon L2: Cache support initialised.
[    0.320423] No ATAGs?
[    2.560042] random: fast init done
[    3.538320] alg: No test for lzo-rle (lzo-rle-generic)
[    3.538574] alg: No test for lzo-rle (lzo-rle-scomp)
[    3.710577] raid6: int32x8  gen()   208 MB/s
[    3.880191] raid6: int32x8  xor()   142 MB/s
[    4.050301] raid6: int32x4  gen()   208 MB/s
[    4.220189] raid6: int32x4  xor()   138 MB/s
[    4.390318] raid6: int32x2  gen()   209 MB/s
[    4.560198] raid6: int32x2  xor()   152 MB/s
[    4.730235] raid6: int32x1  gen()   157 MB/s
[    4.900076] raid6: int32x1  xor()   109 MB/s
[    4.900084] raid6: using algorithm int32x2 gen() 209 MB/s
[    4.900089] raid6: .... xor() 152 MB/s, rmw enabled
[    4.900095] raid6: using intx1 recovery algorithm
[    4.900298] vgaarb: loaded
[    4.900662] SCSI subsystem initialized
[    4.900851] libata version 3.00 loaded.
[    4.901038] usbcore: registered new interface driver usbfs
[    4.901083] usbcore: registered new interface driver hub
[    4.901140] usbcore: registered new device driver usb
[    4.901276] pps_core: LinuxPPS API ver. 1 registered
[    4.901284] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    4.901302] PTP clock support registered
[    4.902272] clocksource: Switched to clocksource orion_clocksource
[    5.508427] VFS: Disk quotas dquot_6.6.0
[    5.508502] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.515245] NET: Registered protocol family 2
[    5.515845] tcp_listen_portaddr_hash hash table entries: 1024 (order: 1, 8192 bytes)
[    5.515886] TCP established hash table entries: 16384 (order: 4, 65536 bytes)
[    5.516080] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    5.516272] TCP: Hash tables configured (established 16384 bind 16384)
[    5.516361] UDP hash table entries: 1024 (order: 2, 16384 bytes)
[    5.516419] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes)
[    5.516622] NET: Registered protocol family 1
[    5.517117] RPC: Registered named UNIX socket transport module.
[    5.517127] RPC: Registered udp transport module.
[    5.517133] RPC: Registered tcp transport module.
[    5.517138] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.517148] PCI: CLS 0 bytes, default 32
[    5.517325] Trying to unpack rootfs image as initramfs...
[    6.066747] Freeing initrd memory: 9564K
[    6.066883] NetWinder Floating Point Emulator V0.97 (double precision)
[    6.067779] Initialise system trusted keyrings
[    6.067818] Key type blacklist registered
[    6.067986] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    6.068050] zbud: loaded
[    6.068849] NFS: Registering the id_resolver key type
[    6.068872] Key type id_resolver registered
[    6.068879] Key type id_legacy registered
[    6.068893] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.068905] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.069138] jffs2: version 2.2. (NAND) (SUMMARY)  \xc2\xa9 2001-2006 Red Hat, Inc.
[    6.069297] fuse: init (API version 7.31)
[    6.069579] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.069713] orangefs_init: module version upstream loaded
[    6.069721] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    6.081908] async_tx: api initialized (async)
[    6.081927] Key type asymmetric registered
[    6.081934] Asymmetric key parser 'x509' registered
[    6.081990] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    6.083078] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.084443] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    6.084458] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.084469] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    6.084479] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    6.084489] pci_bus 0000:00: scanning bus
[    6.084557] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    6.084586] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    6.085340] pci_bus 0000:00: fixups for bus
[    6.085350] PCI: bus0: Fast back to back transfers disabled
[    6.085363] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    6.085370] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    6.085383] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    6.085467] pci_bus 0000:01: scanning bus
[    6.086051] pci_bus 0000:01: fixups for bus
[    6.086056] PCI: bus1: Fast back to back transfers enabled
[    6.086065] pci_bus 0000:01: bus scan returning with max=01
[    6.086074] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    6.086085] pci_bus 0000:00: bus scan returning with max=01
[    6.086205] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    6.086217] pci 0000:00:01.0: PCI bridge to [bus 01]
[    6.086287] pcieport 0000:00:01.0: assign IRQ: got 0
[    6.086304] pcieport 0000:00:01.0: enabling bus mastering
[    6.086630] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.142797] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.144089] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.202792] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.204266] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.205178] printk: console [ttyS0] disabled
[    6.205235] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    7.058711] printk: console [ttyS0] enabled
[    7.068927] loop: module loaded
[    7.073055] sata_mv f1080000.sata: version 1.28
[    7.073263] sata_mv f1080000.sata: slots 32 ports 2
[    7.080771] scsi host0: sata_mv
[    7.085096] scsi host1: sata_mv
[    7.089146] ata1: SATA max UDMA/133 irq 33
[    7.094005] ata2: SATA max UDMA/133 irq 33
[    7.100065] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    7.105632] 2 cmdlinepart partitions found on MTD device spi0.0
[    7.112288] Creating 2 MTD partitions on "spi0.0":
[    7.117796] 0x000000000000-0x00000007e000 : "uboot"
[    7.124443] 0x00000007e000-0x000000080000 : "u-boot-env"
[    7.132089] libphy: Fixed MDIO Bus: probed
[    7.137492] libphy: orion_mdio_bus: probed
[    7.152372] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    7.160234] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    7.167961] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 18:03:73:41:db:57
[    7.177551] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.184907] ehci-pci: EHCI PCI platform driver
[    7.190107] ehci-orion: EHCI orion driver
[    7.195007] orion-ehci f1050000.ehci: EHCI Host Controller
[    7.201233] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    7.209789] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    7.242296] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.249218] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    7.258240] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.266203] usb usb1: Product: EHCI Host Controller
[    7.271796] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-2 ehci_hcd
[    7.279152] usb usb1: SerialNumber: f1050000.ehci
[    7.285024] hub 1-0:1.0: USB hub found
[    7.289517] hub 1-0:1.0: 1 port detected
[    7.294685] usbcore: registered new interface driver usb-storage
[    7.301680] mousedev: PS/2 mouse device common for all mice
[    7.308423] rtc-mv f1010300.rtc: registered as rtc0
[    7.314171] i2c /dev entries driver
[    7.318831] device-mapper: uevent: version 1.0.3
[    7.324431] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    7.333945] device-mapper: multipath round-robin: version 1.2.0 loaded
[    7.341230] device-mapper: multipath queue-length: version 0.2.0 loaded
[    7.348610] device-mapper: multipath service-time: version 0.3.0 loaded
[    7.356068] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    7.362921] device-mapper: raid: Loading target version 1.14.0
[    7.370274] hidraw: raw HID events driver (C) Jiri Kosina
[    7.376678] drop_monitor: Initializing network drop monitor service
[    7.383911] NET: Registered protocol family 17
[    7.389280] Key type dns_resolver registered
[    7.394891] registered taskstats version 1
[    7.399728] Loading compiled-in X.509 certificates
[    7.405422] zswap: loaded using pool lzo/zbud
[    7.475076] Key type big_key registered
[    7.508776] Key type encrypted registered
[    7.515240] rtc-mv f1010300.rtc: setting system clock to 2022-02-17T11:27:04 UTC (1645097224)
[    7.592337] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.603828] ata1.00: ATA-7: TS16GSSD25H-M, 20100712, max UDMA/133
[    7.610647] ata1.00: 31277056 sectors, multi 0: LBA48
[    7.623197] ata1.00: configured for UDMA/133
[    7.638589] scsi 0:0:0:0: Direct-Access     ATA      TS16GSSD25H-M    0712 PQ: 0 ANSI: 5
[    7.648217] sd 0:0:0:0: [sda] 31277056 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    7.656969] sd 0:0:0:0: [sda] Write Protect is off
[    7.662535] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.670009] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    7.670103] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.681302]  sda: sda1
[    7.685513] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.872797] usb 1-1: New USB device found, idVendor=058f, idProduct=6254, bcdDevice= 1.00
[    7.881720] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    7.890150] hub 1-1:1.0: USB hub found
[    7.894790] hub 1-1:1.0: 4 ports detected
[    7.995919] ata2: SATA link down (SStatus 0 SControl F300)
[    8.015401] Freeing unused kernel memory: 1024K
[    8.021091] Checked W+X mappings: passed, no W+X pages found
[    8.027493] Run /init as init process
[    8.558233] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[   19.037607] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.056130] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   20.399934] Unable to handle kernel NULL pointer dereference at virtual address 00000004
[   20.422155] pgd = (ptrval)
[   20.428956] [00000004] *pgd=00000000
[   20.437683] Internal error: Oops: 5 [#1] PREEMPT ARM
[   20.443373] Modules linked in: gpio_keys
[   20.448014] CPU: 0 PID: 392 Comm: udevadm Not tainted 5.2.9-kirkwood-tld-2 #1
[   20.455876] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   20.462869] PC is at kernfs_fop_open+0x78/0x34c
[   20.468112] LR is at kernfs_fop_open+0x28/0x34c
[   20.473352] pc : [<802f0bb0>]    lr : [<802f0b60>]    psr: a0000013
[   20.480336] sp : eeeefde8  ip : 00000001  fp : 00000000
[   20.486275] r10: 00000000  r9 : ee0bc680  r8 : ee0bc688
[   20.492214] r7 : 80a0f760  r6 : eeda8dc0  r5 : ee40d2a0  r4 : 00000000
[   20.499459] r3 : 00000001  r2 : 00000001  r1 : 60000013  r0 : eeda8dc0
[   20.506707] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   20.514563] Control: 0005397f  Table: 3f440000  DAC: 00000051
[   20.521024] Process udevadm (pid: 392, stack limit = 0x(ptrval))
[   20.527748] Stack: (0xeeeefde8 to 0xeeef0000)
[   20.532817] fde0:                   ee40d2a0 ee0bc680 b091e452 ee0bc680 ee40d2a0 ee0bc680
[   20.541729] fe00: 802f0b38 ee0bc688 00000000 00000000 00000000 802691b4 eeeefec0 00000000
[   20.550640] fe20: ee0bc680 ee40d2a0 00000000 ee523690 00000000 8027c594 eeeefeb8 00000000
[   20.559553] fe40: 80f04028 00000000 eeeeff70 00020000 00000000 00000000 eeeee000 ee522d48
[   20.568463] fe60: 00000041 00000000 00000004 00000000 eeeefec8 eeeefe8c eeeefeb8 00000000
[   20.577376] fe80: ee40d2a0 eec2b650 ee40c088 eeeefe8c eeeefe8c b091e452 eeeefec0 00000005
[   20.586289] fea0: 80f04028 eeeeff70 00000001 bfb06000 eeeee000 00000000 7ed8e8fc 8027c788
[   20.595200] fec0: eec2b650 ee40c088 06920c43 00000006 bfb0602e 00000dc0 bf9e1710 ee4f6f68
[   20.604111] fee0: ee40d2a0 00000101 00000000 00000062 00000000 00000000 00000000 eeeeff00
[   20.613024] ff00: 7ed8e878 00000ff0 bfb06010 ffffe000 00271788 80636208 bfb06010 00000ff0
[   20.621935] ff20: 00000ff0 b091e452 00000005 bfa5cc34 bfb06000 00000000 bfa5cc20 00000002
[   20.630848] ff40: ffffff9c 8028ab50 021dc150 b091e452 80f04028 00000005 ffffff9c 80f04028
[   20.639759] ff60: 000a0000 8026a508 ffffff9c 00000015 00020000 eec20000 00000004 00000100
[   20.648671] ff80: 00000001 b091e452 021dc150 76f08968 00000008 00000142 80101208 eeeee000
[   20.657583] ffa0: 00000000 80101000 021dc150 76f08968 ffffff9c 7ed8e878 000a0000 00000000
[   20.666495] ffc0: 021dc150 76f08968 00000008 00000142 7ed8e878 021fc4b0 021e49e0 7ed8e8fc
[   20.675406] ffe0: 76ed4000 7ed8e6e8 8fd41c00 76e4c250 60000010 ffffff9c 00000000 00000000
[   20.684333] [<802f0bb0>] (kernfs_fop_open) from [<802691b4>] (do_dentry_open+0x220/0x394)
[   20.693247] [<802691b4>] (do_dentry_open) from [<8027c594>] (path_openat+0xc30/0xde8)
[   20.701814] [<8027c594>] (path_openat) from [<8027c788>] (do_filp_open+0x3c/0x9c)
[   20.710027] [<8027c788>] (do_filp_open) from [<8026a508>] (do_sys_open+0xfc/0x1e8)
[   20.718328] [<8026a508>] (do_sys_open) from [<80101000>] (ret_fast_syscall+0x0/0x50)
[   20.726799] Exception stack(0xeeeeffa8 to 0xeeeefff0)
[   20.732565] ffa0:                   021dc150 76f08968 ffffff9c 7ed8e878 000a0000 00000000
[   20.741478] ffc0: 021dc150 76f08968 00000008 00000142 7ed8e878 021fc4b0 021e49e0 7ed8e8fc
[   20.750387] ffe0: 76ed4000 7ed8e6e8 8fd41c00 76e4c250
[   20.756155] Code: 1a000002 e597202c e2922000 13a02001 (e5941004)
[   20.778193] ---[ end trace 32c8ebac55fa9d63 ]---
[   21.439835] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   23.254959] random: dd: uninitialized urandom read (512 bytes read)
[   23.813834] NET: Registered protocol family 10
[   23.819954] Segment Routing with IPv6
[   25.968790] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   25.979406] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   32.320881] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[   32.345077] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[   32.463869] random: avahi-daemon: uninitialized urandom read (4 bytes read)
[   34.865291] random: crng init done
[   34.869673] random: 1 urandom warning(s) missed due to ratelimiting

For comparison here's a successful boot with a USB UART plugged in:

kwboot.exe -p -t -B 115200 -b uboot.2021.10-tld-1.m300.mtd0.kwb /dev/ttyS4
Sending boot message. Please reboot the target... |
Sending boot image...
  0 % [......................................................................]
 98 % [..............................................................]
[Type Ctrl-\ + c to quit]
?

U-Boot 2021.10-tld-1 (Feb 15 2022 - 17:41:23 -0800)
Dell KACE M300

SoC:   Kirkwood 88F6282_A1
Model: Dell KACE M300
DRAM:  2 GiB
Loading Environment from SPIFlash... SF: Detected mx25l4005a with page size 256
Bytes, erase size 4 KiB, total 512 KiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:
Warning: ethernet-controller@72000 (eth0) using random MAC address - 7a:fd:cb:34:db:78
eth0: ethernet-controller@72000
MV88E1318 PHY initialized on ethernet-controller@72000
Hit any key to stop autoboot:  0
Initializing devices...
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Unknown command 'mmc' - try 'help'
Loading envs from usb 0...
Couldn't find partition usb 0:1
Can't set block device
Loading envs from usb 1...
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
160 bytes read in 8 ms (19.5 KiB/s)
... envs loaded
importing envs ...
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
device usb 0:1
Couldn't find partition usb 0:1
Can't set block device
device usb 1:1
Couldn't find partition usb 1:1
Can't set block device
device usb 2:1
Couldn't find partition usb 2:1
Can't set block device
device usb 3:1
Couldn't find partition usb 3:1
Can't set block device
Scan device sata
device sata 0:1
1 bytes read in 6 ms (0 Bytes/s)
Found bootable drive on sata 0
loading uImage ...
4981772 bytes read in 78 ms (60.9 MiB/s)
loading uInitrd ...
9789966 bytes read in 146 ms (63.9 MiB/s)
loading DTB ...
** No boot file defined **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-2
   Created:      2019-09-18   8:31:06 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4981708 Bytes = 4.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-2
   Created:      2020-03-02   9:34:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9789902 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image
   Loading Ramdisk to 3f6a9000, end 3ffff1ce ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-2 (root@tldDebian) (gccversion 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Wed Aug 28 03:55:21PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Dell KACE M300
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Ignoring RAM at 0x70000000-0x80000000
[    0.000000][    T0] Consider using a HIGHMEM enabled kernel.
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 455168
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7e000@0(uboot),0x2000@0x7e000(u-boot-env) raid=noautodetect
[    0.000000][    T0] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000][    T0] Memory: 1793944K/1835008K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 300K bss, 41064K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x52c/0x924 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.000006][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000037][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000594][    T0] Console: colour dummy device 80x30
[    0.000638][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000659][    T0] pid_max: default: 32768 terminal: Resource temporarily unavailable

kicked out of kwboot, continued in serial connection (successful boots don't always get kicked out of kwboot):

Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: clean, 20059/979200 files, 299644/3909376 blocks
done.
[   19.087470][  T194] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.106029][  T194] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
[ ok ] Synthesizing the initial hotplug events (subsystems)...done.
[....] Synthesizing the initial hotplug events (devices)...[   20.666403][  T374] systemd-udevd[374]: Using default interface naming scheme 'v240'.
done.
[....] Waiting for /dev to be fully populated...[   20.808655][  T374] systemd-udevd[374]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   20.895016][  T373] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   21.052809][  T373] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   21.146004][  T373] orion_wdt: Initial timeout 21 sec
[   21.163777][  T415] usbcore: registered new interface driver usbserial_generic
[   21.171082][  T415] usbserial: USB Serial support registered for generic
[   21.209650][  T436] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   21.279897][  T413] marvell-cesa f1030000.crypto: CESA device successfully registered
[   21.332983][  T415] usbcore: registered new interface driver cp210x
[   21.339329][  T415] usbserial: USB Serial support registered for cp210x
[   21.369459][  T376] systemd-udevd[376]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   21.445977][  T415] cp210x 1-1.3:1.0: cp210x converter detected
[   21.501836][  T415] usb 1-1.3: cp210x converter now attached to ttyUSB0
done.
[ ok ] Setting hostname to 'kaceM300-2'...done.
[ ok ] Activating swap:.
[   22.248806][  T595] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
LABEL=rootfs is mounted
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs[ ok hat location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Starting Setting kernel variables: sysctl.
[....] Initializing random number generator...[   24.120227][ T1069] random: dd: uninitialized urandom read (512 bytes read)
done.
[....] Configuring network interfaces...[   24.684392][ T1136] NET: Registered protocol family 10
[   24.690569][ T1136] Segment Routing with IPv6
[   26.901492][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   26.912115][   T15] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1346 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1373 (klogd)
. ok
[....] Starting system message bus: dbus[   33.200139][ T1403] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[   33.224002][ T1403] random: dbus-daemon: uninitialized urandom read (12 bytes read)
. ok
[....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[   33.344203][ T1426] random: avahi-daemon: uninitialized urandom read (4 bytes read)
. ok
[ ok ] Starting entropy daemon: haveged.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[....] Starting OpenBSD Secure Shell server: sshd[   35.762162][ T1455] random: crng init done
[   35.766635][ T1455] random: 1 urandom warning(s) missed due to ratelimiting
. ok
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 kaceM300-2 ttyS0

kaceM300-2 login:

dmesg output:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.9-kirkwood-tld-2 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Wed Aug 28 03:55:21 PDT 2019
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Dell KACE M300
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Ignoring RAM at 0x70000000-0x80000000
[    0.000000] Consider using a HIGHMEM enabled kernel.
[    0.000000] On node 0 totalpages: 458752
[    0.000000]   Normal zone: 3584 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 458752 pages, LIFO batch:63
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 455168
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7e000@0(uboot),0x2000@0x7e000(u-boot-env) raid=noautodetect
[    0.000000] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Memory: 1793944K/1835008K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 300K bss, 41064K reserved, 0K cma-reserved)
[    0.000000] random: get_random_u32 called from cache_alloc_refill+0x52c/0x924 with crng_init=0
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000006] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000037] Switching to timer-based delay loop, resolution 5ns
[    0.000594] Console: colour dummy device 80x30
[    0.000638] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000659] pid_max: default: 32768 minimum: 301
[    0.000942] LSM: Security Framework initializing
[    0.001092] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.001122] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.001773] *** VALIDATE proc ***
[    0.002001] *** VALIDATE cgroup1 ***
[    0.002023] *** VALIDATE cgroup2 ***
[    0.002104] CPU: Testing write buffer coherency: ok
[    0.003506] Setting up static identity map for 0x100000 - 0x100058
[    0.003719] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.003951] rcu: Hierarchical SRCU implementation.
[    0.006374] devtmpfs: initialized
[    0.010302] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010329] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.010536] xor: measuring software checksum speed
[    0.110094]    arm4regs  :  1706.000 MB/sec
[    0.210061]    8regs     :  1090.400 MB/sec
[    0.310060]    32regs    :  1585.600 MB/sec
[    0.310076] xor: using function: arm4regs (1706.000 MB/sec)
[    0.310092] prandom: seed boundary self test passed
[    0.312601] prandom: 100 self tests passed
[    0.312610] pinctrl core: initialized pinctrl subsystem
[    0.313781] NET: Registered protocol family 16
[    0.314192] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.314862] audit: initializing netlink subsys (disabled)
[    0.315904] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.316006] cpuidle: using governor ladder
[    0.316074] cpuidle: using governor menu
[    0.316477] Feroceon L2: Enabling L2
[    0.316517] Feroceon L2: Cache support initialised.
[    0.320427] No ATAGs?
[    2.560041] random: fast init done
[    3.538205] alg: No test for lzo-rle (lzo-rle-generic)
[    3.538463] alg: No test for lzo-rle (lzo-rle-scomp)
[    3.710576] raid6: int32x8  gen()   208 MB/s
[    3.880189] raid6: int32x8  xor()   142 MB/s
[    4.050120] raid6: int32x4  gen()   208 MB/s
[    4.220190] raid6: int32x4  xor()   138 MB/s
[    4.390233] raid6: int32x2  gen()   210 MB/s
[    4.560200] raid6: int32x2  xor()   152 MB/s
[    4.730236] raid6: int32x1  gen()   157 MB/s
[    4.900078] raid6: int32x1  xor()   109 MB/s
[    4.900086] raid6: using algorithm int32x2 gen() 210 MB/s
[    4.900092] raid6: .... xor() 152 MB/s, rmw enabled
[    4.900097] raid6: using intx1 recovery algorithm
[    4.900299] vgaarb: loaded
[    4.900663] SCSI subsystem initialized
[    4.900852] libata version 3.00 loaded.
[    4.901038] usbcore: registered new interface driver usbfs
[    4.901083] usbcore: registered new interface driver hub
[    4.901143] usbcore: registered new device driver usb
[    4.901275] pps_core: LinuxPPS API ver. 1 registered
[    4.901283] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    4.901302] PTP clock support registered
[    4.902263] clocksource: Switched to clocksource orion_clocksource
[    5.508469] VFS: Disk quotas dquot_6.6.0
[    5.508543] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.515289] NET: Registered protocol family 2
[    5.515888] tcp_listen_portaddr_hash hash table entries: 1024 (order: 1, 8192 bytes)
[    5.515930] TCP established hash table entries: 16384 (order: 4, 65536 bytes)
[    5.516124] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    5.516316] TCP: Hash tables configured (established 16384 bind 16384)
[    5.516403] UDP hash table entries: 1024 (order: 2, 16384 bytes)
[    5.516461] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes)
[    5.516665] NET: Registered protocol family 1
[    5.517159] RPC: Registered named UNIX socket transport module.
[    5.517168] RPC: Registered udp transport module.
[    5.517174] RPC: Registered tcp transport module.
[    5.517179] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.517190] PCI: CLS 0 bytes, default 32
[    5.517366] Trying to unpack rootfs image as initramfs...
[    6.066977] Freeing initrd memory: 9564K
[    6.067114] NetWinder Floating Point Emulator V0.97 (double precision)
[    6.068010] Initialise system trusted keyrings
[    6.068050] Key type blacklist registered
[    6.068222] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    6.068286] zbud: loaded
[    6.069077] NFS: Registering the id_resolver key type
[    6.069100] Key type id_resolver registered
[    6.069107] Key type id_legacy registered
[    6.069120] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.069133] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.069364] jffs2: version 2.2. (NAND) (SUMMARY)  \xc2\xa9 2001-2006 Red Hat, Inc.
[    6.069521] fuse: init (API version 7.31)
[    6.069806] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.069938] orangefs_init: module version upstream loaded
[    6.069947] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    6.082153] async_tx: api initialized (async)
[    6.082172] Key type asymmetric registered
[    6.082179] Asymmetric key parser 'x509' registered
[    6.082235] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    6.083312] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.084674] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    6.084690] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.084700] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    6.084711] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    6.084720] pci_bus 0000:00: scanning bus
[    6.084786] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    6.084816] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    6.085572] pci_bus 0000:00: fixups for bus
[    6.085582] PCI: bus0: Fast back to back transfers disabled
[    6.085595] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    6.085601] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    6.085614] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    6.085697] pci_bus 0000:01: scanning bus
[    6.086280] pci_bus 0000:01: fixups for bus
[    6.086285] PCI: bus1: Fast back to back transfers enabled
[    6.086294] pci_bus 0000:01: bus scan returning with max=01
[    6.086302] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    6.086313] pci_bus 0000:00: bus scan returning with max=01
[    6.086432] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    6.086445] pci 0000:00:01.0: PCI bridge to [bus 01]
[    6.086514] pcieport 0000:00:01.0: assign IRQ: got 0
[    6.086531] pcieport 0000:00:01.0: enabling bus mastering
[    6.086858] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.142788] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.144082] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.202782] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.204250] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.205159] printk: console [ttyS0] disabled
[    6.205216] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    7.058692] printk: console [ttyS0] enabled
[    7.068900] loop: module loaded
[    7.073030] sata_mv f1080000.sata: version 1.28
[    7.073238] sata_mv f1080000.sata: slots 32 ports 2
[    7.080748] scsi host0: sata_mv
[    7.085080] scsi host1: sata_mv
[    7.089136] ata1: SATA max UDMA/133 irq 33
[    7.093995] ata2: SATA max UDMA/133 irq 33
[    7.100055] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    7.105622] 2 cmdlinepart partitions found on MTD device spi0.0
[    7.112278] Creating 2 MTD partitions on "spi0.0":
[    7.117786] 0x000000000000-0x00000007e000 : "uboot"
[    7.124422] 0x00000007e000-0x000000080000 : "u-boot-env"
[    7.132055] libphy: Fixed MDIO Bus: probed
[    7.137460] libphy: orion_mdio_bus: probed
[    7.152394] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    7.160259] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    7.167982] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 18:03:73:41:db:57
[    7.177576] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.184934] ehci-pci: EHCI PCI platform driver
[    7.190141] ehci-orion: EHCI orion driver
[    7.195041] orion-ehci f1050000.ehci: EHCI Host Controller
[    7.201267] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    7.209824] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    7.242286] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.249209] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    7.258230] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.266193] usb usb1: Product: EHCI Host Controller
[    7.271787] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-2 ehci_hcd
[    7.279142] usb usb1: SerialNumber: f1050000.ehci
[    7.285013] hub 1-0:1.0: USB hub found
[    7.289507] hub 1-0:1.0: 1 port detected
[    7.294678] usbcore: registered new interface driver usb-storage
[    7.301669] mousedev: PS/2 mouse device common for all mice
[    7.308415] rtc-mv f1010300.rtc: registered as rtc0
[    7.314171] i2c /dev entries driver
[    7.318830] device-mapper: uevent: version 1.0.3
[    7.324430] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    7.333945] device-mapper: multipath round-robin: version 1.2.0 loaded
[    7.341229] device-mapper: multipath queue-length: version 0.2.0 loaded
[    7.348610] device-mapper: multipath service-time: version 0.3.0 loaded
[    7.356067] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    7.362919] device-mapper: raid: Loading target version 1.14.0
[    7.370270] hidraw: raw HID events driver (C) Jiri Kosina
[    7.376674] drop_monitor: Initializing network drop monitor service
[    7.383904] NET: Registered protocol family 17
[    7.389270] Key type dns_resolver registered
[    7.394877] registered taskstats version 1
[    7.399718] Loading compiled-in X.509 certificates
[    7.405412] zswap: loaded using pool lzo/zbud
[    7.474965] Key type big_key registered
[    7.508703] Key type encrypted registered
[    7.515166] rtc-mv f1010300.rtc: setting system clock to 2022-02-17T11:45:45 UTC (1645098345)
[    7.592329] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.603825] ata1.00: ATA-7: TS16GSSD25H-M, 20100712, max UDMA/133
[    7.610646] ata1.00: 31277056 sectors, multi 0: LBA48 
[    7.623196] ata1.00: configured for UDMA/133
[    7.638584] scsi 0:0:0:0: Direct-Access     ATA      TS16GSSD25H-M    0712 PQ: 0 ANSI: 5
[    7.648219] sd 0:0:0:0: [sda] 31277056 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    7.656970] sd 0:0:0:0: [sda] Write Protect is off
[    7.662535] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.670007] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    7.670104] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.681304]  sda: sda1
[    7.685505] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.872705] usb 1-1: New USB device found, idVendor=058f, idProduct=6254, bcdDevice= 1.00
[    7.881630] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    7.890056] hub 1-1:1.0: USB hub found
[    7.894698] hub 1-1:1.0: 4 ports detected
[    7.995834] ata2: SATA link down (SStatus 0 SControl F300)
[    8.015317] Freeing unused kernel memory: 1024K
[    8.021001] Checked W+X mappings: passed, no W+X pages found
[    8.027404] Run /init as init process
[    8.212362] usb 1-1.3: new full-speed USB device number 3 using orion-ehci
[    8.374591] usb 1-1.3: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[    8.398250] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.422910] usb 1-1.3: Product: CP2102 USB to UART Bridge Controller
[    8.429996] usb 1-1.3: Manufacturer: Silicon Labs
[    8.462422] usb 1-1.3: SerialNumber: 0001
[    8.611854] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[   19.087470] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.106029] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   20.666403] systemd-udevd[374]: Using default interface naming scheme 'v240'.
[   20.808655] systemd-udevd[374]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   20.895016] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   21.052809] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   21.146004] orion_wdt: Initial timeout 21 sec
[   21.163777] usbcore: registered new interface driver usbserial_generic
[   21.171082] usbserial: USB Serial support registered for generic
[   21.209650] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   21.279897] marvell-cesa f1030000.crypto: CESA device successfully registered
[   21.332983] usbcore: registered new interface driver cp210x
[   21.339329] usbserial: USB Serial support registered for cp210x
[   21.369459] systemd-udevd[376]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   21.445977] cp210x 1-1.3:1.0: cp210x converter detected
[   21.501836] usb 1-1.3: cp210x converter now attached to ttyUSB0
[   22.248806] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   24.120227] random: dd: uninitialized urandom read (512 bytes read)
[   24.684392] NET: Registered protocol family 10
[   24.690569] Segment Routing with IPv6
[   26.901492] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   26.912115] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   33.200139] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[   33.224002] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[   33.344203] random: avahi-daemon: uninitialized urandom read (4 bytes read)
[   35.762162] random: crng init done
[   35.766635] random: 1 urandom warning(s) missed due to ratelimiting

So it's 4am and I'm pretty tired, so I hope I didn't do something stupid again.
Re: Debian on Dell Kace M300
February 17, 2022 09:34PM
Let let me see, I will reformat the internal SSD as rootfs and try it.

I never got kicked out of kwboot. That's very strange. Like when there are too much noise at the UART port.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Kace M300
February 18, 2022 03:45AM
OK. I've reformatted the internal SSD and put the latest rootfs on it. The internal SSD is the only drive in the box.

kwboot with the new u-boot, booted all the way into Debian, and did not see any error.

root@m300:~# uname -a
Linux m300 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 armv5tel GNU/Linux
root@m300:~# dmesg | egrep -i '(sata|sda)'
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 mtdparts=spi0.0:0x7e000@0(uboot),0x1000@0x7e000(u-boot-env) earlyprintk=serial
[    7.054926] sata_mv f1080000.sata: version 1.28
[    7.055307] sata_mv f1080000.sata: slots 32 ports 2
[    7.063839] scsi host0: sata_mv
[    7.068185] scsi host1: sata_mv
[    7.072286] ata1: SATA max UDMA/133 irq 33
[    7.077103] ata2: SATA max UDMA/133 irq 33
[    7.579659] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.639340] sd 0:0:0:0: [sda] 31277056 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    7.648104] sd 0:0:0:0: [sda] Write Protect is off
[    7.653693] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    7.653794] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.665083]  sda: sda1
[    7.669348] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.981097] ata2: SATA link down (SStatus 0 SControl F300)
[   19.182138] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.229851] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   22.503926] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
root@m300:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            875M     0  875M   0% /dev
tmpfs           176M  276K  176M   1% /run
/dev/sda1        15G  651M   14G   5% /
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           352M     0  352M   0% /dev/shm
tmpfs           880M     0  880M   0% /tmp
root@m300:~# lsblk 
NAME      MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda         8:0    0 14.9G  0 disk 
`-sda1      8:1    0 14.9G  0 part /
mtdblock0  31:0    0  504K  0 disk 
mtdblock1  31:1    0    4K  0 disk
root@m300:~# free -h
               total        used        free      shared  buff/cache   available
Mem:           1.7Gi        15Mi       1.7Gi       0.0Ki        39Mi       1.7Gi
Swap:             0B          0B          0B

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Kace M300
February 18, 2022 05:44PM
@daviddyer and @Leggo,

It would be good if you guys can try testing for new u-boot.

However, since JT is also running the stock SSD, like I do. Not sure why the error.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Kace M300
February 18, 2022 07:14PM
I don't have access to M300 now. As I can remember, the stability issue might come from the u-boot enviroment. Maybe we need to set a "standard" enviroment for this M300.
Re: Debian on Dell Kace M300
February 18, 2022 07:59PM
David,

> I don't have access to M300 now. As I can
> remember, the stability issue might come from the
> u-boot enviroment. Maybe we need to set a
> "standard" enviroment for this M300.

The new u-boot default envs (internal envs) are the new standard. The uEnv.txt is the additional envs on top of that.

Since the rootfs is still with appended DTB, I use it to clear the variable dtb_file. That is so you don't need to change the current rootfs.

And I set other envs just for convenient. The 2 bold ones below is the requirements to boot this M300 box.

dtb_file=
ethaddr=18:03:73:xx:xx:xx
ipaddr=192.168.0.249
serverip=192.168.0.220
custom_params=raid=noautodetect
load_initrd_addr=0x2100000
initrd_high=0x40000000

That said, load_initrd_addr=0x2100000 and initrd_high=0x40000000 will be incorporated into the default envs. So when I build the next time, we then really have a standard set of envs inside u-boot (no need to use uEnv.txt).

When we flash u-boot image and envs image for real, I will prepare the default envs image using exactly the internal u-boot envs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Kace M300
February 18, 2022 08:00PM
I had some spare time so I tried this kwboot on a Kace machine that otherwise boots normally from mSATA into Debian if a USB device is plugged in (I use a IR receiver dongle from an old windows media player). My version of Debian is a bit older than the one bodhi used a few posts back:
 root@kace:~# uname -a    
Linux kace 5.2.9-kirkwood-tld-2 #1 PREEMPT Wed Aug 28 03:55:21 PDT 2019 armv5tex
I used these values for the uEnv.txt:
root@kace:/boot# more uEnv.txt
dtb_file=
ethaddr=18:03:73:41:db:f0
ipaddr=192.168.200.126
serverip=192.168.200.1
custom_params=raid=noautodetect
load_initrd_addr=0x2100000
initrd_high=0x40000000
Kwboot gave this output with NO USB dongle plugged in:
[root@CQ50 Downloads]# kwboot -p -t -b uboot.2021.10-tld-1.m300.mtd0.kwb  -B 115200 /dev/ttyUSB0
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [......................................................................]
  2 % [......................................................................]
  4 % [......................................................................]
  6 % [......................................................................]
  9 % [......................................................................]
<snip>
 95 % [......................................................................]
 98 % [..............................................................]
[Type Ctrl-\ + c to quit]


U-Boot 2021.10-tld-1 (Feb 15 2022 - 17:41:23 -0800)
Dell KACE M300

SoC:   Kirkwood 88F6282_A1
Model: Dell KACE M300
DRAM:  2 GiB
Loading Environment from SPIFlash... SF: Detected mx25l4005a with page size 256 Bytes, erase size 4 KiB, total 512 KiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   
Warning: ethernet-controller@72000 (eth0) using random MAC address - 92:d2:9f:0e:e0:15
eth0: ethernet-controller@72000
MV88E1318 PHY initialized on ethernet-controller@72000
Hit any key to stop autoboot:  0 
Initializing devices...
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Unknown command 'mmc' - try 'help'
Loading envs from usb 0...
Couldn't find partition usb 0:1
Can't set block device
Loading envs from usb 1...
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
164 bytes read in 7 ms (22.5 KiB/s)
... envs loaded
importing envs ...
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
device usb 0:1
Couldn't find partition usb 0:1
Can't set block device
device usb 1:1
Couldn't find partition usb 1:1
Can't set block device
device usb 2:1
Couldn't find partition usb 2:1
Can't set block device
device usb 3:1
Couldn't find partition usb 3:1
Can't set block device
Scan device sata
device sata 0:1
1 bytes read in 7 ms (0 Bytes/s)
Found bootable drive on sata 0
loading uImage ...
4981772 bytes read in 74 ms (64.2 MiB/s)
loading uInitrd ...
9789382 bytes read in 141 ms (66.2 MiB/s)
loading DTB ...
** No boot file defined **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   5.2.9-kirkwood-tld-2
   Created:      2020-10-25   0:42:02 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4981708 Bytes = 4.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-2
   Created:      2020-10-25   0:43:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9789318 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image
   Loading Ramdisk to 3f6aa000, end 3fffff86 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-2 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Wed Aug 28 03:55:21 PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Dell KACE M300
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Ignoring RAM at 0x70000000-0x80000000
[    0.000000][    T0] Consider using a HIGHMEM enabled kernel.
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 455168
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7e000@0(uboot),0x2000@0x7e000(u-boot-env) raid=noautodetect
[    0.000000][    T0] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000][    T0] Memory: 1793948K/1835008K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 300K bss, 41060K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x52c/0x924 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.000006][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000037][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000594][    T0] Console: colour dummy device 80x30
[    0.000637][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000659][    T0] pid_max: default: 32768 minimum: 301
[    0.000942][    T0] LSM: Security Framework initializing
[    0.001092][    T0] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.001123][    T0] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.001772][    T0] *** VALIDATE proc ***
[    0.002002][    T0] *** VALIDATE cgroup1 ***
[    0.002023][    T0] *** VALIDATE cgroup2 ***
[    0.002103][    T0] CPU: Testing write buffer coherency: ok
[    0.003506][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.003718][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.003950][    T1] rcu: Hierarchical SRCU implementation.
[    0.006373][    T1] devtmpfs: initialized
[    0.010308][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010337][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.010547][    T1] xor: measuring software checksum speed
[    0.110091][    T1]    arm4regs  :  1816.400 MB/sec
[    0.210060][    T1]    8regs     :  1090.400 MB/sec
[    0.310055][    T1]    32regs    :  1585.600 MB/sec
[    0.310072][    T1] xor: using function: arm4regs (1816.400 MB/sec)
[    0.310089][    T1] prandom: seed boundary self test passed
[    0.312598][    T1] prandom: 100 self tests passed
[    0.312607][    T1] pinctrl core: initialized pinctrl subsystem
[    0.313783][    T1] NET: Registered protocol family 16
[    0.314194][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.314865][    T1] audit: initializing netlink subsys (disabled)
[    0.315900][   T14] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.316002][    T1] cpuidle: using governor ladder
[    0.316067][    T1] cpuidle: using governor menu
[    0.316469][    T1] Feroceon L2: Enabling L2
[    0.316509][    T1] Feroceon L2: Cache support initialised.
[    0.320421][    T1] No ATAGs?
[    2.560042][    C0] random: fast init done
[    3.538173][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    3.538428][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    3.710595][    T1] raid6: int32x8  gen()   208 MB/s
[    3.880191][    T1] raid6: int32x8  xor()   142 MB/s
[    4.050060][    T1] raid6: int32x4  gen()   209 MB/s
[    4.220189][    T1] raid6: int32x4  xor()   138 MB/s
[    4.390064][    T1] raid6: int32x2  gen()   209 MB/s
[    4.560198][    T1] raid6: int32x2  xor()   152 MB/s
[    4.730235][    T1] raid6: int32x1  gen()   157 MB/s
[    4.900077][    T1] raid6: int32x1  xor()   109 MB/s
[    4.900085][    T1] raid6: using algorithm int32x2 gen() 209 MB/s
[    4.900090][    T1] raid6: .... xor() 152 MB/s, rmw enabled
[    4.900096][    T1] raid6: using intx1 recovery algorithm
[    4.900298][    T1] vgaarb: loaded
[    4.900662][    T1] SCSI subsystem initialized
[    4.901035][    T1] usbcore: registered new interface driver usbfs
[    4.901079][    T1] usbcore: registered new interface driver hub
[    4.901138][    T1] usbcore: registered new device driver usb
[    4.901272][    T1] pps_core: LinuxPPS API ver. 1 registered
[    4.901280][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    4.901298][    T1] PTP clock support registered
[    4.902259][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.508453][    T1] VFS: Disk quotas dquot_6.6.0
[    5.508528][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.515275][    T1] NET: Registered protocol family 2
[    5.515875][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 1, 8192 bytes)
[    5.515916][    T1] TCP established hash table entries: 16384 (order: 4, 65536 bytes)
[    5.516111][    T1] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    5.516302][    T1] TCP: Hash tables configured (established 16384 bind 16384)
[    5.516391][    T1] UDP hash table entries: 1024 (order: 2, 16384 bytes)
[    5.516449][    T1] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes)
[    5.516653][    T1] NET: Registered protocol family 1
[    5.517143][    T1] RPC: Registered named UNIX socket transport module.
[    5.517153][    T1] RPC: Registered udp transport module.
[    5.517159][    T1] RPC: Registered tcp transport module.
[    5.517164][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.517174][    T1] PCI: CLS 0 bytes, default 32
[    5.517350][    T1] Trying to unpack rootfs image as initramfs...
[    6.067289][    T1] Freeing initrd memory: 9560K
[    6.067425][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    6.068322][    T1] Initialise system trusted keyrings
[    6.068359][    T1] Key type blacklist registered
[    6.068530][    T1] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    6.068604][    T1] zbud: loaded
[    6.069396][    T1] NFS: Registering the id_resolver key type
[    6.069419][    T1] Key type id_resolver registered
[    6.069426][    T1] Key type id_legacy registered
[    6.069439][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.069452][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.069682][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.069840][    T1] fuse: init (API version 7.31)
[    6.070123][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.070258][    T1] orangefs_init: module version upstream loaded
[    6.070267][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    6.082321][    T1] async_tx: api initialized (async)
[    6.082341][    T1] Key type asymmetric registered
[    6.082348][    T1] Asymmetric key parser 'x509' registered
[    6.082404][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    6.083419][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.084781][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    6.084798][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.084808][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    6.084818][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    6.084895][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    6.084924][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    6.085692][    T1] PCI: bus0: Fast back to back transfers disabled
[    6.085712][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    6.086397][    T1] PCI: bus1: Fast back to back transfers enabled
[    6.086415][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    6.086545][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    6.086558][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    6.086971][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.142782][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.144069][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.202780][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.204259][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.205166][    T1] printk: console [ttyS0] disabled
[    6.205224][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    7.058690][    T1] printk: console [ttyS0] enabled
[    7.068877][    T1] loop: module loaded
[    7.073206][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    7.080708][    T1] scsi host0: sata_mv
[    7.085042][    T1] scsi host1: sata_mv
[    7.089098][    T1] ata1: SATA max UDMA/133 irq 33
[    7.093958][    T1] ata2: SATA max UDMA/133 irq 33
[    7.100011][    T1] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    7.105576][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    7.112215][    T1] Creating 2 MTD partitions on "spi0.0":
[    7.117738][    T1] 0x000000000000-0x00000007e000 : "uboot"
[    7.124380][    T1] 0x00000007e000-0x000000080000 : "u-boot-env"
[    7.132021][    T1] libphy: Fixed MDIO Bus: probed
[    7.137422][    T1] libphy: orion_mdio_bus: probed
[    7.152183][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    7.160116][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    7.167820][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 18:03:73:41:db:f0
[    7.177460][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.184774][    T1] ehci-pci: EHCI PCI platform driver
[    7.189981][    T1] ehci-orion: EHCI orion driver
[    7.194881][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    7.201107][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    7.209650][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    7.242284][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.249207][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    7.258228][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.266191][    T1] usb usb1: Product: EHCI Host Controller
[    7.271783][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-2 ehci_hcd
[    7.279139][    T1] usb usb1: SerialNumber: f1050000.ehci
[    7.285011][    T1] hub 1-0:1.0: USB hub found
[    7.289504][    T1] hub 1-0:1.0: 1 port detected
[    7.294674][    T1] usbcore: registered new interface driver usb-storage
[    7.301670][    T1] mousedev: PS/2 mouse device common for all mice
[    7.308412][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    7.314160][    T1] i2c /dev entries driver
[    7.318817][    T1] device-mapper: uevent: version 1.0.3
[    7.324415][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    7.333930][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    7.341218][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    7.348599][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    7.356055][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    7.362908][    T1] device-mapper: raid: Loading target version 1.14.0
[    7.370261][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    7.376660][    T1] drop_monitor: Initializing network drop monitor service
[    7.383893][    T1] NET: Registered protocol family 17
[    7.389262][    T1] Key type dns_resolver registered
[    7.394871][    T1] registered taskstats version 1
[    7.399705][    T1] Loading compiled-in X.509 certificates
[    7.405398][    T1] zswap: loaded using pool lzo/zbud
[    7.474693][    T1] Key type big_key registered
[    7.508509][    T1] Key type encrypted registered
[    7.514973][    T1] rtc-mv f1010300.rtc: setting system clock to 2022-02-18T22:38:48 UTC (1645223928)
[    7.592325][  T112] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.603812][  T112] ata1.00: ATA-7: TS16GSSD25H-M, 20100712, max UDMA/133
[    7.610635][  T112] ata1.00: 31277056 sectors, multi 0: LBA48 
[    7.623185][  T112] ata1.00: configured for UDMA/133
[    7.638574][    T7] scsi 0:0:0:0: Direct-Access     ATA      TS16GSSD25H-M    0712 PQ: 0 ANSI: 5
[    7.648210][  T116] sd 0:0:0:0: [sda] 31277056 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    7.656958][  T116] sd 0:0:0:0: [sda] Write Protect is off
[    7.662521][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.670092][  T116] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.681753][  T116]  sda: sda1 sda2
[    7.686535][  T116] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.872782][   T15] usb 1-1: New USB device found, idVendor=058f, idProduct=6254, bcdDevice= 1.00
[    7.881707][   T15] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    7.890148][   T15] hub 1-1:1.0: USB hub found
[    7.894776][   T15] hub 1-1:1.0: 4 ports detected
[    7.995882][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[    8.015370][    T1] Freeing unused kernel memory: 1024K
[    8.021063][    T1] Checked W+X mappings: passed, no W+X pages found
[    8.027463][    T1] Run /init as init process
Loading, please wait...
Starting version 241
[    8.559140][  T171] input: gpio_keys as /devices/platform/gpio_keys/input/input0
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  LABEL=rootfs does not exist.  Dropping to a shell!


BusyBox v1.30.1 (Debian 1:1.30.1-4) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

The last ALERT! message may be because the fstab entry on the mSATA is:
root@kace:/etc# more fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
LABEL=sata_rootfs    /               ext3    noatime,errors=remount-ro 0 1
tmpfs          /tmp            tmpfs   defaults          0       0
LABEL=Swap     none            swap    sw                0       0

It doesn't look like uBoot tried to read uEnv.txt file (hence the warning about a random MAC address). Does the new uboot only want "rootfs" or is something else going on?
Re: Debian on Dell Kace M300
February 18, 2022 09:50PM
dougdeep,

Excellent! very close.

> It doesn't look like uBoot tried to read uEnv.txt
> file (hence the warning about a random MAC
> address). Does the new uboot only want "rootfs"
> or is something else going on?

It did read the uEnv.txt. The random MAC is because you are booting with kwboot. But later it will be filled in my the uEnv.txt. uEnv.txt will not be read until the bootcmd starts after the countdown.

The rules of thumb is the default env always root=LABEL=rootfs.

So if your rootfs is labeled sata_rootfs. And your fstab is
LABEL=sata_rootfs    /               ext3    noatime,errors=remount-ro 0 1

Then the uEnv.txt should be adjusted:

root@kace:/boot# more uEnv.txt
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 $mtdparts $custom_params
dtb_file=
ethaddr=18:03:73:41:db:f0
ipaddr=192.168.200.126
serverip=192.168.200.1
custom_params=raid=noautodetect
load_initrd_addr=0x2100000
initrd_high=0x40000000

These hickups are all because we are testing with kwboot. Afer you flashed it for real, the envs are already filled in properly.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Kace M300
February 19, 2022 03:48PM
Okay, I changed uEnv.txt as suggested and got further but not all the way to login (with no USB device):
[root@CQ50 Downloads]# kwboot -p -t -b uboot.2021.10-tld-1.m300.mtd0.kwb  -B 115200 /dev/ttyUSB0
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [......................................................................]
  2 % [......................................................................]
 <snip>
 98 % [..............................................................]
[Type Ctrl-\ + c to quit]


U-Boot 2021.10-tld-1 (Feb 15 2022 - 17:41:23 -0800)
Dell KACE M300

SoC:   Kirkwood 88F6282_A1
Model: Dell KACE M300
DRAM:  2 GiB
Loading Environment from SPIFlash... SF: Detected mx25l4005a with page size 256 Bytes, erase size 4 KiB, total 512 KiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   
Warning: ethernet-controller@72000 (eth0) using random MAC address - c2:cd:ee:7b:a8:a1
eth0: ethernet-controller@72000
MV88E1318 PHY initialized on ethernet-controller@72000
Hit any key to stop autoboot:  0 
Initializing devices...
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Unknown command 'mmc' - try 'help'
Loading envs from usb 0...
Couldn't find partition usb 0:1
Can't set block device
Loading envs from usb 1...
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
275 bytes read in 7 ms (38.1 KiB/s)
... envs loaded
importing envs ...
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
device usb 0:1
Couldn't find partition usb 0:1
Can't set block device
device usb 1:1
Couldn't find partition usb 1:1
Can't set block device
device usb 2:1
Couldn't find partition usb 2:1
Can't set block device
device usb 3:1
Couldn't find partition usb 3:1
Can't set block device
Scan device sata
device sata 0:1
1 bytes read in 7 ms (0 Bytes/s)
Found bootable drive on sata 0
loading uImage ...
4981772 bytes read in 75 ms (63.3 MiB/s)
loading uInitrd ...
9789382 bytes read in 140 ms (66.7 MiB/s)
loading DTB ...
** No boot file defined **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   5.2.9-kirkwood-tld-2
   Created:      2020-10-25   0:42:02 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4981708 Bytes = 4.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-2
   Created:      2020-10-25   0:43:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9789318 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image
   Loading Ramdisk to 3f6aa000, end 3fffff86 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-2 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Wed Aug 28 03:55:21 PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Dell KACE M300
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Ignoring RAM at 0x70000000-0x80000000
[    0.000000][    T0] Consider using a HIGHMEM enabled kernel.
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 455168
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 mtdparts=spi0.0:0x7e000@0(uboot),0x2000@0x7e000(u-boot-env) raid=noautodetect
[    0.000000][    T0] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000][    T0] Memory: 1793948K/1835008K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 300K bss, 41060K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x52c/0x924 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.000006][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000036][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000596][    T0] Console: colour dummy device 80x30
[    0.000639][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000659][    T0] pid_max: default: 32768 minimum: 301
[    0.000941][    T0] LSM: Security Framework initializing
[    0.001097][    T0] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.001127][    T0] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.001775][    T0] *** VALIDATE proc ***
[    0.001999][    T0] *** VALIDATE cgroup1 ***
[    0.002019][    T0] *** VALIDATE cgroup2 ***
[    0.002100][    T0] CPU: Testing write buffer coherency: ok
[    0.003497][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.003710][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.003943][    T1] rcu: Hierarchical SRCU implementation.
[    0.006366][    T1] devtmpfs: initialized
[    0.010305][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010332][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.010541][    T1] xor: measuring software checksum speed
[    0.110090][    T1]    arm4regs  :  1816.400 MB/sec
[    0.210061][    T1]    8regs     :  1090.400 MB/sec
[    0.310055][    T1]    32regs    :  1585.600 MB/sec
[    0.310072][    T1] xor: using function: arm4regs (1816.400 MB/sec)
[    0.310087][    T1] prandom: seed boundary self test passed
[    0.312597][    T1] prandom: 100 self tests passed
[    0.312605][    T1] pinctrl core: initialized pinctrl subsystem
[    0.313779][    T1] NET: Registered protocol family 16
[    0.314191][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.314862][    T1] audit: initializing netlink subsys (disabled)
[    0.315900][   T14] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.316000][    T1] cpuidle: using governor ladder
[    0.316068][    T1] cpuidle: using governor menu
[    0.316469][    T1] Feroceon L2: Enabling L2
[    0.316509][    T1] Feroceon L2: Cache support initialised.
[    0.320422][    T1] No ATAGs?
[    2.560041][    C0] random: fast init done
[    3.538246][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    3.538499][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    3.710595][    T1] raid6: int32x8  gen()   208 MB/s
[    3.880189][    T1] raid6: int32x8  xor()   142 MB/s
[    4.050142][    T1] raid6: int32x4  gen()   208 MB/s
[    4.220187][    T1] raid6: int32x4  xor()   138 MB/s
[    4.390323][    T1] raid6: int32x2  gen()   210 MB/s
[    4.560198][    T1] raid6: int32x2  xor()   152 MB/s
[    4.730235][    T1] raid6: int32x1  gen()   157 MB/s
[    4.900075][    T1] raid6: int32x1  xor()   109 MB/s
[    4.900082][    T1] raid6: using algorithm int32x2 gen() 210 MB/s
[    4.900088][    T1] raid6: .... xor() 152 MB/s, rmw enabled
[    4.900093][    T1] raid6: using intx1 recovery algorithm
[    4.900297][    T1] vgaarb: loaded
[    4.900660][    T1] SCSI subsystem initialized
[    4.901038][    T1] usbcore: registered new interface driver usbfs
[    4.901081][    T1] usbcore: registered new interface driver hub
[    4.901140][    T1] usbcore: registered new device driver usb
[    4.901274][    T1] pps_core: LinuxPPS API ver. 1 registered
[    4.901282][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    4.901300][    T1] PTP clock support registered
[    4.902265][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.508448][    T1] VFS: Disk quotas dquot_6.6.0
[    5.508523][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.515262][    T1] NET: Registered protocol family 2
[    5.515861][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 1, 8192 bytes)
[    5.515903][    T1] TCP established hash table entries: 16384 (order: 4, 65536 bytes)
[    5.516098][    T1] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    5.516290][    T1] TCP: Hash tables configured (established 16384 bind 16384)
[    5.516378][    T1] UDP hash table entries: 1024 (order: 2, 16384 bytes)
[    5.516436][    T1] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes)
[    5.516640][    T1] NET: Registered protocol family 1
[    5.517132][    T1] RPC: Registered named UNIX socket transport module.
[    5.517143][    T1] RPC: Registered udp transport module.
[    5.517148][    T1] RPC: Registered tcp transport module.
[    5.517153][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.517164][    T1] PCI: CLS 0 bytes, default 32
[    5.517339][    T1] Trying to unpack rootfs image as initramfs...
[    6.067142][    T1] Freeing initrd memory: 9560K
[    6.067278][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    6.068175][    T1] Initialise system trusted keyrings
[    6.068214][    T1] Key type blacklist registered
[    6.068382][    T1] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    6.068455][    T1] zbud: loaded
[    6.069244][    T1] NFS: Registering the id_resolver key type
[    6.069267][    T1] Key type id_resolver registered
[    6.069274][    T1] Key type id_legacy registered
[    6.069288][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.069301][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.069533][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.069688][    T1] fuse: init (API version 7.31)
[    6.069974][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.070110][    T1] orangefs_init: module version upstream loaded
[    6.070118][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    6.082150][    T1] async_tx: api initialized (async)
[    6.082169][    T1] Key type asymmetric registered
[    6.082176][    T1] Asymmetric key parser 'x509' registered
[    6.082233][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    6.083313][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.084680][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    6.084696][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.084707][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    6.084717][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    6.084792][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    6.084821][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    6.085587][    T1] PCI: bus0: Fast back to back transfers disabled
[    6.085606][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    6.086292][    T1] PCI: bus1: Fast back to back transfers enabled
[    6.086309][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    6.086440][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    6.086452][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    6.086865][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.142792][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.144078][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.202786][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.204271][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.205185][    T1] printk: console [ttyS0] disabled
[    6.205243][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    7.059156][    T1] printk: console [ttyS0] enabled
[    7.069372][    T1] loop: module loaded
[    7.073709][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    7.081213][    T1] scsi host0: sata_mv
[    7.085545][    T1] scsi host1: sata_mv
[    7.089600][    T1] ata1: SATA max UDMA/133 irq 33
[    7.094457][    T1] ata2: SATA max UDMA/133 irq 33
[    7.100521][    T1] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    7.106086][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    7.112742][    T1] Creating 2 MTD partitions on "spi0.0":
[    7.118249][    T1] 0x000000000000-0x00000007e000 : "uboot"
[    7.124892][    T1] 0x00000007e000-0x000000080000 : "u-boot-env"
[    7.132589][    T1] libphy: Fixed MDIO Bus: probed
[    7.137948][    T1] libphy: orion_mdio_bus: probed
[    7.152720][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    7.160582][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    7.168314][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 18:03:73:41:db:f0
[    7.177951][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.185268][    T1] ehci-pci: EHCI PCI platform driver
[    7.190473][    T1] ehci-orion: EHCI orion driver
[    7.195366][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    7.201592][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    7.210142][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    7.242289][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.249214][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    7.258231][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.266195][    T1] usb usb1: Product: EHCI Host Controller
[    7.271788][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-2 ehci_hcd
[    7.279144][    T1] usb usb1: SerialNumber: f1050000.ehci
[    7.285016][    T1] hub 1-0:1.0: USB hub found
[    7.289508][    T1] hub 1-0:1.0: 1 port detected
[    7.294679][    T1] usbcore: registered new interface driver usb-storage
[    7.301670][    T1] mousedev: PS/2 mouse device common for all mice
[    7.308416][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    7.314164][    T1] i2c /dev entries driver
[    7.318822][    T1] device-mapper: uevent: version 1.0.3
[    7.324423][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    7.333935][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    7.341221][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    7.348603][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    7.356062][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    7.362914][    T1] device-mapper: raid: Loading target version 1.14.0
[    7.370260][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    7.376667][    T1] drop_monitor: Initializing network drop monitor service
[    7.383896][    T1] NET: Registered protocol family 17
[    7.389266][    T1] Key type dns_resolver registered
[    7.394878][    T1] registered taskstats version 1
[    7.399718][    T1] Loading compiled-in X.509 certificates
[    7.405414][    T1] zswap: loaded using pool lzo/zbud
[    7.474686][    T1] Key type big_key registered
[    7.508557][    T1] Key type encrypted registered
[    7.515026][    T1] rtc-mv f1010300.rtc: setting system clock to 2022-02-19T19:43:11 UTC (1645299791)
[    7.592331][  T112] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.603828][  T112] ata1.00: ATA-7: TS16GSSD25H-M, 20100712, max UDMA/133
[    7.610649][  T112] ata1.00: 31277056 sectors, multi 0: LBA48 
[    7.623199][  T112] ata1.00: configured for UDMA/133
[    7.638590][    T7] scsi 0:0:0:0: Direct-Access     ATA      TS16GSSD25H-M    0712 PQ: 0 ANSI: 5
[    7.648218][  T116] sd 0:0:0:0: [sda] 31277056 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    7.656966][  T116] sd 0:0:0:0: [sda] Write Protect is off
[    7.662535][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.670107][  T116] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.681759][  T116]  sda: sda1 sda2
[    7.686542][  T116] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.872775][   T15] usb 1-1: New USB device found, idVendor=058f, idProduct=6254, bcdDevice= 1.00
[    7.881694][   T15] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    7.890143][   T15] hub 1-1:1.0: USB hub found
[    7.894768][   T15] hub 1-1:1.0: 4 ports detected
[    7.995878][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[    8.015366][    T1] Freeing unused kernel memory: 1024K
[    8.021057][    T1] Checked W+X mappings: passed, no W+X pages found
[    8.027458][    T1] Run /init as init process
Loading, please wait...
Starting version 241
[    8.563010][  T174] input: gpio_keys as /devices/platform/gpio_keys/input/input0
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 
sata_rootfs: clean, 78819/962880 files, 602487/3849216 blocks
done.
[   19.069567][  T195] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.102831][  T195] Unable to handle kernel paging request at virtual address 7f47d310
[   19.110793][  T195] pgd = (ptrval)
[   19.114209][  T195] [7f47d310] *pgd=00000000
[   19.118494][  T195] Internal error: Oops: 805 [#1] PREEMPT ARM
[   19.124350][  T195] Modules linked in: gpio_keys
[   19.128992][  T195] CPU: 0 PID: 195 Comm: mount Not tainted 5.2.9-kirkwood-tld-2 #1
[   19.136680][  T195] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   19.143672][  T195] PC is at string_nocheck+0x5c/0x68
[   19.148740][  T195] LR is at 0x0
[   19.151975][  T195] pc : [<809d31c4>]    lr : [<00000000>]    psr: 80000013
[   19.158960][  T195] sp : bfa13ce8  ip : 00000073  fp : 80abc717
[   19.164898][  T195] r10: 00000020  r9 : 80c31004  r8 : 7f47d310
[   19.170837][  T195] r7 : 7f47d330  r6 : bfa13d88  r5 : bf9b540c  r4 : ffffffff
[   19.178083][  T195] r3 : bf9b540d  r2 : bf9b540c  r1 : 7f47d330  r0 : 7f47d310
[   19.185330][  T195] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   19.193186][  T195] Control: 0005397f  Table: 3fa38000  DAC: 00000051
[   19.199647][  T195] Process mount (pid: 195, stack limit = 0x(ptrval))
[   19.206197][  T195] Stack: (0xbfa13ce8 to 0xbfa14000)
[   19.211266][  T195] 3ce0:                   7f47d310 7f47d330 7f47d330 809d4a6c 00000000 ffffff04
[   19.220178][  T195] 3d00: ffff0a00 802a4f9c 00000000 7f47d310 80c31002 bfa13d84 7f47d310 809d69d0
[   19.229089][  T195] 3d20: 7f47d310 ffffff04 ffff0a00 003abc00 80f04028 00000001 00000000 ffffff04
[   19.238002][  T195] 3d40: ffff0a00 1b26d4d1 000005b3 80f04028 bf9b540c bf9b5400 00000001 00000000
[   19.246913][  T195] 3d60: 00000000 00000000 bf44b400 809d6bf0 bfa13d84 1b26d4d1 7f47d310 805fb930
[   19.255826][  T195] 3d80: 80c31002 bf9b540c 00000001 00000001 7f47d310 bfa3e800 bfa3e988 00000014
[   19.264737][  T195] 3da0: ee5895a0 8035bb10 00004000 00001000 00000000 bf9e0800 bfadfc00 80349cac
[   19.273648][  T195] 3dc0: 00000000 00000000 00000001 00000000 00000000 00000000 00000000 00000000
[   19.282560][  T195] 3de0: ee4c2e40 00000002 003b0000 00000000 bfadfdfc 00000000 00000000 00000000
[   19.291472][  T195] 3e00: 00000001 00000000 00000001 00000000 00000076 00000001 003a81ff 00000000
[   19.300384][  T195] 3e20: 00000000 00000000 00000000 00004003 ffffff05 ffff0a00 ee57a7c0 bf9e0a28
[   19.309296][  T195] 3e40: bfa13ed4 bf9e0a24 80c753b3 bf9e0a44 bf9e0a24 809d6774 bf9e0a74 ffffff05
[   19.318209][  T195] 3e60: ffff0a00 bf9e0a24 bf9e0a44 ee57a7c0 bfa13ed4 809d69fc ffffff05 ffff0a00
[   19.327121][  T195] 3e80: 80f04028 bf9e0800 80f2e720 ffffff05 ffff0a00 1b26d4d1 80f2e720 80f04028
[   19.336031][  T195] 3ea0: ee57a7c0 00008001 00000081 1b26d4d1 00000000 bf9e0800 ee57a7c0 00008001
[   19.344944][  T195] 3ec0: 00000081 ee57a828 00000000 00000000 00008001 8026fc74 ee57a7c0 00008001
[   19.353855][  T195] 3ee0: bf9ce220 bf9be8c0 80342934 00000060 bf9ce640 80f2e720 00000000 80342944
[   19.362768][  T195] 3f00: 80348010 00008001 bf9ce220 802a1f7c bf9be8c0 bf9be8c0 00000060 8026ea84
[   19.371680][  T195] 3f20: bf9be8c0 bf9ce800 00000000 bf9be8c0 00000060 8028fc6c 00000000 bf9ce640
[   19.380591][  T195] 3f40: 7ec97e70 80f04028 00008001 eec2b1f0 ee4033b8 00000000 0000000a 1b26d4d1
[   19.389502][  T195] 3f60: 0000000a 7ec97e7a bf9ced80 bf9ce640 00000000 00008001 bfa12000 00000000
[   19.398415][  T195] 3f80: 00000000 80290190 00000000 7ec97e7a 00000000 7ec97b2c 00000000 00000015
[   19.407326][  T195] 3fa0: 80101208 80101000 00000000 7ec97b2c 7ec97e70 7ec97e7a 7ec97e6b 00008001
[   19.416237][  T195] 3fc0: 00000000 7ec97b2c 00000000 00000015 76f2cd70 00000000 00000000 00000000
[   19.425150][  T195] 3fe0: 00507f70 7ec97938 004913f8 76e62410 60000010 7ec97e70 00000000 00000000
[   19.434071][  T195] [<809d31c4>] (string_nocheck) from [<809d4a6c>] (string+0x58/0x68)
[   19.442025][  T195] [<809d4a6c>] (string) from [<809d69d0>] (vsnprintf+0x1f4/0x368)
[   19.449716][  T195] [<809d69d0>] (vsnprintf) from [<809d6bf0>] (snprintf+0x24/0x4c)
[   19.457411][  T195] [<809d6bf0>] (snprintf) from [<805fb930>] (disk_name+0x6c/0x7c)
[   19.465106][  T195] [<805fb930>] (disk_name) from [<8035bb10>] (jbd2_journal_init_inode+0x9c/0xd4)
[   19.474115][  T195] [<8035bb10>] (jbd2_journal_init_inode) from [<80349cac>] (ext4_fill_super+0x1c9c/0x2ef4)
[   19.483991][  T195] [<80349cac>] (ext4_fill_super) from [<8026fc74>] (mount_bdev+0x140/0x178)
[   19.492559][  T195] [<8026fc74>] (mount_bdev) from [<80342944>] (ext4_mount+0x10/0x1c)
[   19.500510][  T195] [<80342944>] (ext4_mount) from [<802a1f7c>] (legacy_get_tree+0x24/0x48)
[   19.508899][  T195] [<802a1f7c>] (legacy_get_tree) from [<8026ea84>] (vfs_get_tree+0x20/0x108)
[   19.517551][  T195] [<8026ea84>] (vfs_get_tree) from [<8028fc6c>] (do_mount+0x5e0/0x878)
[   19.525676][  T195] [<8028fc6c>] (do_mount) from [<80290190>] (ksys_mount+0x70/0x98)
[   19.533455][  T195] [<80290190>] (ksys_mount) from [<80101000>] (ret_fast_syscall+0x0/0x50)
[   19.541838][  T195] Exception stack(0xbfa13fa8 to 0xbfa13ff0)
[   19.547605][  T195] 3fa0:                   00000000 7ec97b2c 7ec97e70 7ec97e7a 7ec97e6b 00008001
[   19.556517][  T195] 3fc0: 00000000 7ec97b2c 00000000 00000015 76f2cd70 00000000 00000000 00000000
[   19.565427][  T195] 3fe0: 00507f70 7ec97938 004913f8 76e62410
[   19.571195][  T195] Code: e8bd4010 e28dd008 e12fff1e e1500001 (35c0c000) 
[   19.578011][  T195] ---[ end trace 85c32c3f65da0638 ]---
Segmentation fault
Failed to mount /dev/sda1 as root file system.


BusyBox v1.30.1 (Debian 1:1.30.1-4) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)
Tried this three time with the same result. The M300 continued to boot correctly using stock uboot and a USB Device plugged in (the IR receiver). By accident I did a kwboot with the USB device plugged in and that also worked:
[root@CQ50 Downloads]# kwboot -p -t -b uboot.2021.10-tld-1.m300.mtd0.kwb  -B 115200 /dev/ttyUSB0
Sending boot message. Please reboot the target...|
Sending boot image...
  0 % [......................................................................]
  2 % [......................................................................]
 <snip>
 98 % [..............................................................]
[Type Ctrl-\ + c to quit]


U-Boot 2021.10-tld-1 (Feb 15 2022 - 17:41:23 -0800)
Dell KACE M300

SoC:   Kirkwood 88F6282_A1
Model: Dell KACE M300
DRAM:  2 GiB
Loading Environment from SPIFlash... SF: Detected mx25l4005a with page size 256 Bytes, erase size 4 KiB, total 512 KiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   
Warning: ethernet-controller@72000 (eth0) using random MAC address - 2a:87:37:33:7e:33
eth0: ethernet-controller@72000
MV88E1318 PHY initialized on ethernet-controller@72000
Hit any key to stop autoboot:  0 
Initializing devices...
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Unknown command 'mmc' - try 'help'
Loading envs from usb 0...
Couldn't find partition usb 0:1
Can't set block device
Loading envs from usb 1...
Couldn't find partition usb 1:1
Can't set block device
Loading envs from usb 2...
Couldn't find partition usb 2:1
Can't set block device
Loading envs from usb 3...
Couldn't find partition usb 3:1
Can't set block device
Loading envs from sata 0...
275 bytes read in 7 ms (38.1 KiB/s)
... envs loaded
importing envs ...
running scan_disk ...
Scan device usb
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
resetting USB...
Bus ehci@50000: USB EHCI 1.00
scanning bus ehci@50000 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
device usb 0:1
Couldn't find partition usb 0:1
Can't set block device
device usb 1:1
Couldn't find partition usb 1:1
Can't set block device
device usb 2:1
Couldn't find partition usb 2:1
Can't set block device
device usb 3:1
Couldn't find partition usb 3:1
Can't set block device
Scan device sata
device sata 0:1
1 bytes read in 6 ms (0 Bytes/s)
Found bootable drive on sata 0
loading uImage ...
4981772 bytes read in 74 ms (64.2 MiB/s)
loading uInitrd ...
9789382 bytes read in 141 ms (66.2 MiB/s)
loading DTB ...
** No boot file defined **
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   5.2.9-kirkwood-tld-2
   Created:      2020-10-25   0:42:02 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4981708 Bytes = 4.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-2
   Created:      2020-10-25   0:43:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9789318 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image
   Loading Ramdisk to 3f6aa000, end 3fffff86 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-2 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Wed Aug 28 03:55:21 PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Dell KACE M300
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Ignoring RAM at 0x70000000-0x80000000
[    0.000000][    T0] Consider using a HIGHMEM enabled kernel.
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 455168
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 mtdparts=spi0.0:0x7e000@0(uboot),0x2000@0x7e000(u-boot-env) raid=noautodetect
[    0.000000][    T0] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000][    T0] Memory: 1793948K/1835008K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 300K bss, 41060K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x52c/0x924 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.000006][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000036][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.000596][    T0] Console: colour dummy device 80x30
[    0.000639][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000659][    T0] pid_max: default: 32768 minimum: 301
[    0.000941][    T0] LSM: Security Framework initializing
[    0.001097][    T0] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.001127][    T0] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.001775][    T0] *** VALIDATE proc ***
[    0.001999][    T0] *** VALIDATE cgroup1 ***
[    0.002019][    T0] *** VALIDATE cgroup2 ***
[    0.002100][    T0] CPU: Testing write buffer coherency: ok
[    0.003497][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.003710][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.003943][    T1] rcu: Hierarchical SRCU implementation.
[    0.006366][    T1] devtmpfs: initialized
[    0.010301][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010328][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.010534][    T1] xor: measuring software checksum speed
[    0.110091][    T1]    arm4regs  :  1816.400 MB/sec
[    0.210060][    T1]    8regs     :  1090.400 MB/sec
[    0.310058][    T1]    32regs    :  1585.600 MB/sec
[    0.310075][    T1] xor: using function: arm4regs (1816.400 MB/sec)
[    0.310091][    T1] prandom: seed boundary self test passed
[    0.312601][    T1] prandom: 100 self tests passed
[    0.312611][    T1] pinctrl core: initialized pinctrl subsystem
[    0.313778][    T1] NET: Registered protocol family 16
[    0.314190][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.314859][    T1] audit: initializing netlink subsys (disabled)
[    0.315898][   T14] audit: type=2000 audit(0.310:1): state=initialized audit_enabled=0 res=1
[    0.315999][    T1] cpuidle: using governor ladder
[    0.316066][    T1] cpuidle: using governor menu
[    0.316469][    T1] Feroceon L2: Enabling L2
[    0.316509][    T1] Feroceon L2: Cache support initialised.
[    0.320422][    T1] No ATAGs?
[    2.560041][    C0] random: fast init done
[    3.538298][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    3.538557][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    3.710599][    T1] raid6: int32x8  gen()   208 MB/s
[    3.880193][    T1] raid6: int32x8  xor()   142 MB/s
[    4.050060][    T1] raid6: int32x4  gen()   208 MB/s
[    4.220188][    T1] raid6: int32x4  xor()   138 MB/s
[    4.390163][    T1] raid6: int32x2  gen()   210 MB/s
[    4.560199][    T1] raid6: int32x2  xor()   152 MB/s
[    4.730235][    T1] raid6: int32x1  gen()   157 MB/s
[    4.900073][    T1] raid6: int32x1  xor()   109 MB/s
[    4.900081][    T1] raid6: using algorithm int32x2 gen() 210 MB/s
[    4.900086][    T1] raid6: .... xor() 152 MB/s, rmw enabled
[    4.900091][    T1] raid6: using intx1 recovery algorithm
[    4.900294][    T1] vgaarb: loaded
[    4.900658][    T1] SCSI subsystem initialized
[    4.901034][    T1] usbcore: registered new interface driver usbfs
[    4.901078][    T1] usbcore: registered new interface driver hub
[    4.901137][    T1] usbcore: registered new device driver usb
[    4.901271][    T1] pps_core: LinuxPPS API ver. 1 registered
[    4.901279][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    4.901297][    T1] PTP clock support registered
[    4.902261][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.508464][    T1] VFS: Disk quotas dquot_6.6.0
[    5.508538][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.515283][    T1] NET: Registered protocol family 2
[    5.515880][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 1, 8192 bytes)
[    5.515922][    T1] TCP established hash table entries: 16384 (order: 4, 65536 bytes)
[    5.516116][    T1] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    5.516308][    T1] TCP: Hash tables configured (established 16384 bind 16384)
[    5.516395][    T1] UDP hash table entries: 1024 (order: 2, 16384 bytes)
[    5.516453][    T1] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes)
[    5.516659][    T1] NET: Registered protocol family 1
[    5.517152][    T1] RPC: Registered named UNIX socket transport module.
[    5.517162][    T1] RPC: Registered udp transport module.
[    5.517168][    T1] RPC: Registered tcp transport module.
[    5.517173][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.517183][    T1] PCI: CLS 0 bytes, default 32
[    5.517358][    T1] Trying to unpack rootfs image as initramfs...
[    6.067280][    T1] Freeing initrd memory: 9560K
[    6.067416][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    6.068317][    T1] Initialise system trusted keyrings
[    6.068364][    T1] Key type blacklist registered
[    6.068535][    T1] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    6.068610][    T1] zbud: loaded
[    6.069400][    T1] NFS: Registering the id_resolver key type
[    6.069426][    T1] Key type id_resolver registered
[    6.069432][    T1] Key type id_legacy registered
[    6.069447][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.069459][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.069692][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.069847][    T1] fuse: init (API version 7.31)
[    6.070128][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.070263][    T1] orangefs_init: module version upstream loaded
[    6.070271][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    6.082361][    T1] async_tx: api initialized (async)
[    6.082381][    T1] Key type asymmetric registered
[    6.082387][    T1] Asymmetric key parser 'x509' registered
[    6.082443][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    6.083461][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.084808][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    6.084824][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.084834][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    6.084844][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    6.084921][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    6.084951][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    6.085717][    T1] PCI: bus0: Fast back to back transfers disabled
[    6.085735][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    6.086419][    T1] PCI: bus1: Fast back to back transfers enabled
[    6.086437][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    6.086567][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    6.086580][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    6.086991][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.142792][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.144085][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.202780][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.204261][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.205162][    T1] printk: console [ttyS0] disabled
[    6.205219][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    7.059130][    T1] printk: console [ttyS0] enabled
[    7.069342][    T1] loop: module loaded
[    7.073672][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    7.081174][    T1] scsi host0: sata_mv
[    7.085498][    T1] scsi host1: sata_mv
[    7.089550][    T1] ata1: SATA max UDMA/133 irq 33
[    7.094409][    T1] ata2: SATA max UDMA/133 irq 33
[    7.100467][    T1] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    7.106035][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    7.112690][    T1] Creating 2 MTD partitions on "spi0.0":
[    7.118198][    T1] 0x000000000000-0x00000007e000 : "uboot"
[    7.124839][    T1] 0x00000007e000-0x000000080000 : "u-boot-env"
[    7.132534][    T1] libphy: Fixed MDIO Bus: probed
[    7.137887][    T1] libphy: orion_mdio_bus: probed
[    7.152787][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    7.160642][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    7.168382][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 18:03:73:41:db:f0
[    7.178023][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.185339][    T1] ehci-pci: EHCI PCI platform driver
[    7.190542][    T1] ehci-orion: EHCI orion driver
[    7.195436][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    7.201662][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    7.210214][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    7.242285][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.249201][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    7.258216][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.266179][    T1] usb usb1: Product: EHCI Host Controller
[    7.271772][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-2 ehci_hcd
[    7.279127][    T1] usb usb1: SerialNumber: f1050000.ehci
[    7.284998][    T1] hub 1-0:1.0: USB hub found
[    7.289493][    T1] hub 1-0:1.0: 1 port detected
[    7.294659][    T1] usbcore: registered new interface driver usb-storage
[    7.301652][    T1] mousedev: PS/2 mouse device common for all mice
[    7.308401][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    7.314150][    T1] i2c /dev entries driver
[    7.318812][    T1] device-mapper: uevent: version 1.0.3
[    7.324414][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    7.333927][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    7.341215][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    7.348595][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    7.356053][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    7.362904][    T1] device-mapper: raid: Loading target version 1.14.0
[    7.370253][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    7.376660][    T1] drop_monitor: Initializing network drop monitor service
[    7.383890][    T1] NET: Registered protocol family 17
[    7.389261][    T1] Key type dns_resolver registered
[    7.394878][    T1] registered taskstats version 1
[    7.399720][    T1] Loading compiled-in X.509 certificates
[    7.405414][    T1] zswap: loaded using pool lzo/zbud
[    7.474633][    T1] Key type big_key registered
[    7.508389][    T1] Key type encrypted registered
[    7.514843][    T1] rtc-mv f1010300.rtc: setting system clock to 2022-02-19T20:13:28 UTC (1645301608)
[    7.592329][  T112] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.603820][  T112] ata1.00: ATA-7: TS16GSSD25H-M, 20100712, max UDMA/133
[    7.610641][  T112] ata1.00: 31277056 sectors, multi 0: LBA48 
[    7.623190][  T112] ata1.00: configured for UDMA/133
[    7.638578][    T7] scsi 0:0:0:0: Direct-Access     ATA      TS16GSSD25H-M    0712 PQ: 0 ANSI: 5
[    7.648213][  T116] sd 0:0:0:0: [sda] 31277056 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    7.656968][  T116] sd 0:0:0:0: [sda] Write Protect is off
[    7.662535][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.670106][  T116] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.681737][  T116]  sda: sda1 sda2
[    7.686514][  T116] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.872722][   T15] usb 1-1: New USB device found, idVendor=058f, idProduct=6254, bcdDevice= 1.00
[    7.881643][   T15] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    7.890088][   T15] hub 1-1:1.0: USB hub found
[    7.894715][   T15] hub 1-1:1.0: 4 ports detected
[    7.995826][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[    8.015312][    T1] Freeing unused kernel memory: 1024K
[    8.020996][    T1] Checked W+X mappings: passed, no W+X pages found
[    8.027398][    T1] Run /init as init process
Loading, please wait...
Starting version 241
[    8.212361][   T15] usb 1-1.2: new low-speed USB device number 3 using orion-ehci
[    8.378233][   T15] usb 1-1.2: New USB device found, idVendor=147a, idProduct=e017, bcdDevice= 1.30
[    8.403797][   T15] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.411864][   T15] usb 1-1.2: Product: SnowflakeEmulation
[    8.442430][   T15] usb 1-1.2: Manufacturer: Formosa21
[    8.447595][   T15] usb 1-1.2: SerialNumber: C00122E5
[    8.616498][  T162] input: gpio_keys as /devices/platform/gpio_keys/input/input0
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 
sata_rootfs: clean, 78819/962880 files, 602491/3849216 blocks
done.
[   19.119981][  T195] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.165037][  T195] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
[ ok ] Synthesizing the initial hotplug events (subsystems)...done.
[....] Synthesizing the initial hotplug events (devices)...[   20.771165][  T375] systemd-udevd[375]: Using default interface naming scheme 'v240'.
done.
[   20.853099][  T375] systemd-udevd[375]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[....] Waiting for /dev to be fully populated...[   21.003809][  T374] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   21.225886][  T374] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   21.311934][  T386] marvell-cesa f1030000.crypto: CESA device successfully registered
[   21.322319][  T378] Registered IR keymap rc-rc6-mce
[   21.350713][  T387] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   21.357333][  T449] IR RC6 protocol handler initialized
[   21.376133][  T374] orion_wdt: Initial timeout 21 sec
[   21.462414][  T378] rc rc0: Media Center Ed. eHome Infrared Remote Transceiver (147a:e017) as /devices/platform/ocp@f1000000/f1050000.ehci/usb1/1-1/1-1.2/1-1.2:1.0/rc/rc0
[   21.499259][  T395] systemd-udevd[395]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   21.544509][  T378] input: Media Center Ed. eHome Infrared Remote Transceiver (147a:e017) as /devices/platform/ocp@f1000000/f1050000.ehci/usb1/1-1/1-1.2/1-1.2:1.0/rc/rc0/input1
[   21.677742][  T378] rc rc0: lirc_dev: driver mceusb registered at minor = 0, raw IR receiver, no transmitter
[   22.032319][  T378] mceusb 1-1.2:1.0: Registered Formosa21 SnowflakeEmulation with mce emulator interface version 1
[   22.042831][  T378] mceusb 1-1.2:1.0: 2 tx ports (0x0 cabled) and 2 rx sensors (0x0 active)
[   22.052704][  T378] usbcore: registered new interface driver mceusb
done.
[ ok ] Setting hostname to 'kace'...done.
[....] Activating swap:swapon: /dev/sda2: found signature [pagesize=4096, signature=swap]
swapon: /dev/sda2: pagesize=4096, swapsize=246415360, devsize=246415360
swapon /dev/sda2
[   22.652296][  T575] Adding 240636k swap on /dev/sda2.  Priority:-2 extents:1 across:240636k SSFS
. ok 
[   22.783809][  T599] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
LABEL=sata_rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[....] Will now activate swapfile swap:swapon: /dev/sda2: already active -- ignored
done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Starting Setting kernel variables: sysctl.
[....] Starting firewall: ufw...[   25.163655][ T1098] NET: Registered protocol family 10
[   25.169711][ T1098] Segment Routing with IPv6
[ ok ng kernel variables (/etc/ufw/sysctl.conf)...done.
[....] Initializing random number generator...[   25.821072][ T1161] random: dd: uninitialized urandom read (512 bytes read)
done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/18:03:73:41:db:f0
Sending on   LPF/eth0/18:03:73:41:db:f0
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
[   27.939190][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[   27.949717][   T15] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPOFFER of 192.168.200.126 from 192.168.200.1
DHCPREQUEST for 192.168.200.126 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.200.126 from 192.168.200.1
bound to 192.168.200.126 -- renewal in 36698 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1436 (syslogd)
. ok 
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1463 (klogd)
. ok 
[ ok ] Starting periodic command scheduler: cron.
[....] Starting system message bus: dbus[   38.226417][ T1533] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[   38.250628][ T1533] random: dbus-daemon: uninitialized urandom read (12 bytes read)
. ok 
[....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[   38.374098][ T1556] random: avahi-daemon: uninitialized urandom read (4 bytes read)
. ok 
[ ok ] Starting entropy daemon: haveged.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[....] Starting Mail Transport Agent (MTA): sendmail[   41.084598][ T1585] random: crng init done
[   41.088728][ T1585] random: 1 urandom warning(s) missed due to ratelimiting
. ok 
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 kace ttyS0

kace login:
To me, the two boots are similar down to the line around 19.xxxxx
with USB device
[   19.119981][  T195] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.165037][  T195] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
without USB device
[   19.069567][  T195] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.102831][  T195] Unable to handle kernel paging request at virtual address 7f47d310
Is not mounting the filesystem the actual problem or is it a symptom of something breaking elsewhere?
Re: Debian on Dell Kace M300
February 19, 2022 04:40PM
dougdeep,

> Is not mounting the filesystem the actual problem
> or is it a symptom of something breaking
> elsewhere?

No it does not seem like file system problem.

I'm puzzle. I don't have any problem booting with the rootfs on the internal SSD, and no USB drive plugged in.

Something we are not seeing clearly.

Let me shutdown, reboot ny m300 again and post the serial log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Kace M300
March 07, 2022 03:08PM
bodhi Wrote:
-------------------------------------------------------
> So I was inspired by our forum members to figure
> out this u-boot (when there is a will, there will
> be a way :)
>
> Attached is the new u-boot:
> uboot.2021.10-tld-1.m300.mtd0.kwb
>
> Create the uEnv.txt on your rootfs /boot. Below is
> an example, adjust with your real MAC address,
> ipaddr, and serverip in this file.
>
> # cat /boot/uEnv.txt
>
> dtb_file=
> ethaddr=18:03:73:xx:xx:xx
> ipaddr=192.168.0.249
> serverip=192.168.0.220
> custom_params=raid=noautodetect
> load_initrd_addr=0x2100000
> initrd_high=0x40000000
>
>
> kwboot command:
>
>
> kwboot -t -b uboot.2021.10-tld-1.m300.mtd0.kwb  -B
> 115200 /dev/ttyUSB0
>
>
> With the uEnv.txt as above, it should boot
> automatically all the way into Debian. No change
> is need in your current M300 rootfs, except the
> new uEnv.txt.
>
> Please test and report. Try both USB and SATA
> rootfs booting.
>
> Warning: don't attempt
> to flash this u-boot
. I need to iron out the
> mtd layout and where to store the envs. For now,
> just run kwboot to start the box.

Saw that this is still ongoing and bought an M300 off eBay in preparation for a proper and stable u-boot for it.
considering it's less than $30 new in box and much better than most of the other kirkwood boxes and can be described as the "best case scenario" configuration for such an SoC, I'm hoping this becomes the device everyone starts picking up. the seller seems to have about 100-something left in their inventory if eBay is to be believed, and I'm sure they'd be glad to be rid of them (and hopefully not know why!) :D

I'm still getting up to speed with the thread since there's a few years' worth of information to go through here. I did take the SSD out of my unit and shoved it in the pogo v4 for some quick tests without touching the filesystem. the silicon motion controller being used on the SSD gets VERY hot within a few minutes... and I can only get about 60MB/s cached reads with hdparm. I wouldn't be surprised if this was treating the drive as a big CF card in IDE mode on the bus, considering there's no DRAM cache. in the long term, not necessarily the best SSD to use for this when everything is finalized, and definitely not the best to keep inside, even for a rescue boot, because of the added heat generation compared to modern SSD offerings even a few years newer. why Dell decided to go with Transcend over Apacer for the internal SSD in this is beyond me... (but it likely has to do with the component shortages at the time, since these were made sometime during the malaysia floods if memory serves.)

likewise one can just go get a new or used Samsung 8xx SATA SSD and de-case it, since it should only take up half the space then and fit nicely in the original space taken up by the old SSD if need be. I've done so already inside a Wyse ZX0Q thin client that currently runs my website and minecraft server, to replace the original 16GB SSD in that.

final remarks, saw someone was asking if the PCIe bus was available to be tapped off of in a much earlier post, and while that definitely is out of the question, it might be possible to get SDIO broken out off test pads and the like. That would be great considering the amount of space inside the case for mountable modifications, but would take someone with an Xray machine and/or or knowledge of what and where to look to come to fruition. I can only hope someone more adept at tinkering with the board-level side of things comes along after the u-boot is finalized and word gets out.
Re: Debian on Dell Kace M300
March 07, 2022 03:35PM
sudos,

I'm almost done. I've been running this box with only the stock internal SSD. So far I don't see any problem.

But I will need to write the installation instruction so we can flash it.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 03/07/2022 03:36PM by bodhi.
Author:

Subject:


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