Welcome! Log In Create A New Profile

Advanced

Install Debian on Synology DS413J

Posted by jhackert 
Install Debian on Synology DS413J
June 20, 2022 11:28AM
Heya,

after my DS214 is unbricked, it's time to brick my old DS413J ;) I'm curious how a Debian would perform on it.

The first steps looked quite promising but ... no network, no fun.

[    8.556268][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.564242][    T1] kirkwood-pinctrl f1010000.pin-controller: pin PIN20 already requested by f1080000.sata; cannot claim for f1076000.ethernet-controller
[    8.578076][    T1] kirkwood-pinctrl f1010000.pin-controller: pin-20 (f1076000.ethernet-controller) status -22
[    8.588144][    T1] kirkwood-pinctrl f1010000.pin-controller: could not request pin 20 (PIN20) from group mpp20  on device f1010000.pin-controller
[    8.601353][    T1] mv643xx_eth f1076000.ethernet-controller: Error applying setting, reverse things back
[    8.610990][    T1] mv643xx_eth: probe of f1076000.ethernet-controller failed with error -22

Here is the complete log. How could this be fixed?

ü
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology Disk Station LE 

U-Boot 1.1.4 (May 22 2012 - 20:23:09) Marvell version: 3.5.9

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 0068B3D4

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz 

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 512MB 
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Using default environment

[8192kB@f8000000] Flash:  8 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
PEX 1: interface detected no Link.

Synology Model: DS413j
Fan Status: Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  3  0 
Marvell>> setenv ipaddr 192.168.178.241
Marvell>> setenv serverip 192.168.178.56
Marvell>> setenv netmask 255.255.255.0
Marvell>> setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
Marvell>> tftpboot 800000 uImage
Using egiga0 device
TFTP from server 192.168.178.56; our IP address is 192.168.178.241
Filename 'uImage'.
Load address: 0x800000
Loading: *#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ##########################
done
Bytes transferred = 5457780 (534774 hex)
Marvell>> tftpboot 2100000 uInitrd
Using egiga0 device
TFTP from server 192.168.178.56; our IP address is 192.168.178.241
Filename 'uInitrd'.
Load address: 0x2100000
Loading: *#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ####
done
Bytes transferred = 9671091 (9391b3 hex)
Marvell>> bootm 0x800000 0x2100000
## Booting image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5457716 Bytes =  5.2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes =  9.2 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.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][    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: Synology DS411, DS413jv10
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] 	Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0] 	Tracing variant of 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.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008516][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015793][    T0] Console: colour dummy device 80x30
[    0.020994][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032206][    T0] pid_max: default: 32768 minimum: 301
[    0.037804][    T0] LSM: Security Framework initializing
[    0.043261][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051288][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.060832][    T0] CPU: Testing write buffer coherency: ok
[    0.068205][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.075360][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.081446][    T1] rcu: Hierarchical SRCU implementation.
[    0.087949][    T1] devtmpfs: initialized
[    0.099950][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.110521][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.146041][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.153187][    T1] prandom: seed boundary self test passed
[    0.161910][    T1] prandom: 100 self tests passed
[    0.166686][    T1] pinctrl core: initialized pinctrl subsystem
[    0.173860][    T1] NET: Registered protocol family 16
[    0.179601][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.187883][    T1] audit: initializing netlink subsys (disabled)
[    0.195077][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.195401][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.210650][    T1] cpuidle: using governor ladder
[    0.215490][    T1] cpuidle: using governor menu
[    0.220527][    T1] Feroceon L2: Enabling L2
[    0.224805][    T1] Feroceon L2: Cache support initialised.
[    0.240558][    T1] No ATAGs?
[    2.568522][    C0] random: fast init done
[    3.893481][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.919775][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.108648][    T1] raid6: int32x8  gen()   150 MB/s
[    4.278613][    T1] raid6: int32x8  xor()    91 MB/s
[    4.448637][    T1] raid6: int32x4  gen()   146 MB/s
[    4.618644][    T1] raid6: int32x4  xor()    95 MB/s
[    4.788544][    T1] raid6: int32x2  gen()   186 MB/s
[    4.958560][    T1] raid6: int32x2  xor()   113 MB/s
[    5.128654][    T1] raid6: int32x1  gen()   131 MB/s
[    5.298550][    T1] raid6: int32x1  xor()    79 MB/s
[    5.303492][    T1] raid6: using algorithm int32x2 gen() 186 MB/s
[    5.309569][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.315113][    T1] raid6: using intx1 recovery algorithm
[    5.320700][    T1] vgaarb: loaded
[    5.324543][    T1] SCSI subsystem initialized
[    5.329389][    T1] usbcore: registered new interface driver usbfs
[    5.335599][    T1] usbcore: registered new interface driver hub
[    5.341655][    T1] usbcore: registered new device driver usb
[    5.347527][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.353180][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.362991][    T1] PTP clock support registered
[    5.369054][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.459582][    T1] VFS: Disk quotas dquot_6.6.0
[    5.464264][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.495503][    T1] NET: Registered protocol family 2
[    5.509219][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.529409][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.538451][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.559157][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.567007][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.589292][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.597230][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.619089][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.626910][    T1] NET: Registered protocol family 1
[    5.649613][    T1] RPC: Registered named UNIX socket transport module.
[    5.656203][    T1] RPC: Registered udp transport module.
[    5.669073][    T1] RPC: Registered tcp transport module.
[    5.674451][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.699077][    T1] PCI: CLS 0 bytes, default 32
[    5.703911][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.711389][   T58] Trying to unpack rootfs image as initramfs...
[    7.014749][   T58] Freeing initrd memory: 9448K
[    7.368541][    T1] Initialise system trusted keyrings
[    7.373753][    T1] Key type blacklist registered
[    7.378630][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.385896][    T1] zbud: loaded
[    7.390313][    T1] NFS: Registering the id_resolver key type
[    7.396057][    T1] Key type id_resolver registered
[    7.400973][    T1] Key type id_legacy registered
[    7.405686][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.413078][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.421146][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.428381][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  Â 2001-2006 Red Hat, Inc.
[    7.436486][    T1] fuse: init (API version 7.34)
[    7.441511][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.448773][    T1] orangefs_init: module version upstream loaded
[    7.454904][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.540036][    T1] xor: measuring software checksum speed
[    7.552196][    T1]    arm4regs        :  1485 MB/sec
[    7.568321][    T1]    8regs           :   890 MB/sec
[    7.581036][    T1]    32regs          :  1296 MB/sec
[    7.586068][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.591999][    T1] async_tx: api initialized (async)
[    7.597030][    T1] Key type asymmetric registered
[    7.601839][    T1] Asymmetric key parser 'x509' registered
[    7.607422][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.615569][    T1] io scheduler bfq registered
[    7.769603][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.779204][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.789043][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.799149][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.809231][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.819313][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.829912][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.840504][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.851090][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.862005][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.870266][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.876428][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.887270][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.898112][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.908953][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.916504][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.923579][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.930288][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.937968][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.944682][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.953785][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.960064][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.968743][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.977599][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    7.984318][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x900fffff 64bit]
[    7.991793][    T1] pci 0000:01:00.0: reg 0x18: [io  0xf0000000-0xf00000ff]
[    7.998845][    T1] 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)
[    8.014515][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.026833][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.033104][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.042137][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.048303][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.055762][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.063330][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.070370][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.078260][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.086166][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.094161][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.101119][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.106760][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.113706][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.121181][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.126907][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.134232][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.199923][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.209960][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.269887][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.280174][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.288357][    T1] printk: console [ttyS0] disabled
[    8.293437][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.303140][    T1] printk: console [ttyS0] enabled
[    8.303140][    T1] printk: console [ttyS0] enabled
[    8.312965][    T1] printk: bootconsole [earlycon0] disabled
[    8.312965][    T1] printk: bootconsole [earlycon0] disabled
[    8.324981][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.341684][    T1] loop: module loaded
[    8.346049][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.360265][    T1] scsi host0: sata_mv
[    8.364659][    T1] scsi host1: sata_mv
[    8.368995][    T1] scsi host2: sata_mv
[    8.373380][    T1] scsi host3: sata_mv
[    8.377433][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 37
[    8.385874][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 37
[    8.394288][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 37
[    8.402701][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 37
[    8.412421][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.421300][    T1] scsi host4: sata_mv
[    8.425685][    T1] scsi host5: sata_mv
[    8.429793][    T1] ata5: SATA max UDMA/133 irq 34
[    8.434619][    T1] ata6: SATA max UDMA/133 irq 34
[    8.441061][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.447549][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.453053][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    8.460158][    T1] Creating 6 MTD partitions on "spi0.0":
[    8.465681][    T1] 0x000000000000-0x000000080000 : "RedBoot"
[    8.472742][    T1] 0x000000080000-0x000000280000 : "zImage"
[    8.479624][    T1] 0x000000280000-0x0000003c0000 : "rd.gz"
[    8.486382][    T1] 0x0000003c0000-0x0000003d0000 : "vendor"
[    8.493248][    T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[    8.500830][    T1] 0x0000003f0000-0x000000400000 : "FIS directory"
[    8.508643][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.517250][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.528509][    T1] libphy: Fixed MDIO Bus: probed
[    8.534614][    T1] libphy: orion_mdio_bus: probed
[    8.539631][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.547940][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing.
[    8.556268][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.564242][    T1] kirkwood-pinctrl f1010000.pin-controller: pin PIN20 already requested by f1080000.sata; cannot claim for f1076000.ethernet-controller
[    8.578076][    T1] kirkwood-pinctrl f1010000.pin-controller: pin-20 (f1076000.ethernet-controller) status -22
[    8.588144][    T1] kirkwood-pinctrl f1010000.pin-controller: could not request pin 20 (PIN20) from group mpp20  on device f1010000.pin-controller
[    8.601353][    T1] mv643xx_eth f1076000.ethernet-controller: Error applying setting, reverse things back
[    8.610990][    T1] mv643xx_eth: probe of f1076000.ethernet-controller failed with error -22
[    8.619709][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.626987][    T1] ehci-pci: EHCI PCI platform driver
[    8.632261][    T1] ehci-orion: EHCI orion driver
[    8.637150][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.643435][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.652026][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.679093][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.686115][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.695194][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.703193][    T1] usb usb1: Product: EHCI Host Controller
[    8.708823][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.716295][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.722312][    T1] hub 1-0:1.0: USB hub found
[    8.726851][    T1] hub 1-0:1.0: 1 port detected
[    8.732198][    T1] usbcore: registered new interface driver usb-storage
[    8.739351][    T1] mousedev: PS/2 mouse device common for all mice
[    8.745708][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.752129][    T1] i2c /dev entries driver
[    8.757938][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.764319][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.770878][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.778273][    T1] device-mapper: uevent: version 1.0.3
[    8.783926][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.793496][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.800806][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.808150][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.815567][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.822406][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.831075][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.837266][    T1] drop_monitor: Initializing network drop monitor service
[    8.844666][    T1] NET: Registered protocol family 10
[    8.850828][    T1] Segment Routing with IPv6
[    8.855210][    T1] RPL Segment Routing with IPv6
[    8.860076][    T1] NET: Registered protocol family 17
[    8.865432][    T1] Key type dns_resolver registered
[    8.871030][    T1] registered taskstats version 1
[    8.875855][    T1] Loading compiled-in X.509 certificates
[    8.881740][    T1] zswap: loaded using pool lzo/zbud
[    8.887103][    T1] Key type ._fscrypt registered
[    8.891901][    T1] Key type .fscrypt registered
[    8.896542][    T1] Key type fscrypt-provisioning registered
[    8.903788][    T1] Key type big_key registered
[    8.933423][    T1] Key type encrypted registered
[    9.019079][  T115] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.112721][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.220785][  T115] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    9.229731][  T115] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.237619][  T115] usb 1-1: Product: USB2.0 Hub
[    9.243073][  T115] hub 1-1:1.0: USB hub found
[    9.247912][  T115] hub 1-1:1.0: 4 ports detected
[    9.569079][  T115] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[    9.721658][  T115] usb 1-1.1: New USB device found, idVendor=04b4, idProduct=6830, bcdDevice= 0.01
[    9.730773][  T115] usb 1-1.1: New USB device strings: Mfr=56, Product=78, SerialNumber=100
[    9.739194][  T115] usb 1-1.1: Product: USB2.0 Storage Device
[    9.744974][  T115] usb 1-1.1: Manufacturer: Cypress Semiconductor
[    9.751202][  T115] usb 1-1.1: SerialNumber: DEF107679C83
[   14.669076][   T98] ata3: link is slow to respond, please be patient (ready=0)
[   15.999102][   T98] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   16.010781][   T98] ata3.00: ATA-7: WDC WD1500ADFD-00NLR1, 20.07P20, max UDMA/133
[   16.018306][   T98] ata3.00: 293046768 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   16.032735][   T98] ata3.00: configured for UDMA/133
[   16.048171][   T80] scsi 2:0:0:0: Direct-Access     ATA      WDC WD1500ADFD-0 7P20 PQ: 0 ANSI: 5
[   16.058018][   T58] sd 2:0:0:0: [sda] 293046768 512-byte logical blocks: (150 GB/140 GiB)
[   16.067152][   T58] sd 2:0:0:0: [sda] Write Protect is off
[   16.072862][   T58] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   16.095581][   T58]  sda: sda1 sda2 sda3 < sda5 >
[   16.102086][   T58] sd 2:0:0:0: [sda] Attached SCSI disk
[   16.400612][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   16.740570][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   16.759875][    T1] Freeing unused kernel memory: 1024K
[   16.765838][    T1] Checked W+X mappings: passed, no W+X pages found
[   16.772253][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   17.737307][  T147] usbcore: registered new interface driver uas
[   17.795156][  T147] ums-cypress 1-1.1:1.0: USB Mass Storage device detected
[   17.858267][  T147] scsi host6: usb-storage 1-1.1:1.0
[   17.879273][  T147] usbcore: registered new interface driver ums-cypress
[   18.893008][  T108] scsi 6:0:0:0: Direct-Access     SAMSUNG  SP1614N          0000 PQ: 0 ANSI: 0
[   18.906212][  T103] sd 6:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[   18.919702][  T103] sd 6:0:0:0: [sdb] Write Protect is off
[   18.926312][  T103] sd 6:0:0:0: [sdb] No Caching mode page found
[   18.932510][  T103] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[   18.958407][  T103]  sdb: sdb1
[   18.972377][  T103] sd 6:0:0:0: [sdb] Attached SCSI disk
[   22.889531][  T145] reg-fixed-voltage regulators-hdd-34:regulator@3: nonexclusive access to GPIO for regulators-hdd-34:regulator@3
[   23.230610][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   26.786981][    C0] random: crng init done
[   27.930741][  T145] reg-fixed-voltage regulators-hdd-34:regulator@4: nonexclusive access to GPIO for regulators-hdd-34:regulator@4
[   28.580602][   T98] ata3: SATA link down (SStatus 0 SControl 300)
Begin: Loading essential drivers ... done.
[   33.940591][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   33.946747][   T98] ata3.00: disabled
[   33.950480][  T115] ata3.00: detaching (SCSI 2:0:0:0)
[   33.963391][  T115] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[   33.976220][  T115] sd 2:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   33.997132][  T115] sd 2:0:0:0: [sda] Stopping disk
[   34.002597][  T115] sd 2:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
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.36.1
[/sbin/fsck.ext3 (1) -- /dev/sdb1] fsck.ext3 -a -C0 /dev/sdb1 
rootfs: clean, 15653/9773056 files, 1067478/39072470 blocks
done.
[   44.383839][  T180] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[   45.769656][  T180] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   49.890438][  T368] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized
[   50.305252][  T364] orion_wdt: Initial timeout 21 sec
[   50.758130][  T363] marvell-cesa f1030000.crypto: CESA device successfully registered
[   51.006620][  T370] sd 6:0:0:0: Attached scsi generic sg0 type 0
done.
Activating swap:.
[   53.556202][  T510] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...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/

Cannot find device "eth0"
Failed to get interface index: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging.

exiting.
ifup: failed to bring up eth0
failed.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1039 (syslogd)
.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1059 (klogd)
.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting NFS common utilities: statd idmapd.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 11 debian ttyS0

debian login: root
Password: 
Linux debian 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Dec 31 16:01:05 PST 1969 on ttyS0
debian
Synology DS411, DS413jv10
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
Debian 11.0
Wed Dec 31 16:01:19 PST 1969 up 1 minute
root@debian:~# init 0

I used dts/kirkwood-ds411.dtb for building the uImage. That should be compatible with the DS413J.

[    0.000000][    T0] OF: fdt: Machine model: Synology DS411, DS413jv10


Jan
Re: Install Debian on Synology DS413J
June 20, 2022 07:06PM
Jan,

Quote

[ 8.556268][ T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 8.564242][ T1] kirkwood-pinctrl f1010000.pin-controller: pin PIN20 already requested by f1080000.sata; cannot claim for f1076000.ethernet-controller
[ 8.578076][ T1] kirkwood-pinctrl f1010000.pin-controller: pin-20 (f1076000.ethernet-controller) status -22
[ 8.588144][ T1] kirkwood-pinctrl f1010000.pin-controller: could not request pin 20 (PIN20) from group mpp20 on device f1010000.pin-controller
[ 8.601353][ T1] mv643xx_eth f1076000.ethernet-controller: Error applying setting, reverse things back
[ 8.610990][ T1] mv643xx_eth: probe of f1076000.ethernet-controller failed with error -22

Look like the DTB for DS411 is incompatible with this DS413J. I'll need to take a look at the DTS.

Also, power up, interrupt serial console countdown and get a listing of envs.

printenv

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Install Debian on Synology DS413J
June 20, 2022 10:03PM
Jan,

2 questions.

1. Does this box have 2 Ethernet ports?

2. Can you request the latest GPL source from Synology? there seems to be some difference between this box and the DS413jv10 (not sure what v10 is about?).

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Install Debian on Synology DS413J
June 21, 2022 02:54AM
Bodhi,

the box does have 1 Ethernet port.


Following is a log of a standard boot including environment and available uboot help commands. I spotted that they set syno_hw_version=DS413jv10 in the environment and netif_num=1.

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology Disk Station LE 

U-Boot 1.1.4 (May 22 2012 - 20:23:09) Marvell version: 3.5.9

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 0068B3D4

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz 

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 512MB 
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Using default environment

[8192kB@f8000000] Flash:  8 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
PEX 1: interface detected no Link.

Synology Model: DS413j
Fan Status: Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  3  0 


Marvell>> printenv
bootcmd=bootm F8090000 F8390000
baudrate=115200
loads_echo=0
ipaddr=192.168.1.154
serverip=192.168.1.155
rootpath=/mnt/ARM_FS/
netmask=255.255.254.0
run_diag=yes
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x700000@0x100000(root)
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
MALLOC_len=1
ethprime=egiga0
netbsd_en=no
vxworks_en=no
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;
lcd0_enable=0
lcd0_params=640x480-16@60
bootdelay=3
disaMvPnp=no
ethaddr=00:50:43:3c:3b:5d
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
pcieTune=no
pcieTune1=no
bootargs=console=ttyS0,115200 ip=off initrd=0x00800040,8M root=/dev/md0 rw syno_hw_version=DS413jv10 ihd_num=4 netif_num=1 flash_size=8
ethact=egiga0

Environment size: 1174/4092 bytes


Marvell>> help
?       - alias for 'help'
WOLTest	- Wake On Lan u-boot testing
base    - print or set address offset
bootm   - boot application image from memory
bootp	- boot image via network using BootP/TFTP protocol
bubt	- Burn an image on the Boot Flash.
cmp     - memory compare
cp      - memory copy
cpumap - Display CPU memory mapping settings.
crc32   - checksum calculation
echo    - echo args to console
erase   - erase FLASH memory
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
icrc32  - checksum calculation
iloop   - infinite loop on address range
imd     - i2c memory display
imm[.b, .s, .w, .l]     - i2c memory modify (auto-incrementing)
imw     - memory write (fill)
inm     - memory modify (constant address)
iprobe  - probe to discover valid I2C chip addresses
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
phyRead	- Read Phy register
phyWrite	- Write Phy register
ping	- send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
resetenv	- Return all environment variable to default.
setenv  - set environment variables
sflash	- read, write or erase the external SPI Flash.
sg	- scanning the PHYs status
Temp	- read chip Tj temp
tftpboot- boot image via network using TFTP protocol
version - print monitor version


Marvell>> bootm F8090000 F8390000
## Booting image at f8090000 ...
   Image Name:   Linux-2.6.32.12
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1553632 Bytes =  1.5 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at f8390000 ...
   Image Name:   synology_88f6282_413j 25556
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3263338 Bytes =  3.1 MB
   Load Address: 00800000
   Entry Point:  00800000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.32.12 (root@build4) (gcc version 4.6.4 (Marvell GCC release 20150204-c4af733b 64K MAXPAGESIZE ALIGN CVE-2015-0235) ) #25556 Thu Mar 4 17:56:48 CST 2021
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Synology 6282 board
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Sys Clk = 200000000, Tclk = 166666667
[    0.000000] Synology Board ID: 26
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 ip=off initrd=0x00800040,8M root=/dev/md0 rw syno_hw_version=DS413jv10 ihd_num=4 netif_num=1 flash_size=8
[    0.000000] Synology Hardware Version: DS413jv10-j
[    0.000000] Internal HD num: 4
[    0.000000] Internal netif num: 1
[    0.000000] Flash Memory Size: 8 MB
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 502784KB available (3656K code, 519K data, 124K init, 0K highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:128
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Calibrating delay loop... 1589.24 BogoMIPS (lpj=7946240)
[    0.240000] Mount-cache hash table entries: 512
[    0.240000] CPU: Testing write buffer coherency: ok
[    0.240000] devtmpfs: initialized
[    0.240000] xor: measuring software checksum speed
[    0.290000]    arm4regs  :  1448.800 MB/sec
[    0.340000]    8regs     :   869.200 MB/sec
[    0.390000]    32regs    :  1122.000 MB/sec
[    0.390000] xor: using function: arm4regs (1448.800 MB/sec)
[    0.390000] NET: Registered protocol family 16
[    0.390000] Feroceon L2: Enabling L2
[    0.390000] Feroceon L2: Cache support initialised, in WT override mode.
[    0.410000] 
[    0.410000] CPU Interface
[    0.410000] -------------
[    0.410000] SDRAM_CS0 ....base 00000000, size 512MB 
[    0.410000] SDRAM_CS1 ....disable
[    0.410000] SDRAM_CS2 ....disable
[    0.410000] SDRAM_CS3 ....disable
[    0.410000] PEX0_MEM ....base e0000000, size 128MB 
[    0.410000] PEX0_IO ....base f2000000, size   1MB 
[    0.410000] PEX1_MEM ....base e8000000, size 128MB 
[    0.410000] PEX1_IO ....base f2100000, size   1MB 
[    0.410000] INTER_REGS ....base f1000000, size   1MB 
[    0.410000] NFLASH_CS ....base fa000000, size   2MB 
[    0.410000] SPI_CS ....base f4000000, size  16MB 
[    0.410000] BOOT_ROM_CS ....no such
[    0.410000] DEV_BOOTCS ....no such
[    0.410000] CRYPT_ENG ....base f0000000, size   2MB 
[    0.410000]  Detected Tclk 200000000 and SysClk 533333333 
[    0.410000] Apply DS 413j GPIO
[    0.410000] Synology 6282 DS411 GPIO Init
[    0.410000] PCIe link is enable, apply PCIe workaround
[    0.910000] PEX0 interface detected Link X4
[    1.410000] PEX1 interface detected no Link.
[    1.410000] PCI: bus0: Fast back to back transfers disabled
[    1.410000] PCI: bus1: Fast back to back transfers enabled
[    1.420000] bio: create slab <bio-0> at 0
[    1.420000] vgaarb: loaded
[    1.420000] SCSI subsystem initialized
[    1.590000] raid6: int32x1    126 MB/s
[    1.760000] raid6: int32x2    185 MB/s
[    1.930000] raid6: int32x4    180 MB/s
[    2.100000] raid6: int32x8    193 MB/s
[    2.100000] raid6: using algorithm int32x8 (193 MB/s)
[    2.100000] Switching to clocksource kw_clocksource
[    2.100000] NET: Registered protocol family 2
[    2.100000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    2.100000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    2.100000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    2.100000] TCP: Hash tables configured (established 16384 bind 16384)
[    2.100000] TCP reno registered
[    2.100000] NET: Registered protocol family 1
[    2.100000] RPC: Registered udp transport module.
[    2.100000] RPC: Registered tcp transport module.
[    2.100000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.100000] Trying to unpack rootfs image as initramfs...
[    5.040000] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    5.060000] Freeing initrd memory: 8192K
[    5.060000] XOR registered 4 channels
[    5.060000] XOR 2nd invalidate WA enabled
[    5.060000] VFS: Disk quotas dquot_6.5.2
[    5.060000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.070000] msgmni has been set to 998
[    5.070000] alg: No test for md5 (md5-generic)
[    5.070000] alg: No test for des (des-generic)
[    5.070000] alg: No test for des3_ede (des3_ede-generic)
[    5.070000] alg: No test for stdrng (krng)
[    5.070000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    5.070000] io scheduler noop registered
[    5.070000] io scheduler anticipatory registered (default)
[    5.070000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    5.070000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    5.080000] console [ttyS0] enabled
[    5.080000] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
[    5.090000] brd: module loaded
[    5.090000] sata_mv 0000:00:01.0: version 1.28
[    5.100000] PCI: enabling device 0000:00:01.0 (0140 -> 0143)
[    5.100000] sata_mv 0000:00:01.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    5.110000] scsi0 : sata_mv
[    5.120000] scsi1 : sata_mv
[    5.120000] scsi2 : sata_mv
[    5.120000] scsi3 : sata_mv
[    5.130000] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 9
[    5.130000] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 9
[    5.140000] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 9
[    5.150000] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 9
[    8.500000] ata1: SATA link down (SStatus 0 SControl 300)
[   11.500000] Delay 5 seconds to wait for disk 2 ready.
[   16.850000] ata2: SATA link down (SStatus 0 SControl 300)
[   19.850000] Delay 5 seconds to wait for disk 3 ready.
[   30.390000] ata3: link is slow to respond, please be patient (ready=0)
[   31.650000] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   31.690000] ata3.00: ATA-7: WDC WD1500ADFD-00NLR1, 20.07P20, max UDMA/133
[   31.690000] ata3.00: 293046768 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   31.760000] ata3.00: configured for UDMA/133
[   31.780000] scsi 2:0:0:0: Direct-Access     WDC      WD1500ADFD-00NLR1        20.0 PQ: 0 ANSI: 5
[   31.780000] sd 2:0:0:0: [sdc] 293046768 512-byte logical blocks: (150 GB/139 GiB)
[   31.790000] sd 2:0:0:0: [sdc] Write Protect is off
[   31.800000] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   31.810000]  sdc: sdc1 sdc2 sdc3 < sdc5 >
[   31.830000] sd 2:0:0:0: [sdc] Attached SCSI disk
[   34.830000] Delay 5 seconds to wait for disk 4 ready.
[   40.170000] ata4: SATA link down (SStatus 0 SControl 300)
[   40.170000] sata_mv sata_mv.0: version 1.28
[   40.170000] sata_mv sata_mv.0: slots 32 ports 2
[   40.180000] scsi4 : sata_mv
[   40.180000] scsi5 : sata_mv
[   40.190000] ata5: SATA max UDMA/133 irq 21
[   40.190000] ata6: SATA max UDMA/133 irq 21
[   40.540000] ata5: SATA link down (SStatus 0 SControl F300)
[   40.890000] ata6: SATA link down (SStatus 0 SControl F300)
[   40.890000] physmap platform flash device: 00400000 at f8000000
[   40.900000] SPI Serial flash detected @ 0xf8000000, 8192KB (128sec x 64KB)
[   40.910000] Searching for RedBoot partition table in SYNOMTD-0 at offset 0x7f0000
[   40.920000] 6 RedBoot partitions found on MTD device SYNOMTD-0
[   40.930000] SYNOMTD flash bank 0: Using RedBoot partition definition
[   40.930000] Creating 6 MTD partitions on "SYNOMTD-0":
[   40.940000] 0x000000000000-0x000000090000 : "RedBoot"
[   40.950000] 0x000000090000-0x000000390000 : "zImage"
[   40.950000] 0x000000390000-0x0000007d0000 : "rd.gz"
[   40.960000] 0x0000007d0000-0x0000007e0000 : "vendor"
[   40.960000] vender Mac1 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[   40.970000] vender Mac2 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[   40.970000] vender Mac3 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[   40.980000] serial number='abc'
[   40.980000] 0x0000007e0000-0x0000007f0000 : "RedBoot Config"
[   40.990000] 0x0000007f0000-0x000000800000 : "FIS directory"
[   41.000000] SPI Serial flash detected @ 0xf4000000, 8192KB (128sec x 64KB)
[   41.010000] cmdlinepart partition parsing not available
[   41.010000] Loading Marvell Ethernet Driver:
[   41.020000]   o Cached descriptors in DRAM
[   41.020000]   o DRAM SW cache-coherency
[   41.020000]   o 2 Giga ports supported
[   41.030000]   o Single RX Queue support - ETH_DEF_RXQ=0
[   41.030000]   o Single TX Queue support - ETH_DEF_TXQ=0
[   41.040000]   o TCP segmentation offload (TSO) supported
[   41.040000]   o Receive checksum offload supported
[   41.050000]   o Transmit checksum offload supported
[   41.050000]   o SKB Recycle supported - (Enabled)
[   41.060000]   o Rx descripors: q0=128
[   41.060000]   o Tx descripors: q0=532
[   41.070000]   o Loading network interface(s):
[   41.070000]     o  register under mv88fx_eth platform
[   41.080000]     o eth0, ifindex = 2, GbE port = 0
[   41.080000]     o eth0, phy chipid = 1410e90, Support WOL = 32
[   41.090000] 
[   41.090000] md: linear personality registered for level -1
[   41.090000] md: raid0 personality registered for level 0
[   41.100000] md: raid1 personality registered for level 1
[   41.100000] md: raid10 personality registered for level 10
[   41.110000] md: raid6 personality registered for level 6
[   41.120000] md: raid5 personality registered for level 5
[   41.120000] md: raid4 personality registered for level 4
[   41.130000] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[   41.140000] cpuidle: using governor ladder
[   41.140000] TCP cubic registered
[   41.140000] NET: Registered protocol family 17
[   41.150000] NET: Registered protocol family 15
[   41.150000] registered taskstats version 1
[   41.160000] md: Waiting for all devices to be available before autodetect
[   41.160000] md: If you don't use raid, use raid=noautodetect
[   41.170000] md: Autodetecting RAID arrays.
[   41.210000] md: invalid raid superblock magic on sdc5
[   41.210000] md: sdc5 does not have a valid v0.90 superblock, not importing!
[   41.220000] md: Scanned 3 and added 2 devices.
[   41.220000] md: autorun ...
[   41.230000] md: considering sdc1 ...
[   41.230000] md:  adding sdc1 ...
[   41.230000] md: sdc2 has different UUID to sdc1
[   41.240000] md: created md0
[   41.240000] md: bind<sdc1>
[   41.240000] md: running: <sdc1>
[   41.250000] raid1: raid set md0 active with 1 out of 4 mirrors
[   41.250000] md0: detected capacity change from 0 to 2549940224
[   41.260000] md: considering sdc2 ...
[   41.260000] md:  adding sdc2 ...
[   41.270000] md: created md1
[   41.270000] md: bind<sdc2>
[   41.270000] md: running: <sdc2>
[   41.280000] raid1: raid set md1 active with 1 out of 4 mirrors
[   41.280000] md1: detected capacity change from 0 to 2147418112
[   41.290000] md: ... autorun DONE.
[   41.290000] RAMDISK: lzma image found at block 0
[   44.440000] VFS: Mounted root (ext2 filesystem) on device 1:0.
START /linuxrc.syno
Insert basic USB modules...
:: Loading module usbcore[   44.740000] usbcore: registered new interface driver usbfs
[   44.740000] usbcore: registered new interface driver hub
[   44.770000] usbcore: registered new interface driver ethub
[   44.770000] usbcore: registered new device driver usb
 ... [  OK  ]
:: Loading module ehci-hcd[   44.850000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   44.860000] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   44.860000] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   44.900000] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   44.920000] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   44.920000] usb usb1: configuration #1 chosen from 1 choice
[   44.950000] hub 1-0:1.0: USB hub found
[   44.950000] hub 1-0:1.0: 1 port detected
 ... [  OK  ]
:: Loading module ohci-hcd[   45.060000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
 ... [  OK  ]
:: Loading module xhci-hcd ... [  OK  ]
Insert net driver(Mindspeed only)...
[   45.210000] ds413j_synobios: module license 'Synology Inc.' taints kernel.
[   45.220000] Disabling lock debugging due to kernel taint
[   45.280000] correction with 0x0f
[   45.340000] 2022-6-21 7:3:8 UTC
[   45.340000] synobios: load, major number 201
[   45.340000] Brand: Synology
[   45.350000] Model: DS-413j
[   45.350000] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[   45.360000] synobios cpu_arch proc entry initialized
[   45.360000] synobios crypto_hw proc entry initialized
[   45.370000] synobios syno_platform proc entry initialized
[   45.370000] synobios open /dev/ttyS1 success
[   45.380000] usb 1-1: new high speed USB device using orion-ehci and address 2
Starting /usr/syno/bin/synocfgen...
/usr/syno/bin/synocfgen returns 0
[   45.400000] synobios: unload
Partition Version=8
 /sbin/e2fsck exists, checking /dev/md0... 
[   45.500000]  md0: unknown partition table
[   45.530000] Got empty serial number. Generate serial number from product.
[   45.530000] usb 1-1: configuration #1 chosen from 1 choice
[   45.560000] hub 1-1:1.0: USB hub found
[   45.560000] hub 1-1:1.0: 4 ports detected
/sbin/e2fsck -pvf returns 0
Mounting /dev/md0 /tmpRoot
[   47.060000] EXT4-fs (md0): barriers disabled
[   47.080000] EXT4-fs (md0): mounted filesystem with ordered data mode
------------upgrade
Begin upgrade procedure
No upgrade file exists
End upgrade procedure
============upgrade
ls: /tmpRoot/usr/share/init/root-file-system.override: No such file or directory
ls: /tmpRoot/usr/share/init/hostname.override: No such file or directory
ls: /tmpRoot/usr/share/init/syslog-ng.override: No such file or directory
ls: /tmpRoot/usr/share/init/dsmupdate.override: No such file or directory
ls: /tmpRoot/usr/share/init/smallupdate.override: No such file or directory
ls: /tmpRoot/usr/share/init/rc.override: No such file or directory
Wait 2 seconds for synology manufactory device
Tue Jun 21 07:03:12 UTC 2022
/dev/md0 /tmpRoot ext4 rw,relatime,user_xattr,barrier=0,journal_checksum,data=ordered 0 0
sys /sys sysfs rw,relatime 0 0
/dev/root.old / ext2 rw,relatime,errors=continue,user_xattr 0 0
none /dev devtmpfs rw,relatime,size=251528k,nr_inodes=62882,mode=755 0 0
proc /proc proc rw,relatime 0 0
linuxrc.syno executed successfully.
[   49.530000] EXT3-fs: md0: couldn't mount because of unsupported optional features (240).
[   49.530000] EXT2-fs: md0: couldn't mount because of unsupported optional features (240).
[   49.550000] EXT4-fs (md0): barriers disabled
[   49.570000] EXT4-fs (md0): mounted filesystem with ordered data mode
[   49.570000] VFS: Mounted root (ext4 filesystem) on device 9:0.
[   49.580000] Trying to move old root to /initrd ... okay
[   49.590000] Freeing init memory: 124K
[   58.480000] sd 2:0:0:0: Attached scsi generic sg0 type 0
==================== start udevd ====================
[   59.200000]  md1: unknown partition table
[   59.340000] Adding 2097080k swap on /dev/md1.  Priority:-1 extents:1 across:2097080k 
[   60.860000] <30>systemd-udevd[1185]: starting version 204
===== trigger device plug event =====
[   68.920000] NET: Registered protocol family 10
[   68.930000] lo: Disabled Privacy Extensions
[   69.160000] IPv6 over IPv4 tunneling driver
[   69.160000] sit0: Disabled Privacy Extensions
[   70.710000] init: syno-auth-check main process (1963) killed by TERM signal
[   71.960000] cpufreq: Init kirkwood cpufreq driver
[   72.800000] alg: No test for aes (aes-generic)
[   72.930000] alg: No test for stdrng (ansi_cprng)
[   73.060000] alg: No test for crc32c (crc32c-generic)
[   73.420000] cesadev_init(bf192000)
[   73.480000] mvCesaInit: sessions=10240, queue=64, pSram=f0000000
[   73.680000] alg: No test for sha1 (sha1-generic)
[   73.720000] alg: No test for sha224 (sha224-generic)
[   73.740000] alg: No test for sha256 (sha256-generic)
[   73.840000] encryptfs using the OCF package.
[   74.400000] alg: No test for arc4 (arc4-generic)
[   74.550000] fuse init (API version 7.13)
[   74.740000] exFAT: Version 1.2.9
[   75.050000] sky2 driver version 1.25
[   75.330000] correction with 0x0f
[   75.380000] 2022-6-21 7:3:39 UTC
[   75.380000] synobios: load, major number 201
[   75.390000] Brand: Synology
[   75.390000] Model: DS-413j
[   75.390000] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[   75.400000] synobios cpu_arch proc entry initialized
[   75.410000] synobios crypto_hw proc entry initialized
[   75.410000] synobios syno_platform proc entry initialized
[   75.420000] synobios open /dev/ttyS1 success
[   77.850000] eth0: mac address changed
[   80.600000] eth0: link down
[   80.610000] eth0: started
[   81.980000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   82.250000] eth0: link up, full duplex, speed 1 Gbps
[   82.260000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   93.550000] init: dhcp-client (eth0) main process (3657) killed by TERM signal
[   95.780000] md: md2 stopped.
[   95.820000] md: bind<sdc5>
[   95.880000] raid1: raid set md2 active with 1 out of 1 mirrors
[   95.880000] md2: detected capacity change from 0 to 145092837376
[   95.950000]  md2: unknown partition table
[  105.570000] EXT4-fs (dm-0): barriers disabled
[  105.660000] EXT4-fs (dm-0): mounted filesystem with writeback data mode
[  124.530000] Initializing USB Mass Storage driver...
[  124.540000] usbcore: registered new interface driver usb-storage
[  124.540000] USB Mass Storage support registered.
[  125.740000] usbcore: registered new interface driver usblp
[  126.860000] usbcore: registered new interface driver hiddev
[  126.860000] usbcore: registered new interface driver usbhid
[  126.870000] usbhid: v2.6:USB HID core driver
[  128.020000] loop: module loaded
[  130.620000] Slow work thread pool: Starting up
[  131.700000] Slow work thread pool: Ready
[  136.050000] iSCSI: init_io_buffer_head(833) LUN-backup: 512 buffers allocated, total 2097152 bytes successfully

DS413J login: [  140.180000] ata3.00: configured for UDMA/133
[  140.180000] ata3: EH complete
[  141.790000] warning: `nginx' uses 32-bit capabilities (legacy support in use)
[  155.470000] findhostd uses obsolete (PF_INET,SOCK_PACKET)
[  157.170000] init: syno_disk_latency_monitor faild on spawn stage, stopped
[  174.810000] init: syno-check-disk-compatibility main process (6778) terminated with status 255

DS413J login: jh
Password: 
 -- jh: /var/services/homes/jh: change directory failed: No such file or directory
Logging in with home = "/".
jh@DS413J:/$ sudo init 0

I checked that the sources seem to be available. Not the latest as this box is EOL but they are from 2021. But I'm not sure what parts of the source you are exactly looking for. The last time I used a compiler is decades ago and I'm a bit out of practice when it goes that deep ;)

Jan



Edited 1 time(s). Last edit at 06/24/2022 11:45AM by jhackert.
Re: Install Debian on Synology DS413J
June 21, 2022 04:12PM
Jan,

> the box does have 1 Ethernet port.

With 1 ethernet port, it is eth0. The envs confirmed that. So this kirkwood-ds411.dts is mismatched in that it also specifies eth1. Looks like the ds413jv10 version has 2 ethernet ports.

> ethprime=egiga0
> ethact=egiga0

> I checked that the sources seem to be available.
> Not the latest as this box is EOL but they are
> from 2021. But I'm not sure what parts of the
> source you are exactly looking for.

That's OK. Please post the URL to that GPL sources folder. I'd imagine it will be useful when and if we cannot solve this right away. I only want to see u-boot source code.

> The last time
> I used a compiler is decades ago and I'm a bit out
> of practice when it goes that deep ;)

I'll do that if we need to!

So first thing is I will compile a new DTB for you to try.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Install Debian on Synology DS413J
June 21, 2022 08:37PM
Jan,

Please try this new DTB.

-bodhi
===========================
Forum Wiki
bodhi's corner
Attachments:
open | download - kirkwood-ds413j.dtb (21.4 KB)
Re: Install Debian on Synology DS413J
June 22, 2022 01:59AM
Bodhi,

here is a link to the GPL sources from 06/2020 that seems to contain exactly the stock uboot 3.5.9 that is shown in the log.

GPL sources DS413J build 24922

I will try the new DTS now.

Jan
Re: Install Debian on Synology DS413J
June 22, 2022 04:42AM
Bodhi,

eth0 still is not found. The error about PIN20 already in use seems to have gone though.

old

[    8.546624][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.554977][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing.
[    8.563299][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.571275][    T1] kirkwood-pinctrl f1010000.pin-controller: pin PIN20 already requested by f1080000.sata; cannot claim for f1076000.ethernet-controller
[    8.585112][    T1] kirkwood-pinctrl f1010000.pin-controller: pin-20 (f1076000.ethernet-controller) status -22
[    8.595178][    T1] kirkwood-pinctrl f1010000.pin-controller: could not request pin 20 (PIN20) from group mpp20  on device f1010000.pin-controller
[    8.608387][    T1] mv643xx_eth f1076000.ethernet-controller: Error applying setting, reverse things back
[    8.618027][    T1] mv643xx_eth: probe of f1076000.ethernet-controller failed with error -22
[    8.626746][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.634054][    T1] ehci-pci: EHCI PCI platform driver
[    8.639323][    T1] ehci-orion: EHCI orion driver
[    8.644211][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.650521][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1

new

[    8.546433][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.554785][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing.
[    8.563106][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.571151][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.578434][    T1] ehci-pci: EHCI PCI platform driver
[    8.583693][    T1] ehci-orion: EHCI orion driver
[    8.588566][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.594831][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1

This seems to be the initialization in stock

[   40.950000] Loading Marvell Ethernet Driver:
[   40.960000]   o Cached descriptors in DRAM
[   40.960000]   o DRAM SW cache-coherency
[   40.960000]   o 2 Giga ports supported
[   40.970000]   o Single RX Queue support - ETH_DEF_RXQ=0
[   40.970000]   o Single TX Queue support - ETH_DEF_TXQ=0
[   40.980000]   o TCP segmentation offload (TSO) supported
[   40.980000]   o Receive checksum offload supported
[   40.990000]   o Transmit checksum offload supported
[   40.990000]   o SKB Recycle supported - (Enabled)
[   41.000000]   o Rx descripors: q0=128
[   41.000000]   o Tx descripors: q0=532
[   41.010000]   o Loading network interface(s):
[   41.010000]     o  register under mv88fx_eth platform
[   41.020000]     o eth0, ifindex = 2, GbE port = 0
[   41.020000]     o eth0, phy chipid = 1410e90, Support WOL = 32
[   41.030000]

Full log

ü
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology Disk Station LE 

U-Boot 1.1.4 (May 22 2012 - 20:23:09) Marvell version: 3.5.9

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 0068B3D4

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz 

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 512MB 
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Using default environment

[8192kB@f8000000] Flash:  8 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
PEX 1: interface detected no Link.

Synology Model: DS413j
Fan Status: Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  3  2  0 
Marvell>> setenv ipaddr 192.168.178.241
Marvell>> setenv serverip 192.168.178.56
Marvell>> setenv netmask 255.255.255.0
Marvell>> setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
Marvell>> tftpboot 800000 uImage
Using egiga0 device
TFTP from server 192.168.178.56; our IP address is 192.168.178.241
Filename 'uImage'.
Load address: 0x800000
Loading: *#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ##########################
done
Bytes transferred = 5457776 (534770 hex)
Marvell>> tftpboot 2100000 uInitrd
Using egiga0 device
TFTP from server 192.168.178.56; our IP address is 192.168.178.241
Filename 'uInitrd'.
Load address: 0x2100000
Loading: *#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ####
done
Bytes transferred = 9671091 (9391b3 hex)
Marvell>> bootm 0x800000 0x2100000
## Booting image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5457712 Bytes =  5.2 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes =  9.2 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.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][    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: Synology DS411, DS413j
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] 	Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0] 	Tracing variant of 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.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008516][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015789][    T0] Console: colour dummy device 80x30
[    0.020985][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032197][    T0] pid_max: default: 32768 minimum: 301
[    0.037798][    T0] LSM: Security Framework initializing
[    0.043257][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051276][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.060824][    T0] CPU: Testing write buffer coherency: ok
[    0.068197][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.075351][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.081435][    T1] rcu: Hierarchical SRCU implementation.
[    0.087941][    T1] devtmpfs: initialized
[    0.099935][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.110515][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.146045][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.153197][    T1] prandom: seed boundary self test passed
[    0.161918][    T1] prandom: 100 self tests passed
[    0.166695][    T1] pinctrl core: initialized pinctrl subsystem
[    0.173865][    T1] NET: Registered protocol family 16
[    0.179610][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.187891][    T1] audit: initializing netlink subsys (disabled)
[    0.195086][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.195411][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.210657][    T1] cpuidle: using governor ladder
[    0.215499][    T1] cpuidle: using governor menu
[    0.220534][    T1] Feroceon L2: Enabling L2
[    0.224814][    T1] Feroceon L2: Cache support initialised.
[    0.240155][    T1] No ATAGs?
[    2.568522][    C0] random: fast init done
[    3.893162][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.919520][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.108743][    T1] raid6: int32x8  gen()   150 MB/s
[    4.278634][    T1] raid6: int32x8  xor()    91 MB/s
[    4.448610][    T1] raid6: int32x4  gen()   145 MB/s
[    4.618600][    T1] raid6: int32x4  xor()    95 MB/s
[    4.788523][    T1] raid6: int32x2  gen()   184 MB/s
[    4.958591][    T1] raid6: int32x2  xor()   113 MB/s
[    5.128654][    T1] raid6: int32x1  gen()   131 MB/s
[    5.298610][    T1] raid6: int32x1  xor()    78 MB/s
[    5.303553][    T1] raid6: using algorithm int32x2 gen() 184 MB/s
[    5.309630][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.315174][    T1] raid6: using intx1 recovery algorithm
[    5.320765][    T1] vgaarb: loaded
[    5.324589][    T1] SCSI subsystem initialized
[    5.329447][    T1] usbcore: registered new interface driver usbfs
[    5.335641][    T1] usbcore: registered new interface driver hub
[    5.341698][    T1] usbcore: registered new device driver usb
[    5.347577][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.353223][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.363035][    T1] PTP clock support registered
[    5.369088][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.459611][    T1] VFS: Disk quotas dquot_6.6.0
[    5.464291][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.495459][    T1] NET: Registered protocol family 2
[    5.509254][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.529450][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.538494][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.559190][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.567040][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.589330][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.597265][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.619123][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.626943][    T1] NET: Registered protocol family 1
[    5.649650][    T1] RPC: Registered named UNIX socket transport module.
[    5.656238][    T1] RPC: Registered udp transport module.
[    5.669107][    T1] RPC: Registered tcp transport module.
[    5.674485][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.699111][    T1] PCI: CLS 0 bytes, default 32
[    5.703941][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.711420][   T58] Trying to unpack rootfs image as initramfs...
[    7.017855][   T58] Freeing initrd memory: 9448K
[    7.371573][    T1] Initialise system trusted keyrings
[    7.376732][    T1] Key type blacklist registered
[    7.381679][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.388877][    T1] zbud: loaded
[    7.393315][    T1] NFS: Registering the id_resolver key type
[    7.399053][    T1] Key type id_resolver registered
[    7.403971][    T1] Key type id_legacy registered
[    7.408684][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.416076][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.424144][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.431397][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  Â 2001-2006 Red Hat, Inc.
[    7.439497][    T1] fuse: init (API version 7.34)
[    7.444493][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.451787][    T1] orangefs_init: module version upstream loaded
[    7.457860][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.543374][    T1] xor: measuring software checksum speed
[    7.555530][    T1]    arm4regs        :  1485 MB/sec
[    7.571695][    T1]    8regs           :   890 MB/sec
[    7.584352][    T1]    32regs          :  1296 MB/sec
[    7.589419][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.595318][    T1] async_tx: api initialized (async)
[    7.600383][    T1] Key type asymmetric registered
[    7.605155][    T1] Asymmetric key parser 'x509' registered
[    7.610775][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.618879][    T1] io scheduler bfq registered
[    7.772896][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.782479][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.792352][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.802434][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.812514][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.822596][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.833195][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.843787][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.854373][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.865288][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.873549][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.879727][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.890571][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.901412][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.912253][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.919804][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.926862][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.933570][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.941259][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.947949][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.957062][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.963339][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.972036][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.980882][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    7.987579][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    7.995061][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    8.001435][    T1] 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)
[    8.017113][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.029460][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.035715][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.044749][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.050936][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.058372][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.065939][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.072978][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.080884][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.088777][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.096771][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.103729][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.109384][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.116318][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.123790][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.129532][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.136840][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.199961][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.209987][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.269915][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.280185][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.288380][    T1] printk: console [ttyS0] disabled
[    8.293462][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.303165][    T1] printk: console [ttyS0] enabled
[    8.303165][    T1] printk: console [ttyS0] enabled
[    8.312990][    T1] printk: bootconsole [earlycon0] disabled
[    8.312990][    T1] printk: bootconsole [earlycon0] disabled
[    8.325019][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.341714][    T1] loop: module loaded
[    8.345938][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.352863][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.366998][    T1] scsi host0: sata_mv
[    8.371444][    T1] scsi host1: sata_mv
[    8.375780][    T1] scsi host2: sata_mv
[    8.380174][    T1] scsi host3: sata_mv
[    8.384227][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 37
[    8.392667][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 37
[    8.401081][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 37
[    8.409493][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 37
[    8.419238][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.428070][    T1] scsi host4: sata_mv
[    8.432499][    T1] scsi host5: sata_mv
[    8.436562][    T1] ata5: SATA max UDMA/133 irq 34
[    8.441436][    T1] ata6: SATA max UDMA/133 irq 34
[    8.447870][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.454390][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.459883][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    8.466969][    T1] Creating 6 MTD partitions on "spi0.0":
[    8.472513][    T1] 0x000000000000-0x000000080000 : "RedBoot"
[    8.479562][    T1] 0x000000080000-0x000000280000 : "zImage"
[    8.486403][    T1] 0x000000280000-0x0000003c0000 : "rd.gz"
[    8.493188][    T1] 0x0000003c0000-0x0000003d0000 : "vendor"
[    8.500059][    T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[    8.507583][    T1] 0x0000003f0000-0x000000400000 : "FIS directory"
[    8.515456][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.524066][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.535376][    T1] libphy: Fixed MDIO Bus: probed
[    8.541421][    T1] libphy: orion_mdio_bus: probed
[    8.546433][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.554785][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing.
[    8.563106][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.571151][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.578434][    T1] ehci-pci: EHCI PCI platform driver
[    8.583693][    T1] ehci-orion: EHCI orion driver
[    8.588566][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.594831][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.603423][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.639126][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.646131][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.655177][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.663167][    T1] usb usb1: Product: EHCI Host Controller
[    8.668790][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.676266][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.682261][    T1] hub 1-0:1.0: USB hub found
[    8.686764][    T1] hub 1-0:1.0: 1 port detected
[    8.692196][    T1] usbcore: registered new interface driver usb-storage
[    8.699357][    T1] mousedev: PS/2 mouse device common for all mice
[    8.705932][    T1] i2c /dev entries driver
[    8.711742][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.717978][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.725229][    T1] device-mapper: uevent: version 1.0.3
[    8.730880][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.740464][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.747772][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.755182][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.761355][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.768819][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.775682][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.782298][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.791295][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.797435][    T1] drop_monitor: Initializing network drop monitor service
[    8.804859][    T1] NET: Registered protocol family 10
[    8.811023][    T1] Segment Routing with IPv6
[    8.815412][    T1] RPL Segment Routing with IPv6
[    8.820276][    T1] NET: Registered protocol family 17
[    8.825632][    T1] Key type dns_resolver registered
[    8.831232][    T1] registered taskstats version 1
[    8.836056][    T1] Loading compiled-in X.509 certificates
[    8.841939][    T1] zswap: loaded using pool lzo/zbud
[    8.847304][    T1] Key type ._fscrypt registered
[    8.852104][    T1] Key type .fscrypt registered
[    8.856744][    T1] Key type fscrypt-provisioning registered
[    8.863980][    T1] Key type big_key registered
[    8.893339][    T1] Key type encrypted registered
[    8.979116][  T115] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.120642][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.180809][  T115] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    9.189760][  T115] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.197642][  T115] usb 1-1: Product: USB2.0 Hub
[    9.203105][  T115] hub 1-1:1.0: USB hub found
[    9.207935][  T115] hub 1-1:1.0: 4 ports detected
[    9.460632][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[    9.529113][  T115] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[    9.681679][  T115] usb 1-1.1: New USB device found, idVendor=04b4, idProduct=6830, bcdDevice= 0.01
[    9.690823][  T115] usb 1-1.1: New USB device strings: Mfr=56, Product=78, SerialNumber=100
[    9.699266][  T115] usb 1-1.1: Product: USB2.0 Storage Device
[    9.705066][  T115] usb 1-1.1: Manufacturer: Cypress Semiconductor
[    9.711312][  T115] usb 1-1.1: SerialNumber: DEF107679C83
[   12.699135][  T100] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   12.729390][  T100] ata4.00: LPM support broken, forcing max_power
[   12.735757][  T100] ata4.00: ATA-8: ST1000LM024 HN-M101MBB, 2AR10001, max UDMA/100
[   12.743390][  T100] ata4.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   12.779382][  T100] ata4.00: LPM support broken, forcing max_power
[   12.785742][  T100] ata4.00: configured for UDMA/100
[   12.801192][  T102] scsi 3:0:0:0: Direct-Access     ATA      ST1000LM024 HN-M 0001 PQ: 0 ANSI: 5
[   12.811034][   T80] sd 3:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   12.819850][   T80] sd 3:0:0:0: [sda] 4096-byte physical blocks
[   12.825900][   T80] sd 3:0:0:0: [sda] Write Protect is off
[   12.831581][   T80] sd 3:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.898529][   T80]  sda: sda1 sda2
[   12.903570][   T80] sd 3:0:0:0: [sda] Attached SCSI disk
[   13.150606][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   13.170101][    T1] Freeing unused kernel memory: 1024K
[   13.176070][    T1] Checked W+X mappings: passed, no W+X pages found
[   13.182501][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   14.128614][  T150] usbcore: registered new interface driver uas
[   14.165337][  T150] ums-cypress 1-1.1:1.0: USB Mass Storage device detected
[   14.231060][  T150] scsi host6: usb-storage 1-1.1:1.0
[   14.254604][  T150] usbcore: registered new interface driver ums-cypress
[   15.293018][  T108] scsi 6:0:0:0: Direct-Access     SAMSUNG  SP1614N          0000 PQ: 0 ANSI: 0
[   15.306240][   T80] sd 6:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[   15.319601][   T80] sd 6:0:0:0: [sdb] Write Protect is off
[   15.326214][   T80] sd 6:0:0:0: [sdb] No Caching mode page found
[   15.332405][   T80] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[   15.356554][   T80]  sdb: sdb1
[   15.370441][   T80] sd 6:0:0:0: [sdb] Attached SCSI disk
[   19.209571][  T145] reg-fixed-voltage regulators-hdd-34:regulator@3: nonexclusive access to GPIO for regulators-hdd-34:regulator@3
[   23.331191][    C0] random: crng init done
[   24.250768][  T145] reg-fixed-voltage regulators-hdd-34:regulator@4: nonexclusive access to GPIO for regulators-hdd-34:regulator@4
[   24.590595][  T100] ata4: SATA link down (SStatus 0 SControl 300)
Begin: Loading essential drivers ... done.
[   29.940641][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   35.300624][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   35.306799][  T100] ata4.00: disabled
[   35.310532][  T115] ata4.00: detaching (SCSI 3:0:0:0)
[   35.326504][  T115] sd 3:0:0:0: [sda] Synchronizing SCSI cache
[   35.335392][  T115] sd 3:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   35.359166][  T115] sd 3:0:0:0: [sda] Stopping disk
[   35.367867][  T115] sd 3:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
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.36.1
[/sbin/fsck.ext3 (1) -- /dev/sdb1] fsck.ext3 -a -C0 /dev/sdb1 
rootfs: clean, 15659/9773056 files, 1069859/39072470 blocks
done.
[   40.913364][  T184] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[   42.244239][  T184] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   51.649227][  T369] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized
[   52.072817][  T369] orion_wdt: Initial timeout 21 sec
[   52.703883][  T367] marvell-cesa f1030000.crypto: CESA device successfully registered
[   53.046321][  T369] sd 6:0:0:0: Attached scsi generic sg0 type 0
done.
Activating swap:.
[   55.865726][  T514] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...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/

Cannot find device "eth0"
Failed to get interface index: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging.

exiting.
ifup: failed to bring up eth0
failed.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1042 (syslogd)
.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting NFS common utilities: statd idmapd.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1066 (klogd)
.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 11 debian ttyS0

debian login: root
Password: 
Linux debian 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Dec 31 16:01:17 PST 1969 on ttyS0
debian
Synology DS411, DS413j
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
Debian 11.0
Wed Dec 31 16:01:50 PST 1969 up 1 minute
root@debian:~# init 0
INIT: Switching to runINUsing makefile-style concurrent boot in runlevel 0.
Stopping hotplug events dispatcher: systemd-udevd.
Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Stopping busybox' klogd implementation: klogd1066 (klogd)
Stopped klogd (pid 1066).
.
Saving random seed...done.
Stopping busybox' syslogd implementation: syslogd1042 (syslogd)
.
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon....
Asking all remaining processes to terminate...done.
All processes ended within 1 seconds...done.
Stopping RPC port mapper daemon: rpcbind.
Deconfiguring network interfaces...done.
Stopping NFS common utilities: idmapd statd.
Saving the system clock to /dev/rtc0.
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --verbose option to see the details of our search for an access method.
Will now unmount temporary filesystems:umount: /tmp unmounted
.
Will now deactivate swap:.
[  115.359957][ T1349] EXT4-fs (sdb1): re-mounted. Opts: (null). Quota mode: none.
Mounting root filesystem read-only...done.
Will now halt.
logger: 
socket /dev/log
: Connection refused
[  115.613558][ T1355] reboot: System halted


I noticed that there are issues with detecting the hard disk. In the 1st slot (top) it is not detected at all. 2nd slot detected as sdb and 3rd & 4th slot detected as sda.

2nd slot might work later on. Not tried to mount it yet. 3rd and 4th slot are shut down during init.

3rd slot as example

Begin: Loading essential drivers ... done.
[   30.580660][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   30.586816][   T98] ata3.00: disabled
[   30.590551][  T115] ata3.00: detaching (SCSI 2:0:0:0)
[   30.603160][  T115] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[   30.615683][  T115] sd 2:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   30.630898][  T115] sd 2:0:0:0: [sda] Stopping disk
[   30.635871][  T115] sd 2:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Begin: Running /scripts/init-premount ... done.


Jan
Re: Install Debian on Synology DS413J
June 22, 2022 07:26AM
Discovered an interesting site, quick navigation

cross references
Re: Install Debian on Synology DS413J
June 22, 2022 02:18PM
Bodhi,

I wonder why they use regulators-hdd-34 for a box with 4 disk slots in the dts file

kirkwood-ds411.dts

and then define only 3 regulators in kirkwood-synology.dtsi

regulators-hdd-34

It is disk 1 (1st slot from top of the box) that is not detected. I heard about dts just a couple of days before and I'm far away from really understanding them completely but this looks suspiciously. What might happen if we use this instead?

regulators-hdd-30-4

Do you feel that we might fry the hardware if we poke around und maybe use a wrong definition here?

Jan
Re: Install Debian on Synology DS413J
June 22, 2022 05:15PM
Jan,

Quote

[ 8.546433][ T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[ 8.554785][ T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing.

That's why I was thinking about the GPL source. It means there are more differences from the ds411.

kirkwood-synology.dtsi
&mdio {
        status = "okay";

        ethphy0: ethernet-phy@0 {
                device_type = "ethernet-phy";
                reg = <8>;
        };

        ethphy1: ethernet-phy@1 {
                device_type = "ethernet-phy";
                reg = <9>;
        };
};


That's the network PHY address 8.

But the puzzle is it is in the common file dtsi, therefore that seems to indicate all Syno boxes use the same PHY addresses.

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



Edited 1 time(s). Last edit at 06/22/2022 05:26PM by bodhi.
Re: Install Debian on Synology DS413J
June 22, 2022 05:25PM
Jan,

> I wonder why they use regulators-hdd-34 for a box
> with 4 disk slots in the dts file

Usually if a hard disk was powered on in u-boot, there is no need for regulator (to power it on in Linux). So that must have been the reason. So HDD 1 should be able to spin up in u-boot.

This u-boot is old, therefore use the ide command to test. Insert an HDD to the 1st slot. Shutdown and repeat for other slots.

ide reset
ide part

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Install Debian on Synology DS413J
June 23, 2022 12:56AM
Bodhi,

bodhi Wrote:
-------------------------------------------------------

> This u-boot is old, therefore use the ide command
> to test. Insert an HDD to the 1st slot. Shutdown
> and repeat for other slots.
>
>
> ide reset
> ide part
>

There is no ide command in this uboot. I watched the boot process. All 4 disks are spun down when I stopped the uboot into command prompt. They remain spun down.

After continuing with bootm, kernel and ramdisk are loaded. This is the moment they were spun up. One after another, beginning with disk 1. If one disk got ready and is shown in the log, then the next was spun up. So this step takes quite some seconds until all 4 are ready.

This is a
[    5.130000] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 9
[    5.130000] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 9
[    5.140000] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 9
[    5.150000] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 9
[    8.500000] ata1: SATA link down (SStatus 0 SControl 300)
[   11.500000] Delay 5 seconds to wait for disk 2 ready.
[   16.850000] ata2: SATA link down (SStatus 0 SControl 300)
[   19.850000] Delay 5 seconds to wait for disk 3 ready.
[   30.390000] ata3: link is slow to respond, please be patient (ready=0)
[   31.650000] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   31.690000] ata3.00: ATA-7: WDC WD1500ADFD-00NLR1, 20.07P20, max UDMA/133
[   31.690000] ata3.00: 293046768 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   31.760000] ata3.00: configured for UDMA/133
[   31.780000] scsi 2:0:0:0: Direct-Access     WDC      WD1500ADFD-00NLR1        20.0 PQ: 0 ANSI: 5
[   31.780000] sd 2:0:0:0: [sdc] 293046768 512-byte logical blocks: (150 GB/139 GiB)
[   31.790000] sd 2:0:0:0: [sdc] Write Protect is off
[   31.800000] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO

This is an example with only two disks in the box.

So they are started after uboot.

Jan
Re: Install Debian on Synology DS413J
June 23, 2022 01:50AM
Jan,

Please post complete dmesg log, so I know which kernel we are looking at. That does not look like latest kernel, is that stock? If it is stock, then it's only good for information about how stock kernel spinning up the HDDs.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Install Debian on Synology DS413J
June 24, 2022 01:37AM
Bodhi,

this is stock kernel. I just copied & pasted a part of my post from June 21, 2022 02:54AM where a full boot log with stock is documented. It was only meant to show that the HDDs are started after uboot.

If it helps, I can stuff 4 HDDs in the box and post a dmesg from a stock boot. Will this be helpful?

Jan
Re: Install Debian on Synology DS413J
June 24, 2022 03:12AM
Jan,

> this is stock kernel. I just copied & pasted a
> part of my post from June 21, 2022 02:54AM where a
> full boot log with stock is documented. It was
> only meant to show that the HDDs are started after
> uboot.

Ah, OK.

> If it helps, I can stuff 4 HDDs in the box and
> post a dmesg from a stock boot. Will this be
> helpful?

Usually, dmesg won't tell us which GPIO is assigned to be a power up trigger for HDD1. But since I don't know stock kernel, it might be worthwhile to see what the stock boot log is printing out. The kernel is customized by Synology, so they could print out anything that they think useful for troubleshooting.

About the issue with Ethernet. I think if we can find the u-boot source code at that Synology site, it might have some info about Ethernet. In the older Marvell u-boots, phyaddr is usually the variable name for the Ethernet PHY.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Install Debian on Synology DS413J
June 24, 2022 11:40AM
Bodhi,

here is a dmesg from stock with all 4 HDD bays slotted.

jh@DS413J:/$ dmesg
[    0.000000] Linux version 2.6.32.12 (root@build4) (gcc version 4.6.4 (Marvell GCC release 20150204-c4af733b 64K MAXPAGESIZE ALIGN CVE-2015-0235) ) #25556 Thu Mar 4 17:56:48 CST 2021
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Synology 6282 board
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Sys Clk = 200000000, Tclk = 166666667
[    0.000000] Synology Board ID: 26
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c03f3a14, node_mem_map c1001000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 130048 pages, LIFO batch:31
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 ip=off initrd=0x00800040,8M root=/dev/md0 rw syno_hw_version=DS413jv10 ihd_num=4 netif_num=1 flash_size=8
[    0.000000] Synology Hardware Version: DS413jv10-j
[    0.000000] Internal HD num: 4
[    0.000000] Internal netif num: 1
[    0.000000] Flash Memory Size: 8 MB
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 502784KB available (3656K code, 519K data, 124K init, 0K highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:128
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Calibrating delay loop... 1589.24 BogoMIPS (lpj=7946240)
[    0.240000] Mount-cache hash table entries: 512
[    0.240000] CPU: Testing write buffer coherency: ok
[    0.240000] devtmpfs: initialized
[    0.240000] xor: measuring software checksum speed
[    0.290000]    arm4regs  :  1448.400 MB/sec
[    0.340000]    8regs     :   869.200 MB/sec
[    0.390000]    32regs    :  1122.000 MB/sec
[    0.390000] xor: using function: arm4regs (1448.400 MB/sec)
[    0.390000] NET: Registered protocol family 16
[    0.390000] Feroceon L2: Enabling L2
[    0.390000] Feroceon L2: Cache support initialised, in WT override mode.

[    0.410000] CPU Interface
[    0.410000] -------------
[    0.410000] SDRAM_CS0 ....base 00000000, size 512MB
[    0.410000] SDRAM_CS1 ....disable
[    0.410000] SDRAM_CS2 ....disable
[    0.410000] SDRAM_CS3 ....disable
[    0.410000] PEX0_MEM ....base e0000000, size 128MB
[    0.410000] PEX0_IO ....base f2000000, size   1MB
[    0.410000] PEX1_MEM ....base e8000000, size 128MB
[    0.410000] PEX1_IO ....base f2100000, size   1MB
[    0.410000] INTER_REGS ....base f1000000, size   1MB
[    0.410000] NFLASH_CS ....base fa000000, size   2MB
[    0.410000] SPI_CS ....base f4000000, size  16MB
[    0.410000] BOOT_ROM_CS ....no such
[    0.410000] DEV_BOOTCS ....no such
[    0.410000] CRYPT_ENG ....base f0000000, size   2MB
[    0.410000]  Detected Tclk 200000000 and SysClk 533333333
[    0.410000] Apply DS 413j GPIO
[    0.410000] Synology 6282 DS411 GPIO Init
[    0.410000] PCIe link is enable, apply PCIe workaround
[    0.910000] PEX0 interface detected Link X4
[    1.410000] PEX1 interface detected no Link.
[    1.410000] pci 0000:00:01.0: reg 10 64bit mmio: [0x14000000-0x140fffff]
[    1.410000] pci 0000:00:01.0: reg 18 io port: [0x00-0xff]
[    1.410000] PCI: bus0: Fast back to back transfers disabled
[    1.410000] PCI: bus1: Fast back to back transfers enabled
[    1.420000] bio: create slab <bio-0> at 0
[    1.420000] vgaarb: loaded
[    1.420000] SCSI subsystem initialized
[    1.420000] libata version 3.00 loaded.
[    1.590000] raid6: int32x1    126 MB/s
[    1.760000] raid6: int32x2    185 MB/s
[    1.930000] raid6: int32x4    180 MB/s
[    2.100000] raid6: int32x8    193 MB/s
[    2.100000] raid6: using algorithm int32x8 (193 MB/s)
[    2.100000] Switching to clocksource kw_clocksource
[    2.100000] NET: Registered protocol family 2
[    2.100000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    2.100000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    2.100000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    2.100000] TCP: Hash tables configured (established 16384 bind 16384)
[    2.100000] TCP reno registered
[    2.100000] NET: Registered protocol family 1
[    2.100000] RPC: Registered udp transport module.
[    2.100000] RPC: Registered tcp transport module.
[    2.100000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.100000] Trying to unpack rootfs image as initramfs...
[    5.040000] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    5.060000] Freeing initrd memory: 8192K
[    5.060000] XOR registered 4 channels
[    5.060000] XOR 2nd invalidate WA enabled
[    5.060000] VFS: Disk quotas dquot_6.5.2
[    5.060000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.060000] msgmni has been set to 998
[    5.060000] alg: No test for md5 (md5-generic)
[    5.060000] alg: No test for des (des-generic)
[    5.060000] alg: No test for des3_ede (des3_ede-generic)
[    5.060000] alg: No test for stdrng (krng)
[    5.070000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    5.070000] io scheduler noop registered
[    5.070000] io scheduler anticipatory registered (default)
[    5.070000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    5.070000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    5.080000] console [ttyS0] enabled
[    5.090000] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
[    5.100000] brd: module loaded
[    5.100000] sata_mv 0000:00:01.0: version 1.28
[    5.110000] PCI: enabling device 0000:00:01.0 (0140 -> 0143)
[    5.110000] sata_mv 0000:00:01.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    5.120000] scsi0 : sata_mv
[    5.130000] scsi1 : sata_mv
[    5.130000] scsi2 : sata_mv
[    5.130000] scsi3 : sata_mv
[    5.130000] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 9
[    5.140000] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 9
[    5.150000] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 9
[    5.160000] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 9
[   13.710000] ata1: link is slow to respond, please be patient (ready=0)
[   15.690000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   15.710000] ata1.00: ATA-7: SAMSUNG HD502IJ, 1AA01118, max UDMA7
[   15.710000] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   15.740000] ata1.00: configured for UDMA/133
[   15.760000] scsi 0:0:0:0: Direct-Access     SAMSUNG  HD502IJ                  1AA0 PQ: 0 ANSI: 5
[   15.760000] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[   15.770000] sd 0:0:0:0: [sda] Write Protect is off
[   15.780000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   15.780000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   15.790000]  sda: sda1 sda2 sda3 < sda5 sda6 >
[   16.100000] sd 0:0:0:0: [sda] Attached SCSI disk
[   19.100000] Delay 5 seconds to wait for disk 2 ready.
[   24.610000] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   24.630000] ata2.00: ATA-8: SAMSUNG HN-M750MBB, 2AR10001, max UDMA/133
[   24.630000] ata2.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   24.660000] ata2.00: configured for UDMA/133
[   24.680000] scsi 1:0:0:0: Direct-Access     SAMSUNG  HN-M750MBB               2AR1 PQ: 0 ANSI: 5
[   24.680000] sd 1:0:0:0: [sdb] 1465149168 512-byte logical blocks: (750 GB/698 GiB)
[   24.690000] sd 1:0:0:0: [sdb] Write Protect is off
[   24.700000] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   24.700000] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   24.710000]  sdb: sdb1 sdb2 sdb3 < sdb5 sdb6 sdb7 >
[   24.860000] sd 1:0:0:0: [sdb] Attached SCSI disk
[   27.870000] Delay 5 seconds to wait for disk 3 ready.
[   33.370000] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   33.390000] ata3.00: ATA-8: ST1000LM024 HN-M101MBB, 2AR10001, max UDMA/100
[   33.390000] ata3.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   33.420000] ata3.00: configured for UDMA/100
[   33.440000] scsi 2:0:0:0: Direct-Access     ST1000LM HN-M101MBB               2AR1 PQ: 0 ANSI: 5
[   33.440000] sd 2:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[   33.450000] sd 2:0:0:0: [sdc] 4096-byte physical blocks
[   33.460000] sd 2:0:0:0: [sdc] Write Protect is off
[   33.460000] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[   33.460000] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   33.470000]  sdc: sdc1 sdc2 sdc3 < sdc5 sdc6 sdc7 >
[   33.570000] sd 2:0:0:0: [sdc] Attached SCSI disk
[   36.570000] Delay 5 seconds to wait for disk 4 ready.
[   47.120000] ata4: link is slow to respond, please be patient (ready=0)
[   48.200000] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   48.240000] ata4.00: ATA-7: WDC WD1500ADFD-00NLR1, 20.07P20, max UDMA/133
[   48.240000] ata4.00: 293046768 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   48.310000] ata4.00: configured for UDMA/133
[   48.330000] scsi 3:0:0:0: Direct-Access     WDC      WD1500ADFD-00NLR1        20.0 PQ: 0 ANSI: 5
[   48.330000] sd 3:0:0:0: [sdd] 293046768 512-byte logical blocks: (150 GB/139 GiB)
[   48.340000] sd 3:0:0:0: [sdd] Write Protect is off
[   48.350000] sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00
[   48.350000] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   48.360000]  sdd: sdd1 sdd2 sdd3 < sdd5 >
[   48.370000] sd 3:0:0:0: [sdd] Attached SCSI disk
[   48.380000] sata_mv sata_mv.0: version 1.28
[   48.380000] sata_mv sata_mv.0: slots 32 ports 2
[   48.390000] scsi4 : sata_mv
[   48.390000] scsi5 : sata_mv
[   48.390000] ata5: SATA max UDMA/133 irq 21
[   48.400000] ata6: SATA max UDMA/133 irq 21
[   48.750000] ata5: SATA link down (SStatus 0 SControl F300)
[   49.100000] ata6: SATA link down (SStatus 0 SControl F300)
[   49.100000] physmap platform flash device: 00400000 at f8000000
[   49.110000] SPI Serial flash detected @ 0xf8000000, 8192KB (128sec x 64KB)
[   49.120000] Searching for RedBoot partition table in SYNOMTD-0 at offset 0x7f0000
[   49.130000] 6 RedBoot partitions found on MTD device SYNOMTD-0
[   49.140000] SYNOMTD flash bank 0: Using RedBoot partition definition
[   49.140000] Creating 6 MTD partitions on "SYNOMTD-0":
[   49.150000] 0x000000000000-0x000000090000 : "RedBoot"
[   49.160000] 0x000000090000-0x000000390000 : "zImage"
[   49.160000] 0x000000390000-0x0000007d0000 : "rd.gz"
[   49.170000] 0x0000007d0000-0x0000007e0000 : "vendor"
[   49.170000] vender Mac1 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[   49.180000] vender Mac2 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[   49.180000] vender Mac3 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[   49.190000] serial number='abc'
[   49.190000] 0x0000007e0000-0x0000007f0000 : "RedBoot Config"
[   49.200000] 0x0000007f0000-0x000000800000 : "FIS directory"
[   49.210000] SPI Serial flash detected @ 0xf4000000, 8192KB (128sec x 64KB)
[   49.220000] cmdlinepart partition parsing not available
[   49.220000] Loading Marvell Ethernet Driver:
[   49.230000]   o Cached descriptors in DRAM
[   49.230000]   o DRAM SW cache-coherency
[   49.230000]   o 2 Giga ports supported
[   49.240000]   o Single RX Queue support - ETH_DEF_RXQ=0
[   49.240000]   o Single TX Queue support - ETH_DEF_TXQ=0
[   49.250000]   o TCP segmentation offload (TSO) supported
[   49.250000]   o Receive checksum offload supported
[   49.260000]   o Transmit checksum offload supported
[   49.260000]   o SKB Recycle supported - (Enabled)
[   49.270000]   o Rx descripors: q0=128
[   49.270000]   o Tx descripors: q0=532
[   49.280000]   o Loading network interface(s):
[   49.280000]     o  register under mv88fx_eth platform
[   49.290000]     o eth0, ifindex = 2, GbE port = 0
[   49.290000]     o eth0, phy chipid = 1410e90, Support WOL = 32

[   49.300000] md: linear personality registered for level -1
[   49.300000] md: raid0 personality registered for level 0
[   49.310000] md: raid1 personality registered for level 1
[   49.310000] md: raid10 personality registered for level 10
[   49.320000] md: raid6 personality registered for level 6
[   49.330000] md: raid5 personality registered for level 5
[   49.330000] md: raid4 personality registered for level 4
[   49.340000] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[   49.350000] cpuidle: using governor ladder
[   49.350000] TCP cubic registered
[   49.350000] NET: Registered protocol family 17
[   49.360000] NET: Registered protocol family 15
[   49.360000] registered taskstats version 1
[   49.370000] md: Waiting for all devices to be available before autodetect
[   49.370000] md: If you don't use raid, use raid=noautodetect
[   49.380000] md: Autodetecting RAID arrays.
[   49.420000] md: invalid raid superblock magic on sda5
[   49.430000] md: sda5 does not have a valid v0.90 superblock, not importing!
[   49.450000] md: invalid raid superblock magic on sda6
[   49.460000] md: sda6 does not have a valid v0.90 superblock, not importing!
[   49.860000] md: invalid raid superblock magic on sdb5
[   49.860000] md: sdb5 does not have a valid v0.90 superblock, not importing!
[   49.980000] md: invalid raid superblock magic on sdb6
[   49.990000] md: sdb6 does not have a valid v0.90 superblock, not importing!
[   50.010000] md: invalid raid superblock magic on sdb7
[   50.010000] md: sdb7 does not have a valid v0.90 superblock, not importing!
[   50.430000] md: invalid raid superblock magic on sdc5
[   50.440000] md: sdc5 does not have a valid v0.90 superblock, not importing!
[   50.450000] md: invalid raid superblock magic on sdc6
[   50.460000] md: sdc6 does not have a valid v0.90 superblock, not importing!
[   50.490000] md: invalid raid superblock magic on sdc7
[   50.490000] md: sdc7 does not have a valid v0.90 superblock, not importing!
[   50.520000] md: invalid raid superblock magic on sdd5
[   50.530000] md: sdd5 does not have a valid v0.90 superblock, not importing!
[   50.540000] md: Scanned 17 and added 8 devices.
[   50.540000] md: autorun ...
[   50.540000] md: considering sda1 ...
[   50.550000] md:  adding sda1 ...
[   50.550000] md: sda2 has different UUID to sda1
[   50.550000] md:  adding sdb1 ...
[   50.560000] md: sdb2 has different UUID to sda1
[   50.560000] md:  adding sdc1 ...
[   50.570000] md: sdc2 has different UUID to sda1
[   50.570000] md:  adding sdd1 ...
[   50.570000] md: sdd2 has different UUID to sda1
[   50.580000] md: created md0
[   50.580000] md: bind<sdd1>
[   50.580000] md: bind<sdc1>
[   50.590000] md: bind<sdb1>
[   50.590000] md: bind<sda1>
[   50.590000] md: running: <sda1><sdb1><sdc1><sdd1>
[   50.600000] raid1: raid set md0 active with 4 out of 4 mirrors
[   50.600000] md0: detected capacity change from 0 to 2549940224
[   50.610000] md: considering sda2 ...
[   50.610000] md:  adding sda2 ...
[   50.620000] md:  adding sdb2 ...
[   50.620000] md:  adding sdc2 ...
[   50.620000] md:  adding sdd2 ...
[   50.630000] md: created md1
[   50.630000] md: bind<sdd2>
[   50.630000] md: bind<sdc2>
[   50.630000] md: bind<sdb2>
[   50.640000] md: bind<sda2>
[   50.640000] md: running: <sda2><sdb2><sdc2><sdd2>
[   50.640000] raid1: raid set md1 active with 4 out of 4 mirrors
[   50.650000] md1: detected capacity change from 0 to 2147418112
[   50.660000] md: ... autorun DONE.
[   50.660000] RAMDISK: lzma image found at block 0
[   53.810000] VFS: Mounted root (ext2 filesystem) on device 1:0.
[   54.110000] usbcore: registered new interface driver usbfs
[   54.120000] usbcore: registered new interface driver hub
[   54.120000] usbcore: registered new interface driver ethub
[   54.140000] usbcore: registered new device driver usb
[   54.220000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   54.230000] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   54.230000] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   54.270000] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   54.290000] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   54.290000] usb usb1: configuration #1 chosen from 1 choice
[   54.320000] hub 1-0:1.0: USB hub found
[   54.320000] hub 1-0:1.0: 1 port detected
[   54.430000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   54.580000] ds413j_synobios: module license 'Synology Inc.' taints kernel.
[   54.590000] Disabling lock debugging due to kernel taint
[   54.650000] correction with 0x0f
[   54.710000] 2022-6-24 11:15:56 UTC
[   54.710000] synobios: load, major number 201
[   54.710000] Brand: Synology
[   54.720000] Model: DS-413j
[   54.720000] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[   54.730000] synobios cpu_arch proc entry initialized
[   54.730000] synobios crypto_hw proc entry initialized
[   54.740000] synobios syno_platform proc entry initialized
[   54.740000] synobios open /dev/ttyS1 success
[   54.750000] usb 1-1: new high speed USB device using orion-ehci and address 2
[   54.770000] synobios: unload
[   54.900000] Got empty serial number. Generate serial number from product.
[   54.900000] usb 1-1: configuration #1 chosen from 1 choice
[   54.920000] hub 1-1:1.0: USB hub found
[   54.920000] hub 1-1:1.0: 4 ports detected
[   55.060000]  md0: unknown partition table
[   56.730000] EXT4-fs (md0): barriers disabled
[   56.750000] EXT4-fs (md0): mounted filesystem with ordered data mode
[   59.290000] EXT3-fs: md0: couldn't mount because of unsupported optional features (240).
[   59.290000] EXT2-fs: md0: couldn't mount because of unsupported optional features (240).
[   59.300000] EXT4-fs (md0): barriers disabled
[   59.310000] EXT4-fs (md0): mounted filesystem with ordered data mode
[   59.320000] VFS: Mounted root (ext4 filesystem) on device 9:0.
[   59.320000] Trying to move old root to /initrd ... okay
[   59.330000] Freeing init memory: 124K
[   69.820000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   69.830000] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   69.830000] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   69.840000] sd 3:0:0:0: Attached scsi generic sg3 type 0
[   70.960000]  md1: unknown partition table
[   71.180000] Adding 2097080k swap on /dev/md1.  Priority:-1 extents:1 across:2097080k
[   72.180000] <30>systemd-udevd[1270]: starting version 204
[   87.630000] NET: Registered protocol family 10
[   87.640000] lo: Disabled Privacy Extensions
[   87.930000] IPv6 over IPv4 tunneling driver
[   87.940000] sit0: Disabled Privacy Extensions
[   89.840000] init: syno-auth-check main process (2369) killed by TERM signal
[   91.040000] cpufreq: Init kirkwood cpufreq driver
[   91.040000] cpufreq: High frequency: 1600000KHz - Low frequency: 533333KHz
[   91.710000] alg: No test for aes (aes-generic)
[   91.800000] alg: No test for stdrng (ansi_cprng)
[   91.890000] alg: No test for crc32c (crc32c-generic)
[   92.120000] cesadev_init(bf192000)
[   92.180000] mvCesaInit: sessions=10240, queue=64, pSram=f0000000
[   92.340000] alg: No test for sha1 (sha1-generic)
[   92.410000] alg: No test for sha224 (sha224-generic)
[   92.410000] alg: No test for sha256 (sha256-generic)
[   92.500000] encryptfs using the OCF package.
[   93.070000] alg: No test for arc4 (arc4-generic)
[   93.270000] fuse init (API version 7.13)
[   93.490000] exFAT: Version 1.2.9
[   93.820000] sky2 driver version 1.25
[   94.080000] correction with 0x0f
[   94.140000] 2022-6-24 11:16:35 UTC
[   94.140000] synobios: load, major number 201
[   94.140000] Brand: Synology
[   94.150000] Model: DS-413j
[   94.150000] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[   94.160000] synobios cpu_arch proc entry initialized
[   94.160000] synobios crypto_hw proc entry initialized
[   94.170000] synobios syno_platform proc entry initialized
[   94.170000] synobios open /dev/ttyS1 success
[   96.420000] eth0: mac address changed
[   99.090000] eth0: link down
[   99.100000] eth0: started
[  100.490000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  100.730000] eth0: link up, full duplex, speed 1 Gbps
[  100.730000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  112.700000] init: dhcp-client (eth0) main process (4058) killed by TERM signal
[  119.320000] md: md4 stopped.
[  119.330000] md: md3 stopped.
[  119.400000] md: md2 stopped.
[  119.410000] md: bind<sdb6>
[  119.420000] md: bind<sdb5>
[  119.420000] md: bind<sdc5>
[  119.490000] md: bind<sdd5>
[  119.490000] md: bind<sdc6>
[  119.500000] md: bind<sda5>
[  119.500000] md: bind<sda6>
[  119.510000] md: bind<sdc7>
[  119.510000] md: bind<sdb7>
[  119.520000] raid5: md2 is not clean -- starting background reconstruction
[  119.530000] raid5: device sda5 operational as raid disk 0
[  119.530000] raid5: device sdd5 operational as raid disk 3
[  119.540000] raid5: device sdc5 operational as raid disk 2
[  119.540000] raid5: device sdb5 operational as raid disk 1
[  119.550000] raid5: allocated 4218kB for md2
[  119.600000] raid1: raid set md4 active with 2 out of 2 mirrors
[  119.600000] md4: detected capacity change from 0 to 250039173120
[  119.640000] raid5: md3 is not clean -- starting background reconstruction
[  119.640000] raid5: device sda6 operational as raid disk 0
[  119.650000] raid5: device sdc6 operational as raid disk 2
[  119.650000] raid5: device sdb6 operational as raid disk 1
[  119.660000] raid5: allocated 3176kB for md3
[  119.730000]  md4: unknown partition table
[  119.820000] 0: w=1 pa=0 pr=4 m=1 a=2 r=4 op1=0 op2=0
[  119.820000] 3: w=2 pa=0 pr=4 m=1 a=2 r=4 op1=0 op2=0
[  119.830000] 2: w=3 pa=0 pr=4 m=1 a=2 r=4 op1=0 op2=0
[  119.830000] 1: w=4 pa=0 pr=4 m=1 a=2 r=4 op1=0 op2=0
[  119.840000] raid5: raid level 5 set md2 active with 4 out of 4 devices, algorithm 2
[  119.840000] RAID5 conf printout:
[  119.850000]  --- rd:4 wd:4
[  119.850000]  disk 0, o:1, dev:sda5
[  119.850000]  disk 1, o:1, dev:sdb5
[  119.860000]  disk 2, o:1, dev:sdc5
[  119.860000]  disk 3, o:1, dev:sdd5
[  119.870000] 0: w=1 pa=0 pr=3 m=1 a=2 r=3 op1=0 op2=0
[  119.870000] 2: w=2 pa=0 pr=3 m=1 a=2 r=3 op1=0 op2=0
[  119.880000] 1: w=3 pa=0 pr=3 m=1 a=2 r=3 op1=0 op2=0
[  119.880000] raid5: raid level 5 set md3 active with 3 out of 3 devices, algorithm 2
[  119.890000] RAID5 conf printout:
[  119.890000]  --- rd:3 wd:3
[  119.890000]  disk 0, o:1, dev:sda6
[  119.900000]  disk 1, o:1, dev:sdb6
[  119.900000]  disk 2, o:1, dev:sdc6
[  120.150000] md3: detected capacity change from 0 to 700117155840
[  120.160000] md: resync of RAID array md3
[  120.160000] md: minimum _guaranteed_  speed: 2 KB/sec/disk.
[  120.170000] md: using maximum available idle IO bandwidth (but not more than 1 KB/sec) for resync.
[  120.170000] md: using 128k window, over a total of 341854080 blocks.
[  120.180000] md: resuming resync of md3 from checkpoint.
[  120.190000]  md3: unknown partition table
[  120.270000] md2: detected capacity change from 0 to 435278512128
[  120.270000]  md2:
[  120.280000] md: delaying resync of md2 until md3 has finished (they share one or more physical units)
[  120.380000]  unknown partition table
[  135.030000] EXT4-fs (dm-1): barriers disabled
[  135.500000] EXT4-fs (dm-1): mounted filesystem with writeback data mode
[  150.710000] Initializing USB Mass Storage driver...
[  150.710000] usbcore: registered new interface driver usb-storage
[  150.720000] USB Mass Storage support registered.
[  151.380000] usbcore: registered new interface driver usblp
[  152.920000] usbcore: registered new interface driver hiddev
[  152.920000] usbcore: registered new interface driver usbhid
[  152.930000] usbhid: v2.6:USB HID core driver
[  155.520000] loop: module loaded
[  158.340000] Slow work thread pool: Starting up
[  159.430000] Slow work thread pool: Ready
[  163.010000] iSCSI: init_io_buffer_head(833) LUN-backup: 512 buffers allocated, total 2097152 bytes successfully
[  167.560000] ata1.00: configured for UDMA/133
[  167.560000] ata1: EH complete
[  168.940000] ata2.00: configured for UDMA/133
[  168.940000] ata2: EH complete
[  170.140000] ata3.00: configured for UDMA/100
[  170.140000] ata3: EH complete
[  170.350000] warning: `nginx' uses 32-bit capabilities (legacy support in use)
[  172.010000] ata4.00: configured for UDMA/133
[  172.010000] ata4: EH complete
[  188.130000] findhostd uses obsolete (PF_INET,SOCK_PACKET)
[  189.050000] init: syno_disk_latency_monitor faild on spawn stage, stopped
[  209.570000] init: syno-check-disk-compatibility main process (7698) terminated with status 255
jh@DS413J:/$

Also some lspci output.

jh@DS413J:/$ lspci -Q
00:01.0 SCSI storage controller: Marvell Technology Group Ltd. 88SX7042 PCI-e 4-port SATA-II (rev 02)


jh@DS413J:/$ sudo lspci -vvv
00:01.0 Class 0100: Device 11ab:7042 (rev 02)
        Subsystem: Device 11ab:11ab
        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-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 9
        Region 0: Memory at e0000000 (64-bit, non-prefetchable) [size=1M]
        Region 2: I/O ports at 1000 [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: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x4, ASPM L0s, Exit Latency L0s <256ns, L1 unlimited
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100 v2] #11ab
        Capabilities: [704 v0] #147
        Kernel driver in use: sata_mv

Jan
Re: Install Debian on Synology DS413J
June 24, 2022 11:51AM
Bodhi,

you will find uboot sources here.

> GPL
> sources DS413J build 24922


The Synology website is not sooo helpful when it's about those older hardware.

Jan
Re: Install Debian on Synology DS413J
June 24, 2022 03:34PM
Jan,

Not much SATA low level info being logged by stock kernel.

A note about SATA ports. Usually, the 1st two should be from the SoC. The 2nd two should be on the PCI bus.

Quote

[ 49.220000] Loading Marvell Ethernet Driver:
[ 49.230000] o Cached descriptors in DRAM
[ 49.230000] o DRAM SW cache-coherency
[ 49.230000] o 2 Giga ports supported
[ 49.240000] o Single RX Queue support - ETH_DEF_RXQ=0
[ 49.240000] o Single TX Queue support - ETH_DEF_TXQ=0
[ 49.250000] o TCP segmentation offload (TSO) supported
[ 49.250000] o Receive checksum offload supported
[ 49.260000] o Transmit checksum offload supported
[ 49.260000] o SKB Recycle supported - (Enabled)
[ 49.270000] o Rx descripors: q0=128
[ 49.270000] o Tx descripors: q0=532
[ 49.280000] o Loading network interface(s):
[ 49.280000] o register under mv88fx_eth platform
[ 49.290000] o eth0, ifindex = 2, GbE port = 0
[ 49.290000] o eth0, phy chipid = 1410e90, Support WOL = 32

Ethernet is a bit more interesting. It's the same LAN chip as other 88F6282 SoC boards. Not sure what ifindex is, could be the phy addr in another name. We could try that before searching GPL.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Install Debian on Synology DS413J
June 24, 2022 03:40PM
Jan,

I forgot this. Try in u-boot,

help pci
pci init

(or some other variation of that pci command)

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Install Debian on Synology DS413J
June 24, 2022 03:57PM
Jan,

Please try this new DTB. I also attached the new DTS.

-bodhi
===========================
Forum Wiki
bodhi's corner
Attachments:
open | download - kirkwood-ds413j.dts (967 bytes)
open | download - kirkwood-ds413j.dtb (21.4 KB)
Re: Install Debian on Synology DS413J
June 25, 2022 01:35AM
Bodhi,

here is the pci output from stock uboot

Marvell>> help pci
pci [bus] [long]
    - short or long list of PCI devices on bus 'bus'
pci header b.d.f
    - show header of PCI device 'bus.device.function'
pci display[.b, .w, .l] b.d.f [address] [# of objects]
    - display PCI configuration space (CFG)
pci next[.b, .w, .l] b.d.f address
    - modify, read and keep CFG address
pci modify[.b, .w, .l] b.d.f address
    -  modify, auto increment CFG address
pci write[.b, .w, .l] b.d.f address value
    - write to CFG address

Marvell>> pci
Scanning PCI devices on bus 0
BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
_____________________________________________________________
00.00.00   0x11ab     0x6282     Memory controller       0x80
00.01.00   0x11ab     0x7042     Mass storage controller 0x00
Marvell>> pci 0 long
Scanning PCI devices on bus 0

Found PCI device 00.00.00:
  vendor ID =                   0x11ab
  device ID =                   0x6282
  command register =            0x0407
  status register =             0x0010
  revision ID =                 0x01
  class code =                  0x05 (Memory controller)
  sub class code =              0x80
  programming interface =       0x00
  cache line =                  0x00
  latency time =                0x00
  header type =                 0x00
  BIST =                        0x00
  base address 0 =              0xf100000c
  base address 1 =              0x00000000
  base address 2 =              0x0000000c
  base address 3 =              0x00000000
  base address 4 =              0x00000000
  base address 5 =              0x00000000
  cardBus CIS pointer =         0x00000000
  sub system vendor ID =        0x11ab
  sub system ID =               0x11ab
  expansion ROM base address =  0x00000000
  interrupt line =              0x00
  interrupt pin =               0x01
  min Grant =                   0x00
  max Latency =                 0x00

Found PCI device 00.01.00:
  vendor ID =                   0x11ab
  device ID =                   0x7042
  command register =            0x0007
  status register =             0x0010
  revision ID =                 0x02
  class code =                  0x01 (Mass storage controller)
  sub class code =              0x00
  programming interface =       0x00
  cache line =                  0x08
  latency time =                0x00
  header type =                 0x00
  BIST =                        0x00
  base address 0 =              0x90000004
  base address 1 =              0x00000000
  base address 2 =              0xf0000001
  base address 3 =              0x00000000
  base address 4 =              0x00000000
  base address 5 =              0x00000000
  cardBus CIS pointer =         0x00000000
  sub system vendor ID =        0x11ab
  sub system ID =               0x11ab
  expansion ROM base address =  0x00000000
  interrupt line =              0x00
  interrupt pin =               0x01
  min Grant =                   0x00
  max Latency =                 0x00
Marvell>>

Jan
Re: Install Debian on Synology DS413J
June 25, 2022 02:48AM
Bodhi,

> Please try this new DTB. I also attached the new
> DTS.

I see a change in the log but eth0 failed as before.

[    8.539630] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 2 is missing.
[    8.547939] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing.
[    8.556263] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4

Now addresses 2 & 9 instead of 8 & 9 as before.

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 DS411, DS413j
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    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: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K 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.000001] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008516] Switching to timer-based delay loop, resolution 5ns
[    0.015789] Console: colour dummy device 80x30
[    0.020985] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032197] pid_max: default: 32768 minimum: 301
[    0.037797] LSM: Security Framework initializing
[    0.043256] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051276] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.060823] CPU: Testing write buffer coherency: ok
[    0.068201] Setting up static identity map for 0x100000 - 0x100058
[    0.075352] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.081435] rcu: Hierarchical SRCU implementation.
[    0.087941] devtmpfs: initialized
[    0.099937] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.110514] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.146042] prandom32: self test passed (less than 6 bits correlated)
[    0.153196] prandom: seed boundary self test passed
[    0.161918] prandom: 100 self tests passed
[    0.166695] pinctrl core: initialized pinctrl subsystem
[    0.173867] NET: Registered protocol family 16
[    0.179610] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.187891] audit: initializing netlink subsys (disabled)
[    0.195084] thermal_sys: Registered thermal governor 'step_wise'
[    0.195407] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.210648] cpuidle: using governor ladder
[    0.215490] cpuidle: using governor menu
[    0.220526] Feroceon L2: Enabling L2
[    0.224805] Feroceon L2: Cache support initialised.
[    0.240148] No ATAGs?
[    2.568522] random: fast init done
[    3.893349] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.919701] wait_for_initramfs() called before rootfs_initcalls
[    4.108705] raid6: int32x8  gen()   150 MB/s
[    4.278629] raid6: int32x8  xor()    91 MB/s
[    4.448620] raid6: int32x4  gen()   145 MB/s
[    4.618637] raid6: int32x4  xor()    95 MB/s
[    4.788594] raid6: int32x2  gen()   185 MB/s
[    4.958565] raid6: int32x2  xor()   113 MB/s
[    5.128659] raid6: int32x1  gen()   131 MB/s
[    5.298567] raid6: int32x1  xor()    82 MB/s
[    5.303510] raid6: using algorithm int32x2 gen() 185 MB/s
[    5.309587] raid6: .... xor() 113 MB/s, rmw enabled
[    5.315130] raid6: using intx1 recovery algorithm
[    5.320726] vgaarb: loaded
[    5.324551] SCSI subsystem initialized
[    5.329197] libata version 3.00 loaded.
[    5.329421] usbcore: registered new interface driver usbfs
[    5.335616] usbcore: registered new interface driver hub
[    5.341673] usbcore: registered new device driver usb
[    5.347552] pps_core: LinuxPPS API ver. 1 registered
[    5.353206] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.363016] PTP clock support registered
[    5.369079] clocksource: Switched to clocksource orion_clocksource
[    5.459603] VFS: Disk quotas dquot_6.6.0
[    5.464280] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.495439] NET: Registered protocol family 2
[    5.509248] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.529445] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.538485] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.559181] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.567032] TCP: Hash tables configured (established 4096 bind 4096)
[    5.589314] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.597248] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.619113] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.626936] NET: Registered protocol family 1
[    5.649640] RPC: Registered named UNIX socket transport module.
[    5.656230] RPC: Registered udp transport module.
[    5.669096] RPC: Registered tcp transport module.
[    5.674477] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.699100] PCI: CLS 0 bytes, default 32
[    5.703929] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.711406] Trying to unpack rootfs image as initramfs...
[    7.017830] Freeing initrd memory: 9448K
[    7.371589] Initialise system trusted keyrings
[    7.376755] Key type blacklist registered
[    7.381717] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.388908] zbud: loaded
[    7.393352] NFS: Registering the id_resolver key type
[    7.399154] Key type id_resolver registered
[    7.404015] Key type id_legacy registered
[    7.408728] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.416121] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.424188] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.431438] jffs2: version 2.2. (NAND) (SUMMARY)  \xc2\xa9 2001-2006 Red Hat, Inc.
[    7.439533] fuse: init (API version 7.34)
[    7.444527] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.451819] orangefs_init: module version upstream loaded
[    7.457886] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.543536] xor: measuring software checksum speed
[    7.555696]    arm4regs        :  1485 MB/sec
[    7.571857]    8regs           :   890 MB/sec
[    7.584515]    32regs          :  1296 MB/sec
[    7.589575] xor: using function: arm4regs (1485 MB/sec)
[    7.595473] async_tx: api initialized (async)
[    7.600537] Key type asymmetric registered
[    7.605310] Asymmetric key parser 'x509' registered
[    7.610931] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.619035] io scheduler bfq registered
[    7.773036] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.782608] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.792451] mvebu-pcie mbus@f1000000:pcie@82000000: Parsing ranges property...
[    7.792483] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.802563] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.812644] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.822726] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.833325] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.843917] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.854503] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.865419] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.873678] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.879857] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.890700] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.901541] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.912383] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.919934] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.926867] pci_bus 0000:00: scanning bus
[    7.926993] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.933709] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.941401] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.948087] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.957181] pci_bus 0000:00: fixups for bus
[    7.957198] PCI: bus0: Fast back to back transfers disabled
[    7.963464] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    7.963478] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.972160] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0
[    7.972173] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.980851] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    7.980971] pci_bus 0000:01: scanning bus
[    7.981019] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    7.987710] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x900fffff 64bit]
[    7.995193] pci 0000:01:00.0: reg 0x18: [io  0xf0000000-0xf00000ff]
[    8.002264] 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)
[    8.017946] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.030272] pci_bus 0000:01: fixups for bus
[    8.030287] PCI: bus1: Fast back to back transfers disabled
[    8.036525] pci_bus 0000:01: bus scan returning with max=01
[    8.036536] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.043841] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1
[    8.043971] pci_bus 0000:02: scanning bus
[    8.045557] pci_bus 0000:02: fixups for bus
[    8.045566] PCI: bus2: Fast back to back transfers enabled
[    8.051744] pci_bus 0000:02: bus scan returning with max=02
[    8.051756] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.059035] pci_bus 0000:00: bus scan returning with max=02
[    8.059201] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.066749] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.073794] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.081696] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.089604] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.097584] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.104541] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.110196] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.117130] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.124603] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.130324] pcieport 0000:00:01.0: assign IRQ: got 0
[    8.130343] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.137115] pcieport 0000:00:01.0: enabling bus mastering
[    8.137184] pcieport 0000:00:02.0: assign IRQ: got 0
[    8.137204] pcieport 0000:00:02.0: enabling bus mastering
[    8.137651] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.199952] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.209985] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.269912] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.280187] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.288369] printk: console [ttyS0] disabled
[    8.293455] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.303157] printk: console [ttyS0] enabled
[    8.312983] printk: bootconsole [earlycon0] disabled
[    8.325007] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.341691] loop: module loaded
[    8.345776] sata_mv 0000:01:00.0: assign IRQ: got 37
[    8.345795] sata_mv 0000:01:00.0: version 1.28
[    8.345904] pci 0000:00:01.0: enabling bus mastering
[    8.346051] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.354335] sata_mv 0000:01:00.0: enabling Mem-Wr-Inval
[    8.360257] scsi host0: sata_mv
[    8.364660] scsi host1: sata_mv
[    8.368994] scsi host2: sata_mv
[    8.373398] scsi host3: sata_mv
[    8.377451] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 37
[    8.385892] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 37
[    8.394305] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 37
[    8.402718] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 37
[    8.412049] sata_mv f1080000.sata: version 1.28
[    8.412448] sata_mv f1080000.sata: slots 32 ports 2
[    8.421315] scsi host4: sata_mv
[    8.425693] scsi host5: sata_mv
[    8.429805] ata5: SATA max UDMA/133 irq 34
[    8.434627] ata6: SATA max UDMA/133 irq 34
[    8.441080] spi-nor spi0.0: found n25q064, expected m25p80
[    8.447580] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.453079] 6 fixed-partitions partitions found on MTD device spi0.0
[    8.460185] Creating 6 MTD partitions on "spi0.0":
[    8.465706] 0x000000000000-0x000000080000 : "RedBoot"
[    8.472746] 0x000000080000-0x000000280000 : "zImage"
[    8.479632] 0x000000280000-0x0000003c0000 : "rd.gz"
[    8.486374] 0x0000003c0000-0x0000003d0000 : "vendor"
[    8.493244] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[    8.500807] 0x0000003f0000-0x000000400000 : "FIS directory"
[    8.508639] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.517248] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.528514] libphy: Fixed MDIO Bus: probed
[    8.534606] libphy: orion_mdio_bus: probed
[    8.539630] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 2 is missing.
[    8.547939] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing.
[    8.556263] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.564313] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.571628] ehci-pci: EHCI PCI platform driver
[    8.576851] ehci-orion: EHCI orion driver
[    8.581741] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.587989] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.596582] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.629115] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.636120] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.645166] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.653156] usb usb1: Product: EHCI Host Controller
[    8.658780] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.666257] usb usb1: SerialNumber: f1050000.ehci
[    8.672252] hub 1-0:1.0: USB hub found
[    8.676754] hub 1-0:1.0: 1 port detected
[    8.682156] usbcore: registered new interface driver usb-storage
[    8.689349] mousedev: PS/2 mouse device common for all mice
[    8.695930] i2c /dev entries driver
[    8.700821] i2c i2c-0: Not using recovery: no suitable method provided
[    8.701739] rtc-s35390a 0-0030: error resetting chip
[    8.707979] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.715224] device-mapper: uevent: version 1.0.3
[    8.720870] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.730454] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.737765] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.745173] ata1: SATA link down (SStatus 0 SControl 300)
[    8.751346] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.758808] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.765672] device-mapper: raid: Loading target version 1.15.1
[    8.772288] ata5: SATA link down (SStatus 0 SControl F300)
[    8.781280] hid: raw HID events driver (C) Jiri Kosina
[    8.787428] drop_monitor: Initializing network drop monitor service
[    8.794850] NET: Registered protocol family 10
[    8.801017] Segment Routing with IPv6
[    8.805401] RPL Segment Routing with IPv6
[    8.810266] NET: Registered protocol family 17
[    8.815626] Key type dns_resolver registered
[    8.821215] registered taskstats version 1
[    8.826037] Loading compiled-in X.509 certificates
[    8.831924] zswap: loaded using pool lzo/zbud
[    8.837285] Key type ._fscrypt registered
[    8.842084] Key type .fscrypt registered
[    8.846725] Key type fscrypt-provisioning registered
[    8.853965] Key type big_key registered
[    8.883381] Key type encrypted registered
[    8.969106] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.110630] ata2: SATA link down (SStatus 0 SControl 300)
[    9.170842] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[    9.179794] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.187676] usb 1-1: Product: USB2.0 Hub
[    9.193138] hub 1-1:1.0: USB hub found
[    9.197968] hub 1-1:1.0: 4 ports detected
[    9.519102] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[    9.671714] usb 1-1.1: New USB device found, idVendor=04b4, idProduct=6830, bcdDevice= 0.01
[    9.680834] usb 1-1.1: New USB device strings: Mfr=56, Product=78, SerialNumber=100
[    9.689274] usb 1-1.1: Product: USB2.0 Storage Device
[    9.695052] usb 1-1.1: Manufacturer: Cypress Semiconductor
[    9.701279] usb 1-1.1: SerialNumber: DEF107679C83
[   12.699127] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   12.729383] ata3.00: LPM support broken, forcing max_power
[   12.735750] ata3.00: ATA-8: ST1000LM024 HN-M101MBB, 2AR10001, max UDMA/100
[   12.743382] ata3.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   12.779372] ata3.00: LPM support broken, forcing max_power
[   12.785734] ata3.00: configured for UDMA/100
[   12.801183] scsi 2:0:0:0: Direct-Access     ATA      ST1000LM024 HN-M 0001 PQ: 0 ANSI: 5
[   12.811028] sd 2:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   12.820256] sd 2:0:0:0: [sda] 4096-byte physical blocks
[   12.826315] sd 2:0:0:0: [sda] Write Protect is off
[   12.831879] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   12.831988] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.915513]  sda: sda1 sda2 sda3 < sda5 sda6 sda7 >
[   12.923257] sd 2:0:0:0: [sda] Attached SCSI disk
[   18.359099] ata4: link is slow to respond, please be patient (ready=0)
[   19.549124] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   19.560793] ata4.00: ATA-7: WDC WD1500ADFD-00NLR1, 20.07P20, max UDMA/133
[   19.568314] ata4.00: 293046768 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   19.582752] ata4.00: configured for UDMA/133
[   19.598164] scsi 3:0:0:0: Direct-Access     ATA      WDC WD1500ADFD-0 7P20 PQ: 0 ANSI: 5
[   19.608008] sd 3:0:0:0: [sdb] 293046768 512-byte logical blocks: (150 GB/140 GiB)
[   19.616708] sd 3:0:0:0: [sdb] Write Protect is off
[   19.622282] sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   19.622389] sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   19.647644]  sdb: sdb1 sdb2 sdb3 < sdb5 >
[   19.654124] sd 3:0:0:0: [sdb] Attached SCSI disk
[   19.950600] ata6: SATA link down (SStatus 0 SControl F300)
[   19.969946] Freeing unused kernel memory: 1024K
[   19.975905] Checked W+X mappings: passed, no W+X pages found
[   19.982321] Run /init as init process
[   19.986700]   with arguments:
[   19.986707]     /init
[   19.986713]   with environment:
[   19.986718]     HOME=/
[   19.986723]     TERM=linux
[   20.977539] usbcore: registered new interface driver uas
[   21.008756] ums-cypress 1-1.1:1.0: USB Mass Storage device detected
[   21.047375] scsi host6: usb-storage 1-1.1:1.0
[   21.064424] usbcore: registered new interface driver ums-cypress
[   22.093055] scsi 6:0:0:0: Direct-Access     SAMSUNG  SP1614N          0000 PQ: 0 ANSI: 0
[   22.106398] sd 6:0:0:0: [sdc] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[   22.119882] sd 6:0:0:0: [sdc] Write Protect is off
[   22.125486] sd 6:0:0:0: [sdc] Mode Sense: 27 00 00 00
[   22.126367] sd 6:0:0:0: [sdc] No Caching mode page found
[   22.132559] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[   22.155588]  sdc: sdc1
[   22.169647] sd 6:0:0:0: [sdc] Attached SCSI disk
[   25.059130] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   25.089540] ata2.00: ATA-8: SAMSUNG HN-M750MBB, 2AR10001, max UDMA/133
[   25.096864] ata2.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   25.129571] ata2.00: configured for UDMA/133
[   25.134997] scsi 1:0:0:0: Direct-Access     ATA      SAMSUNG HN-M750M 0001 PQ: 0 ANSI: 5
[   25.148159] sd 1:0:0:0: [sdd] 1465149168 512-byte logical blocks: (750 GB/699 GiB)
[   25.161343] sd 1:0:0:0: [sdd] Write Protect is off
[   25.166954] sd 1:0:0:0: [sdd] Mode Sense: 00 3a 00 00
[   25.167095] sd 1:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   25.258924]  sdd: sdd1 sdd2 sdd3 < sdd5 sdd6 sdd7 >
[   25.271937] sd 1:0:0:0: [sdd] Attached SCSI disk
[   25.547596] random: crng init done
[   26.089556] reg-fixed-voltage regulators-hdd-34:regulator@3: nonexclusive access to GPIO for regulators-hdd-34:regulator@3
[   26.430623] ata3: SATA link down (SStatus 0 SControl 300)
[   31.130771] reg-fixed-voltage regulators-hdd-34:regulator@4: nonexclusive access to GPIO for regulators-hdd-34:regulator@4
[   31.780625] ata3: SATA link down (SStatus 0 SControl 300)
[   36.809595] ata4: SATA link down (SStatus 0 SControl 300)
[   42.180659] ata3: SATA link down (SStatus 0 SControl 300)
[   42.186825] ata3.00: disabled
[   42.190765] ata4: SATA link down (SStatus 0 SControl 300)
[   42.196934] ata3.00: detaching (SCSI 2:0:0:0)
[   42.219810] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[   42.229261] sd 2:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   42.253847] sd 2:0:0:0: [sda] Stopping disk
[   42.264399] sd 2:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   47.540727] ata4: SATA link down (SStatus 0 SControl 300)
[   47.546946] ata4.00: disabled
[   47.552639] ata4.00: detaching (SCSI 3:0:0:0)
[   47.579970] sd 3:0:0:0: [sdb] Synchronizing SCSI cache
[   47.592944] sd 3:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   47.614917] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   47.629175] sd 3:0:0:0: [sdb] Stopping disk
[   47.645404] sd 3:0:0:0: [sdb] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   49.051152] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   55.698088] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized
[   56.088137] orion_wdt: Initial timeout 21 sec
[   56.340989] sd 6:0:0:0: Attached scsi generic sg0 type 0
[   56.396782] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   56.675831] marvell-cesa f1030000.crypto: CESA device successfully registered
[   59.247261] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
root@debian:~#

Looking at the first try 06/20/2022 with the unmodified dts411.dtb, I see a warning about PIN20 already requested that is not shown now. I wonder why it is not shown.

[    8.539631][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.547940][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing.
[    8.556268][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.564242][    T1] kirkwood-pinctrl f1010000.pin-controller: pin PIN20 already requested by f1080000.sata; cannot claim for f1076000.ethernet-controller
[    8.578076][    T1] kirkwood-pinctrl f1010000.pin-controller: pin-20 (f1076000.ethernet-controller) status -22
[    8.588144][    T1] kirkwood-pinctrl f1010000.pin-controller: could not request pin 20 (PIN20) from group mpp20  on device f1010000.pin-controller
[    8.601353][    T1] mv643xx_eth f1076000.ethernet-controller: Error applying setting, reverse things back
[    8.610990][    T1] mv643xx_eth: probe of f1076000.ethernet-controller failed with error -22

Jan
Re: Install Debian on Synology DS413J
June 25, 2022 03:43PM
Jan,

> I see a change in the log but eth0 failed as
> before.
>
>
> [    8.539630] mdio_bus f1072004.mdio-bus-mii:
> MDIO device at address 2 is missing.
> [    8.547939] mdio_bus f1072004.mdio-bus-mii:
> MDIO device at address 9 is missing.
> [    8.556263] mv643xx_eth: MV-643xx 10/100/1000
> ethernet driver version 1.4
>
>
> Now addresses 2 & 9 instead of 8 & 9 as before.

So the address 2 is not the correct one. It was just my wild guess.

> Looking at the first try 06/20/2022 with the
> unmodified dts411.dtb, I see a warning about PIN20
> already requested that is not shown now. I wonder
> why it is not shown.

That was the result of eth1 node removal.

-bodhi
===========================
Forum Wiki
bodhi's corner
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: