Re: Debian on Dell Kace M300
September 21, 2019 04:45PM
yep...
root@Dell-M300:~# cat /etc/fw_env.config
# MTD device name	Device offset	Env. size	Flash sector size	Number of sectors
#/dev/mtd0 0xc0000 0x20000 0x20000
/dev/mtd1 0x0 00001000 0x00001000

Updated above.
Re: Debian on Dell Kace M300
September 21, 2019 05:40PM
Quote

> You're missing a "run":
setenv bootcmd 'run
> kernel_config; run set_bootargs_usb; run
> bootcmd_usb; run set_bootargs_sata; run
> bootcmd_ide'

Thanks JT!

@all,

Let me explain why fw_setenv did not work.

Recalll in the installation instruction, we unprotect the flash in step 3a

Quote

3.a. Execute the following command to unprotect the SPI flash:

protect off all

The above command basically keep it unprotected in u-boot and Debian forever. But whenever you do saveenv at u-boot prompt, this stock u-boot will always unprotect the flash, write new env , and then protect it again.

So as long as you only use fw_setenv, it will remain unprotected. When you use saveenv, u-boot will protect it again. Therefore wheneever saveenv is needed to be used, you would need to unprotect it afterward.
protect off all

And this is why I've mentioned that I will upload a new kernel version so that this Macronix flash is always unprotected after boot. For users that do not have serial console, i.e. using Section B, new kernel is needed to be able to change envs using fw_setenv in Debian.

And for users who have serial console, there will be no need to run "protect off all".

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 3 time(s). Last edit at 09/21/2019 05:46PM by bodhi.
Re: Debian on Dell Kace M300
September 21, 2019 06:11PM
Thanks for the info, now I get it. The problem will be keeping it. I've concluded that I need to document all of this stuff in my own way. It's available, but in various threads here and pretty spotty on the web. Thanks for all you do, bohdi. I think I'm good for now.
Re: Debian on Dell Kace M300
September 21, 2019 06:55PM
You're welcome Mike!

Also, regarding why I prefer to use fw_printenv and fw_setenv, even if serial console is available.

In order to use fw_setenv and fw_printenv, we would have to setup the flash env area (/etc/fw_env.config), use cmdline bootargs correctly to identify the flash,.... there is a whole bunch of stuff that comes to gether after booting Linux (at least we need some basic understanding of the SPI flash being used). So the best way to see that works is in Debian. Furthermore, flash recovery (in case something goes wrong) is much easier in Linux than in serial console while uboot is still running (even given the fact that uboot is in RAM while we're seeing the prompt, and thus mtd0 can be reflashed at that time).

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 09/21/2019 07:00PM by bodhi.
Re: Debian on Dell Kace M300
September 21, 2019 07:49PM
Thanks, good info. I get it. Two things from this Kace experience: serial is pretty useful/important; a modern u-boot is a thing of beauty, especially environments in a file. Actually 3 things: I've learned a lot.



Edited 1 time(s). Last edit at 09/21/2019 07:50PM by mikeh49.
Re: Debian on Dell Kace M300
September 21, 2019 08:17PM
That's why I asked Bodhi to write a new u-boot for M300 for us.

Make M300 great again...
Re: Debian on Dell Kace M300
September 21, 2019 10:18PM
> Make M300 great again...

Don't ever use that phrase here :))

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Dell Kace M300
September 22, 2019 12:14AM
I'm giving up on SSD booting for now. What I've noticed is that if I have a USB drive inserted (doesn't have to be a boot drive or even extX formatted drive), it will boot off of SSD and be stable. If there's no drive inserted it may or may not boot and if it does it's very unstable. I've verified that the load addresses are identical in all cases.

Once it's booted I can remove the USB drive and it seems to remain stable.

-JT
Re: Debian on Dell Kace M300
September 22, 2019 08:04AM
Interesting. My experience has been very good with booting from SATA, both with the stock flash card (formatted, partitioned and set up with bohdi's file system and tld-2 kernel) and with a 120GB SSD. There have been 3 instances (I think) where it got into a loop trying to do something, but, of course, I didn't keep the info. I think all have been after installing the Logitech Media Server so I attributed it to that. Over the weekend I booted with the flash card multiple times with no problem. I'll keep a lookout as long as I have serial connected.
Re: Debian on Dell Kace M300
September 22, 2019 12:28PM
Further testing now with the 120GB SSD installed, with label sata_roots and sata_rootfs in fstab.

First boot failed, stuck in loop around running /scripts/local-block, reference to a .so file. Was not able to capture.

Second boot stuck in loop below:

Begin: Running /scripts/local-block ... done.
/init: line 329: blkid: not found
/init: line 96: sleep: not found
/init: line 97: cat: not found

Tried renojim suggestion of inserting a USB drive, so used a random FAT32 key:

Booting USB.
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
T

Removed USB and got a successful boot.

Tried a reboot from shutdown -r now...

Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   40.048254][    C0] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[   40.055081][    C0] rcu:     Tasks blocked on level-0 rcu_node (CPUs 0-0): P1
[   40.061987][    C0]  (detected by 0, t=2102 jiffies, g=-35, q=268)
[   40.068186][    C0] run-init        R  running task        0     1      0 0x00000000
[   40.075985][    C0] [<8010f8cc>] (unwind_backtrace) from [<8010bd1c>] (show_stack+0x10/0x14)
[   40.084468][    C0] [<8010bd1c>] (show_stack) from [<8017161c>] (rcu_sched_clock_irq+0x824/0x8f8)
[   40.093389][    C0] [<8017161c>] (rcu_sched_clock_irq) from [<801786fc>] (update_process_times+0x30/0x5c)
[   40.103008][    C0] [<801786fc>] (update_process_times) from [<801877f8>] (tick_sched_handle+0x54/0x60)
[   40.112448][    C0] [<801877f8>] (tick_sched_handle) from [<80187a3c>] (tick_sched_timer+0x48/0x9c)
[   40.121535][    C0] [<80187a3c>] (tick_sched_timer) from [<80179580>] (__hrtimer_run_queues.constprop.3+0x1b8/0x378)
[   40.132102][    C0] [<80179580>] (__hrtimer_run_queues.constprop.3) from [<80179a9c>] (hrtimer_interrupt+0xf8/0x2e0)
[   40.142671][    C0] [<80179a9c>] (hrtimer_interrupt) from [<80863f30>] (orion_clkevt_irq_handler+0x10/0x1c)
[   40.152456][    C0] [<80863f30>] (orion_clkevt_irq_handler) from [<80161650>] (__handle_irq_event_percpu+0xb8/0x210)
[   40.163022][    C0] [<80161650>] (__handle_irq_event_percpu) from [<801617cc>] (handle_irq_event_percpu+0x24/0x78)
[   40.173415][    C0] [<801617cc>] (handle_irq_event_percpu) from [<80161880>] (handle_irq_event+0x60/0x84)
[   40.183027][    C0] [<80161880>] (handle_irq_event) from [<80165c88>] (handle_edge_irq+0x16c/0x198)
[   40.192111][    C0] [<80165c88>] (handle_edge_irq) from [<80160888>] (generic_handle_irq+0x18/0x28)
[   40.201198][    C0] [<80160888>] (generic_handle_irq) from [<806388c8>] (orion_bridge_irq_handler+0x54/0x5c)
[   40.211069][    C0] [<806388c8>] (orion_bridge_irq_handler) from [<80160888>] (generic_handle_irq+0x18/0x28)
[   40.220940][    C0] [<80160888>] (generic_handle_irq) from [<80160f4c>] (__handle_domain_irq+0xac/0xcc)
[   40.230374][    C0] [<80160f4c>] (__handle_domain_irq) from [<80638868>] (orion_handle_irq+0x78/0x84)
[   40.239636][    C0] [<80638868>] (orion_handle_irq) from [<80102188>] (__irq_svc+0x68/0x9c)
[   40.248020][    C0] Exception stack(0xeecb3cf0 to 0xeecb3d38)
[   40.253784][    C0] 3ce0:                                     ee47e750 eecb3e20 ef0e8000 ee47e760
[   40.262699][    C0] 3d00: ee47f0f8 ee47e750 82799019 ee40a660 eecb3e20 eecb3db4 3245d2f6 00000007
[   40.271609][    C0] 3d20: 00000000 eecb3d40 80277c00 80284e7c a0000013 ffffffff
[   40.278955][    C0] [<80102188>] (__irq_svc) from [<80284e7c>] (__d_lookup_rcu+0x3c/0x124)
[   40.287257][    C0] [<80284e7c>] (__d_lookup_rcu) from [<80277c00>] (lookup_fast+0x48/0x2c0)
[   40.295731][    C0] [<80277c00>] (lookup_fast) from [<802780fc>] (walk_component+0xdc/0x288)
[   40.304207][    C0] [<802780fc>] (walk_component) from [<802792e8>] (path_lookupat+0x124/0x204)
[   40.312945][    C0] [<802792e8>] (path_lookupat) from [<8027b568>] (filename_lookup+0x6c/0xd8)
[   40.321599][    C0] [<8027b568>] (filename_lookup) from [<80271a78>] (vfs_statx+0x6c/0xcc)
[   40.329897][    C0] [<80271a78>] (vfs_statx) from [<802722b8>] (sys_lstat64+0x34/0x6c)
[   40.337849][    C0] [<802722b8>] (sys_lstat64) from [<80101000>] (ret_fast_syscall+0x0/0x50)
[   40.346320][    C0] Exception stack(0xeecb3fa8 to 0xeecb3ff0)
[   40.352086][    C0] 3fa0:                   00edde70 76f43968 00edde70 7ec739b8 7ec739b8 e196e600
[   40.360999][    C0] 3fc0: 00edde70 76f43968 00000001 000000c4 00eddf90 00edde70 7ec73c80 005a69ac
[   40.369909][    C0] 3fe0: 005a6f28 7ec739b0 005338bc 76e62844
[  103.098253][    C0] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[  103.105076][    C0] rcu:     Tasks blocked on level-0 rcu_node (CPUs 0-0): P1
[  103.111982][    C0]  (detected by 0, t=8407 jiffies, g=-35, q=268)
[  103.118180][    C0] run-init        R  running task        0     1      0 0x00000000
[  103.125971][    C0] [<8010f8cc>] (unwind_backtrace) from [<8010bd1c>] (show_stack+0x10/0x14)
[  103.134453][    C0] [<8010bd1c>] (show_stack) from [<8017161c>] (rcu_sched_clock_irq+0x824/0x8f8)
[  103.143365][    C0] [<8017161c>] (rcu_sched_clock_irq) from [<801786fc>] (update_process_times+0x30/0x5c)
[  103.152974][    C0] [<801786fc>] (update_process_times) from [<801877f8>] (tick_sched_handle+0x54/0x60)
[  103.162408][    C0] [<801877f8>] (tick_sched_handle) from [<80187a3c>] (tick_sched_timer+0x48/0x9c)
[  103.171495][    C0] [<80187a3c>] (tick_sched_timer) from [<80179580>] (__hrtimer_run_queues.constprop.3+0x1b8/0x378)
[  103.182061][    C0] [<80179580>] (__hrtimer_run_queues.constprop.3) from [<80179a9c>] (hrtimer_interrupt+0xf8/0x2e0)
[  103.192630][    C0] [<80179a9c>] (hrtimer_interrupt) from [<80863f30>] (orion_clkevt_irq_handler+0x10/0x1c)
[  103.202415][    C0] [<80863f30>] (orion_clkevt_irq_handler) from [<80161650>] (__handle_irq_event_percpu+0xb8/0x210)
[  103.212982][    C0] [<80161650>] (__handle_irq_event_percpu) from [<801617cc>] (handle_irq_event_percpu+0x24/0x78)
[  103.223374][    C0] [<801617cc>] (handle_irq_event_percpu) from [<80161880>] (handle_irq_event+0x60/0x84)
[  103.232986][    C0] [<80161880>] (handle_irq_event) from [<80165c88>] (handle_edge_irq+0x16c/0x198)
[  103.242072][    C0] [<80165c88>] (handle_edge_irq) from [<80160888>] (generic_handle_irq+0x18/0x28)
[  103.251157][    C0] [<80160888>] (generic_handle_irq) from [<806388c8>] (orion_bridge_irq_handler+0x54/0x5c)
[  103.261029][    C0] [<806388c8>] (orion_bridge_irq_handler) from [<80160888>] (generic_handle_irq+0x18/0x28)
[  103.270898][    C0] [<80160888>] (generic_handle_irq) from [<80160f4c>] (__handle_domain_irq+0xac/0xcc)
[  103.280334][    C0] [<80160f4c>] (__handle_domain_irq) from [<80638868>] (orion_handle_irq+0x78/0x84)
[  103.289595][    C0] [<80638868>] (orion_handle_irq) from [<80102188>] (__irq_svc+0x68/0x9c)
[  103.297980][    C0] Exception stack(0xeecb3cf0 to 0xeecb3d38)
[  103.303745][    C0] 3ce0:                                     ee47f6c8 eecb3e20 ef0e8000 ee47f6d8
[  103.312659][    C0] 3d00: ee47f290 ee47f6c8 82799019 ee40a660 eecb3e20 eecb3db4 3245d2f6 00000007
[  103.321569][    C0] 3d20: 00000000 eecb3d40 80277c00 80284f54 20000013 ffffffff
[  103.328914][    C0] [<80102188>] (__irq_svc) from [<80284f54>] (__d_lookup_rcu+0x114/0x124)
[  103.337303][    C0] [<80284f54>] (__d_lookup_rcu) from [<80277c00>] (lookup_fast+0x48/0x2c0)
[  103.345779][    C0] [<80277c00>] (lookup_fast) from [<802780fc>] (walk_component+0xdc/0x288)
[  103.354254][    C0] [<802780fc>] (walk_component) from [<802792e8>] (path_lookupat+0x124/0x204)
[  103.362992][    C0] [<802792e8>] (path_lookupat) from [<8027b568>] (filename_lookup+0x6c/0xd8)
[  103.371644][    C0] [<8027b568>] (filename_lookup) from [<80271a78>] (vfs_statx+0x6c/0xcc)
[  103.379945][    C0] [<80271a78>] (vfs_statx) from [<802722b8>] (sys_lstat64+0x34/0x6c)
[  103.387895][    C0] [<802722b8>] (sys_lstat64) from [<80101000>] (ret_fast_syscall+0x0/0x50)
[  103.396366][    C0] Exception stack(0xeecb3fa8 to 0xeecb3ff0)
[  103.402133][    C0] 3fa0:                   00edde70 76f43968 00edde70 7ec739b8 7ec739b8 e196e600
[  103.411046][    C0] 3fc0: 00edde70 76f43968 00000001 000000c4 00eddf90 00edde70 7ec73c80 005a69ac
[  103.419955][    C0] 3fe0: 005a6f28 7ec739b0 005338bc 76e62844
[  129.728291][    C0] random: crng init done

Then a power-off successful boot for comparison:

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, 24989/524288 files, 395085/2097152 blocks
done.
[   18.859131][  T194] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   18.877622][  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.358526][  T375] systemd-udevd[375]: Using default interface naming scheme 'v240'.
done.
[....] Waiting for /dev to be fully populated...[   20.505373][  T375] systemd-udevd[375]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   20.697056][  T395] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   20.847727][  T395] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   20.876659][  T396] marvell-cesa f1030000.crypto: CESA device successfully registered
[   20.897808][  T398] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   20.921011][  T395] orion_wdt: Initial timeout 21 sec
[   20.997447][  T396] systemd-udevd[396]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
done.
[ ok ] Setting hostname to 'Dell-M300'...done.
[ ok ] Activating swap:.
[   21.957541][  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=sata_rootfs is mounted
LABEL=Data is not mounted
[/sbin/fsck.ext4 (1) -- /mnt/data] fsck.ext4 -y -C0 /dev/sda2
e2fsck 1.44.5 (15-Dec-2018)
Data: clean, 1989/6807552 files, 9954062/27207798 blocks
[ 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 .
[....] Will now mount local filesystems:[   23.245807][  T878] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
. ok
[ 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.957143][ T1072] 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:3e
Sending on   LPF/eth0/18:03:73:41:db:3e
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
[   25.880302][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
DHCPOFFER of 192.168.1.104 from 192.168.1.1
DHCPREQUEST for 192.168.1.104 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.104 from 192.168.1.1
bound to 192.168.1.104 -- renewal in 35603 seconds.
[   33.990429][ T1151] NET: Registered protocol family 10
[   33.996641][ T1151] Segment Routing with IPv6
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...
1362 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1389 (klogd)
. ok
[....] Starting system message bus: dbus[   37.417901][ T1419] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[   37.440138][ T1419] random: dbus-daemon: uninitialized urandom read (12 bytes read)
. ok
[....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[   37.551837][ T1442] 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[   39.888639][ T1471] random: crng init done
[   39.892983][ T1471] random: 1 urandom warning(s) missed due to ratelimiting
. ok
Making sure that Logitech Media Server is not running first: No process in pidfile '/var/run/logitechmediaserver.pid' found running; none killed.
Starting Logitech Media Server.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 Dell-M300 ttyS0

Dell-M300 login:

Earlier in the sequence tried a USB boot with the SSD installed and it booted into the USB as expected.
Re: Debian on Dell Kace M300
September 22, 2019 02:23PM
mikeh49 Wrote:
> Tried renojim suggestion of inserting a USB drive, so used a random FAT32 key:
>
Booting USB.
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
T
I saw this many times. I think it's trying to boot off the USB and if you wait long enough it will eventually try IDE and successfully boot.

-JT
Re: Debian on Dell Kace M300
September 22, 2019 02:40PM
Good point, I gave it a minute at the most, probably more like 30 secs. I'm doing a burn-in now, I'll give it a try when there's a good opportunity.
Re: Debian on Dell Kace M300
September 22, 2019 05:33PM
In both Mike and JT tests, it could be the SSD itself that this old stock u-boot does not like.

I am not surprised it that was indeed the problem. There are certain SSDs that even modern u-boots would choke on.

So far what David did was using the HDD for boot drive. And that seems to be 100% successful.

I have not booted the stock SSD enough time to tell, but I am sure it has no problem either.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 09/22/2019 05:34PM by bodhi.
Re: Debian on Dell Kace M300
September 22, 2019 05:55PM
So let me see if I understood.

- With only SSD attched, cold start boots consistently.
- With only SSD attached, reboot sometime hang, but only after the kernel has started booting.

- With SSD attached, plug in a non-rootfs USB thumb, reboot works intermittently. Sometime it hang during kernel booting.

Was that a good summary?

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Dell Kace M300
September 22, 2019 06:08PM
All tests with SSD connected

One test with debian USB attached also, boot OK from Debian as it should, i.e., prefer USB

Three failures to boot with only SSD connected:

All 3 choked right after the Loading Essential Drivers step when it starts running various scripts.

2 at running /scripts/local-block

One after /scripts/init-bottom

Does that help?
Re: Debian on Dell Kace M300
September 22, 2019 06:10PM
Did you install haveged on that system?
Re: Debian on Dell Kace M300
September 22, 2019 06:17PM
1000001101000 Wrote:
-------------------------------------------------------
> Did you install haveged on that system?

That's a good point! eliminate this variable up front so we can be sure it is not the problem.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Dell Kace M300
September 22, 2019 06:55PM
From his serial log, haveged was installed.

.............
Starting entropy daemon: haveged.
....................
Re: Debian on Dell Kace M300
September 22, 2019 07:01PM
Mike or JT,

Could you boot with SSD only and post entire serial console log here!

While at serial console also

printenv

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Dell Kace M300
September 22, 2019 07:02PM
bodhi Wrote:
-------------------------------------------------------
> In both Mike and JT tests, it could be the SSD
> itself that this old stock u-boot does not like.
>
> I am not surprised it that was indeed the problem.
> There are certain SSDs that even modern u-boots
> would choke on.

The strange part: I have two M300s, one system had trouble with the 16GB SATA boot, later I replaced it with a hard drive and it seems OK.
The other system had no trouble at all with the 16GB SATA, and I re-did the root file system on the "bad" SSD and it also booted OK on the second M300 -- SSD only, no usb drive...


Maybe I should fw_printenv on these two systems and compare them one by one. Will do this when I have time.

>
> So far what David did was using the HDD for boot
> drive. And that seems to be 100% successful.

I still need a blank USB drive on usb port to make sure it is 100%. Did not try many times with hard drive only.


>
> I have not booted the stock SSD enough time to
> tell, but I am sure it has no problem either.
Re: Debian on Dell Kace M300
September 22, 2019 07:07PM
Let me just post the fw_printenv here. I did not change anything, even the Mac address.

This is on the M300 which used to have trouble with 16GB SATA SSD boot.

root@m300:~# fw_printenv |sort

CASset=min
MALLOC_len=1
arcNumber=11
autoload=no
baudrate=115200
bootargs=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
bootargs_console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
bootargs_end=:::DB88FXX81:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd2=ide reset; ext2load ide 0:2 0x100000 /kbox/bin/uImage.bak; ext2load ide 0:1 0x01100000 /uInitrd;bootm 0x100000 0x01100000
bootcmd=run kernel_config; run set_bootargs; run bootcmd_ide2; run bootcmd_exec
bootcmd_exec=echo Booting Debian â¦; usb start; run load_uimage; run load_initrd; bootm $(load_uimage_addr) $(load_initrd_addr)
bootcmd_ide2=ide reset; ext2load ide 0:1 $(load_uimage_addr) /boot/uImage; ext2load ide 0:1 $(load_initrd_addr) /boot/uInitrd; bootm $(load_uimage_addr) $(load_initrd_addr)
bootcmd_ide=run bootcmd_ideload; setenv bootargs $(bootargs_console); bootm 0x100000 0x01100000
bootcmd_ideload=ide reset; ext2load ide 0:1 0x100000 /uImage; ext2load ide 0:1 0x01100000 /uInitrd
bootdelay=3
console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
disL2Cache=no
disL2Prefetch=yes
disaMvPnp=no
enaAutoRecovery=yes
enaCpuStream=no
enaDCPref=yes
enaICPref=yes
enaMonExt=no
enaWrAllo=no
ethact=egiga0
ethaddr=18:03:73:41:dc:65
ethmtu=1500
ethprime=egiga0
fileaddr=1200000
filesize=728c0
image_name=uImage
ipaddr=192.168.7.38
kernel2bootup=no
kernel_config=setenv mainlineLinux yes; setenv mtdparts mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env); setenv load_uimage_addr 0x800000; setenv load_initrd_addr 0x02100000
load_initrd=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
load_initrd_addr=0x02100000
load_uimage=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
load_uimage_addr=0x800000
loadaddr=0x02000000
loads_echo=0
mainlineLinux=yes
mtdparts=mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
netbsd_en=no
netmask=255.255.255.0
netretry=no
pcieTune=no
pexMode=RC
rcvrip=169.254.100.100
rootpath=/mnt/ARM_FS/
run_diag=yes
sata_dma_mode=yes
serverip=192.168.58.188
setL2CacheWT=yes
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usiversion=kacemini-1.5
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81
Re: Debian on Dell Kace M300
September 22, 2019 07:10PM
This is the fw_printenv on the "good" M300, since it is good, I call it M301 because 301>300. :P

root@m301:~# fw_printenv |sort
CASset=min
MALLOC_len=1
autoload=no
baudrate=115200
bootargs=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) root=/dev/sda1 rw
bootargs_console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
bootargs_end=:::DB88FXX81:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd2=ide reset; ext2load ide 0:2 0x100000 /kbox/bin/uImage.bak; ext2load ide 0:1 0x01100000 /uInitrd;bootm 0x100000 0x01100000
bootcmd=run kernel_config; run set_bootargs; run bootcmd_ide2; run bootcmd_exec
bootcmd_exec=echo Booting Debian â¦; usb start; run load_uimage; run load_initrd; bootm $(load_uimage_addr) $(load_initrd_addr)
bootcmd_ide2=ide reset; ext2load ide 0:1 $(load_uimage_addr) /boot/uImage; ext2load ide 0:1 $(load_initrd_addr) /boot/uInitrd; bootm $(load_uimage_addr) $(load_initrd_addr)
bootcmd_ide=run bootcmd_ideload; setenv bootargs $(bootargs_console); bootm 0x100000 0x01100000
bootcmd_ideload=ide reset; ext2load ide 0:1 0x100000 /uImage; ext2load ide 0:1 0x01100000 /uInitrd
bootdelay=3
console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
disL2Cache=no
disL2Prefetch=yes
disaMvPnp=no
enaAutoRecovery=yes
enaCpuStream=no
enaDCPref=yes
enaICPref=yes
enaMonExt=no
enaWrAllo=no
ethact=egiga0
ethaddr=18:03:73:41:dc:08
ethmtu=1500
ethprime=egiga0
fileaddr=1200000
filesize=728c0
image_name=uImage
ipaddr=192.168.58.233
kernel2bootup=no
kernel_config=setenv mainlineLinux yes; setenv mtdparts mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env); setenv load_uimage_addr 0x800000; setenv load_initrd_addr 0x02100000
load_initrd=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
load_uimage=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
loadaddr=0x02000000
loads_echo=0
mainlineLinux=no
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
netbsd_en=no
netmask=255.255.255.0
netretry=no
pcieTune=no
pexMode=RC
rcvrip=169.254.100.100
rootpath=/mnt/ARM_FS/
run_diag=yes
sata_dma_mode=yes
serverip=192.168.58.188
setL2CacheWT=yes
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usiversion=kacemini-1.5
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81
Re: Debian on Dell Kace M300
September 22, 2019 07:18PM
Three boots without haveged (dpkg -r haveged) and all successful. About 1 minute to start the SSH server. I think I first tried haveged on the 16GB stock drive and I don't think there was ever a boot fail there (at least from this reason). The 16GB is noticeably slower to boot, especially loading the images, than the new 120GB drive; no surprise there.

Per bohdi's request:

Boot log

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Jun 20 2011 - 13:16:26) Marvell version: 3.4.27
USISH-SMB Ver: kacemini-1.5

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CDBC0

Soc: MV88F1155 Rev 1 (DDR3)
CPU running @ 2000Mhz L2 running @ 500Mhz
SysClock = 500Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 512MB
DRAM CS[1] base 0x20000000   size 512MB
DRAM CS[2] base 0x40000000   size 512MB
DRAM CS[3] base 0x60000000   size 512MB
DRAM Total size   2GB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[512kB@f8000000] Flash: 512 kB
Good CRC!

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]


Running diagnostics ...

        DDR3 data bus test                               PASSED

        DDR3 address bus test                            PASSED

        DDR3 device test                                 PASSED

Diag completed
Hit any key to stop autoboot:  0
Booting USB.
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
0 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ...
Bad Magic Number
Booting IDE .

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: KINGSTON SA400S37120G                    Firm: SBFKB1D1 Ser#: 50026B7282368B97
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)


4981772 bytes read

9784769 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-2
   Created:      2019-09-12  16:29:16 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4981708 Bytes =  4.8 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-2
   Created:      2019-09-07  16:57:30 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9784705 Bytes =  9.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... 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] printk: bootconsole [earlycon0] enabled
[    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:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earlyprintk=serial
[    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: 1793952K/1835008K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 300K bss, 41056K 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.008509][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015620][    T0] Console: colour dummy device 80x30
[    0.020802][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032004][    T0] pid_max: default: 32768 minimum: 301
[    0.037556][    T0] LSM: Security Framework initializing
[    0.043022][    T0] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.050436][    T0] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.058885][    T0] *** VALIDATE proc ***
[    0.063078][    T0] *** VALIDATE cgroup1 ***
[    0.067334][    T0] *** VALIDATE cgroup2 ***
[    0.071682][    T0] CPU: Testing write buffer coherency: ok
[    0.078550][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.085576][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.091631][    T1] rcu: Hierarchical SRCU implementation.
[    0.099348][    T1] devtmpfs: initialized
[    0.107022][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.117562][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.124576][    T1] xor: measuring software checksum speed
[    0.228529][    T1]    arm4regs  :  1816.800 MB/sec
[    0.328530][    T1]    8regs     :  1090.400 MB/sec
[    0.428528][    T1]    32regs    :  1585.600 MB/sec
[    0.433382][    T1] xor: using function: arm4regs (1816.800 MB/sec)
[    0.439650][    T1] prandom: seed boundary self test passed
[    0.447698][    T1] prandom: 100 self tests passed
[    0.452494][    T1] pinctrl core: initialized pinctrl subsystem
[    0.459515][    T1] NET: Registered protocol family 16
[    0.465021][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.473225][    T1] audit: initializing netlink subsys (disabled)
[    0.480283][   T14] audit: type=2000 audit(0.470:1): state=initialized audit_enabled=0 res=1
[    0.488794][    T1] cpuidle: using governor ladder
[    0.493619][    T1] cpuidle: using governor menu
[    0.498631][    T1] Feroceon L2: Enabling L2
[    0.502909][    T1] Feroceon L2: Cache support initialised.
[    0.512292][    T1] No ATAGs?
[    2.568513][    C0] random: fast init done
[    3.736900][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    3.743049][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    3.918826][    T1] raid6: int32x8  gen()   208 MB/s
[    4.088870][    T1] raid6: int32x8  xor()   142 MB/s
[    4.258773][    T1] raid6: int32x4  gen()   209 MB/s
[    4.428665][    T1] raid6: int32x4  xor()   138 MB/s
[    4.598569][    T1] raid6: int32x2  gen()   208 MB/s
[    4.768668][    T1] raid6: int32x2  xor()   152 MB/s
[    4.938707][    T1] raid6: int32x1  gen()   157 MB/s
[    5.108549][    T1] raid6: int32x1  xor()   109 MB/s
[    5.113485][    T1] raid6: using algorithm int32x4 gen() 209 MB/s
[    5.119553][    T1] raid6: .... xor() 138 MB/s, rmw enabled
[    5.125097][    T1] raid6: using intx1 recovery algorithm
[    5.130658][    T1] vgaarb: loaded
[    5.134386][    T1] SCSI subsystem initialized
[    5.139194][    T1] usbcore: registered new interface driver usbfs
[    5.145376][    T1] usbcore: registered new interface driver hub
[    5.151433][    T1] usbcore: registered new device driver usb
[    5.157274][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.162924][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.172720][    T1] PTP clock support registered
[    5.178257][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.790857][    T1] VFS: Disk quotas dquot_6.6.0
[    5.795522][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.809863][    T1] NET: Registered protocol family 2
[    5.815468][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 1, 8192 bytes)
[    5.823958][    T1] TCP established hash table entries: 16384 (order: 4, 65536 bytes)
[    5.831973][    T1] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    5.839375][    T1] TCP: Hash tables configured (established 16384 bind 16384)
[    5.846639][    T1] UDP hash table entries: 1024 (order: 2, 16384 bytes)
[    5.853372][    T1] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes)
[    5.860682][    T1] NET: Registered protocol family 1
[    5.866177][    T1] RPC: Registered named UNIX socket transport module.
[    5.872820][    T1] RPC: Registered udp transport module.
[    5.878185][    T1] RPC: Registered tcp transport module.
[    5.883567][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.890679][    T1] PCI: CLS 0 bytes, default 32
[    5.895435][    T1] Trying to unpack rootfs image as initramfs...
[    6.437643][    T1] Freeing initrd memory: 9556K
[    6.442400][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    6.450487][    T1] Initialise system trusted keyrings
[    6.455624][    T1] Key type blacklist registered
[    6.460511][    T1] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    6.467661][    T1] zbud: loaded
[    6.471703][    T1] NFS: Registering the id_resolver key type
[    6.477433][    T1] Key type id_resolver registered
[    6.482350][    T1] Key type id_legacy registered
[    6.487039][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.494414][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.501668][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.509542][    T1] fuse: init (API version 7.31)
[    6.514486][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.521730][    T1] orangefs_init: module version upstream loaded
[    6.527793][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    6.548032][    T1] async_tx: api initialized (async)
[    6.553147][    T1] Key type asymmetric registered
[    6.557913][    T1] Asymmetric key parser 'x509' registered
[    6.563547][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    6.572637][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.581981][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    6.590265][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.596416][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    6.603968][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    6.610973][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    6.617660][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    6.625791][    T1] PCI: bus0: Fast back to back transfers disabled
[    6.632060][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    6.641406][    T1] PCI: bus1: Fast back to back transfers enabled
[    6.647563][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    6.654976][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    6.662876][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    6.668913][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.728808][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.738048][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.798767][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.808186][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.816117][    T1] printk: console [ttyS0] disabled
[    6.821158][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    6.830830][    T1] printk: console [ttyS0] enabled
[    6.830830][    T1] printk: console [ttyS0] enabled
[    6.840651][    T1] printk: bootconsole [earlycon0] disabled
[    6.840651][    T1] printk: bootconsole [earlycon0] disabled
[    6.857293][    T1] loop: module loaded
[    6.861609][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    6.869135][    T1] scsi host0: sata_mv
[    6.873416][    T1] scsi host1: sata_mv
[    6.877466][    T1] ata1: SATA max UDMA/133 irq 33
[    6.882323][    T1] ata2: SATA max UDMA/133 irq 33
[    6.888376][    T1] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    6.893901][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    6.900577][    T1] Creating 2 MTD partitions on "spi0.0":
[    6.906091][    T1] 0x000000000000-0x00000007f000 : "uboot"
[    6.912620][    T1] 0x00000007f000-0x000000080000 : "u-boot-env"
[    6.920303][    T1] libphy: Fixed MDIO Bus: probed
[    6.925656][    T1] libphy: orion_mdio_bus: probed
[    6.940274][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    6.948121][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    6.956045][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 18:03:73:41:db:3e
[    6.965641][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.972988][    T1] ehci-pci: EHCI PCI platform driver
[    6.978194][    T1] ehci-orion: EHCI orion driver
[    6.983091][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    6.989360][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    6.997906][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    7.028281][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.035199][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    7.044217][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.052181][    T1] usb usb1: Product: EHCI Host Controller
[    7.057773][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-2 ehci_hcd
[    7.065120][    T1] usb usb1: SerialNumber: f1050000.ehci
[    7.070974][    T1] hub 1-0:1.0: USB hub found
[    7.075467][    T1] hub 1-0:1.0: 1 port detected
[    7.080625][    T1] usbcore: registered new interface driver usb-storage
[    7.087608][    T1] mousedev: PS/2 mouse device common for all mice
[    7.094341][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    7.100072][    T1] i2c /dev entries driver
[    7.104722][    T1] device-mapper: uevent: version 1.0.3
[    7.110319][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    7.119827][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    7.127111][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    7.134491][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    7.141925][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    7.148799][    T1] device-mapper: raid: Loading target version 1.14.0
[    7.156140][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    7.162545][    T1] drop_monitor: Initializing network drop monitor service
[    7.169771][    T1] NET: Registered protocol family 17
[    7.175138][    T1] Key type dns_resolver registered
[    7.180747][    T1] registered taskstats version 1
[    7.185581][    T1] Loading compiled-in X.509 certificates
[    7.191269][    T1] zswap: loaded using pool lzo/zbud
[    7.259388][    T1] Key type big_key registered
[    7.292463][    T1] Key type encrypted registered
[    7.298907][    T1] rtc-mv f1010300.rtc: setting system clock to 2019-09-23T00:02:46 UTC (1569196966)
[    7.388293][  T112] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.395566][  T112] ata1.00: ATA-11: KINGSTON SA400S37120G, SBFKB1D1, max UDMA/133
[    7.403195][  T112] ata1.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 31/32)
[    7.411049][  T112] ata1.00: configured for UDMA/133
[    7.426425][    T7] scsi 0:0:0:0: Direct-Access     ATA      KINGSTON SA400S3 B1D1 PQ: 0 ANSI: 5
[    7.436046][  T116] sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
[    7.444704][  T116] sd 0:0:0:0: [sda] Write Protect is off
[    7.450274][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.457843][  T116] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.469093][  T116]  sda: sda1 sda2
[    7.473832][  T116] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.658788][   T15] usb 1-1: New USB device found, idVendor=058f, idProduct=6254, bcdDevice= 1.00
[    7.667714][   T15] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    7.676153][   T15] hub 1-1:1.0: USB hub found
[    7.680781][   T15] hub 1-1:1.0: 4 ports detected
[    7.781889][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[    7.801407][    T1] Freeing unused kernel memory: 1024K
[    7.807049][    T1] Checked W+X mappings: passed, no W+X pages found
[    7.813451][    T1] Run /init as init process
Loading, please wait...
Starting version 241
[    8.366679][  T168] 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, 24982/524288 files, 395237/2097152 blocks
done.
[   18.867661][  T194] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   18.886140][  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.421577][  T386] systemd-udevd[386]: Using default interface naming scheme 'v240'.
done.
[....] Waiting for /dev to be fully populated...[   20.550471][  T386] systemd-udevd[386]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   20.683019][  T387] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   20.804388][  T383] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   20.819039][  T387] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   20.967783][  T387] orion_wdt: Initial timeout 21 sec
[   20.985688][  T374] marvell-cesa f1030000.crypto: CESA device successfully registered
[   21.065667][  T386] systemd-udevd[386]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
done.
[ ok ] Setting hostname to 'Dell-M300'...done.
[ ok ] Activating swap:.
[   22.218358][  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=sata_rootfs is mounted
LABEL=Data is not mounted
[/sbin/fsck.ext4 (1) -- /mnt/data] fsck.ext4 -y -C0 /dev/sda2
e2fsck 1.44.5 (15-Dec-2018)
Data: clean, 1989/6807552 files, 9954062/27207798 blocks
[ 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 .
[....] Will now mount local filesystems:[   23.517203][  T878] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
. ok
[ 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.231499][ T1072] 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:3e
Sending on   LPF/eth0/18:03:73:41:db:3e
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
[   26.135852][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPOFFER of 192.168.1.104 from 192.168.1.1
DHCPREQUEST for 192.168.1.104 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.104 from 192.168.1.1
bound to 192.168.1.104 -- renewal in 37195 seconds.
[   32.502492][ T1151] NET: Registered protocol family 10
[   32.508781][ T1151] Segment Routing with IPv6
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...
1362 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1389 (klogd)
. ok
[....] Starting system message bus: dbus[   35.945623][ T1419] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[   35.967780][ T1419] random: dbus-daemon: uninitialized urandom read (12 bytes read)
. ok
[....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[   36.079762][ T1442] random: avahi-daemon: uninitialized urandom read (4 bytes read)
. ok
[ 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[  131.620097][    C0] random: crng init done
[  131.624222][    C0] random: 1 urandom warning(s) missed due to ratelimiting
. ok
Making sure that Logitech Media Server is not running first: No process in pidfile '/var/run/logitechmediaserver.pid' found running; none killed.
Starting Logitech Media Server.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 Dell-M300 ttyS0

Dell-M300 login:

Environments

Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
kernel2bootup=no
usiversion=kacemini-1.5
console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
filesize=728c0
fileaddr=1200000
netmask=255.255.255.0
ipaddr=192.168.58.233
serverip=192.168.58.188
ethaddr=18:03:73:41:db:3e
run_diag=yes
bootargs_console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
bootcmd_ideload=ide reset; ext2load ide 0:1 0x100000 /uImage; ext2load ide 0:1 0x01100000 /uInitrd
kernel_config=setenv mainlineLinux yes; setenv mtdparts mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env); setenv load_uimage_addr 0x800000; setenv load_initrd_addr 0x02100000
load_uimage=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
load_initrd=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
set_bootargs_usb=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
set_bootargs_sata=setenv bootargs console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
arcNumber=11
bootargs=console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 earlyprintk=serial
bootcmd_ide2=ide reset; ext2load ide 0:1 $(load_uimage_addr) /boot/uImage; ext2load ide 0:1 $(load_initrd_addr) /boot/uInitrd; bootm $(load_uimage_addr)
bootcmd2=ide reset;ext2load ide 0:2 0x1200000 /uImage-kacemini-000-bak;bootm 0x1200000
bootcmd=run kernel_config; run set_bootargs_usb; run bootcmd_usb; run set_bootargs_sata; run bootcmd_ide
load_uimage_ide=ext2load ide 0:1 $(load_uimage_addr) /boot/uImage
load_initrd_ide=ext2load ide 0:1 $(load_initrd_addr) /boot/uInitrd
bootcmd_ide=echo Booting IDE .; ide reset; run load_uimage_ide; run load_initrd_ide; bootm $(load_uimage_addr) $(load_initrd_addr)
load_uimage_usb=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
load_initrd_usb=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
bootcmd_usb=echo Booting USB.; usb reset; run load_uimage_usb; run load_initrd_usb; bootm $(load_uimage_addr) $(load_initrd_addr)
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no

Environment size: 2873/4092 bytes

The 120GB SSD has 2 partitions, sata_rootfs ext3 8GB and Data ext4 rest of drive

In the earlier boots there were some fsck things that had to be fixed. I had the drive out and connected to a linux box to change the label and edit fstab for the new label.
Re: Debian on Dell Kace M300
September 22, 2019 07:21PM
bodhi Wrote:
-------------------------------------------------------
>
> I have not booted the stock SSD enough time to
> tell, but I am sure it has no problem either.

I think when we use the new root file system on the stock 16GB SSD, it might cause some strange problems, and it is difficult to repeat the problems... :P so I just replaced the 16GB SSD with a hard drive. I think someone mentioned in this forum that certain SSDs might have trouble...

The strange part: my second set of M300 had no trouble with the new root file system on the 16GB SSD (tried both the 16GB SSDs I have), I even don't need a usb flash drive on the USB port. :P
Re: Debian on Dell Kace M300
September 22, 2019 07:21PM
It does not look what I expected to see.

What we want is a set of boot envs that ignore USB altogether, only deal with IDE. Basically, we want make sure IDE boot without problem and then go back to both USB and IDE in boot envs.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Dell Kace M300
September 22, 2019 07:34PM
bootcmd runs bootcmd_usb before bootcmd_ide so does that mean it checks USB and if it fails, moves on to ide? The Boot USB. echo comes from bootcmd_usb which runs before bootcmd_ide.

If removing haveged fixes it, I can live with slower boot. I usually reboot this server 3 times a year.



Edited 1 time(s). Last edit at 09/22/2019 07:36PM by mikeh49.
Re: Debian on Dell Kace M300
September 22, 2019 07:56PM
Mike,

> bootcmd runs bootcmd_usb before bootcmd_ide so
> does that mean it checks USB and if it fails,
> moves on to ide? The Boot USB. echo comes from
> bootcmd_usb which runs before bootcmd_ide.
>
> If removing haveged fixes it, I can live with
> slower boot. I usually reboot this server 3 times
> a year.

I am trying to see if that if we eliminate USB altogether, meaning don't initialize it at all, can we boot the SSD? it seems to work fine for the internal SSD.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Dell Kace M300
September 22, 2019 08:04PM
Well, when I had trouble with the M300's SATA SSD boot, I didn't have haveged...

I don't think removing haveged will fix it.

mikeh49 Wrote:
-------------------------------------------------------
> bootcmd runs bootcmd_usb before bootcmd_ide so
> does that mean it checks USB and if it fails,
> moves on to ide? The Boot USB. echo comes from
> bootcmd_usb which runs before bootcmd_ide.
>
> If removing haveged fixes it, I can live with
> slower boot. I usually reboot this server 3 times
> a year.
Re: Debian on Dell Kace M300
September 23, 2019 03:51AM
Let me see if I can summarize my findings:
  • haveged doesn't make a difference
  • Booting from USB drive usually works (could be my cheap USB drive)
  • Booting from SSD without USB drive inserted gives unpredictable results (hangs, unstable system, kernel panics, etc.)
  • Inserting pretty much any USB drive allows SSD booting to succeed (USB drive can be removed after booting)
    [*} It's not good enough to get to the login prompt - even with successful SSD boots the system is unstable
I should add that I have two M300s and I get identical results from both - neither will boot reliably from SSD.

Here's all the logs (split into multiple posts):

Successful SSD boot w/Windows 7 USB boot drive (notice it took multiple attempts):

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Jun 20 2011 - 13:16:26) Marvell version: 3.4.27
USISH-SMB Ver: kacemini-1.5

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CDBC0

Soc: MV88F1155 Rev 1 (DDR3)
CPU running @ 2000Mhz L2 running @ 500Mhz
SysClock = 500Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 512MB
DRAM CS[1] base 0x20000000   size 512MB
DRAM CS[2] base 0x40000000   size 512MB
DRAM CS[3] base 0x60000000   size 512MB
DRAM Total size   2GB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[512kB@f8000000] Flash: 512 kB
Good CRC!

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]


Running diagnostics ...

        DDR3 data bus test                               PASSED

        DDR3 address bus test                            PASSED

        DDR3 device test                                 PASSED

Diag completed
Hit any key to stop autoboot:  0
Booting USB.
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
kernel2bootup=no
usiversion=kacemini-1.5
console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
netmask=255.255.255.0
ipaddr=192.168.58.233
ethaddr=18:03:73:41:db:40
run_diag=yes
bootargs_console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
bootcmd_ideload=ide reset; ext2load ide 0:1 0x100000 /uImage; ext2load ide 0:1 0x01100000 /uInitrd
bootcmd2=ide reset; ext2load ide 0:2 0x100000 /kbox/bin/uImage.bak; ext2load ide 0:1 0x01100000 /uInitrd;bootm 0x100000 0x01100000
kernel_config=setenv mainlineLinux yes; setenv mtdparts mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env); setenv load_uimage_addr 0x800000; setenv load_initrd_addr 0x02100000
load_uimage=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
load_initrd=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
set_bootargs_stock=setenv mainlineLinux no; setenv bootargs_console console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) root=LABEL=root rw
bootcmd_stock=echo Booting stock ...; run bootcmd_ide
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
bootcmd_exec=echo Booting Debian .; usb start; run load_uimage; run load_initrd; bootm $(load_uimage_addr) $(load_initrd_addr)
set_bootargs_usb=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
set_bootargs_sata=setenv bootargs console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
bootcmd=run kernel_config; run set_bootargs_usb; run bootcmd_usb; run set_bootargs_sata; run bootcmd_ide
serverip=192.168.0.100
serverport=614
load_uimage_usb=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
load_initrd_usb=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
bootcmd_usb=echo Booting USB.; usb reset; run load_uimage_usb; run load_initrd_usb; printenv; bootm $(load_uimage_addr) $(load_initrd_addr)
bootcmd_ide=echo Booting IDE .; ide reset; run load_uimage_ide; run load_initrd_ide; printenv; bootm $(load_uimage_addr) $(load_initrd_addr)
load_initrd_ide=ext2load ide 0:1 $(load_initrd_addr) /boot/uInitrd
load_uimage_ide=ext2load ide 0:1 $(load_uimage_addr) /boot/uImage
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
mainlineLinux=yes
mtdparts=mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
load_uimage_addr=0x800000
load_initrd_addr=0x02100000
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earlyprintk=serial

Environment size: 3395/4092 bytes
## Booting image at 00800000 ...
Bad Magic Number
Booting IDE .

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: TS16GSSD25H-M                            Firm: 20100712 Ser#: 20110423421602036149
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 15272.0 MB = 14.9 GB (31277056 x 512)

 [0 0] sata unrecoverable error occured, restart channel
USI board reset
ø
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Jun 20 2011 - 13:16:26) Marvell version: 3.4.27
USISH-SMB Ver: kacemini-1.5

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CDBC0

Soc: MV88F1155 Rev 1 (DDR3)
CPU running @ 2000Mhz L2 running @ 500Mhz
SysClock = 500Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 512MB
DRAM CS[1] base 0x20000000   size 512MB
DRAM CS[2] base 0x40000000   size 512MB
DRAM CS[3] base 0x60000000   size 512MB
DRAM Total size   2GB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[512kB@f8000000] Flash: 512 kB
Good CRC!

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]


Running diagnostics ...

        DDR3 data bus test                               PASSED

        DDR3 address bus test                            PASSED

        DDR3 device test                                 PASSED

Diag completed
Hit any key to stop autoboot:  0
Booting USB.
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
kernel2bootup=no
usiversion=kacemini-1.5
console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
netmask=255.255.255.0
ipaddr=192.168.58.233
ethaddr=18:03:73:41:db:40
run_diag=yes
bootargs_console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
bootcmd_ideload=ide reset; ext2load ide 0:1 0x100000 /uImage; ext2load ide 0:1 0x01100000 /uInitrd
bootcmd2=ide reset; ext2load ide 0:2 0x100000 /kbox/bin/uImage.bak; ext2load ide 0:1 0x01100000 /uInitrd;bootm 0x100000 0x01100000
kernel_config=setenv mainlineLinux yes; setenv mtdparts mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env); setenv load_uimage_addr 0x800000; setenv load_initrd_addr 0x02100000
load_uimage=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
load_initrd=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
set_bootargs_stock=setenv mainlineLinux no; setenv bootargs_console console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) root=LABEL=root rw
bootcmd_stock=echo Booting stock ...; run bootcmd_ide
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
bootcmd_exec=echo Booting Debian .; usb start; run load_uimage; run load_initrd; bootm $(load_uimage_addr) $(load_initrd_addr)
set_bootargs_usb=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
set_bootargs_sata=setenv bootargs console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
bootcmd=run kernel_config; run set_bootargs_usb; run bootcmd_usb; run set_bootargs_sata; run bootcmd_ide
serverip=192.168.0.100
serverport=614
load_uimage_usb=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
load_initrd_usb=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
bootcmd_usb=echo Booting USB.; usb reset; run load_uimage_usb; run load_initrd_usb; printenv; bootm $(load_uimage_addr) $(load_initrd_addr)
bootcmd_ide=echo Booting IDE .; ide reset; run load_uimage_ide; run load_initrd_ide; printenv; bootm $(load_uimage_addr) $(load_initrd_addr)
load_initrd_ide=ext2load ide 0:1 $(load_initrd_addr) /boot/uInitrd
load_uimage_ide=ext2load ide 0:1 $(load_uimage_addr) /boot/uImage
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
mainlineLinux=yes
mtdparts=mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
load_uimage_addr=0x800000
load_initrd_addr=0x02100000
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earlyprintk=serial

Environment size: 3395/4092 bytes
## Booting image at 00800000 ...
Bad Magic Number
Booting IDE .

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: TS16GSSD25H-M                            Firm: 20100712 Ser#: 20110423421602036149
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 15272.0 MB = 14.9 GB (31277056 x 512)


4981772 bytes read

9784778 bytes read
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
kernel2bootup=no
usiversion=kacemini-1.5
console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
netmask=255.255.255.0
ipaddr=192.168.58.233
ethaddr=18:03:73:41:db:40
run_diag=yes
bootargs_console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
bootcmd_ideload=ide reset; ext2load ide 0:1 0x100000 /uImage; ext2load ide 0:1 0x01100000 /uInitrd
bootcmd2=ide reset; ext2load ide 0:2 0x100000 /kbox/bin/uImage.bak; ext2load ide 0:1 0x01100000 /uInitrd;bootm 0x100000 0x01100000
kernel_config=setenv mainlineLinux yes; setenv mtdparts mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env); setenv load_uimage_addr 0x800000; setenv load_initrd_addr 0x02100000
load_uimage=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
load_initrd=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
set_bootargs_stock=setenv mainlineLinux no; setenv bootargs_console console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) root=LABEL=root rw
bootcmd_stock=echo Booting stock ...; run bootcmd_ide
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
bootcmd_exec=echo Booting Debian .; usb start; run load_uimage; run load_initrd; bootm $(load_uimage_addr) $(load_initrd_addr)
set_bootargs_usb=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
set_bootargs_sata=setenv bootargs console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
bootcmd=run kernel_config; run set_bootargs_usb; run bootcmd_usb; run set_bootargs_sata; run bootcmd_ide
serverip=192.168.0.100
serverport=614
load_uimage_usb=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
load_initrd_usb=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
bootcmd_usb=echo Booting USB.; usb reset; run load_uimage_usb; run load_initrd_usb; printenv; bootm $(load_uimage_addr) $(load_initrd_addr)
bootcmd_ide=echo Booting IDE .; ide reset; run load_uimage_ide; run load_initrd_ide; printenv; bootm $(load_uimage_addr) $(load_initrd_addr)
load_initrd_ide=ext2load ide 0:1 $(load_initrd_addr) /boot/uInitrd
load_uimage_ide=ext2load ide 0:1 $(load_uimage_addr) /boot/uImage
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
mainlineLinux=yes
mtdparts=mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
load_uimage_addr=0x800000
load_initrd_addr=0x02100000
bootargs=console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earlyprintk=serial
filesize=954DCA

Environment size: 3416/4092 bytes
## Booting 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 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-2
   Created:      2019-09-21  10:27:48 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9784714 Bytes =  9.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... 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] printk: bootconsole [earlycon0] enabled
[    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:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earlyprintk=serial
[    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: 1793952K/1835008K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 300K bss, 41056K 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.008509][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015622][    T0] Console: colour dummy device 80x30
[    0.020802][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032004][    T0] pid_max: default: 32768 minimum: 301
[    0.037554][    T0] LSM: Security Framework initializing
[    0.043013][    T0] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.050429][    T0] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.058878][    T0] *** VALIDATE proc ***
[    0.063070][    T0] *** VALIDATE cgroup1 ***
[    0.067325][    T0] *** VALIDATE cgroup2 ***
[    0.071674][    T0] CPU: Testing write buffer coherency: ok
[    0.078509][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.085576][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.091632][    T1] rcu: Hierarchical SRCU implementation.
[    0.099347][    T1] devtmpfs: initialized
[    0.107030][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.117571][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.124580][    T1] xor: measuring software checksum speed
[    0.228527][    T1]    arm4regs  :  1816.800 MB/sec
[    0.328530][    T1]    8regs     :  1090.400 MB/sec
[    0.428527][    T1]    32regs    :  1585.600 MB/sec
[    0.433383][    T1] xor: using function: arm4regs (1816.800 MB/sec)
[    0.439650][    T1] prandom: seed boundary self test passed
[    0.447698][    T1] prandom: 100 self tests passed
[    0.452494][    T1] pinctrl core: initialized pinctrl subsystem
[    0.459520][    T1] NET: Registered protocol family 16
[    0.465030][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.473232][    T1] audit: initializing netlink subsys (disabled)
[    0.480296][   T14] audit: type=2000 audit(0.470:1): state=initialized audit_enabled=0 res=1
[    0.488809][    T1] cpuidle: using governor ladder
[    0.493637][    T1] cpuidle: using governor menu
[    0.498646][    T1] Feroceon L2: Enabling L2
[    0.502918][    T1] Feroceon L2: Cache support initialised.
[    0.512293][    T1] No ATAGs?
[    2.568514][    C0] random: fast init done
[    3.736898][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    3.743051][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    3.918823][    T1] raid6: int32x8  gen()   208 MB/s
[    4.088873][    T1] raid6: int32x8  xor()   142 MB/s
[    4.258615][    T1] raid6: int32x4  gen()   208 MB/s
[    4.428662][    T1] raid6: int32x4  xor()   138 MB/s
[    4.598617][    T1] raid6: int32x2  gen()   210 MB/s
[    4.768669][    T1] raid6: int32x2  xor()   152 MB/s
[    4.938706][    T1] raid6: int32x1  gen()   157 MB/s
[    5.108551][    T1] raid6: int32x1  xor()   109 MB/s
[    5.113485][    T1] raid6: using algorithm int32x2 gen() 210 MB/s
[    5.119553][    T1] raid6: .... xor() 152 MB/s, rmw enabled
[    5.125097][    T1] raid6: using intx1 recovery algorithm
[    5.130658][    T1] vgaarb: loaded
[    5.134383][    T1] SCSI subsystem initialized
[    5.139186][    T1] usbcore: registered new interface driver usbfs
[    5.145367][    T1] usbcore: registered new interface driver hub
[    5.151424][    T1] usbcore: registered new device driver usb
[    5.157267][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.162914][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.172711][    T1] PTP clock support registered
[    5.178249][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.790888][    T1] VFS: Disk quotas dquot_6.6.0
[    5.795547][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.809890][    T1] NET: Registered protocol family 2
[    5.815494][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 1, 8192 bytes)
[    5.823986][    T1] TCP established hash table entries: 16384 (order: 4, 65536 bytes)
[    5.831999][    T1] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    5.839401][    T1] TCP: Hash tables configured (established 16384 bind 16384)
[    5.846667][    T1] UDP hash table entries: 1024 (order: 2, 16384 bytes)
[    5.853398][    T1] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes)
[    5.860708][    T1] NET: Registered protocol family 1
[    5.866206][    T1] RPC: Registered named UNIX socket transport module.
[    5.872848][    T1] RPC: Registered udp transport module.
[    5.878220][    T1] RPC: Registered tcp transport module.
[    5.883602][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.890714][    T1] PCI: CLS 0 bytes, default 32
[    5.895466][    T1] Trying to unpack rootfs image as initramfs...
[    6.437697][    T1] Freeing initrd memory: 9556K
[    6.442451][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    6.450546][    T1] Initialise system trusted keyrings
[    6.455691][    T1] Key type blacklist registered
[    6.460582][    T1] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    6.467738][    T1] zbud: loaded
[    6.471784][    T1] NFS: Registering the id_resolver key type
[    6.477513][    T1] Key type id_resolver registered
[    6.482427][    T1] Key type id_legacy registered
[    6.487118][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.494500][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.501755][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.509630][    T1] fuse: init (API version 7.31)
[    6.514571][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.521815][    T1] orangefs_init: module version upstream loaded
[    6.527879][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    6.548064][    T1] async_tx: api initialized (async)
[    6.553168][    T1] Key type asymmetric registered
[    6.557930][    T1] Asymmetric key parser 'x509' registered
[    6.563552][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    6.572649][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.581995][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    6.590280][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.596433][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    6.603985][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    6.610990][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    6.617677][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    6.625813][    T1] PCI: bus0: Fast back to back transfers disabled
[    6.632077][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    6.641424][    T1] PCI: bus1: Fast back to back transfers enabled
[    6.647580][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    6.654984][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    6.662885][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    6.668925][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.728798][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.738039][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.798763][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.808194][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.816132][    T1] printk: console [ttyS0] disabled
[    6.821167][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    6.830839][    T1] printk: console [ttyS0] enabled
[    6.830839][    T1] printk: console [ttyS0] enabled
[    6.840659][    T1] printk: bootconsole [earlycon0] disabled
[    6.840659][    T1] printk: bootconsole [earlycon0] disabled
[    6.857301][    T1] loop: module loaded
[    6.861611][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    6.869139][    T1] scsi host0: sata_mv
[    6.873420][    T1] scsi host1: sata_mv
[    6.877464][    T1] ata1: SATA max UDMA/133 irq 33
[    6.882322][    T1] ata2: SATA max UDMA/133 irq 33
[    6.888375][    T1] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    6.893901][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    6.900577][    T1] Creating 2 MTD partitions on "spi0.0":
[    6.906092][    T1] 0x000000000000-0x00000007f000 : "uboot"
[    6.912620][    T1] 0x00000007f000-0x000000080000 : "u-boot-env"
[    6.920303][    T1] libphy: Fixed MDIO Bus: probed
[    6.925652][    T1] libphy: orion_mdio_bus: probed
[    6.940216][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    6.948059][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    6.955987][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 18:03:73:41:db:40
[    6.965577][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.972926][    T1] ehci-pci: EHCI PCI platform driver
[    6.978134][    T1] ehci-orion: EHCI orion driver
[    6.983029][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    6.989300][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    6.997802][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    7.028275][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.035192][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    7.044209][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.052172][    T1] usb usb1: Product: EHCI Host Controller
[    7.057764][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-2 ehci_hcd
[    7.065112][    T1] usb usb1: SerialNumber: f1050000.ehci
[    7.070965][    T1] hub 1-0:1.0: USB hub found
[    7.075458][    T1] hub 1-0:1.0: 1 port detected
[    7.080614][    T1] usbcore: registered new interface driver usb-storage
[    7.087598][    T1] mousedev: PS/2 mouse device common for all mice
[    7.094336][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    7.100070][    T1] i2c /dev entries driver
[    7.104712][    T1] device-mapper: uevent: version 1.0.3
[    7.110308][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    7.119813][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    7.127102][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    7.134483][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    7.141913][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    7.148791][    T1] device-mapper: raid: Loading target version 1.14.0
[    7.156133][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    7.162533][    T1] drop_monitor: Initializing network drop monitor service
[    7.169763][    T1] NET: Registered protocol family 17
[    7.175134][    T1] Key type dns_resolver registered
[    7.180742][    T1] registered taskstats version 1
[    7.185583][    T1] Loading compiled-in X.509 certificates
[    7.191272][    T1] zswap: loaded using pool lzo/zbud
[    7.259751][    T1] Key type big_key registered
[    7.292967][    T1] Key type encrypted registered
[    7.299418][    T1] rtc-mv f1010300.rtc: setting system clock to 2019-09-23T07:04:53 UTC (1569222293)
[    7.388285][  T112] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.399769][  T112] ata1.00: ATA-7: TS16GSSD25H-M, 20100712, max UDMA/133
[    7.406591][  T112] ata1.00: 31277056 sectors, multi 0: LBA48
[    7.419138][  T112] ata1.00: configured for UDMA/133
[    7.434511][    T7] scsi 0:0:0:0: Direct-Access     ATA      TS16GSSD25H-M    0712 PQ: 0 ANSI: 5
[    7.444135][  T116] sd 0:0:0:0: [sda] 31277056 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    7.452474][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.460361][  T116] sd 0:0:0:0: [sda] Write Protect is off
[    7.466049][  T116] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.477310][  T116]  sda: sda1
[    7.481549][  T116] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.658685][   T15] usb 1-1: New USB device found, idVendor=058f, idProduct=6254, bcdDevice= 1.00
[    7.667609][   T15] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    7.675913][   T15] hub 1-1:1.0: USB hub found
[    7.680555][   T15] hub 1-1:1.0: 4 ports detected
[    7.791779][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[    7.811244][    T1] Freeing unused kernel memory: 1024K
[    7.816875][    T1] Checked W+X mappings: passed, no W+X pages found
[    7.823280][    T1] Run /init as init process
Loading, please wait...
Starting version 241
[    7.998334][   T15] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    8.175705][   T15] usb 1-1.2: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.05
[    8.201082][   T15] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.223708][   T15] usb 1-1.2: Product: Mass Storage
[    8.243729][   T15] usb 1-1.2: Manufacturer: Generic
[    8.253642][   T15] usb 1-1.2: SerialNumber: 2597E11A
[    8.274358][   T15] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    8.302666][   T15] scsi host2: usb-storage 1-1.2:1.0
[    8.418740][  T175] usbcore: registered new interface driver uas
[    8.446409][  T173] input: gpio_keys as /devices/platform/gpio_keys/input/input0
Begin: Loading essential drivers ... done.
[    9.380384][  T116] scsi 2:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
[    9.394107][   T23] sd 2:0:0:0: [sdb] 7987200 512-byte logical blocks: (4.09 GB/3.81 GiB)
[    9.407095][   T23] sd 2:0:0:0: [sdb] Write Protect is off
[    9.413578][   T23] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    9.429798][   T23]  sdb: sdb1
[    9.441471][   T23] sd 2:0:0:0: [sdb] Attached SCSI removable disk
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, 20025/979200 files, 297289/3909376 blocks
done.
[   18.950787][  T197] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   18.968727][  T197] 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.554124][  T400] systemd-udevd[400]: Using default interface naming scheme 'v240'.
[ ok                                                       done.
[....] Waiting for /dev to be fully populated...[   20.680838][  T400] systemd-udevd[400]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   20.819682][  T395] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   20.953929][  T395] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   21.017670][  T397] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   21.070397][  T395] orion_wdt: Initial timeout 21 sec
[   21.116988][  T379] marvell-cesa f1030000.crypto: CESA device successfully registered
[   21.125074][  T397] sd 2:0:0:0: Attached scsi generic sg1 type 0
[   21.224693][  T377] systemd-udevd[377]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
done.
[ ok ] Setting hostname to 'kaceM300-1'...done.
[ ok ] Activating swap:.
[   22.170036][  T598] 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
[....] 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.976021][ T1072] 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:40
Sending on   LPF/eth0/18:03:73:41:db:40
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
[   25.923374][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER of 192.168.0.117 from 192.168.0.1
DHCPREQUEST for 192.168.0.117 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.0.117 from 192.168.0.1
bound to 192.168.0.117 -- renewal in 17475 seconds.
[   30.463564][ T1152] NET: Registered protocol family 10
[   30.469873][ T1152] Segment Routing with IPv6
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...
1363 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1390 (klogd)
. ok
[....] Starting system message bus: dbus[   33.947694][ T1420] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[   33.971070][ T1420] random: dbus-daemon: uninitialized urandom read (12 bytes read)
. ok
[....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[   34.087061][ T1443] 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[   36.428336][ T1472] random: crng init done
[   36.432681][ T1472] random: 1 urandom warning(s) missed due to ratelimiting
. ok
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 kaceM300-1 ttyS0

kaceM300-1 login:
Re: Debian on Dell Kace M300
September 23, 2019 03:52AM
Boot w/no USB drive attempt 1 (hung at /scripts/init-bottom for ~2 minutes, then hung forever):

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: DB-88F6282A-BP LE

U-Boot 1.1.4 (Jun 20 2011 - 13:16:26) Marvell version: 3.4.27
USISH-SMB Ver: kacemini-1.5

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CDBC0

Soc: MV88F1155 Rev 1 (DDR3)
CPU running @ 2000Mhz L2 running @ 500Mhz
SysClock = 500Mhz , TClock = 200Mhz

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 512MB
DRAM CS[1] base 0x20000000   size 512MB
DRAM CS[2] base 0x40000000   size 512MB
DRAM CS[3] base 0x60000000   size 512MB
DRAM Total size   2GB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[512kB@f8000000] Flash: 512 kB
Good CRC!

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]


Running diagnostics ...

        DDR3 data bus test                               PASSED

        DDR3 address bus test                            PASSED

        DDR3 device test                                 PASSED

Diag completed
Hit any key to stop autoboot:  0
Booting USB.
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
0 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
kernel2bootup=no
usiversion=kacemini-1.5
console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
netmask=255.255.255.0
ipaddr=192.168.58.233
ethaddr=18:03:73:41:db:40
run_diag=yes
bootargs_console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
bootcmd_ideload=ide reset; ext2load ide 0:1 0x100000 /uImage; ext2load ide 0:1 0x01100000 /uInitrd
bootcmd2=ide reset; ext2load ide 0:2 0x100000 /kbox/bin/uImage.bak; ext2load ide 0:1 0x01100000 /uInitrd;bootm 0x100000 0x01100000
kernel_config=setenv mainlineLinux yes; setenv mtdparts mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env); setenv load_uimage_addr 0x800000; setenv load_initrd_addr 0x02100000
load_uimage=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
load_initrd=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
set_bootargs_stock=setenv mainlineLinux no; setenv bootargs_console console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) root=LABEL=root rw
bootcmd_stock=echo Booting stock ...; run bootcmd_ide
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
bootcmd_exec=echo Booting Debian .; usb start; run load_uimage; run load_initrd; bootm $(load_uimage_addr) $(load_initrd_addr)
set_bootargs_usb=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
set_bootargs_sata=setenv bootargs console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
bootcmd=run kernel_config; run set_bootargs_usb; run bootcmd_usb; run set_bootargs_sata; run bootcmd_ide
serverip=192.168.0.100
serverport=614
load_uimage_usb=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
load_initrd_usb=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
bootcmd_usb=echo Booting USB.; usb reset; run load_uimage_usb; run load_initrd_usb; printenv; bootm $(load_uimage_addr) $(load_initrd_addr)
bootcmd_ide=echo Booting IDE .; ide reset; run load_uimage_ide; run load_initrd_ide; printenv; bootm $(load_uimage_addr) $(load_initrd_addr)
load_initrd_ide=ext2load ide 0:1 $(load_initrd_addr) /boot/uInitrd
load_uimage_ide=ext2load ide 0:1 $(load_uimage_addr) /boot/uImage
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
mainlineLinux=yes
mtdparts=mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
load_uimage_addr=0x800000
load_initrd_addr=0x02100000
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earlyprintk=serial

Environment size: 3395/4092 bytes
## Booting image at 00800000 ...
Bad Magic Number
Booting IDE .

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: TS16GSSD25H-M                            Firm: 20100712 Ser#: 20110423421602036149
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 15272.0 MB = 14.9 GB (31277056 x 512)


4981772 bytes read

9784778 bytes read
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
kernel2bootup=no
usiversion=kacemini-1.5
console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
netmask=255.255.255.0
ipaddr=192.168.58.233
ethaddr=18:03:73:41:db:40
run_diag=yes
bootargs_console=console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
bootcmd_ideload=ide reset; ext2load ide 0:1 0x100000 /uImage; ext2load ide 0:1 0x01100000 /uInitrd
bootcmd2=ide reset; ext2load ide 0:2 0x100000 /kbox/bin/uImage.bak; ext2load ide 0:1 0x01100000 /uInitrd;bootm 0x100000 0x01100000
kernel_config=setenv mainlineLinux yes; setenv mtdparts mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env); setenv load_uimage_addr 0x800000; setenv load_initrd_addr 0x02100000
load_uimage=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
load_initrd=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
set_bootargs_stock=setenv mainlineLinux no; setenv bootargs_console console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) root=LABEL=root rw
bootcmd_stock=echo Booting stock ...; run bootcmd_ide
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
bootcmd_exec=echo Booting Debian .; usb start; run load_uimage; run load_initrd; bootm $(load_uimage_addr) $(load_initrd_addr)
set_bootargs_usb=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
set_bootargs_sata=setenv bootargs console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
bootcmd=run kernel_config; run set_bootargs_usb; run bootcmd_usb; run set_bootargs_sata; run bootcmd_ide
serverip=192.168.0.100
serverport=614
load_uimage_usb=ext2load usb 0:1 $(load_uimage_addr) /boot/uImage
load_initrd_usb=ext2load usb 0:1 $(load_initrd_addr) /boot/uInitrd
bootcmd_usb=echo Booting USB.; usb reset; run load_uimage_usb; run load_initrd_usb; printenv; bootm $(load_uimage_addr) $(load_initrd_addr)
bootcmd_ide=echo Booting IDE .; ide reset; run load_uimage_ide; run load_initrd_ide; printenv; bootm $(load_uimage_addr) $(load_initrd_addr)
load_initrd_ide=ext2load ide 0:1 $(load_initrd_addr) /boot/uInitrd
load_uimage_ide=ext2load ide 0:1 $(load_uimage_addr) /boot/uImage
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
mainlineLinux=yes
mtdparts=mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env)
load_uimage_addr=0x800000
load_initrd_addr=0x02100000
bootargs=console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earlyprintk=serial
filesize=954DCA

Environment size: 3416/4092 bytes
## Booting 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 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-2
   Created:      2019-09-21  10:27:48 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9784714 Bytes =  9.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... 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] printk: bootconsole [earlycon0] enabled
[    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:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earlyprintk=serial
[    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: 1793952K/1835008K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 300K bss, 41056K 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.008509][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015620][    T0] Console: colour dummy device 80x30
[    0.020802][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032004][    T0] pid_max: default: 32768 minimum: 301
[    0.037556][    T0] LSM: Security Framework initializing
[    0.043013][    T0] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.050428][    T0] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.058878][    T0] *** VALIDATE proc ***
[    0.063068][    T0] *** VALIDATE cgroup1 ***
[    0.067325][    T0] *** VALIDATE cgroup2 ***
[    0.071674][    T0] CPU: Testing write buffer coherency: ok
[    0.078508][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.085567][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.091623][    T1] rcu: Hierarchical SRCU implementation.
[    0.099336][    T1] devtmpfs: initialized
[    0.107037][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.117579][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.124588][    T1] xor: measuring software checksum speed
[    0.228530][    T1]    arm4regs  :  1816.800 MB/sec
[    0.328529][    T1]    8regs     :  1090.400 MB/sec
[    0.428529][    T1]    32regs    :  1585.600 MB/sec
[    0.433391][    T1] xor: using function: arm4regs (1816.800 MB/sec)
[    0.439659][    T1] prandom: seed boundary self test passed
[    0.447706][    T1] prandom: 100 self tests passed
[    0.452504][    T1] pinctrl core: initialized pinctrl subsystem
[    0.459528][    T1] NET: Registered protocol family 16
[    0.465039][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.473242][    T1] audit: initializing netlink subsys (disabled)
[    0.480295][   T14] audit: type=2000 audit(0.470:1): state=initialized audit_enabled=0 res=1
[    0.488804][    T1] cpuidle: using governor ladder
[    0.493628][    T1] cpuidle: using governor menu
[    0.498638][    T1] Feroceon L2: Enabling L2
[    0.502909][    T1] Feroceon L2: Cache support initialised.
[    0.512285][    T1] No ATAGs?
[    2.568513][    C0] random: fast init done
[    3.736895][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    3.743041][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    3.918814][    T1] raid6: int32x8  gen()   208 MB/s
[    4.088870][    T1] raid6: int32x8  xor()   142 MB/s
[    4.258562][    T1] raid6: int32x4  gen()   208 MB/s
[    4.428663][    T1] raid6: int32x4  xor()   138 MB/s
[    4.598578][    T1] raid6: int32x2  gen()   210 MB/s
[    4.768667][    T1] raid6: int32x2  xor()   152 MB/s
[    4.938707][    T1] raid6: int32x1  gen()   157 MB/s
[    5.108552][    T1] raid6: int32x1  xor()   109 MB/s
[    5.113486][    T1] raid6: using algorithm int32x2 gen() 210 MB/s
[    5.119552][    T1] raid6: .... xor() 152 MB/s, rmw enabled
[    5.125097][    T1] raid6: using intx1 recovery algorithm
[    5.130658][    T1] vgaarb: loaded
[    5.134385][    T1] SCSI subsystem initialized
[    5.139190][    T1] usbcore: registered new interface driver usbfs
[    5.145377][    T1] usbcore: registered new interface driver hub
[    5.151431][    T1] usbcore: registered new device driver usb
[    5.157265][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.162914][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.172711][    T1] PTP clock support registered
[    5.178247][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.790880][    T1] VFS: Disk quotas dquot_6.6.0
[    5.795539][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.809880][    T1] NET: Registered protocol family 2
[    5.815482][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 1, 8192 bytes)
[    5.823969][    T1] TCP established hash table entries: 16384 (order: 4, 65536 bytes)
[    5.831982][    T1] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    5.839384][    T1] TCP: Hash tables configured (established 16384 bind 16384)
[    5.846649][    T1] UDP hash table entries: 1024 (order: 2, 16384 bytes)
[    5.853380][    T1] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes)
[    5.860695][    T1] NET: Registered protocol family 1
[    5.866187][    T1] RPC: Registered named UNIX socket transport module.
[    5.872828][    T1] RPC: Registered udp transport module.
[    5.878194][    T1] RPC: Registered tcp transport module.
[    5.883577][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.890688][    T1] PCI: CLS 0 bytes, default 32
[    5.895442][    T1] Trying to unpack rootfs image as initramfs...
[    6.437667][    T1] Freeing initrd memory: 9556K
[    6.442426][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    6.450517][    T1] Initialise system trusted keyrings
[    6.455668][    T1] Key type blacklist registered
[    6.460565][    T1] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    6.467719][    T1] zbud: loaded
[    6.471757][    T1] NFS: Registering the id_resolver key type
[    6.477488][    T1] Key type id_resolver registered
[    6.482401][    T1] Key type id_legacy registered
[    6.487091][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    6.494464][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.501721][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    6.509596][    T1] fuse: init (API version 7.31)
[    6.514542][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.521790][    T1] orangefs_init: module version upstream loaded
[    6.527854][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    6.548044][    T1] async_tx: api initialized (async)
[    6.553150][    T1] Key type asymmetric registered
[    6.557912][    T1] Asymmetric key parser 'x509' registered
[    6.563533][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    6.572637][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.581989][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    6.590272][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.596424][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    6.603978][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    6.610983][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    6.617668][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    6.625801][    T1] PCI: bus0: Fast back to back transfers disabled
[    6.632069][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    6.641413][    T1] PCI: bus1: Fast back to back transfers enabled
[    6.647571][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    6.654985][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[    6.662885][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    6.668926][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.728798][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.738047][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.798759][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    6.808180][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.816112][    T1] printk: console [ttyS0] disabled
[    6.821148][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    6.830821][    T1] printk: console [ttyS0] enabled
[    6.830821][    T1] printk: console [ttyS0] enabled
[    6.840643][    T1] printk: bootconsole [earlycon0] disabled
[    6.840643][    T1] printk: bootconsole [earlycon0] disabled
[    6.857275][    T1] loop: module loaded
[    6.861592][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    6.869120][    T1] scsi host0: sata_mv
[    6.873393][    T1] scsi host1: sata_mv
[    6.877438][    T1] ata1: SATA max UDMA/133 irq 33
[    6.882297][    T1] ata2: SATA max UDMA/133 irq 33
[    6.888351][    T1] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    6.893876][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    6.900551][    T1] Creating 2 MTD partitions on "spi0.0":
[    6.906067][    T1] 0x000000000000-0x00000007f000 : "uboot"
[    6.912596][    T1] 0x00000007f000-0x000000080000 : "u-boot-env"
[    6.920273][    T1] libphy: Fixed MDIO Bus: probed
[    6.925630][    T1] libphy: orion_mdio_bus: probed
[    6.940286][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    6.948129][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    6.956060][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 18:03:73:41:db:40
[    6.965657][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.973004][    T1] ehci-pci: EHCI PCI platform driver
[    6.978204][    T1] ehci-orion: EHCI orion driver
[    6.983098][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    6.989369][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    6.997896][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    7.028272][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.035191][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    7.044209][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.052171][    T1] usb usb1: Product: EHCI Host Controller
[    7.057765][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-2 ehci_hcd
[    7.065120][    T1] usb usb1: SerialNumber: f1050000.ehci
[    7.070972][    T1] hub 1-0:1.0: USB hub found
[    7.075466][    T1] hub 1-0:1.0: 1 port detected
[    7.080623][    T1] usbcore: registered new interface driver usb-storage
[    7.087607][    T1] mousedev: PS/2 mouse device common for all mice
[    7.094342][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    7.100078][    T1] i2c /dev entries driver
[    7.104720][    T1] device-mapper: uevent: version 1.0.3
[    7.110313][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    7.119818][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    7.127103][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    7.134492][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    7.141924][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    7.148798][    T1] device-mapper: raid: Loading target version 1.14.0
[    7.156128][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    7.162527][    T1] drop_monitor: Initializing network drop monitor service
[    7.169754][    T1] NET: Registered protocol family 17
[    7.175127][    T1] Key type dns_resolver registered
[    7.180738][    T1] registered taskstats version 1
[    7.185573][    T1] Loading compiled-in X.509 certificates
[    7.191262][    T1] zswap: loaded using pool lzo/zbud
[    7.259514][    T1] Key type big_key registered
[    7.292566][    T1] Key type encrypted registered
[    7.299013][    T1] rtc-mv f1010300.rtc: setting system clock to 2019-09-23T07:15:38 UTC (1569222938)
[    7.388284][  T112] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    7.399769][  T112] ata1.00: ATA-7: TS16GSSD25H-M, 20100712, max UDMA/133
[    7.406592][  T112] ata1.00: 31277056 sectors, multi 0: LBA48
[    7.419139][  T112] ata1.00: configured for UDMA/133
[    7.434511][    T7] scsi 0:0:0:0: Direct-Access     ATA      TS16GSSD25H-M    0712 PQ: 0 ANSI: 5
[    7.444131][  T116] sd 0:0:0:0: [sda] 31277056 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    7.452473][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    7.460359][  T116] sd 0:0:0:0: [sda] Write Protect is off
[    7.466050][  T116] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.477323][  T116]  sda: sda1
[    7.481558][  T116] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.658780][   T15] usb 1-1: New USB device found, idVendor=058f, idProduct=6254, bcdDevice= 1.00
[    7.667704][   T15] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    7.676007][   T15] hub 1-1:1.0: USB hub found
[    7.680649][   T15] hub 1-1:1.0: 4 ports detected
[    7.791869][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[    7.811331][    T1] Freeing unused kernel memory: 1024K
[    7.816964][    T1] Checked W+X mappings: passed, no W+X pages found
[    7.823495][    T1] Run /init as init process
Loading, please wait...
Starting version 241
[    8.363925][  T163] 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, 20025/979200 files, 297293/3909376 blocks
done.
[   18.863381][  T194] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   18.881355][  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.
[  131.668290][    C0] random: crng init done
Author:

Your Email:


Subject:


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