Welcome! Log In Create A New Profile

Advanced

Debian on Synology DS411j

Posted by dmb4312 
Debian on Synology DS411j
September 15, 2023 03:49PM
uboot and kernel-booting process is earlier desribed here

now that the system has been testet and working ok with bodhi kernel(5.13.6-kirkwood-tld-1)and stock uboot(ancient)

Im willing to try to use new uboot to make this box permanent auto-boot

after loading the uboot with kwboot and applying variables as per tutorial using uboot.2017.07-tld-1.goflexhome.mtd0.kwb
kwboot version 2022.01+dfsg-2ubuntu2.4
Patching image boot signature to UART
Aligning image header to Xmodem block size
Sending boot message. Please reboot the target...\
Waiting 2s and flushing tty
Sending boot image header (512 bytes)...
 25 % [....                                                                  ]
Done
Sending boot image data (502068 bytes)...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  7 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 12 % [......................................................................]
 14 % [......................................................................]
 16 % [......................................................................]
 17 % [......................................................................]
 19 % [......................................................................]
 21 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 26 % [......................................................................]
 28 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 48 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 55 % [......................................................................]
 57 % [......................................................................]
 58 % [......................................................................]
 60 % [......................................................................]
 62 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 67 % [......................................................................]
 69 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 89 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 96 % [......................................................................]
 98 % [......................................................................]
 99 % [...                                                                   ]
Done
Finishing transfer
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:21:31 -0700)
Seagate GoFlex Home

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  0 MiB
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
GoFlexHome>


setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
setenv bootcmd 'usb reset; run usb_bootcmd; usb stop; reset'
boot

kernel boots and finds all the drives(4) but spams the console/dmesg with:
[ 2424.503559] ata1: failed to resume link (SControl FFFFFFFF)
[ 2424.883561] ata4: failed to resume link (SControl FFFFFFFF)
[ 2425.103561] ata2: failed to resume link (SControl FFFFFFFF)
[ 2425.109897] ata3: failed to resume link (SControl FFFFFFFF)
[ 2425.603555] ata1: failed to resume link (SControl FFFFFFFF)
[ 2425.993554] ata4: failed to resume link (SControl FFFFFFFF)
[ 2426.213560] ata3: failed to resume link (SControl FFFFFFFF)
[ 2426.219902] ata2: failed to resume link (SControl FFFFFFFF)
[ 2426.703551] ata1: failed to resume link (SControl FFFFFFFF)
[ 2427.103552] ata4: failed to resume link (SControl FFFFFFFF)
[ 2427.323557] ata2: failed to resume link (SControl FFFFFFFF)
[ 2427.329897] ata3: failed to resume link (SControl FFFFFFFF)
[ 2427.803549] ata1: failed to resume link (SControl FFFFFFFF)
[ 2428.213554] ata4: failed to resume link (SControl FFFFFFFF)
[ 2428.433567] ata3: failed to resume link (SControl FFFFFFFF)
[ 2428.439921] ata2: failed to resume link (SControl FFFFFFFF)
[ 2428.903548] ata1: failed to resume link (SControl FFFFFFFF)
[ 2429.323573] ata4: failed to resume link (SControl FFFFFFFF)
[ 2429.543570] ata2: failed to resume link (SControl FFFFFFFF)
[ 2429.550025] ata3: failed to resume link (SControl FFFFFFFF

dmesg output:
root@debian:~# dmesg | grep sd 
[    9.324742] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   10.874652] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[   10.883911] sd 0:0:0:0: [sda] Write Protect is off
[   10.889480] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   10.889613] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   10.901241]  sda: sda1
[   10.905982] sd 0:0:0:0: [sda] Attached SCSI disk
[   11.479694] sd 1:0:0:0: [sdb] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[   11.504587] sd 1:0:0:0: [sdb] Write Protect is off
[   11.510110] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   11.510240] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   11.545262]  sdb: sdb1 sdb2 sdb3 sdb4
[   11.557400] sd 1:0:0:0: [sdb] Attached SCSI disk
[   12.812251] sd 2:0:0:0: [sdc] 468862128 512-byte logical blocks: (240 GB/224 GiB)
[   12.820522] sd 2:0:0:0: [sdc] 4096-byte physical blocks
[   12.826573] sd 2:0:0:0: [sdc] Write Protect is off
[   12.832119] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[   12.832246] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.849201]  sdc: sdc1
[   12.859411] sd 2:0:0:0: [sdc] Attached SCSI disk
[   13.861836] sd 3:0:0:0: [sde] 468862128 512-byte logical blocks: (240 GB/224 GiB)
[   13.870113] sd 3:0:0:0: [sde] 4096-byte physical blocks
[   13.876163] sd 3:0:0:0: [sde] Write Protect is off
[   13.881711] sd 3:0:0:0: [sde] Mode Sense: 00 3a 00 00
[   13.881838] sd 3:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   13.899252]  sde: sde1 sde2 < sde5 sde6 >
[   13.911935] sd 3:0:0:0: [sde] Attached SCSI disk
[   14.604632] sd 6:0:0:0: [sdd] 15663104 512-byte logical blocks: (8.02 GB/7.47 GiB)
[   14.613493] sd 6:0:0:0: [sdd] Write Protect is off
[   14.619017] sd 6:0:0:0: [sdd] Mode Sense: 23 00 00 00
[   14.619492] sd 6:0:0:0: [sdd] No Caching mode page found
[   14.625568] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[   16.133137]  sdd: sdd1
[   16.139001] sd 6:0:0:0: [sdd] Attached SCSI removable disk
[   29.685555] EXT4-fs (sdd1): mounting ext3 file system using the ext4 subsystem
[   29.816904] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   33.094841] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   33.161810] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   33.178368] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   33.324379] sd 6:0:0:0: Attached scsi generic sg3 type 0
[   33.377057] sd 3:0:0:0: Attached scsi generic sg4 type 0
[  153.578565] EXT4-fs (sdd1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[  366.620697] [<80792f50>] (scsi_block_when_processing_errors) from [<807a4644>] (sd_open+0x58/0x174)
[  366.630722] [<807a4644>] (sd_open) from [<802c34a0>] (__blkdev_get+0x1bc/0x1fc)
[  367.299675] [<80792f50>] (scsi_block_when_processing_errors) from [<807a4644>] (sd_open+0x58/0x174)
[  367.309704] [<807a4644>] (sd_open) from [<802c34a0>] (__blkdev_get+0x1bc/0x1fc)
[  367.468418] [<80792f50>] (scsi_block_when_processing_errors) from [<807a4644>] (sd_open+0x58/0x174)
[  367.478448] [<807a4644>] (sd_open) from [<802c34a0>] (__blkdev_get+0x1bc/0x1fc)
[  367.636981] [<80792f50>] (scsi_block_when_processing_errors) from [<807a4644>] (sd_open+0x58/0x174)
[  367.647034] [<807a4644>] (sd_open) from [<802c34a0>] (__blkdev_get+0x1bc/0x1fc)

lspci:
01:00.0 SCSI storage controller: Marvell Technology Group Ltd. 88SX7042 PCI-e 4-port SATA-II (rev 02)
	Subsystem: Marvell Technology Group Ltd. 88SX7042 PCI-e 4-port SATA-II
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 37
	Region 0: Memory at e0000000 (64-bit, non-prefetchable) [disabled] [size=1M]
	Region 2: I/O ports at 10000 [virtual] [size=256]
	Capabilities: [40] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 256 bytes, PhantFunc 0, Latency L0s <256ns, L1 <1us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
		DevCtl:	CorrErr- NonFatalErr- FatalErr- UnsupReq-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- NonFatalErr+ FatalErr- UnsupReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x4, ASPM L0s, Exit Latency L0s <256ns
			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
		LnkCtl:	ASPM Disabled; RCB 128 bytes, Disabled- CommClk-
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s (ok), Width x1 (downgraded)
			TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr+ BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
		AERCap:	First Error Pointer: 14, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
			MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
		HeaderLog: 00000001 0108000f e0028030 1d897473
	Kernel driver in use: sata_mv

default args for goflexhome:
GoFlexHome> printenv
arcNumber=3338
baudrate=115200
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm$load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
console=console=ttyS0,115200
device=0:1
devices=usb ide
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-goflexhome.dtb
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 2898/131068 bytes
GoFlexHome>

what could be the reason for this?

EDIT:
after changing some variables and removed all but 1 drive, it managed to boot without spamming message:
changed variables:
GoFlexHome> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
GoFlexHome> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
GoFlexHome> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
GoFlexHome> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
GoFlexHome> setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
GoFlexHome> setenv bootcmd 'usb reset; run usb_bootcmd; usb stop; reset'
GoFlexHome> setenv devices usb sata 
GoFlexHome> setenv dtb_file /boot/dts/kirkwood-ds411j.dtb

what is the a proper way to boot bodhi kernel with new uboot?



Edited 2 time(s). Last edit at 09/16/2023 06:00PM by dmb4312.
Attachments:
open | download - change-variable-no-spam-boot-ok.txt (25.9 KB)
Re: DS411j uboot and kernel boot
September 15, 2023 04:34PM
dmb4312,

> now that the system has been testet and working ok
> with bodhi kernel(5.13.6-kirkwood-tld-1)and stock
> uboot(ancient)
>
> Im willing to try to use new uboot to make this
> box permanent auto-boot

> what is the a proper way to boot bodhi kernel with
> new uboot?

Good works!

As you found out, just ignore the SATA drives during boot will get it working to a point where it will boot without error.

The problem is the GoFlex Home u-boot gets the box booting with kwboot, but it cannot be flashed permnently. This can be flashed to NAND flash only.

The other u-boots that use SPI flash are: Dreamplug and HP T5235. But these 2 have 512MB RAM, so that's why I recommended the GoFlex Home.

Try these tests.

1. kwboot with the Dreamplug u-boot and T5325 u-boot. See if it will get you pass the DRAM phase. These 2 would be ideal to use if it can boot to the u-boot prompt.

2. kwboot the GFHome u-boot again with all HDDs inserted. And modify the devices env to ignore SATA completely:

setenv devices usb

I would expect you to see 3 HDDs in Linux like Billy did on the 413j.

=====

Now the best solution is for me to roll a new u-boot that can be written to SPI flash. That would probably works for the Synology 413j too. But I cannot promise when I can find free time to do this somewhat time consuming task. And if you're willing to do the testing (it will be tedious and repetative).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: DS411j uboot and kernel boot
September 16, 2023 03:01AM
Bodhi,
I would be more than happy to test-boot and troubleshoot for you.


Did some tests and can confirm that dreamplug and hp t5235 dont boot and hang at DRAM

U-Boot 2017.07-tld-1 (Sep 05 2017 - 01:06:05 -0700)
Marvell-DreamPlug

SoC:   Kirkwood 88F6281_A1
SPI:   ready
DRAM:

U-Boot 2017.07-tld-1 (Nov 01 2017 - 00:58:19 -0700)
HP Thin Client T5325

SoC:   Kirkwood 88F6281_A1
SPI:   ready
DRAM:


back to the goflexhome boot with devices=usb
it sees all the drives as earlier, attached console output and dmesg below.
I have 2x120G and 2x240G SSDs inserted
Another thing I noticed is that fans are running at 100 percent speed.

root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Synology DS411j
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 101060K/131072K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 30012K reserved, 0K cma-reserved)
[    0.000000] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008610] Switching to timer-based delay loop, resolution 5ns
[    0.016159] Console: colour dummy device 80x30
[    0.021429] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032762] pid_max: default: 32768 minimum: 301
[    0.038508] LSM: Security Framework initializing
[    0.044066] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.052189] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.062173] CPU: Testing write buffer coherency: ok
[    0.070285] Setting up static identity map for 0x100000 - 0x100058
[    0.077530] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.083796] rcu: Hierarchical SRCU implementation.
[    0.090789] devtmpfs: initialized
[    0.104934] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.115640] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.160657] prandom32: self test passed (less than 6 bits correlated)
[    0.167862] prandom: seed boundary self test passed
[    0.177693] prandom: 100 self tests passed
[    0.182554] pinctrl core: initialized pinctrl subsystem
[    0.190209] NET: Registered protocol family 16
[    0.196215] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.204848] audit: initializing netlink subsys (disabled)
[    0.212442] thermal_sys: Registered thermal governor 'step_wise'
[    0.212872] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=0 res=1
[    0.228292] cpuidle: using governor ladder
[    0.233267] cpuidle: using governor menu
[    0.238443] Feroceon L2: Enabling L2
[    0.242840] Feroceon L2: Cache support initialised.
[    0.260546] No ATAGs?
[    2.568616] random: fast init done
[    5.154162] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    5.187220] wait_for_initramfs() called before rootfs_initcalls
[    5.388886] raid6: int32x8  gen()   110 MB/s
[    5.558791] raid6: int32x8  xor()    69 MB/s
[    5.728771] raid6: int32x4  gen()   112 MB/s
[    5.898660] raid6: int32x4  xor()    72 MB/s
[    6.068687] raid6: int32x2  gen()   145 MB/s
[    6.238719] raid6: int32x2  xor()    88 MB/s
[    6.408657] raid6: int32x1  gen()   108 MB/s
[    6.578763] raid6: int32x1  xor()    61 MB/s
[    6.583756] raid6: using algorithm int32x2 gen() 145 MB/s
[    6.589893] raid6: .... xor() 88 MB/s, rmw enabled
[    6.595406] raid6: using intx1 recovery algorithm
[    6.601101] vgaarb: loaded
[    6.605113] SCSI subsystem initialized
[    6.609854] libata version 3.00 loaded.
[    6.610124] usbcore: registered new interface driver usbfs
[    6.616410] usbcore: registered new interface driver hub
[    6.622543] usbcore: registered new device driver usb
[    6.628518] pps_core: LinuxPPS API ver. 1 registered
[    6.634229] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    6.644144] PTP clock support registered
[    6.650640] clocksource: Switched to clocksource orion_clocksource
[    6.761326] VFS: Disk quotas dquot_6.6.0
[    6.766068] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    6.800542] NET: Registered protocol family 2
[    6.810810] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    6.831075] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    6.840199] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    6.870708] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    6.878512] TCP: Hash tables configured (established 1024 bind 1024)
[    6.900926] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    6.908945] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    6.930685] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    6.938644] NET: Registered protocol family 1
[    6.961061] RPC: Registered named UNIX socket transport module.
[    6.967716] RPC: Registered udp transport module.
[    6.980660] RPC: Registered tcp transport module.
[    6.986088] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    7.000664] PCI: CLS 0 bytes, default 32
[    7.011008] Trying to unpack rootfs image as initramfs...
[    7.020727] NetWinder Floating Point Emulator V0.97 (double precision)
[    8.746455] Freeing initrd memory: 9448K
[    9.270705] Initialise system trusted keyrings
[    9.275927] Key type blacklist registered
[    9.280985] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    9.288275] zbud: loaded
[    9.293105] NFS: Registering the id_resolver key type
[    9.298904] Key type id_resolver registered
[    9.303888] Key type id_legacy registered
[    9.308654] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    9.316120] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    9.324270] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    9.331650] jffs2: version 2.2. (NAND) (SUMMARY)  \xc2\xa9 2001-2006 Red Hat, Inc.
[    9.339950] fuse: init (API version 7.34)
[    9.345111] orangefs_debugfs_init: called with debug mask: :none: :0:
[    9.352520] orangefs_init: module version upstream loaded
[    9.358653] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    9.470176] xor: measuring software checksum speed
[    9.484706]    arm4regs        :  1113 MB/sec
[    9.504583]    8regs           :   667 MB/sec
[    9.519828]    32regs          :   971 MB/sec
[    9.524948] xor: using function: arm4regs (1113 MB/sec)
[    9.530947] async_tx: api initialized (async)
[    9.536034] Key type asymmetric registered
[    9.540889] Asymmetric key parser 'x509' registered
[    9.546542] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    9.554773] io scheduler bfq registered
[    9.758800] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    9.768911] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    9.778862] mvebu-pcie mbus@f1000000:pcie@82000000: Parsing ranges property...
[    9.778903] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    9.789093] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    9.799794] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    9.810802] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    9.819116] pci_bus 0000:00: root bus resource [bus 00-ff]
[    9.825358] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    9.836311] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    9.843941] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    9.850960] pci_bus 0000:00: scanning bus
[    9.851131] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[    9.857890] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    9.867594] pci_bus 0000:00: fixups for bus
[    9.867616] PCI: bus0: Fast back to back transfers disabled
[    9.873952] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    9.873969] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    9.882744] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    9.882914] pci_bus 0000:01: scanning bus
[    9.882963] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    9.889721] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    9.897278] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    9.903729] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    9.919588] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    9.932382] pci_bus 0000:01: fixups for bus
[    9.932399] PCI: bus1: Fast back to back transfers disabled
[    9.938700] pci_bus 0000:01: bus scan returning with max=01
[    9.938715] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    9.946096] pci_bus 0000:00: bus scan returning with max=01
[    9.946299] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    9.953941] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    9.961053] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    9.969027] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    9.977106] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    9.984186] pci 0000:00:01.0: PCI bridge to [bus 01]
[    9.989878] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    9.996905] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[   10.004550] pcieport 0000:00:01.0: assign IRQ: got 0
[   10.004575] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[   10.011450] pcieport 0000:00:01.0: enabling bus mastering
[   10.012006] mv_xor f1060800.xor: Marvell shared XOR driver
[   10.081772] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   10.092701] mv_xor f1060900.xor: Marvell shared XOR driver
[   10.161770] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   10.172738] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   10.181376] printk: console [ttyS0] disabled
[   10.186458] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[   10.196300] printk: console [ttyS0] enabled
[   10.206156] printk: bootconsole [earlycon0] disabled
[   10.218413] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[   10.237073] loop: module loaded
[   10.241296] sata_mv 0000:01:00.0: assign IRQ: got 37
[   10.241320] sata_mv 0000:01:00.0: version 1.28
[   10.241473] pci 0000:00:01.0: enabling bus mastering
[   10.241494] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[   10.248387] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[   10.256652] sata_mv 0000:01:00.0: enabling bus mastering
[   10.256671] sata_mv 0000:01:00.0: enabling Mem-Wr-Inval
[   10.263971] scsi host0: sata_mv
[   10.268503] scsi host1: sata_mv
[   10.273046] scsi host2: sata_mv
[   10.277553] scsi host3: sata_mv
[   10.281746] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 37
[   10.290152] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 37
[   10.298574] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 37
[   10.306991] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 37
[   10.316423] sata_mv f1080000.sata: version 1.28
[   10.316946] sata_mv f1080000.sata: slots 32 ports 2
[   10.326616] scsi host4: sata_mv
[   10.331186] scsi host5: sata_mv
[   10.335309] ata5: SATA max UDMA/133 irq 34
[   10.340134] ata6: SATA max UDMA/133 irq 34
[   10.347033] spi-nor spi0.0: found m25p32, expected m25p80
[   10.353327] spi-nor spi0.0: m25p32 (4096 Kbytes)
[   10.358730] 6 fixed-partitions partitions found on MTD device spi0.0
[   10.365848] Creating 6 MTD partitions on "spi0.0":
[   10.371396] 0x000000000000-0x000000080000 : "RedBoot"
[   10.378749] 0x000000080000-0x000000280000 : "zImage"
[   10.385994] 0x000000280000-0x0000003c0000 : "rd.gz"
[   10.393081] 0x0000003c0000-0x0000003d0000 : "vendor"
[   10.400247] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[   10.408215] 0x0000003f0000-0x000000400000 : "FIS directory"
[   10.416478] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   10.425099] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   10.436672] libphy: Fixed MDIO Bus: probed
[   10.443062] libphy: orion_mdio_bus: probed
[   10.464586] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing.
[   10.473074] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   10.481253] kirkwood-pinctrl f1010000.pin-controller: pin PIN20 already requested by f1080000.sata; cannot claim for f1076000.ethernet-controller
[   10.495204] kirkwood-pinctrl f1010000.pin-controller: pin-20 (f1076000.ethernet-controller) status -22
[   10.505319] kirkwood-pinctrl f1010000.pin-controller: could not request pin 20 (PIN20) from group mpp20  on device f1010000.pin-controller
[   10.518567] mv643xx_eth f1076000.ethernet-controller: Error applying setting, reverse things back
[   10.528224] mv643xx_eth: probe of f1076000.ethernet-controller failed with error -22
[   10.682210] ata5: SATA link down (SStatus 0 SControl F300)
[   10.820691] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   10.830133] ata1.00: ATA-9: SAMSUNG MZ7LN128HCHP-000H1, EMT02H0Q, max UDMA/133
[   10.838123] ata1.00: 250069680 sectors, multi 16: LBA48 NCQ (depth 31/32)
[   10.848882] ata1.00: configured for UDMA/133
[   10.864434] scsi 0:0:0:0: Direct-Access     ATA      SAMSUNG MZ7LN128 2H0Q PQ: 0 ANSI: 5
[   10.874669] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[   10.883934] sd 0:0:0:0: [sda] Write Protect is off
[   10.889506] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   10.889637] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   10.901278]  sda: sda1
[   10.906017] sd 0:0:0:0: [sda] Attached SCSI disk
[   11.211690] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[   11.221430] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.228718] ehci-pci: EHCI PCI platform driver
[   11.233968] ehci-orion: EHCI orion driver
[   11.238925] orion-ehci f1050000.ehci: EHCI Host Controller
[   11.245208] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   11.253836] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[   11.280679] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   11.287733] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[   11.296773] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   11.304751] usb usb1: Product: EHCI Host Controller
[   11.310356] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[   11.317813] usb usb1: SerialNumber: f1050000.ehci
[   11.323964] hub 1-0:1.0: USB hub found
[   11.328482] hub 1-0:1.0: 1 port detected
[   11.333998] usbcore: registered new interface driver usb-storage
[   11.341211] mousedev: PS/2 mouse device common for all mice
[   11.347825] i2c /dev entries driver
[   11.352841] i2c i2c-0: Not using recovery: no suitable method provided
[   11.354013] rtc-s35390a 0-0030: error resetting chip
[   11.360375] rtc-s35390a: probe of 0-0030 failed with error -5
[   11.367798] device-mapper: uevent: version 1.0.3
[   11.373511] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[   11.383168] device-mapper: multipath round-robin: version 1.2.0 loaded
[   11.390433] device-mapper: multipath queue-length: version 0.2.0 loaded
[   11.397865] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   11.405018] device-mapper: multipath service-time: version 0.3.0 loaded
[   11.412713] ata2.00: ATA-9: MTFDBAK128MAG-1G1, 0005, max UDMA/100
[   11.419547] ata2.00: 250069680 sectors, multi 1: LBA48 NCQ (depth 31/32)
[   11.427086] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   11.433939] device-mapper: raid: Loading target version 1.15.1
[   11.443384] ata2.00: configured for UDMA/100
[   11.449232] hid: raw HID events driver (C) Jiri Kosina
[   11.455775] drop_monitor: Initializing network drop monitor service
[   11.463280] scsi 1:0:0:0: Direct-Access     ATA      MTFDBAK128MAG-1G 0005 PQ: 0 ANSI: 5
[   11.472786] NET: Registered protocol family 10
[   11.479737] sd 1:0:0:0: [sdb] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[   11.490067] Segment Routing with IPv6
[   11.494520] RPL Segment Routing with IPv6
[   11.499336] NET: Registered protocol family 17
[   11.504646] sd 1:0:0:0: [sdb] Write Protect is off
[   11.510172] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   11.510303] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   11.520435] Key type dns_resolver registered
[   11.526063] registered taskstats version 1
[   11.532441] Loading compiled-in X.509 certificates
[   11.539705] zswap: loaded using pool lzo/zbud
[   11.545344]  sdb: sdb1 sdb2 sdb3 sdb4
[   11.550345] Key type ._fscrypt registered
[   11.557483] sd 1:0:0:0: [sdb] Attached SCSI disk
[   11.562914] Key type .fscrypt registered
[   11.567561] Key type fscrypt-provisioning registered
[   11.575607] Key type big_key registered
[   11.610587] Key type encrypted registered
[   11.620729] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   11.822345] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[   11.831310] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   11.839213] usb 1-1: Product: USB2.0 Hub
[   11.844803] hub 1-1:1.0: USB hub found
[   11.849597] hub 1-1:1.0: 4 ports detected
[   12.170667] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[   12.323715] usb 1-1.1: New USB device found, idVendor=13fe, idProduct=3100, bcdDevice= 1.10
[   12.332869] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.340957] usb 1-1.1: Product: Patriot Memory
[   12.346127] usb 1-1.1: Manufacturer:         
[   12.351232] usb 1-1.1: SerialNumber: 078C0EBA0C0F
[   12.357561] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[   12.365195] scsi host6: usb-storage 1-1.1:1.0
[   12.890695] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   12.900320] ata3.00: ATA-9: INTEL SSDSC2BB240G6, G2010150, max UDMA/133
[   12.907701] ata3.00: 468862128 sectors, multi 1: LBA48 NCQ (depth 31/32)
[   12.922328] ata3.00: configured for UDMA/133
[   12.937855] scsi 2:0:0:0: Direct-Access     ATA      INTEL SSDSC2BB24 0150 PQ: 0 ANSI: 5
[   12.947668] ata3.00: Enabling discard_zeroes_data
[   12.954384] sd 2:0:0:0: [sdc] 468862128 512-byte logical blocks: (240 GB/224 GiB)
[   12.962678] sd 2:0:0:0: [sdc] 4096-byte physical blocks
[   12.968699] sd 2:0:0:0: [sdc] Write Protect is off
[   12.974248] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[   12.974375] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.984743] ata3.00: Enabling discard_zeroes_data
[   12.992393]  sdc: sdc1
[   12.996488] ata3.00: Enabling discard_zeroes_data
[   13.002631] sd 2:0:0:0: [sdc] Attached SCSI disk
[   13.409059] scsi 6:0:0:0: Direct-Access              Patriot Memory   PMAP PQ: 0 ANSI: 0 CCS
[   14.370695] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   14.382414] ata4.00: ATA-9: INTEL SSDSC2BB240G6, G2010150, max UDMA/133
[   14.389771] ata4.00: 468862128 sectors, multi 1: LBA48 NCQ (depth 31/32)
[   14.406490] ata4.00: configured for UDMA/133
[   14.422003] scsi 3:0:0:0: Direct-Access     ATA      INTEL SSDSC2BB24 0150 PQ: 0 ANSI: 5
[   14.431797] ata4.00: Enabling discard_zeroes_data
[   14.438060] sd 3:0:0:0: [sde] 468862128 512-byte logical blocks: (240 GB/224 GiB)
[   14.446355] sd 3:0:0:0: [sde] 4096-byte physical blocks
[   14.452404] sd 3:0:0:0: [sde] Write Protect is off
[   14.457923] sd 3:0:0:0: [sde] Mode Sense: 00 3a 00 00
[   14.458049] sd 3:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   14.468438] ata4.00: Enabling discard_zeroes_data
[   14.476528]  sde: sde1 sde2 < sde5 sde6 >
[   14.483030] ata4.00: Enabling discard_zeroes_data
[   14.489118] sd 3:0:0:0: [sde] Attached SCSI disk
[   14.772257] ata6: SATA link down (SStatus 0 SControl F300)
[   16.247517] sd 6:0:0:0: [sdd] 15663104 512-byte logical blocks: (8.02 GB/7.47 GiB)
[   16.256376] sd 6:0:0:0: [sdd] Write Protect is off
[   16.261929] sd 6:0:0:0: [sdd] Mode Sense: 23 00 00 00
[   16.262374] sd 6:0:0:0: [sdd] No Caching mode page found
[   16.268422] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[   19.267393]  sdd: sdd1
[   19.273257] sd 6:0:0:0: [sdd] Attached SCSI removable disk
[   19.282721] Freeing unused kernel memory: 1024K
[   19.288951] Checked W+X mappings: passed, no W+X pages found
[   19.295415] Run /init as init process
[   19.299804]   with arguments:
[   19.299813]     /init
[   19.299821]   with environment:
[   19.299829]     HOME=/
[   19.299836]     TERM=linux
[   21.073410] usbcore: registered new interface driver uas
[   32.712435] EXT4-fs (sdd1): mounting ext3 file system using the ext4 subsystem
[   32.861548] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   35.947234] gpio-fan: probe of gpio-fan-150-15-18 failed with error -524
[   36.197969] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   36.236092] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   36.249614] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   36.307706] sd 6:0:0:0: Attached scsi generic sg3 type 0
[   36.354709] sd 3:0:0:0: Attached scsi generic sg4 type 0
[   36.627652] orion_wdt: Initial timeout 21 sec
[   36.758696] random: crng init done
[   37.232797] marvell-cesa f1030000.crypto: CESA device successfully registered
[   38.694072] EXT4-fs (sdd1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[   45.455476] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   45.466127] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Edit:
fdisk output:
Disk /dev/sda: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk model: SAMSUNG MZ7LN128
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x47789031


Disk /dev/sdb: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk model: MTFDBAK128MAG-1G
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 29CE2BCC-ADCA-4281-9DBA-585497F6D8BF


Disk /dev/sdc: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: INTEL SSDSC2BB24
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x134b5b43


Disk /dev/sde: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: INTEL SSDSC2BB24
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x4ef1de01


Disk /dev/sdd: 7.47 GiB, 8019509248 bytes, 15663104 sectors
Disk model: Patriot Memory  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdd1        2048 15663103 15661056  7.5G 83 Linux
root@debian:~#



Edited 4 time(s). Last edit at 09/16/2023 03:08AM by dmb4312.
Attachments:
open | download - change-variable-no-spam-boot-ok-usb-only.txt (31.6 KB)
Re: DS411j uboot and kernel boot
September 16, 2023 01:59PM
dmb4312,

> Did some tests and can confirm that dreamplug and
> hp t5235 dont boot and hang at DRAM

OK.

> back to the goflexhome boot with devices=usb
> it sees all the drives as earlier, attached
> console output and dmesg below.
> I have 2x120G and 2x240G SSDs inserted

Cool!

> Another thing I noticed is that fans are running
> at 100 percent speed.

Let me take a look in the 411j DTS.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: DS411j uboot and kernel boot
September 16, 2023 02:47PM
Check the sysclass for thermal.

ls -l /sys/class/thermal/cooling_device*
ls -l /sys/class/hwmon/

And see what are they.
cat /sys/class/thermal/cooling_device0/cur_state 
cat /sys/class/thermal/cooling_device0/max_state 
cat /sys/class/thermal/cooling_device0/type

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



Edited 1 time(s). Last edit at 09/16/2023 02:59PM by bodhi.
Re: DS411j uboot and kernel boot
September 16, 2023 02:51PM
Also please change the Subject of the 1st post of this thread to Debian on Synology DS411j. And add a reference to the original u-boot thread.

I will move this thread to the Debian subforum.

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



Edited 1 time(s). Last edit at 09/16/2023 02:54PM by bodhi.
Re: DS411j uboot and kernel boot
September 16, 2023 05:54PM
bodhi Wrote:
-------------------------------------------------------
> Check the sysclass for thermal.
>
>
> ls -l /sys/class/thermal/cooling_device*
> ls -l /sys/class/hwmon/
>
there doesn't seem to exist any of these
root@debian:~# ls -l /sys/class/thermal/cooling_device*
ls: cannot access '/sys/class/thermal/cooling_device*': No such file or directory
root@debian:~# ls -l /sys/class/thermal/               
total 0
drwxr-xr-x  2 root root 0 Sep 16 15:49 .
drwxr-xr-x 47 root root 0 Dec 31  1969 ..



> And see what are they.
>
> cat /sys/class/thermal/cooling_device0/cur_state 
> cat /sys/class/thermal/cooling_device0/max_state 
> cat /sys/class/thermal/cooling_device0/type
>

root@debian:~# cat /sys/class/thermal/cooling_device0/cur_state
cat: /sys/class/thermal/cooling_device0/cur_state: No such file or directory
root@debian:~# cat /sys/class/thermal/cooling_device0/max_state 
cat: /sys/class/thermal/cooling_device0/max_state: No such file or directory
root@debian:~# cat /sys/class/thermal/cooling_device0/type
cat: /sys/class/thermal/cooling_device0/type: No such file or directory
Re: DS411j uboot and kernel boot
September 16, 2023 07:02PM
I remember now. This SoC does not have kirkwood-thermal.

How about hwmon?

ls -l /sys/class/hwmon/

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



Edited 1 time(s). Last edit at 09/16/2023 07:05PM by bodhi.
Re: Debian on Synology DS411j
September 17, 2023 02:49AM
>ls -l /sys/class/hwmon/

root@debian:~# ls -l /sys/class/hwmon/
total 0
drwxr-xr-x  2 root root 0 Sep 16 15:49 .
drwxr-xr-x 47 root root 0 Dec 31  1969 ..



Edited 2 time(s). Last edit at 09/17/2023 02:51AM by dmb4312.
Re: Debian on Synology DS411j
September 17, 2023 03:28AM
The fans actually is not a problem for me, it was just something I noticed.
as quickfix I replaced the fan with another 150mm which is almost silent in comparison.
but ofcourse if there are 2 fans, the system should work as intended I guess.
Re: Debian on Synology DS411j
September 17, 2023 01:23PM
Install fancontrol to see if it will help.

Hold on, I missed that error in your boot log

[   35.947234] gpio-fan: probe of gpio-fan-150-15-18 failed with error -524

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



Edited 1 time(s). Last edit at 09/17/2023 01:41PM by bodhi.
Re: Debian on Synology DS411j
September 17, 2023 01:56PM
There are 2 fans, so are they both running at full speed?

Let's do this first:

Quote

Install fancontrol to see if it will help.

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



Edited 1 time(s). Last edit at 09/17/2023 02:03PM by bodhi.
Re: Debian on Synology DS411j
September 18, 2023 01:21PM
bodhi Wrote:
-------------------------------------------------------
> There are 2 fans, so are they both running at full
> speed?
>
> Let's do this first:
>
>
Quote

Install fancontrol to see if it will
> help.


Yepp, there are 2 fans, both are sharing the voltage somehow because when I remove one, the second is running even faster

root@debian:~# apt install fancontrol
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  fancontrol
0 upgraded, 1 newly installed, 0 to remove and 89 not upgraded.
Need to get 48.5 kB of archives.
After this operation, 108 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian bullseye/main armel fancontrol all 1:3.6.0-7 [48.5 kB]
Fetched 48.5 kB in 1s (65.6 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_TIME = "nb_NO.UTF-8",
	LC_MONETARY = "nb_NO.UTF-8",
	LC_ADDRESS = "nb_NO.UTF-8",
	LC_TELEPHONE = "nb_NO.UTF-8",
	LC_NAME = "nb_NO.UTF-8",
	LC_MEASUREMENT = "nb_NO.UTF-8",
	LC_IDENTIFICATION = "nb_NO.UTF-8",
	LC_NUMERIC = "nb_NO.UTF-8",
	LC_PAPER = "nb_NO.UTF-8",
	LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package fancontrol.
(Reading database ... 13545 files and directories currently installed.)
Preparing to unpack .../fancontrol_1%3a3.6.0-7_all.deb ...
Unpacking fancontrol (1:3.6.0-7) ...
Setting up fancontrol (1:3.6.0-7) ...
Not starting fancontrol; run pwmconfig first. ... (warning).
Processing triggers for man-db (2.9.4-2) ...
root@debian:~# pwmconfig
# pwmconfig version 3.6.0
This program will search your sensors for pulse width modulation (pwm)
controls, and test each one to see if it controls a fan on
your motherboard. Note that many motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.

We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed
after testing. However, it is ** very important ** that you
physically verify that the fans have been to full speed
after the program has completed.

/usr/sbin/pwmconfig: No sensors found! (modprobe sensor modules?)
root@debian:~# modprobe sensor modules
modprobe: FATAL: Module sensor not found in directory /lib/modules/5.13.6-kirkwood-tld-1
root@debian:~#



Edited 1 time(s). Last edit at 09/18/2023 01:22PM by dmb4312.
Re: Debian on Synology DS411j
September 18, 2023 01:44PM
> Yepp, there are 2 fans, both are sharing the
> voltage somehow because when I remove one, the
> second is running even faster

I think so. Since there is only one gpio fan node in the DTS. And it failed to initialize
[   35.947234] gpio-fan: probe of gpio-fan-150-15-18 failed with error -524
This is where it should be investigated first.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS411j
September 18, 2023 03:27PM
bodhi Wrote:
-------------------------------------------------------
> > Yepp, there are 2 fans, both are sharing the
> > voltage somehow because when I remove one, the
> > second is running even faster
>
> I think so. Since there is only one gpio fan node
> in the DTS. And it failed to initialize
>
> [   35.947234] gpio-fan: probe of
> gpio-fan-150-15-18 failed with error -524
>
> This is where it should be investigated first.

Not sure what you mean, is there anything you want me to do regarding this? thanks.
Re: Debian on Synology DS411j
September 18, 2023 03:41PM
> Not sure what you mean, is there anything you want
> me to do regarding this? thanks.

Not sure yet what you can do on your side. It might be that the kernel DTS is wrong.

Does any of the fans run upon power up? does it stop at some point during boot and start again?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS411j
September 18, 2023 06:50PM
Here is the website where I found the GPL source long ago:

https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/24922branch/6281-source/

It seems they have moved or removed the GPL source folder somewhere.

We need to look for this u-boot (in their latest branch)

u-boot-mv-3.5.9

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS411j
September 18, 2023 07:34PM
I see. The GoFlex Home GPIOs would be in conflict with the DS411j Fan GPIO.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS411j
September 19, 2023 12:30AM
>Does any of the fans run upon power up? does it stop at some point during boot and start again?
Im sure they just run same full-speed from start, no change upon boot.

Im pretty blank when it comes to software-development/code but understand that there is something that is in conflict as you explain.
Re: Debian on Synology DS411j
September 19, 2023 12:46AM
Stay tuned, I will upload the new and shiny ds411j u-boot tomorrow!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS411j
September 19, 2023 12:50PM
bodhi Wrote:
-------------------------------------------------------
> Stay tuned, I will upload the new and shiny ds411j
> u-boot tomorrow!

wow, so cool!!
Appreciate you taking time to look at this.
Re: Debian on Synology DS411j
September 19, 2023 01:51PM
It's up in the new thread.

https://forum.doozan.com/read.php?3,135762

It'll be a bit rough. I only spent a couple hours to roll it, and have not done any testing. Hopefuly USB and SATA will work.

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



Edited 2 time(s). Last edit at 09/19/2023 01:53PM by bodhi.
Re: Debian on Synology DS411j
September 21, 2023 12:15AM
bodhi Wrote:
-------------------------------------------------------
> It's up in the new thread.
>
> https://forum.doozan.com/read.php?3,135762
>
> It'll be a bit rough. I only spent a couple hours
> to roll it, and have not done any testing.
> Hopefuly USB and SATA will work.

Thanks Bodhi,
I will test it in couple of days and be back
Re: Debian on Synology DS411j
September 21, 2023 12:43PM
removing wrong posting



Edited 2 time(s). Last edit at 09/21/2023 12:51PM by dmb4312.
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: