Welcome! Log In Create A New Profile

Advanced

Debian on Synology DS413J

Posted by jhackert 
Re: Install Debian on Synology DS413J
March 05, 2023 04:20PM
When booting DSM : [ 102.460000] eth0: mac address changed
maybe it's why i don't have the same mac address :)


So test 1 - HDD from top to bottom :
Marvell>> md.l 0xF1010100 1
f1010100: 00008000    ....
Marvell>> md.l 0xF1010140 1
f1010140: 00000aa0    ....
Marvell>> mw.l 0xF1010100 0x40008000
Marvell>> mw.l 0xF1010140 0x00003AA4

And then, if i understand well, i did all to boot debian on my usb rootfs.

[   44.699162][   T94] ata1.00: exception Emask 0x0 SAct 0x4 SErr 0x0 action 0xn
[   44.706961][   T94] ata1.00: failed command: READ FPDMA QUEUED
[   44.712847][   T94] ata1.00: cmd 60/08:10:00:00:00/00:00:00:00:00/40 tag 2 nn
[   44.712847][   T94]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0)
[   44.729302][   T94] ata1.00: status: { DRDY }
[   44.733693][   T94] ata1: hard resetting link
[   45.239157][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   45.257806][   T94] ata1.00: configured for UDMA/133
[   45.262824][   T94] ata1.00: device reported invalid CHS sector 0
[   45.268971][   T94] ata1: EH complete
[   75.399154][   T94] ata1.00: NCQ disabled due to excessive errors
[   75.405283][   T94] ata1.00: exception Emask 0x0 SAct 0x4 SErr 0x0 action 0xn
[   75.413091][   T94] ata1.00: failed command: READ FPDMA QUEUED
[   75.418955][   T94] ata1.00: cmd 60/08:10:00:00:00/00:00:00:00:00/40 tag 2 nn
[   75.418955][   T94]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0)
[   75.435412][   T94] ata1.00: status: { DRDY }
[   75.439818][   T94] ata1: hard resetting link
[   75.939157][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   75.957792][   T94] ata1.00: configured for UDMA/133
[   75.962810][   T94] ata1.00: device reported invalid CHS sector 0
[   75.968950][   T94] ata1: EH complete
[  106.119154][   T94] ata1: limiting SATA link speed to 1.5 Gbps
[  106.125024][   T94] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0xn
[  106.132830][   T94] ata1.00: failed command: READ DMA
[  106.137911][   T94] ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 2 dn
[  106.137911][   T94]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0)
[  106.154017][   T94] ata1.00: status: { DRDY }
[  106.158409][   T94] ata1: hard resetting link
[  106.659156][   T94] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[  106.677780][   T94] ata1.00: configured for UDMA/133
[  106.682795][   T94] ata1.00: device reported invalid CHS sector 0
[  106.688934][   T94] ata1: EH complete
Re: Install Debian on Synology DS413J
March 05, 2023 04:26PM
> And repeat the test with a single HDD in the 2nd
> slot.

Bad Magic Number
Marvell>> md.l 0xF1010100 1
f1010100: 00008000    ....
Marvell>> md.l 0xF1010140 1
f1010140: 00000aa0    ....
Marvell>> mw.l 0xF1010100 0x40008000
Marvell>> mw.l 0xF1010140 0x00003AA4

and then i did the boot sequence on usb :
[   11.380482][  T110] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.)
[   11.389969][  T110] sd 6:0:0:0: [sda] Write Protect is off
[   11.396217][  T110] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enaA
[   11.433811][  T110]  sda: sda1
[   11.439849][  T110] sd 6:0:0:0: [sda] Attached SCSI removable disk
[   14.549153][   T96] ata2: link is slow to respond, please be patient (ready=)
[   14.759181][   T96] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   14.770858][   T96] ata2.00: ATA-9: ST1000DM003-1CH162, CC47, max UDMA/133
[   14.777772][   T96] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 3)
[   14.792294][   T96] ata2.00: configured for UDMA/133
[   14.807688][   T58] scsi 1:0:0:0: Direct-Access     ATA      ST1000DM003-1CH5
[   14.817526][  T110] sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1)
[   14.826729][  T110] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[   14.832795][  T110] sd 1:0:0:0: [sdb] Write Protect is off
[   14.838416][  T110] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabA
[   15.160690][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   15.500682][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   15.840647][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   45.339181][   T96] ata2.00: exception Emask 0x0 SAct 0x4 SErr 0x0 action 0xn
[   45.346983][   T96] ata2.00: failed command: READ FPDMA QUEUED
[   45.352869][   T96] ata2.00: cmd 60/08:10:00:00:00/00:00:00:00:00/40 tag 2 nn
[   45.352869][   T96]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0)
[   45.369318][   T96] ata2.00: status: { DRDY }
[   45.373706][   T96] ata2: hard resetting link
[   45.879178][   T96] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   46.103965][   T96] ata2.00: configured for UDMA/133
[   46.108968][   T96] ata2.00: device reported invalid CHS sector 0
[   46.115127][   T96] ata2: EH complete
[   76.679176][   T96] ata2.00: NCQ disabled due to excessive errors
[   76.685311][   T96] ata2.00: exception Emask 0x0 SAct 0x4 SErr 0x0 action 0xn
[   76.693118][   T96] ata2.00: failed command: READ FPDMA QUEUED
[   76.698981][   T96] ata2.00: cmd 60/08:10:00:00:00/00:00:00:00:00/40 tag 2 nn
[   76.698981][   T96]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0)
[   76.715434][   T96] ata2.00: status: { DRDY }
[   76.719835][   T96] ata2: hard resetting link
[   77.219217][   T96] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   77.443918][   T96] ata2.00: configured for UDMA/133
[   77.448917][   T96] ata2.00: device reported invalid CHS sector 0
[   77.455077][   T96] ata2: EH complete
Re: Install Debian on Synology DS413J
March 05, 2023 04:32PM
Bodhi, can you explain why we are doing this 4 commands ? What are we trying to do or determine ? I would like to learn.

> And repeat the test with a single HDD in the 2nd
> slot.

Bad Magic Number
Marvell>> md.l 0xF1010100 1
f1010100: 00008000    ....
Marvell>> md.l 0xF1010140 1
f1010140: 00000aa0    ....
Marvell>> mw.l 0xF1010100 0x40008000
Marvell>> mw.l 0xF1010140 0x00003AA4

Not working either :
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gc1
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cf
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology 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-0x000000001]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 18
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rool
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 )
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x4080
[    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 .
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycs
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps evs
[    0.008516][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015793][    T0] Console: colour dummy device 80x30
[    0.020995][    T0] Calibrating delay loop (skipped), value calculated using)
[    0.032205][    T0] pid_max: default: 32768 minimum: 301
[    0.037805][    T0] LSM: Security Framework initializing
[    0.043263][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 byt)
[    0.051286][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 409)
[    0.060836][    T0] CPU: Testing write buffer coherency: ok
[    0.068218][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.075369][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.081456][    T1] rcu: Hierarchical SRCU implementation.
[    0.087955][    T1] devtmpfs: initialized
[    0.100025][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xfffs
[    0.110599][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, li)
[    0.146120][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.153265][    T1] prandom: seed boundary self test passed
[    0.161987][    T1] prandom: 100 self tests passed
[    0.166764][    T1] pinctrl core: initialized pinctrl subsystem
[    0.173944][    T1] NET: Registered protocol family 16
[    0.179702][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocs
[    0.187960][    T1] audit: initializing netlink subsys (disabled)
[    0.195158][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.195483][   T16] audit: type=2000 audit(0.180:1): state=initialized audit1
[    0.210727][    T1] cpuidle: using governor ladder
[    0.215568][    T1] cpuidle: using governor menu
[    0.220604][    T1] Feroceon L2: Enabling L2
[    0.224883][    T1] Feroceon L2: Cache support initialised.
[    0.240339][    T1] No ATAGs?
[    2.568522][    C0] random: fast init done
[    3.893348][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.919593][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.108745][    T1] raid6: int32x8  gen()   150 MB/s
[    4.278653][    T1] raid6: int32x8  xor()    91 MB/s
[    4.448724][    T1] raid6: int32x4  gen()   146 MB/s
[    4.618529][    T1] raid6: int32x4  xor()    95 MB/s
[    4.788571][    T1] raid6: int32x2  gen()   184 MB/s
[    4.958588][    T1] raid6: int32x2  xor()   113 MB/s
[    5.128633][    T1] raid6: int32x1  gen()   131 MB/s
[    5.298587][    T1] raid6: int32x1  xor()    79 MB/s
[    5.303527][    T1] raid6: using algorithm int32x2 gen() 184 MB/s
[    5.309604][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.315148][    T1] raid6: using intx1 recovery algorithm
[    5.320741][    T1] vgaarb: loaded
[    5.324574][    T1] SCSI subsystem initialized
[    5.329435][    T1] usbcore: registered new interface driver usbfs
[    5.335632][    T1] usbcore: registered new interface driver hub
[    5.341689][    T1] usbcore: registered new device driver usb
[    5.347571][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.353223][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodo>
[    5.363034][    T1] PTP clock support registered
[    5.369087][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.459617][    T1] VFS: Disk quotas dquot_6.6.0
[    5.464298][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096)
[    5.495367][    T1] NET: Registered protocol family 2
[    5.509257][    T1] IP idents hash table entries: 8192 (order: 4, 65536 byte)
[    5.529452][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order:)
[    5.538493][    T1] TCP established hash table entries: 4096 (order: 2, 1638)
[    5.559189][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    5.567040][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.589323][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 byte)
[    5.597260][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linea)
[    5.619121][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, )
[    5.626939][    T1] NET: Registered protocol family 1
[    5.649645][    T1] RPC: Registered named UNIX socket transport module.
[    5.656238][    T1] RPC: Registered udp transport module.
[    5.669106][    T1] RPC: Registered tcp transport module.
[    5.674485][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.699108][    T1] PCI: CLS 0 bytes, default 32
[    5.703939][    T1] NetWinder Floating Point Emulator V0.97 (double precisio)
[    5.711410][   T58] Trying to unpack rootfs image as initramfs...
[    7.014326][   T58] Freeing initrd memory: 9448K
[    7.368271][    T1] Initialise system trusted keyrings
[    7.373489][    T1] Key type blacklist registered
[    7.378360][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.385620][    T1] zbud: loaded
[    7.390061][    T1] NFS: Registering the id_resolver key type
[    7.395815][    T1] Key type id_resolver registered
[    7.400729][    T1] Key type id_legacy registered
[    7.405444][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registerin.
[    7.412835][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Re.
[    7.420904][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.428144][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red H.
[    7.436241][    T1] fuse: init (API version 7.34)
[    7.441271][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.448536][    T1] orangefs_init: module version upstream loaded
[    7.454660][    T1] SGI XFS with ACLs, security attributes, realtime, scrub,d
[    7.539112][    T1] xor: measuring software checksum speed
[    7.551266][    T1]    arm4regs        :  1485 MB/sec
[    7.567387][    T1]    8regs           :   890 MB/sec
[    7.580082][    T1]    32regs          :  1296 MB/sec
[    7.585109][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.591040][    T1] async_tx: api initialized (async)
[    7.596071][    T1] Key type asymmetric registered
[    7.600880][    T1] Asymmetric key parser 'x509' registered
[    7.606464][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded)
[    7.614610][    T1] io scheduler bfq registered
[    7.768661][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinr
[    7.778247][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbu:
[    7.788118][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.798201][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.808281][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.818363][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xfffff0
[    7.828962][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xfffff0
[    7.839555][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xfffff0
[    7.850140][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xfffff0
[    7.861045][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge 0
[    7.869307][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.875469][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf10)
[    7.886311][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf10)
[    7.897153][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf10)
[    7.907994][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xeff]
[    7.915545][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.922630][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.929346][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff p]
[    7.937025][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.943740][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff p]
[    7.952869][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.959148][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-g
[    7.967828][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-g
[    7.976676][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    7.983393][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x900fffff 6]
[    7.990869][    T1] pci 0000:01:00.0: reg 0x18: [io  0xf0000000-0xf00000ff]
[    7.997921][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, l)
[    8.013591][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.'
[    8.025933][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.032206][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to1
[    8.041279][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.047438][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to2
[    8.054898][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00]
[    8.062465][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.069505][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe010]
[    8.077396][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe020]
[    8.085302][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00f]
[    8.093297][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.100256][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.105896][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.112842][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00f]
[    8.120317][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.126042][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.133360][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.199938][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor)
[    8.209962][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.269921][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor)
[    8.280196][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.288384][    T1] printk: console [ttyS0] disabled
[    8.293463][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, basA
[    8.303164][    T1] printk: console [ttyS0] enabled
[    8.303164][    T1] printk: console [ttyS0] enabled
[    8.312992][    T1] printk: bootconsole [earlycon0] disabled
[    8.312992][    T1] printk: bootconsole [earlycon0] disabled
[    8.325017][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, basA
[    8.341694][    T1] loop: module loaded
[    8.345745][    T1] irq: no irq domain found for interrupt-controller !
[    8.352725][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI modex
[    8.365193][    T1] ------------[ cut here ]------------
[    8.370563][    T1] WARNING: CPU: 0 PID: 1 at drivers/ata/libata-core.c:58300
[    8.380212][    T1] Modules linked in:
[    8.383982][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.13.6-kirkwood-0
[    8.391956][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    8.398961][    T1] [<8010e0a4>] (unwind_backtrace) from [<8010a8ac>] (show_)
[    8.407473][    T1] [<8010a8ac>] (show_stack) from [<8011d708>] (__warn+0xc8)
[    8.415101][    T1] [<8011d708>] (__warn) from [<80afe094>] (warn_slowpath_f)
[    8.423351][    T1] [<80afe094>] (warn_slowpath_fmt) from [<807abee4>] (ata_)
[    8.432647][    T1] [<807abee4>] (ata_host_activate) from [<807c0ccc>] (mv_p)
[    8.441855][    T1] [<807c0ccc>] (mv_pci_init_one) from [<806fdf34>] (pci_de)
[    8.450888][    T1] [<806fdf34>] (pci_device_probe) from [<80764780>] (reall)
[    8.459749][    T1] [<80764780>] (really_probe) from [<80764b04>] (driver_pr)
[    8.468844][    T1] [<80764b04>] (driver_probe_device) from [<80764f1c>] (de)
[    8.478477][    T1] [<80764f1c>] (device_driver_attach) from [<80765058>] (_)
[    8.487939][    T1] [<80765058>] (__driver_attach) from [<80762848>] (bus_fo)
[    8.496887][    T1] [<80762848>] (bus_for_each_dev) from [<80763958>] (bus_a)
[    8.505920][    T1] [<80763958>] (bus_add_driver) from [<80765928>] (driver_)
[    8.514682][    T1] [<80765928>] (driver_register) from [<811271ac>] (mv_ini)
[    8.522845][    T1] [<811271ac>] (mv_init) from [<80102534>] (do_one_initcal)
[    8.531132][    T1] [<80102534>] (do_one_initcall) from [<811015fc>] (kernel)
[    8.540602][    T1] [<811015fc>] (kernel_init_freeable) from [<80b091cc>] (k)
[    8.549547][    T1] [<80b091cc>] (kernel_init) from [<80100148>] (ret_from_f)
[    8.557858][    T1] Exception stack(0x814affb0 to 0x814afff8)
[    8.563648][    T1] ffa0:                                     00000000 000000
[    8.572577][    T1] ffc0: 00000000 00000000 00000000 00000000 00000000 000000
[    8.581506][    T1] ffe0: 00000000 00000000 00000000 00000000 00000013 000000
[    8.588853][    T1] ---[ end trace 2274c855d54c2d3f ]---
[    8.595818][    T1] scsi host0: sata_mv
[    8.600252][    T1] scsi host1: sata_mv
[    8.604608][    T1] scsi host2: sata_mv
[    8.608942][    T1] scsi host3: sata_mv
[    8.613046][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x0
[    8.620856][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x0
[    8.628639][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x0
[    8.636432][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x0
[    8.645538][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.654400][    T1] scsi host4: sata_mv
[    8.658777][    T1] scsi host5: sata_mv
[    8.662893][    T1] ata5: SATA max UDMA/133 irq 34
[    8.667713][    T1] ata6: SATA max UDMA/133 irq 34
[    8.674168][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.680683][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.686156][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    8.693258][    T1] Creating 6 MTD partitions on "spi0.0":
[    8.698784][    T1] 0x000000000000-0x000000080000 : "RedBoot"
[    8.705831][    T1] 0x000000080000-0x000000280000 : "zImage"
[    8.712728][    T1] 0x000000280000-0x0000003c0000 : "rd.gz"
[    8.719491][    T1] 0x0000003c0000-0x0000003d0000 : "vendor"
[    8.726362][    T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[    8.733943][    T1] 0x0000003f0000-0x000000400000 : "FIS directory"
[    8.741801][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com.
[    8.750411][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <J.
[    8.761668][    T1] libphy: Fixed MDIO Bus: probed
[    8.767686][    T1] libphy: orion_mdio_bus: probed
[    8.772700][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8.
[    8.793779][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver versio4
[    8.803302][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAd
[    8.812942][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drivr
[    8.820297][    T1] ehci-pci: EHCI PCI platform driver
[    8.825519][    T1] ehci-orion: EHCI orion driver
[    8.830451][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.836692][    T1] orion-ehci f1050000.ehci: new USB bus registered, assign1
[    8.845283][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.879107][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.886114][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct3
[    8.895161][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seri1
[    8.903165][    T1] usb usb1: Product: EHCI Host Controller
[    8.908799][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehcid
[    8.916270][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.922323][    T1] hub 1-0:1.0: USB hub found
[    8.926866][    T1] hub 1-0:1.0: 1 port detected
[    8.932215][    T1] usbcore: registered new interface driver usb-storage
[    8.939367][    T1] mousedev: PS/2 mouse device common for all mice
[    8.945941][    T1] i2c /dev entries driver
[    8.951750][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.957984][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.965232][    T1] device-mapper: uevent: version 1.0.3
[    8.970883][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialim
[    8.980138][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.986667][    T1] device-mapper: multipath round-robin: version 1.2.0 loadd
[    8.993995][    T1] device-mapper: multipath queue-length: version 0.2.0 load
[    9.001913][    T1] device-mapper: multipath service-time: version 0.3.0 load
[    9.009309][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    9.015625][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.022486][    T1] device-mapper: raid: Loading target version 1.15.1
[    9.031192][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.037384][    T1] drop_monitor: Initializing network drop monitor service
[    9.044821][    T1] NET: Registered protocol family 10
[    9.051097][    T1] Segment Routing with IPv6
[    9.055482][    T1] RPL Segment Routing with IPv6
[    9.060346][    T1] NET: Registered protocol family 17
[    9.065709][    T1] Key type dns_resolver registered
[    9.071289][    T1] registered taskstats version 1
[    9.076109][    T1] Loading compiled-in X.509 certificates
[    9.081991][    T1] zswap: loaded using pool lzo/zbud
[    9.087352][    T1] Key type ._fscrypt registered
[    9.092148][    T1] Key type .fscrypt registered
[    9.096789][    T1] Key type fscrypt-provisioning registered
[    9.104036][    T1] Key type big_key registered
[    9.132348][    T1] Key type encrypted registered
[    9.219114][  T117] usb 1-1: new high-speed USB device number 2 using orion-i
[    9.340647][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.420666][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=2
[    9.429612][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, Seria0
[    9.437499][  T117] usb 1-1: Product: USB2.0 Hub
[    9.442961][  T117] hub 1-1:1.0: USB hub found
[    9.447793][  T117] hub 1-1:1.0: 4 ports detected
[   10.159110][  T117] usb 1-1.2: new high-speed USB device number 3 using orioi
[   10.310290][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduc0
[   10.319408][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, Ser3
[   10.327471][  T117] usb 1-1.2: Product: Ultra
[   10.331862][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.336853][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.343689][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.351201][  T117] scsi host6: usb-storage 1-1.2:1.0
[   11.369998][   T58] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra          6
[   11.380328][    T7] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.)
[   11.389692][    T7] sd 6:0:0:0: [sda] Write Protect is off
[   11.395939][    T7] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enaA
[   11.433536][    T7]  sda: sda1
[   11.439572][    T7] sd 6:0:0:0: [sda] Attached SCSI removable disk
[   14.889106][   T98] ata3: link is slow to respond, please be patient (ready=)
[   19.369106][   T98] ata3: SRST failed (errno=-16)
[   20.709132][   T98] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   20.720806][   T98] ata3.00: ATA-9: ST1000DM003-1ER162, CC45, max UDMA/133
[   20.727717][   T98] ata3.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 3)
[   20.744473][   T98] ata3.00: configured for UDMA/133
[   20.759897][   T80] scsi 2:0:0:0: Direct-Access     ATA      ST1000DM003-1ER5
[   20.769779][    T7] sd 2:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1)
[   20.778183][    T7] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[   20.784999][    T7] sd 2:0:0:0: [sdb] Write Protect is off
[   20.790679][    T7] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabA
[   21.120645][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   21.460605][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   51.099135][   T98] ata3.00: exception Emask 0x0 SAct 0x4 SErr 0x0 action 0xn
[   51.106936][   T98] ata3.00: failed command: READ FPDMA QUEUED
[   51.112821][   T98] ata3.00: cmd 60/08:10:00:00:00/00:00:00:00:00/40 tag 2 nn
[   51.112821][   T98]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0)
[   51.129321][   T98] ata3.00: status: { DRDY }
[   51.133711][   T98] ata3: hard resetting link
[   51.639132][   T98] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   51.863874][   T98] ata3.00: configured for UDMA/133
[   51.868877][   T98] ata3.00: device reported invalid CHS sector 0
[   51.875033][   T98] ata3: EH complete
Re: Install Debian on Synology DS413J
March 05, 2023 04:38PM
I did the same with the last one :
Marvell>> md.l 0xF1010100 1
f1010100: 00008000    ....
Marvell>> md.l 0xF1010140 1
f1010140: 00000aa0    ....
Marvell>> mw.l 0xF1010100 0x40008000
Marvell>> mw.l 0xF1010140 0x00003AA4

and then i boot :
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gc1
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cf
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology 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-0x000000001]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 18
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rool
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 )
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x4080
[    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 .
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycs
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps evs
[    0.008517][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015793][    T0] Console: colour dummy device 80x30
[    0.020995][    T0] Calibrating delay loop (skipped), value calculated using)
[    0.032205][    T0] pid_max: default: 32768 minimum: 301
[    0.037806][    T0] LSM: Security Framework initializing
[    0.043264][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 byt)
[    0.051287][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 409)
[    0.060836][    T0] CPU: Testing write buffer coherency: ok
[    0.068218][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.075369][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.081457][    T1] rcu: Hierarchical SRCU implementation.
[    0.087955][    T1] devtmpfs: initialized
[    0.100020][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xfffs
[    0.110592][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, li)
[    0.146122][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.153276][    T1] prandom: seed boundary self test passed
[    0.161996][    T1] prandom: 100 self tests passed
[    0.166773][    T1] pinctrl core: initialized pinctrl subsystem
[    0.173956][    T1] NET: Registered protocol family 16
[    0.179713][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocs
[    0.187971][    T1] audit: initializing netlink subsys (disabled)
[    0.195176][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.195501][   T16] audit: type=2000 audit(0.180:1): state=initialized audit1
[    0.210745][    T1] cpuidle: using governor ladder
[    0.215585][    T1] cpuidle: using governor menu
[    0.220619][    T1] Feroceon L2: Enabling L2
[    0.224901][    T1] Feroceon L2: Cache support initialised.
[    0.240347][    T1] No ATAGs?
[    2.568522][    C0] random: fast init done
[    3.893368][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.919695][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.108688][    T1] raid6: int32x8  gen()   150 MB/s
[    4.278565][    T1] raid6: int32x8  xor()    91 MB/s
[    4.448643][    T1] raid6: int32x4  gen()   145 MB/s
[    4.618546][    T1] raid6: int32x4  xor()    95 MB/s
[    4.788570][    T1] raid6: int32x2  gen()   187 MB/s
[    4.958619][    T1] raid6: int32x2  xor()   113 MB/s
[    5.128627][    T1] raid6: int32x1  gen()   129 MB/s
[    5.298531][    T1] raid6: int32x1  xor()    78 MB/s
[    5.303475][    T1] raid6: using algorithm int32x2 gen() 187 MB/s
[    5.309552][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.315096][    T1] raid6: using intx1 recovery algorithm
[    5.320690][    T1] vgaarb: loaded
[    5.324531][    T1] SCSI subsystem initialized
[    5.329390][    T1] usbcore: registered new interface driver usbfs
[    5.335589][    T1] usbcore: registered new interface driver hub
[    5.341645][    T1] usbcore: registered new device driver usb
[    5.347531][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.353181][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodo>
[    5.362991][    T1] PTP clock support registered
[    5.369035][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.459559][    T1] VFS: Disk quotas dquot_6.6.0
[    5.464237][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096)
[    5.495301][    T1] NET: Registered protocol family 2
[    5.509199][    T1] IP idents hash table entries: 8192 (order: 4, 65536 byte)
[    5.529403][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order:)
[    5.538442][    T1] TCP established hash table entries: 4096 (order: 2, 1638)
[    5.559137][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    5.566980][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.589272][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 byte)
[    5.597204][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linea)
[    5.619069][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, )
[    5.626892][    T1] NET: Registered protocol family 1
[    5.649589][    T1] RPC: Registered named UNIX socket transport module.
[    5.656178][    T1] RPC: Registered udp transport module.
[    5.669054][    T1] RPC: Registered tcp transport module.
[    5.674434][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.699057][    T1] PCI: CLS 0 bytes, default 32
[    5.703883][    T1] NetWinder Floating Point Emulator V0.97 (double precisio)
[    5.711361][   T58] Trying to unpack rootfs image as initramfs...
[    7.017760][   T58] Freeing initrd memory: 9448K
[    7.371448][    T1] Initialise system trusted keyrings
[    7.376606][    T1] Key type blacklist registered
[    7.381572][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.388763][    T1] zbud: loaded
[    7.393211][    T1] NFS: Registering the id_resolver key type
[    7.398951][    T1] Key type id_resolver registered
[    7.403868][    T1] Key type id_legacy registered
[    7.408582][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registerin.
[    7.415972][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Re.
[    7.424040][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.431291][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red H.
[    7.439389][    T1] fuse: init (API version 7.34)
[    7.444396][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.451684][    T1] orangefs_init: module version upstream loaded
[    7.457756][    T1] SGI XFS with ACLs, security attributes, realtime, scrub,d
[    7.543650][    T1] xor: measuring software checksum speed
[    7.555803][    T1]    arm4regs        :  1485 MB/sec
[    7.571973][    T1]    8regs           :   890 MB/sec
[    7.584628][    T1]    32regs          :  1296 MB/sec
[    7.589687][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.595586][    T1] async_tx: api initialized (async)
[    7.600651][    T1] Key type asymmetric registered
[    7.605423][    T1] Asymmetric key parser 'x509' registered
[    7.611044][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded)
[    7.619173][    T1] io scheduler bfq registered
[    7.773151][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinr
[    7.782738][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbu:
[    7.792612][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.802694][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.812774][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.822856][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xfffff0
[    7.833455][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xfffff0
[    7.844047][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xfffff0
[    7.854633][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xfffff0
[    7.865534][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge 0
[    7.873790][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.879969][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf10)
[    7.890811][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf10)
[    7.901654][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf10)
[    7.912495][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xeff]
[    7.920047][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.927116][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.933831][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff p]
[    7.941525][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.948217][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff p]
[    7.957351][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.963633][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-g
[    7.972329][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-g
[    7.981176][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    7.987875][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x900fffff 6]
[    7.995358][    T1] pci 0000:01:00.0: reg 0x18: [io  0xf0000000-0xf00000ff]
[    8.002429][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, l)
[    8.018099][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.'
[    8.030469][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.036717][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to1
[    8.045787][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.051972][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to2
[    8.059417][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00]
[    8.066965][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.074011][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe010]
[    8.081913][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe020]
[    8.089821][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00f]
[    8.097801][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.104758][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.110413][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.117346][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00f]
[    8.124819][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.130560][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.137854][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.199906][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor)
[    8.209929][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.269870][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor)
[    8.280145][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.288329][    T1] printk: console [ttyS0] disabled
[    8.293413][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, basA
[    8.303115][    T1] printk: console [ttyS0] enabled
[    8.303115][    T1] printk: console [ttyS0] enabled
[    8.312940][    T1] printk: bootconsole [earlycon0] disabled
[    8.312940][    T1] printk: bootconsole [earlycon0] disabled
[    8.324967][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, basA
[    8.341640][    T1] loop: module loaded
[    8.345695][    T1] irq: no irq domain found for interrupt-controller !
[    8.352679][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI modex
[    8.365145][    T1] ------------[ cut here ]------------
[    8.370506][    T1] WARNING: CPU: 0 PID: 1 at drivers/ata/libata-core.c:58300
[    8.380150][    T1] Modules linked in:
[    8.383921][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.13.6-kirkwood-0
[    8.391895][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    8.398901][    T1] [<8010e0a4>] (unwind_backtrace) from [<8010a8ac>] (show_)
[    8.407412][    T1] [<8010a8ac>] (show_stack) from [<8011d708>] (__warn+0xc8)
[    8.415049][    T1] [<8011d708>] (__warn) from [<80afe094>] (warn_slowpath_f)
[    8.423300][    T1] [<80afe094>] (warn_slowpath_fmt) from [<807abee4>] (ata_)
[    8.432595][    T1] [<807abee4>] (ata_host_activate) from [<807c0ccc>] (mv_p)
[    8.441802][    T1] [<807c0ccc>] (mv_pci_init_one) from [<806fdf34>] (pci_de)
[    8.450837][    T1] [<806fdf34>] (pci_device_probe) from [<80764780>] (reall)
[    8.459695][    T1] [<80764780>] (really_probe) from [<80764b04>] (driver_pr)
[    8.468792][    T1] [<80764b04>] (driver_probe_device) from [<80764f1c>] (de)
[    8.478426][    T1] [<80764f1c>] (device_driver_attach) from [<80765058>] (_)
[    8.487886][    T1] [<80765058>] (__driver_attach) from [<80762848>] (bus_fo)
[    8.496833][    T1] [<80762848>] (bus_for_each_dev) from [<80763958>] (bus_a)
[    8.505860][    T1] [<80763958>] (bus_add_driver) from [<80765928>] (driver_)
[    8.514622][    T1] [<80765928>] (driver_register) from [<811271ac>] (mv_ini)
[    8.522786][    T1] [<811271ac>] (mv_init) from [<80102534>] (do_one_initcal)
[    8.531071][    T1] [<80102534>] (do_one_initcall) from [<811015fc>] (kernel)
[    8.540542][    T1] [<811015fc>] (kernel_init_freeable) from [<80b091cc>] (k)
[    8.549486][    T1] [<80b091cc>] (kernel_init) from [<80100148>] (ret_from_f)
[    8.557797][    T1] Exception stack(0x814affb0 to 0x814afff8)
[    8.563588][    T1] ffa0:                                     00000000 000000
[    8.572517][    T1] ffc0: 00000000 00000000 00000000 00000000 00000000 000000
[    8.581445][    T1] ffe0: 00000000 00000000 00000000 00000000 00000013 000000
[    8.588792][    T1] ---[ end trace bb839a093b10a18f ]---
[    8.595764][    T1] scsi host0: sata_mv
[    8.600225][    T1] scsi host1: sata_mv
[    8.604567][    T1] scsi host2: sata_mv
[    8.608917][    T1] scsi host3: sata_mv
[    8.613019][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x0
[    8.620829][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x0
[    8.628613][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x0
[    8.636406][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x0
[    8.645505][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.654364][    T1] scsi host4: sata_mv
[    8.658736][    T1] scsi host5: sata_mv
[    8.662848][    T1] ata5: SATA max UDMA/133 irq 34
[    8.667670][    T1] ata6: SATA max UDMA/133 irq 34
[    8.674126][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.680639][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.686113][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    8.693222][    T1] Creating 6 MTD partitions on "spi0.0":
[    8.698750][    T1] 0x000000000000-0x000000080000 : "RedBoot"
[    8.705799][    T1] 0x000000080000-0x000000280000 : "zImage"
[    8.712686][    T1] 0x000000280000-0x0000003c0000 : "rd.gz"
[    8.719459][    T1] 0x0000003c0000-0x0000003d0000 : "vendor"
[    8.726301][    T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[    8.733874][    T1] 0x0000003f0000-0x000000400000 : "FIS directory"
[    8.741727][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com.
[    8.750332][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <J.
[    8.761587][    T1] libphy: Fixed MDIO Bus: probed
[    8.767605][    T1] libphy: orion_mdio_bus: probed
[    8.772617][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8.
[    8.793696][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver versio4
[    8.803224][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAd
[    8.812860][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drivr
[    8.820220][    T1] ehci-pci: EHCI PCI platform driver
[    8.825438][    T1] ehci-orion: EHCI orion driver
[    8.830376][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.836623][    T1] orion-ehci f1050000.ehci: new USB bus registered, assign1
[    8.845215][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.879055][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.886059][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct3
[    8.895109][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seri1
[    8.903113][    T1] usb usb1: Product: EHCI Host Controller
[    8.908748][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehcid
[    8.916220][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.922268][    T1] hub 1-0:1.0: USB hub found
[    8.926814][    T1] hub 1-0:1.0: 1 port detected
[    8.932163][    T1] usbcore: registered new interface driver usb-storage
[    8.939317][    T1] mousedev: PS/2 mouse device common for all mice
[    8.945891][    T1] i2c /dev entries driver
[    8.951700][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.957931][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.965176][    T1] device-mapper: uevent: version 1.0.3
[    8.970827][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialim
[    8.980086][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.986613][    T1] device-mapper: multipath round-robin: version 1.2.0 loadd
[    8.993944][    T1] device-mapper: multipath queue-length: version 0.2.0 load
[    9.001864][    T1] device-mapper: multipath service-time: version 0.3.0 load
[    9.009265][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    9.015572][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.022424][    T1] device-mapper: raid: Loading target version 1.15.1
[    9.031130][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.037326][    T1] drop_monitor: Initializing network drop monitor service
[    9.044769][    T1] NET: Registered protocol family 10
[    9.051035][    T1] Segment Routing with IPv6
[    9.055422][    T1] RPL Segment Routing with IPv6
[    9.060283][    T1] NET: Registered protocol family 17
[    9.065649][    T1] Key type dns_resolver registered
[    9.071222][    T1] registered taskstats version 1
[    9.076048][    T1] Loading compiled-in X.509 certificates
[    9.081931][    T1] zswap: loaded using pool lzo/zbud
[    9.087298][    T1] Key type ._fscrypt registered
[    9.092096][    T1] Key type .fscrypt registered
[    9.096737][    T1] Key type fscrypt-provisioning registered
[    9.103977][    T1] Key type big_key registered
[    9.132386][    T1] Key type encrypted registered
[    9.219062][  T117] usb 1-1: new high-speed USB device number 2 using orion-i
[    9.340593][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.420724][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=2
[    9.429674][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, Seria0
[    9.437557][  T117] usb 1-1: Product: USB2.0 Hub
[    9.443021][  T117] hub 1-1:1.0: USB hub found
[    9.447851][  T117] hub 1-1:1.0: 4 ports detected
[    9.680590][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   10.159058][  T117] usb 1-1.2: new high-speed USB device number 3 using orioi
[   10.310222][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduc0
[   10.319339][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, Ser3
[   10.327404][  T117] usb 1-1.2: Product: Ultra
[   10.331821][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.336809][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.343623][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.351138][  T117] scsi host6: usb-storage 1-1.2:1.0
[   11.370053][   T80] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra          6
[   11.380385][   T58] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.)
[   11.389874][   T58] sd 6:0:0:0: [sda] Write Protect is off
[   11.396121][   T58] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enaA
[   11.433716][   T58]  sda: sda1
[   11.439751][   T58] sd 6:0:0:0: [sda] Attached SCSI removable disk
[   15.229056][  T100] ata4: link is slow to respond, please be patient (ready=)
[   15.369083][  T100] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   15.380761][  T100] ata4.00: supports DRM functions and may not be fully acce
[   15.388464][  T100] ata4.00: ATA-9: ST1000DM003-1ER162, CC43, max UDMA/133
[   15.395395][  T100] ata4.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 3)
[   20.409078][  T100] ata4.00: qc timeout (cmd 0x47)
[   20.413904][  T100] ata4.00: READ LOG DMA EXT failed, trying PIO
[   20.419954][  T100] ata4.00: ATA Identify Device Log not supported
[   20.426162][  T100] ata4.00: Security Log not supported
[   20.431446][  T100] ata4.00: failed to set xfermode (err_mask=0x40)
[   20.939079][  T100] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   20.950736][  T100] ata4.00: supports DRM functions and may not be fully acce
[   20.972781][  T100] ata4.00: supports DRM functions and may not be fully acce
[   20.987888][  T100] ata4.00: configured for UDMA/133
[   21.003319][  T102] scsi 3:0:0:0: Direct-Access     ATA      ST1000DM003-1ER5
[   21.013171][   T58] sd 3:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1)
[   21.021961][   T58] sd 3:0:0:0: [sdb] 4096-byte physical blocks
[   21.028009][   T58] sd 3:0:0:0: [sdb] Write Protect is off
[   21.033661][   T58] sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabA
[   21.350544][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   51.099085][  T100] ata4.00: exception Emask 0x0 SAct 0x40 SErr 0x0 action 0n
[   51.106971][  T100] ata4.00: failed command: READ FPDMA QUEUED
[   51.112857][  T100] ata4.00: cmd 60/08:30:00:00:00/00:00:00:00:00/40 tag 6 nn
[   51.112857][  T100]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0)
[   51.129373][  T100] ata4.00: status: { DRDY }
[   51.133767][  T100] ata4: hard resetting link
[   51.639080][  T100] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   51.650747][  T100] ata4.00: supports DRM functions and may not be fully acce
[   51.701252][  T100] ata4.00: supports DRM functions and may not be fully acce
[   51.716366][  T100] ata4.00: configured for UDMA/133
[   51.721388][  T100] ata4.00: device reported invalid CHS sector 0
[   51.727536][  T100] ata4: EH complete

not working again
Re: Install Debian on Synology DS413J
March 05, 2023 04:41PM
on DSM stock, this is what i've had :
[    2.170000] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe00220009
[    2.180000] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe00240009
[    2.190000] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe00260009
[    2.200000] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe00280009
Re: Install Debian on Synology DS413J
March 05, 2023 04:50PM
Billy,

Do you have any 2.5" HDD to run these tests with? I think most likely we need 12V regulators. But it is good to see if the 5V works for 2.5" HDD/SSD first.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on Synology DS413J
March 05, 2023 04:51PM
i have ssd or small hdd... i'll do a test
Re: Install Debian on Synology DS413J
March 05, 2023 04:59PM
SSD (no small hd for test)
Marvell>> md.l 0xF1010100 1
f1010100: 00008000    ....
Marvell>> md.l 0xF1010100 1
f1010100: 00008000    ....
Marvell>> mw.l 0xF1010100 0x40008000
Marvell>> mw.l 0xF1010140 0x00003AA4

boot :
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) (gc1
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cf
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology 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-0x000000001]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 18
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rool
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 )
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x4080
[    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 .
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycs
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps evs
[    0.008517][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015793][    T0] Console: colour dummy device 80x30
[    0.020995][    T0] Calibrating delay loop (skipped), value calculated using)
[    0.032205][    T0] pid_max: default: 32768 minimum: 301
[    0.037805][    T0] LSM: Security Framework initializing
[    0.043263][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 byt)
[    0.051287][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 409)
[    0.060835][    T0] CPU: Testing write buffer coherency: ok
[    0.068217][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.075370][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.081457][    T1] rcu: Hierarchical SRCU implementation.
[    0.087956][    T1] devtmpfs: initialized
[    0.100000][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xfffs
[    0.110575][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, li)
[    0.146099][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.153248][    T1] prandom: seed boundary self test passed
[    0.161970][    T1] prandom: 100 self tests passed
[    0.166747][    T1] pinctrl core: initialized pinctrl subsystem
[    0.173931][    T1] NET: Registered protocol family 16
[    0.179684][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocs
[    0.187945][    T1] audit: initializing netlink subsys (disabled)
[    0.195151][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.195478][   T16] audit: type=2000 audit(0.180:1): state=initialized audit1
[    0.210727][    T1] cpuidle: using governor ladder
[    0.215568][    T1] cpuidle: using governor menu
[    0.220603][    T1] Feroceon L2: Enabling L2
[    0.224884][    T1] Feroceon L2: Cache support initialised.
[    0.240329][    T1] No ATAGs?
[    2.568522][    C0] random: fast init done
[    3.893336][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.919602][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.108742][    T1] raid6: int32x8  gen()   150 MB/s
[    4.278542][    T1] raid6: int32x8  xor()    91 MB/s
[    4.448607][    T1] raid6: int32x4  gen()   145 MB/s
[    4.618529][    T1] raid6: int32x4  xor()    95 MB/s
[    4.788570][    T1] raid6: int32x2  gen()   184 MB/s
[    4.958550][    T1] raid6: int32x2  xor()   113 MB/s
[    5.128637][    T1] raid6: int32x1  gen()   130 MB/s
[    5.298570][    T1] raid6: int32x1  xor()    79 MB/s
[    5.303510][    T1] raid6: using algorithm int32x2 gen() 184 MB/s
[    5.309587][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.315131][    T1] raid6: using intx1 recovery algorithm
[    5.320726][    T1] vgaarb: loaded
[    5.324566][    T1] SCSI subsystem initialized
[    5.329423][    T1] usbcore: registered new interface driver usbfs
[    5.335624][    T1] usbcore: registered new interface driver hub
[    5.341680][    T1] usbcore: registered new device driver usb
[    5.347562][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.353214][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodo>
[    5.363026][    T1] PTP clock support registered
[    5.369076][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.459604][    T1] VFS: Disk quotas dquot_6.6.0
[    5.464281][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096)
[    5.495428][    T1] NET: Registered protocol family 2
[    5.509247][    T1] IP idents hash table entries: 8192 (order: 4, 65536 byte)
[    5.529446][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order:)
[    5.538485][    T1] TCP established hash table entries: 4096 (order: 2, 1638)
[    5.559178][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    5.567024][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.589312][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 byte)
[    5.597251][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linea)
[    5.619110][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, )
[    5.626930][    T1] NET: Registered protocol family 1
[    5.649631][    T1] RPC: Registered named UNIX socket transport module.
[    5.656221][    T1] RPC: Registered udp transport module.
[    5.669094][    T1] RPC: Registered tcp transport module.
[    5.674468][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.699098][    T1] PCI: CLS 0 bytes, default 32
[    5.703929][    T1] NetWinder Floating Point Emulator V0.97 (double precisio)
[    5.711402][   T58] Trying to unpack rootfs image as initramfs...
[    7.014321][   T58] Freeing initrd memory: 9448K
[    7.368225][    T1] Initialise system trusted keyrings
[    7.373443][    T1] Key type blacklist registered
[    7.378320][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.385583][    T1] zbud: loaded
[    7.390024][    T1] NFS: Registering the id_resolver key type
[    7.395768][    T1] Key type id_resolver registered
[    7.400678][    T1] Key type id_legacy registered
[    7.405393][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registerin.
[    7.412784][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Re.
[    7.420852][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.428091][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  Â▒ 2001-2006 Red H.
[    7.436189][    T1] fuse: init (API version 7.34)
[    7.441218][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.448486][    T1] orangefs_init: module version upstream loaded
[    7.454609][    T1] SGI XFS with ACLs, security attributes, realtime, scrub,d
[    7.540864][    T1] xor: measuring software checksum speed
[    7.553027][    T1]    arm4regs        :  1485 MB/sec
[    7.569166][    T1]    8regs           :   890 MB/sec
[    7.581902][    T1]    32regs          :  1296 MB/sec
[    7.586932][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.592866][    T1] async_tx: api initialized (async)
[    7.597903][    T1] Key type asymmetric registered
[    7.602708][    T1] Asymmetric key parser 'x509' registered
[    7.608297][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded)
[    7.616443][    T1] io scheduler bfq registered
[    7.770468][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinr
[    7.780073][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbu:
[    7.789940][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.800024][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.810104][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.820186][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xfffff0
[    7.830785][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xfffff0
[    7.841377][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xfffff0
[    7.851963][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xfffff0
[    7.862866][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge 0
[    7.871121][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.877284][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf10)
[    7.888126][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf10)
[    7.898967][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf10)
[    7.909809][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xeff]
[    7.917345][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.924427][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.931143][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff p]
[    7.938820][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.945537][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff p]
[    7.954667][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.960946][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-g
[    7.969642][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-g
[    7.978473][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    7.985191][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x900fffff 6]
[    7.992666][    T1] pci 0000:01:00.0: reg 0x18: [io  0xf0000000-0xf00000ff]
[    7.999731][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, l)
[    8.015405][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.'
[    8.027748][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.034020][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to1
[    8.043095][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.049286][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to2
[    8.056722][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00]
[    8.064289][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.071329][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe010]
[    8.079234][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe020]
[    8.087127][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00f]
[    8.095120][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.102079][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.107719][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.114666][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00f]
[    8.122140][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.127867][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.135184][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.199924][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor)
[    8.209951][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.269906][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor)
[    8.280175][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.288356][    T1] printk: console [ttyS0] disabled
[    8.293436][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, basA
[    8.303139][    T1] printk: console [ttyS0] enabled
[    8.303139][    T1] printk: console [ttyS0] enabled
[    8.312966][    T1] printk: bootconsole [earlycon0] disabled
[    8.312966][    T1] printk: bootconsole [earlycon0] disabled
[    8.324990][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, basA
[    8.341664][    T1] loop: module loaded
[    8.345710][    T1] irq: no irq domain found for interrupt-controller !
[    8.352695][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI modex
[    8.365164][    T1] ------------[ cut here ]------------
[    8.370535][    T1] WARNING: CPU: 0 PID: 1 at drivers/ata/libata-core.c:58300
[    8.380178][    T1] Modules linked in:
[    8.383948][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.13.6-kirkwood-0
[    8.391922][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    8.398928][    T1] [<8010e0a4>] (unwind_backtrace) from [<8010a8ac>] (show_)
[    8.407438][    T1] [<8010a8ac>] (show_stack) from [<8011d708>] (__warn+0xc8)
[    8.415067][    T1] [<8011d708>] (__warn) from [<80afe094>] (warn_slowpath_f)
[    8.423318][    T1] [<80afe094>] (warn_slowpath_fmt) from [<807abee4>] (ata_)
[    8.432612][    T1] [<807abee4>] (ata_host_activate) from [<807c0ccc>] (mv_p)
[    8.441819][    T1] [<807c0ccc>] (mv_pci_init_one) from [<806fdf34>] (pci_de)
[    8.450854][    T1] [<806fdf34>] (pci_device_probe) from [<80764780>] (reall)
[    8.459705][    T1] [<80764780>] (really_probe) from [<80764b04>] (driver_pr)
[    8.468801][    T1] [<80764b04>] (driver_probe_device) from [<80764f1c>] (de)
[    8.478434][    T1] [<80764f1c>] (device_driver_attach) from [<80765058>] (_)
[    8.487895][    T1] [<80765058>] (__driver_attach) from [<80762848>] (bus_fo)
[    8.496842][    T1] [<80762848>] (bus_for_each_dev) from [<80763958>] (bus_a)
[    8.505876][    T1] [<80763958>] (bus_add_driver) from [<80765928>] (driver_)
[    8.514640][    T1] [<80765928>] (driver_register) from [<811271ac>] (mv_ini)
[    8.522803][    T1] [<811271ac>] (mv_init) from [<80102534>] (do_one_initcal)
[    8.531090][    T1] [<80102534>] (do_one_initcall) from [<811015fc>] (kernel)
[    8.540559][    T1] [<811015fc>] (kernel_init_freeable) from [<80b091cc>] (k)
[    8.549504][    T1] [<80b091cc>] (kernel_init) from [<80100148>] (ret_from_f)
[    8.557814][    T1] Exception stack(0x814affb0 to 0x814afff8)
[    8.563605][    T1] ffa0:                                     00000000 000000
[    8.572534][    T1] ffc0: 00000000 00000000 00000000 00000000 00000000 000000
[    8.581463][    T1] ffe0: 00000000 00000000 00000000 00000000 00000013 000000
[    8.588810][    T1] ---[ end trace 13f6f900422ce2d0 ]---
[    8.595772][    T1] scsi host0: sata_mv
[    8.600208][    T1] scsi host1: sata_mv
[    8.604563][    T1] scsi host2: sata_mv
[    8.608903][    T1] scsi host3: sata_mv
[    8.613006][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x0
[    8.620813][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x0
[    8.628596][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x0
[    8.636390][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x0
[    8.645499][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.654353][    T1] scsi host4: sata_mv
[    8.658732][    T1] scsi host5: sata_mv
[    8.662848][    T1] ata5: SATA max UDMA/133 irq 34
[    8.667669][    T1] ata6: SATA max UDMA/133 irq 34
[    8.674119][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.680631][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.686104][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    8.693213][    T1] Creating 6 MTD partitions on "spi0.0":
[    8.698740][    T1] 0x000000000000-0x000000080000 : "RedBoot"
[    8.705789][    T1] 0x000000080000-0x000000280000 : "zImage"
[    8.712678][    T1] 0x000000280000-0x0000003c0000 : "rd.gz"
[    8.719456][    T1] 0x0000003c0000-0x0000003d0000 : "vendor"
[    8.726327][    T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[    8.733899][    T1] 0x0000003f0000-0x000000400000 : "FIS directory"
[    8.741755][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com.
[    8.750358][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <J.
[    8.761621][    T1] libphy: Fixed MDIO Bus: probed
[    8.767638][    T1] libphy: orion_mdio_bus: probed
[    8.772656][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8.
[    8.793820][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver versio4
[    8.803346][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAd
[    8.812985][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drivr
[    8.820343][    T1] ehci-pci: EHCI PCI platform driver
[    8.825561][    T1] ehci-orion: EHCI orion driver
[    8.830494][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.836736][    T1] orion-ehci f1050000.ehci: new USB bus registered, assign1
[    8.845330][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.879097][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.886102][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct3
[    8.895152][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seri1
[    8.903156][    T1] usb usb1: Product: EHCI Host Controller
[    8.908791][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehcid
[    8.916262][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.922311][    T1] hub 1-0:1.0: USB hub found
[    8.926857][    T1] hub 1-0:1.0: 1 port detected
[    8.932205][    T1] usbcore: registered new interface driver usb-storage
[    8.939358][    T1] mousedev: PS/2 mouse device common for all mice
[    8.945922][    T1] i2c /dev entries driver
[    8.951744][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.957979][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.965226][    T1] device-mapper: uevent: version 1.0.3
[    8.970876][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialim
[    8.980520][    T1] device-mapper: multipath round-robin: version 1.2.0 loadd
[    8.987818][    T1] device-mapper: multipath queue-length: version 0.2.0 load
[    8.995214][    T1] device-mapper: multipath service-time: version 0.3.0 load
[    9.002658][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.009514][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    9.015767][    T1] device-mapper: raid: Loading target version 1.15.1
[    9.024459][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.030706][    T1] drop_monitor: Initializing network drop monitor service
[    9.038072][    T1] NET: Registered protocol family 10
[    9.044368][    T1] Segment Routing with IPv6
[    9.048751][    T1] RPL Segment Routing with IPv6
[    9.053614][    T1] NET: Registered protocol family 17
[    9.058977][    T1] Key type dns_resolver registered
[    9.064432][    T1] registered taskstats version 1
[    9.069422][    T1] Loading compiled-in X.509 certificates
[    9.075252][    T1] zswap: loaded using pool lzo/zbud
[    9.080671][    T1] Key type ._fscrypt registered
[    9.085401][    T1] Key type .fscrypt registered
[    9.090099][    T1] Key type fscrypt-provisioning registered
[    9.097306][    T1] Key type big_key registered
[    9.125662][    T1] Key type encrypted registered
[    9.149198][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    9.156584][   T94] ata1.00: ATA-9: SH00R128GB, 1105V54P, max UDMA/133
[    9.163202][   T94] ata1.00: 250069680 sectors, multi 1: LBA48 NCQ (depth 31)
[    9.173303][   T94] ata1.00: configured for UDMA/133
[    9.188724][    T7] scsi 0:0:0:0: Direct-Access     ATA      SH00R128GB     5
[    9.198663][  T110] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (12)
[    9.207835][  T110] sd 0:0:0:0: [sda] Write Protect is off
[    9.213529][  T110] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabA
[    9.223359][  T117] usb 1-1: new high-speed USB device number 2 using orion-i
[    9.430841][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=2
[    9.439807][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, Seria0
[    9.447719][  T117] usb 1-1: Product: USB2.0 Hub
[    9.453130][  T117] hub 1-1:1.0: USB hub found
[    9.457964][  T117] hub 1-1:1.0: 4 ports detected
[    9.544047][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.890629][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   10.169099][  T117] usb 1-1.2: new high-speed USB device number 3 using orioi
[   10.232491][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   10.320339][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduc0
[   10.329457][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, Ser3
[   10.337526][  T117] usb 1-1.2: Product: Ultra
[   10.341917][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.346907][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.353752][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.361254][  T117] scsi host6: usb-storage 1-1.2:1.0
[   10.580600][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   11.370044][  T108] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra          6
[   11.380251][  T103] sd 6:0:0:0: [sdb] 60751872 512-byte logical blocks: (31.)
[   11.389740][  T103] sd 6:0:0:0: [sdb] Write Protect is off
[   11.395989][  T103] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enaA
[   11.433580][  T103]  sdb: sdb1
[   11.439624][  T103] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[   39.579130][   T94] ata1.00: exception Emask 0x0 SAct 0x40 SErr 0x0 action 0n
[   39.587024][   T94] ata1.00: failed command: READ FPDMA QUEUED
[   39.592907][   T94] ata1.00: cmd 60/08:30:00:00:00/00:00:00:00:00/40 tag 6 nn
[   39.592907][   T94]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0)
[   39.609358][   T94] ata1.00: status: { DRDY }
[   39.613747][   T94] ata1: hard resetting link
[   40.119185][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   40.129152][   T94] ata1.00: configured for UDMA/133
[   40.134156][   T94] ata1.00: device reported invalid CHS sector 0
[   40.140313][   T94] ata1: EH complete
Re: Install Debian on Synology DS413J
March 05, 2023 05:15PM
See you tomorrow, i'm tired for today :)

i'll try other disks if i found one.

Stay tuned, thanks for your time and patience.

Please point me to ressources, i really want to learn the stuff not only doing copy/paste things or explain me.
Re: Install Debian on Synology DS413J
March 05, 2023 06:26PM
Hi Billy,

> Please point me to ressources, i really want to
> learn the stuff not only doing copy/paste things
> or explain me.

There is really no central resource for these things out in the net. I think one of the best places to learn is this forum. I gathered posts that are tutorials and informative in the Wiki thread. And I will answer questions about ARM Embedded Linux if I know about the inquired subject.

The GPIOs that we tried to peek and poke above (they are memory mapped). Mavell boards use GPIOs to control peripherals (eg. power off, turn on LED, power up HDDs and USBs..). And also MPPs (multiplexing pins). A pin could be configured for one of multiple functions. See Reference Manual Marvell_FS_88F6180_9x_6281_OpenSource.pdf.

Quote
Wiki thread
Developer Section

Jeff's Notes on building uBoot for the Kirwood plugs
Finding address of stock envs of fw_printenv
Basic steps in building Linux modules
Peek/Poke GPIOs in serial console (Armada SoC example)
Peek/Poke GPIOs in serial console (Kirkwood SoC example)
UBIFS example
Booting process in depth discussion: In general, UART booting with kwboot
U-Boot envs location on flash

Basically, usually you will find "how to do certain things" but not "why you need to do that" in this forum (or anywhere else). Companies pay Tech Services firms such as DENX Software Engineering, or others to train their engineers about things like that.

I will explain the "why" if I know enough about the subject, but it will only be a general answer, so that you can research more about that (i.e google) if you want to know all about the details. These days, the kernel DTS is a very good place to learn how Linux kernel bring up peripherals (all MPPs, GPIOs, PHYs, ....definitions are in the DTS).

So after you tested something I asked and posted the negative/positive results, then you can ask questions, I'm open to that. Sometime I will just point you to a Wiki thread topic. Other time I might write some details so I can add to the Wiki.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on Synology DS413J
March 06, 2023 06:13AM
i have stupid question... i'm reading other topics to learn and maybe i made a mistake....

do i need to put the dtb in the /boot/dts/.. or is it there just to make the uImage ?
Because i put it in /boot to make the uImage ....

I'll give it a try... so confused if it's that the problem !

Quote

setenv dtb_file /boot/dts/kirkwood-ds212.dtb



Edited 1 time(s). Last edit at 03/06/2023 06:14AM by BillyIT.
Re: Install Debian on Synology DS413J
March 06, 2023 06:39AM
Hi Bodhi,

Trying to find :
> See Reference Manual
> Marvell_FS_88F6180_9x_6281_OpenSource.pdf.
no way to find it on google

My nas has this cpu : Marvell 88F6282



Edited 1 time(s). Last edit at 03/06/2023 06:41AM by BillyIT.
Re: Install Debian on Synology DS413J
March 06, 2023 10:04AM
Hi Bodhi,

For next time, someone with u-boot stock you have this command to find the physical address of network :
Marvell>> sg
PHY 0 mvBoardPhyAddrGet(port) 1:
---------
Auto negotiation: Enabled
Speed: 1000 Mbps
Duplex: Full
Link: up

PHY 1 mvBoardPhyAddrGet(port) 108:
---------
Re: Install Debian on Synology DS413J
March 06, 2023 01:58PM
> do i need to put the dtb in the /boot/dts/.. or is
> it there just to make the uImage ?
> Because i put it in /boot to make the uImage ....
>
> I'll give it a try... so confused if it's that the
> problem !
>
>
Quote

setenv dtb_file
> /boot/dts/kirkwood-ds212.dtb

When you boot with stock u-boot, which is very old and does not support device tree, the DTB mustb embbeded in uImage. When you boot with newer u-boot, the DTB can be separate, and should be. So that's why in the new u-boots I have that dtb_file env to point to where the DTB during booting.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on Synology DS413J
March 06, 2023 02:07PM
Billy,

The 88F6282 is a clone of 88F6281. Still in Kirkwood SoCs family, but it was named Armada 300 (probably right before Marvell started the Armada SoC series to give it brand awareness). The Zyxel NS325 and the Dreamplug also have 88F6282.

You can find various Marvell SoCs Rereference Manuals in this page:

https://github.com/torvalds/linux/blob/master/Documentation/arm/marvell.rst

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on Synology DS413J
March 06, 2023 02:11PM
> For next time, someone with u-boot stock you have
> this command to find the physical address of
> network :
> Marvell>> sg

Good find! BTW, each stock u-boot has something unique and not all commands are implemented. But worth a try next time we see a new box.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on Synology DS413J
March 06, 2023 02:17PM
OK

What to do next ?
I think we are a little stuck.
I don't find how to test for sata with my u-boot like ide reset.

I'm waiting for your asks.
Re: Install Debian on Synology DS413J
March 06, 2023 02:35PM
>
> What to do next ?
> I think we are a little stuck.
> I don't find how to test for sata with my u-boot
> like ide reset.
>
> I'm waiting for your asks.

We know the power supply is OK, since you can see the HDDs in stock OS.

I will modify the DTS and upload another updated DTB. You can already use the system on USB rootfs, so you could install Debian packages.

And when the HDDs are working, you could copy the rootfs to HDD partition (instead of creating brand new HDD rootfs).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on Synology DS413J
March 06, 2023 03:16PM
bodhi Wrote:
-------------------------------------------------------
> When you boot with stock u-boot, which is very old
> and does not support device tree, the DTB mustb
> embbeded in uImage. When you boot with newer
> u-boot, the DTB can be separate, and should be. So
> that's why in the new u-boots I have that dtb_file
> env to point to where the DTB during booting.

UImage has the dtb embedded. But does the usb key need to have the DTB inside the /boot/dts/ folder ?
Re: Install Debian on Synology DS413J
March 06, 2023 03:16PM
Billy,

Quote

UImage has the dtb embedded. But does the usb key need to have the DTB inside the /boot/dts/ folder ?

No need to, since you are booting with stock u-boot. But it does not hurt to have it in the right place.

Please try the single HDD tests again with this new DTB.

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



Edited 2 time(s). Last edit at 03/06/2023 03:21PM by bodhi.
Attachments:
open | download - kirkwood-ds413j.dtb (21.3 KB)
open | download - kirkwood-ds413j.dts (1011 bytes)
Re: Install Debian on Synology DS413J
March 06, 2023 03:22PM
I have high hope for the new DTB just posted above :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on Synology DS413J
March 06, 2023 04:25PM
OK I'll do that tomorrow thanks.

Do you have a ressource to help me decompile DTB ?
Either if I'll not be able to do it by myself I can try to learn.
I don't think that there is something on wiki.

Thanks to be by my side with that.
Re: Install Debian on Synology DS413J
March 06, 2023 04:36PM
I found how to decompile. I should learn how to compile now :)

Love learning everything. Frustrating sometimes but so happy at the end
Re: Install Debian on Synology DS413J
March 07, 2023 01:54AM
Hi Bodhi,


I'm having trouble. No more minicom to my synology !

I tried to quit minicom, try to check cables in case it moved, try to unplug/plug usb serial cable, try to reboot nas, reboot my linux that connected to nas...

Nothing work from now. Yesterday i have the same problem but at sometimes i was ablet to have minicom working again.

Edit
Stupid audio cable... a little bit too lazy connection i think. I'm back again, trying the new DTB



Edited 1 time(s). Last edit at 03/07/2023 06:05AM by BillyIT.
Re: Install Debian on Synology DS413J
March 07, 2023 06:12AM
Hi Bodhi,

After my fear to not be able to go to u-boot again, here it is : we have the first disk well detected ! I'll try to boot inside it (normally i make in from the usb key

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:    5457676 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) (gc1
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cf
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology 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-0x000000001]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 18
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rool
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 )
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x4080
[    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 .
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycs
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps evs
[    0.008516][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015790][    T0] Console: colour dummy device 80x30
[    0.020984][    T0] Calibrating delay loop (skipped), value calculated using)
[    0.032196][    T0] pid_max: default: 32768 minimum: 301
[    0.037798][    T0] LSM: Security Framework initializing
[    0.043256][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 byt)
[    0.051277][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 409)
[    0.060822][    T0] CPU: Testing write buffer coherency: ok
[    0.068205][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.075359][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.081445][    T1] rcu: Hierarchical SRCU implementation.
[    0.087955][    T1] devtmpfs: initialized
[    0.099960][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xfffs
[    0.110540][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, li)
[    0.146070][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.153224][    T1] prandom: seed boundary self test passed
[    0.161943][    T1] prandom: 100 self tests passed
[    0.166721][    T1] pinctrl core: initialized pinctrl subsystem
[    0.173896][    T1] NET: Registered protocol family 16
[    0.179635][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocs
[    0.187912][    T1] audit: initializing netlink subsys (disabled)
[    0.195102][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.195428][   T16] audit: type=2000 audit(0.180:1): state=initialized audit1
[    0.210674][    T1] cpuidle: using governor ladder
[    0.215517][    T1] cpuidle: using governor menu
[    0.220554][    T1] Feroceon L2: Enabling L2
[    0.224831][    T1] Feroceon L2: Cache support initialised.
[    0.240487][    T1] No ATAGs?
[    2.568522][    C0] random: fast init done
[    3.893501][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.919785][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.108707][    T1] raid6: int32x8  gen()   150 MB/s
[    4.278549][    T1] raid6: int32x8  xor()    91 MB/s
[    4.448666][    T1] raid6: int32x4  gen()   146 MB/s
[    4.618570][    T1] raid6: int32x4  xor()    95 MB/s
[    4.788608][    T1] raid6: int32x2  gen()   188 MB/s
[    4.958546][    T1] raid6: int32x2  xor()   113 MB/s
[    5.128655][    T1] raid6: int32x1  gen()   131 MB/s
[    5.298530][    T1] raid6: int32x1  xor()    78 MB/s
[    5.303475][    T1] raid6: using algorithm int32x2 gen() 188 MB/s
[    5.309552][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.315096][    T1] raid6: using intx1 recovery algorithm
[    5.320697][    T1] vgaarb: loaded
[    5.324522][    T1] SCSI subsystem initialized
[    5.329377][    T1] usbcore: registered new interface driver usbfs
[    5.335573][    T1] usbcore: registered new interface driver hub
[    5.341628][    T1] usbcore: registered new device driver usb
[    5.347500][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.353154][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodo>
[    5.362965][    T1] PTP clock support registered
[    5.369034][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.459557][    T1] VFS: Disk quotas dquot_6.6.0
[    5.464236][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096)
[    5.495399][    T1] NET: Registered protocol family 2
[    5.509199][    T1] IP idents hash table entries: 8192 (order: 4, 65536 byte)
[    5.529391][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order:)
[    5.538433][    T1] TCP established hash table entries: 4096 (order: 2, 1638)
[    5.559136][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    5.566980][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.589273][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 byte)
[    5.597214][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linea)
[    5.619068][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, )
[    5.626893][    T1] NET: Registered protocol family 1
[    5.649607][    T1] RPC: Registered named UNIX socket transport module.
[    5.656195][    T1] RPC: Registered udp transport module.
[    5.669051][    T1] RPC: Registered tcp transport module.
[    5.674425][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.699055][    T1] PCI: CLS 0 bytes, default 32
[    5.703886][    T1] NetWinder Floating Point Emulator V0.97 (double precisio)
[    5.711362][   T58] Trying to unpack rootfs image as initramfs...
[    7.014757][   T58] Freeing initrd memory: 9448K
[    7.368556][    T1] Initialise system trusted keyrings
[    7.373773][    T1] Key type blacklist registered
[    7.378650][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.385913][    T1] zbud: loaded
[    7.390322][    T1] NFS: Registering the id_resolver key type
[    7.396072][    T1] Key type id_resolver registered
[    7.400992][    T1] Key type id_legacy registered
[    7.405704][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registerin.
[    7.413096][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Re.
[    7.421163][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.428400][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red H.
[    7.436504][    T1] fuse: init (API version 7.34)
[    7.441524][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.448791][    T1] orangefs_init: module version upstream loaded
[    7.454921][    T1] SGI XFS with ACLs, security attributes, realtime, scrub,d
[    7.537976][    T1] xor: measuring software checksum speed
[    7.550189][    T1]    arm4regs        :  1485 MB/sec
[    7.566305][    T1]    8regs           :   890 MB/sec
[    7.578949][    T1]    32regs          :  1296 MB/sec
[    7.584009][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.589941][    T1] async_tx: api initialized (async)
[    7.594974][    T1] Key type asymmetric registered
[    7.599782][    T1] Asymmetric key parser 'x509' registered
[    7.605379][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded)
[    7.613520][    T1] io scheduler bfq registered
[    7.767593][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinr
[    7.777185][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbu:
[    7.787056][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.797138][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.807219][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.817300][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xfffff0
[    7.827899][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xfffff0
[    7.838491][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xfffff0
[    7.849078][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xfffff0
[    7.859978][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge 0
[    7.868211][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.874396][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf10)
[    7.885239][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf10)
[    7.896081][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf10)
[    7.906923][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xeff]
[    7.914474][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.921551][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.928243][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff p]
[    7.935955][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.942669][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff p]
[    7.951765][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.958018][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-g
[    7.966720][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-g
[    7.975577][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    7.982297][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x900fffff 6]
[    7.989772][    T1] pci 0000:01:00.0: reg 0x18: [io  0xf0000000-0xf00000ff]
[    7.996824][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, l)
[    8.012495][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.'
[    8.024817][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.031091][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to1
[    8.040142][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.046307][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to2
[    8.053763][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00]
[    8.061325][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.068349][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe010]
[    8.076254][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe020]
[    8.084161][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00f]
[    8.092157][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.099115][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.104755][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.111702][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00f]
[    8.119177][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.124903][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.132226][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.199885][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor)
[    8.209915][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.269881][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor)
[    8.280171][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.288364][    T1] printk: console [ttyS0] disabled
[    8.293447][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, basA
[    8.303149][    T1] printk: console [ttyS0] enabled
[    8.303149][    T1] printk: console [ttyS0] enabled
[    8.312974][    T1] printk: bootconsole [earlycon0] disabled
[    8.312974][    T1] printk: bootconsole [earlycon0] disabled
[    8.324999][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, basA
[    8.341707][    T1] loop: module loaded
[    8.346060][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI modex
[    8.360268][    T1] scsi host0: sata_mv
[    8.364653][    T1] scsi host1: sata_mv
[    8.368987][    T1] scsi host2: sata_mv
[    8.373370][    T1] scsi host3: sata_mv
[    8.377427][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x7
[    8.385866][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x7
[    8.394280][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x7
[    8.402692][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x7
[    8.412430][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.421313][    T1] scsi host4: sata_mv
[    8.425688][    T1] scsi host5: sata_mv
[    8.429795][    T1] ata5: SATA max UDMA/133 irq 34
[    8.434619][    T1] ata6: SATA max UDMA/133 irq 34
[    8.441052][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.447544][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.453045][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    8.460151][    T1] Creating 6 MTD partitions on "spi0.0":
[    8.465675][    T1] 0x000000000000-0x000000080000 : "RedBoot"
[    8.472753][    T1] 0x000000080000-0x000000280000 : "zImage"
[    8.479643][    T1] 0x000000280000-0x0000003c0000 : "rd.gz"
[    8.486398][    T1] 0x0000003c0000-0x0000003d0000 : "vendor"
[    8.493261][    T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[    8.500847][    T1] 0x0000003f0000-0x000000400000 : "FIS directory"
[    8.508670][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com.
[    8.517278][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <J.
[    8.528554][    T1] libphy: Fixed MDIO Bus: probed
[    8.534634][    T1] libphy: orion_mdio_bus: probed
[    8.539674][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8.
[    8.560928][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver versio4
[    8.570360][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAd
[    8.580051][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drivr
[    8.587338][    T1] ehci-pci: EHCI PCI platform driver
[    8.592606][    T1] ehci-orion: EHCI orion driver
[    8.597493][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.603791][    T1] orion-ehci f1050000.ehci: new USB bus registered, assign1
[    8.612363][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.639054][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.646047][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct3
[    8.655089][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seri1
[    8.663094][    T1] usb usb1: Product: EHCI Host Controller
[    8.668729][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehcid
[    8.676200][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.682228][    T1] hub 1-0:1.0: USB hub found
[    8.686768][    T1] hub 1-0:1.0: 1 port detected
[    8.692144][    T1] usbcore: registered new interface driver usb-storage
[    8.699307][    T1] mousedev: PS/2 mouse device common for all mice
[    8.705883][    T1] i2c /dev entries driver
[    8.711709][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.717953][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.725193][    T1] device-mapper: uevent: version 1.0.3
[    8.730843][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialim
[    8.740104][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.746633][    T1] device-mapper: multipath round-robin: version 1.2.0 loadd
[    8.753960][    T1] device-mapper: multipath queue-length: version 0.2.0 load
[    8.761878][    T1] device-mapper: multipath service-time: version 0.3.0 load
[    8.769271][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.775571][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.782423][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.791117][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.797304][    T1] drop_monitor: Initializing network drop monitor service
[    8.804710][    T1] NET: Registered protocol family 10
[    8.811004][    T1] Segment Routing with IPv6
[    8.815386][    T1] RPL Segment Routing with IPv6
[    8.820256][    T1] NET: Registered protocol family 17
[    8.825617][    T1] Key type dns_resolver registered
[    8.831232][    T1] registered taskstats version 1
[    8.836057][    T1] Loading compiled-in X.509 certificates
[    8.841940][    T1] zswap: loaded using pool lzo/zbud
[    8.847300][    T1] Key type ._fscrypt registered
[    8.852096][    T1] Key type .fscrypt registered
[    8.856736][    T1] Key type fscrypt-provisioning registered
[    8.863981][    T1] Key type big_key registered
[    8.892143][    T1] Key type encrypted registered
[    8.979061][  T117] usb 1-1: new high-speed USB device number 2 using orion-i
[    9.100586][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.180748][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=2
[    9.189700][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, Seria0
[    9.197582][  T117] usb 1-1: Product: USB2.0 Hub
[    9.203047][  T117] hub 1-1:1.0: USB hub found
[    9.207875][  T117] hub 1-1:1.0: 4 ports detected
[    9.440592][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[    9.780555][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[    9.929056][  T117] usb 1-1.2: new high-speed USB device number 3 using orioi
[   10.080246][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduc0
[   10.089384][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, Ser3
[   10.097463][  T117] usb 1-1.2: Product: Ultra
[   10.101856][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.106867][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.113772][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.120834][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   10.127543][  T117] scsi host6: usb-storage 1-1.2:1.0
[   10.140156][    T1] Freeing unused kernel memory: 1024K
[   10.146137][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.152551][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   11.078121][  T160] usbcore: registered new interface driver uas
[   11.210089][  T108] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra          6
[   11.227801][  T103] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.)
[   11.244800][  T103] sd 6:0:0:0: [sda] Write Protect is off
[   11.256299][  T103] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enaA
[   11.303395][  T103]  sda: sda1
[   11.311925][  T103] sd 6:0:0:0: [sda] Attached SCSI removable disk
[   17.429083][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   17.440830][   T94] ata1.00: ATA-8: TOSHIBA DT01ACA100, MS2OA750, max UDMA/13
[   17.448143][   T94] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 3)
[   17.462716][   T94] ata1.00: configured for UDMA/133
[   17.468143][  T117] scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA DT01ACA5
[   17.481261][  T103] sd 0:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1)
[   17.494425][  T103] sd 0:0:0:0: [sdb] 4096-byte physical blocks
[   17.500605][  T103] sd 0:0:0:0: [sdb] Write Protect is off
[   17.506303][  T103] sd 0:0:0:0: [sdb] Write cache: enabled, read cache: enabA
[   17.541627][  T103]  sdb: sdb1 sdb2
[   17.551434][  T103] sd 0:0:0:0: [sdb] Attached SCSI disk
[   21.179177][    C0] random: crng init done
[   21.209494][  T150] reg-fixed-voltage regulators-hdd-30-4:regulator@3: nonex3
[   26.250590][  T150] reg-fixed-voltage regulators-hdd-30-4:regulator@4: nonex4
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sdb1] fsck.ext3 -a -C0 /dev/sdb1
rootfs: clean, 26693/1900544 files, 569850/7591244 blocks
done.
[   41.847608][  T181] EXT4-fs (sdb1): mounting ext3 file system using the ext4m
[   42.206831][  T181] EXT4-fs (sdb1): mounted filesystem with ordered data mod.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   43.459876][    T1] systemd[1]: System time before build time, advancing clo.
[   43.613214][    T1] systemd[1]: Inserted module 'autofs4'
[   43.765963][    T1] systemd[1]: systemd 247.3-7+deb11u1 running in system mo)
[   43.790588][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 11 (bullseye)!

[   43.867603][    T1] systemd[1]: Set hostname to <debian>.
[   45.571735][    T1] systemd[1]: Queued start job for default target Graphica.
[   45.582258][    T1] systemd[1]: system-getty.slice: unit configures an IP fi.
[   45.595493][    T1] systemd[1]: (This warning is only shown for the first un)
[   45.606350][    T1] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[   45.640186][    T1] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[   45.680155][    T1] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   45.719962][    T1] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   45.759708][    T1] systemd[1]: Started Dispatch Password Requests to Consol.
[  OK  ] Started Dispatch Password �ts to Console Directory Watch.
[   45.799603][    T1] systemd[1]: Started Forward Password Requests to Wall Di.
[  OK  ] Started Forward Password R�uests to Wall Directory Watch.
[   45.840249][    T1] systemd[1]: Set up automount Arbitrary Executable File F.
[  OK  ] Set up automount Arbitrary�s File System Automount Point.
[   45.879508][    T1] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[   45.919748][    T1] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[   45.959492][    T1] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   45.990748][    T1] systemd[1]: Listening on RPCbind Server Activation Socke.
[  OK  ] Listening on RPCbind Server Activation Socket.
[   46.029944][    T1] systemd[1]: Listening on fsck to fsckd communication Soc.
[  OK  ] Listening on fsck to fsckd communication Socket.
[   46.069637][    T1] systemd[1]: Listening on initctl Compatibility Named Pip.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   46.110342][    T1] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   46.150007][    T1] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   46.190135][    T1] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   46.230195][    T1] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   46.269918][    T1] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   46.310090][    T1] systemd[1]: Condition check resulted in Huge Pages File .
[   46.322694][    T1] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   46.362420][    T1] systemd[1]: Mounting NFSD configuration filesystem...
         Mounting NFSD configuration filesystem...
[   46.412481][    T1] systemd[1]: Mounting RPC Pipe File System...
         Mounting RPC Pipe File System...
[   46.432853][    T1] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   46.482872][    T1] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[   46.529540][    T1] systemd[1]: Condition check resulted in Kernel Module su.
[   46.544743][    T1] systemd[1]: Starting Create list of static device nodes .
         Starting Create list of st�odes for the current kernel...
[   46.593295][    T1] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   46.643387][    T1] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[   46.693295][    T1] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   46.767016][    T1] systemd[1]: Condition check resulted in Set Up Additiona.
[   46.777272][    T1] systemd[1]: Condition check resulted in File System Chec.
[   46.791393][    T1] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   46.850193][    T1] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   46.880214][    T1] systemd[1]: Starting Remount Root and Kernel File System.
         Starting Remount Root and Kernel File Systems...
[   46.923014][    T1] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   47.037872][    T1] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   47.110275][    T1] systemd[1]: Mounted NFSD configuration filesystem.
[  OK  ] Mounted NFSD configuration filesystem.
[   47.140232][    T1] systemd[1]: Mounted RPC Pipe File System.
[  OK  ] Mounted RPC Pipe File System.
[   47.180074][    T1] systemd[1]: Mounted Kernel Debug File System.
[  OK     47.186626][  T222] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-r.
0m] Mounted Kernel Debug File System.
[   47.210020][    T1] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[   47.259605][    T1] systemd[1]: Finished Create list of static device nodes .
[  OK  ] Finished Create list of st� nodes for the current kernel.
[   47.291280][    T1] systemd[1]: modprobe@configfs.service: Succeeded.
[   47.319406][    T1] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   47.361366][    T1] systemd[1]: modprobe@drm.service: Succeeded.
[   47.379244][    T1] systemd[1]: Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module drm.
[   47.421093][    T1] systemd[1]: modprobe@fuse.service: Succeeded.
[   47.439298][    T1] systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuse.
[   47.480079][    T1] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Activating swap /swapfile1...
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting pNFS block layout mapping daemon...
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[   48.249567][  T218] systemd-journald[218]: Received client request to flush .
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Started pNFS block layout mapping daemon.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Load/Save Random Seed.
[   48.864862][  T218] systemd-journald[218]: File /var/log/journal/c4334d5b2fb.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[   49.339143][  T224] Adding 524284k swap on /swapfile1.  Priority:-2 extents:S
[  OK  ] Activated swap /swapfile1.
[  OK  ] Reached target Swap.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting Rule-based Manage�for Device Events and Files...
[  OK  ] Mounted /tmp.
[  OK  ] Reached target Local File Systems.
         Starting Preprocess NFS configuration...
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Preprocess NFS configuration.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Reached target NFS client services.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting RPC bind portmap service...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli�ata Check for All Filesystems.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on[   50.802826][  T245] gpio-fan gpio-fan-100-15-35-1: GPIOd
 Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started D-Bus System Message Bus.
         Starting Remove Stale Onli�t4 Metadata Check Snapshots...
         Starting User Login Management...
[  OK  ] Started RPC bind portmap service.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[   51.546172][  T252] sd 6:0:0:0: Attached scsi generic sg0 type 0
[  OK  ] Finished Remove Stale Onli�ext4 Metadata Check Sn[   51.649758][  T2c
apshots.
[   51.669604][  T252] sd 0:0:0:0: Attached scsi generic sg1 type 0
[  OK  ] Started User Login Management.
[   52.277730][  T247] marvell-cesa f1030000.crypto: CESA device successfully rd
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Started ifup for eth0.
         Starting Raise network interfaces...
[***   ] A start job is running for Raise network interfaces (11s / 5min 7s)
[   56.874227][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 d
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
         Starting NFS Mount Daemon...
         Starting Network Time Service...
         Starting /etc/rc.local Compatibility...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started NFS Mount Daemon.
         Starting NFS server and services...
[  OK  ] Started Network Time Service.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started OpenBSD Secure Shell server.
[   59.633182][  T396] NFSD: Using UMH upcall client tracking operations.
[   59.639986][  T396] NFSD: starting 90-second grace period (net f000001c)
[  OK  ] Finished NFS server and services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Starts syslogd...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Starts syslogd.
         Starting LSB: Starts klogd...
[  OK  ] Started LSB: Starts klogd.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.

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 arl

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: Sun Aug  7 15:26:00 CEST 2022 on ttyS0
debian
192.168.10.20
Synology DS413j
Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.1
Debian 11.6
Sun Aug 7 15:25:51 CEST 2022 up 1 minute
root@debian:~# fdisk -l
Disk /dev/mtdblock0: 512 KiB, 524288 bytes, 1024 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock1: 2 MiB, 2097152 bytes, 4096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock2: 1.25 MiB, 1310720 bytes, 2560 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock3: 64 KiB, 65536 bytes, 128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock4: 128 KiB, 131072 bytes, 256 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock5: 64 KiB, 65536 bytes, 128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 28.97 GiB, 31104958464 bytes, 60751872 sectors
Disk model: Ultra
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start      End  Sectors Size Id Type
/dev/sda1       21920 60751871 60729952  29G  7 HPFS/NTFS/exFAT


Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA DT01ACA1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x97edd547

Device     Boot     Start        End    Sectors   Size Id Type
/dev/sdb1            2048  209717247  209715200   100G 83 Linux
/dev/sdb2       209717248 1953525167 1743807920 831.5G 83 Linux
root@debian:~#
Re: Install Debian on Synology DS413J
March 07, 2023 06:27AM
Oh you are a GOD !!! Thanks for this step Bodhi ! We are close to finish to install debian on it !

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:    5457676 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) (gc1
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cf
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology 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-0x000000001]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 18
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rool
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 )
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x4080
[    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 .
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycs
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps evs
[    0.008516][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015791][    T0] Console: colour dummy device 80x30
[    0.020984][    T0] Calibrating delay loop (skipped), value calculated using)
[    0.032196][    T0] pid_max: default: 32768 minimum: 301
[    0.037801][    T0] LSM: Security Framework initializing
[    0.043255][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 byt)
[    0.051278][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 409)
[    0.060827][    T0] CPU: Testing write buffer coherency: ok
[    0.068211][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.075359][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.081445][    T1] rcu: Hierarchical SRCU implementation.
[    0.087955][    T1] devtmpfs: initialized
[    0.099964][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xfffs
[    0.110541][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, li)
[    0.146070][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.153222][    T1] prandom: seed boundary self test passed
[    0.161944][    T1] prandom: 100 self tests passed
[    0.166720][    T1] pinctrl core: initialized pinctrl subsystem
[    0.173895][    T1] NET: Registered protocol family 16
[    0.179635][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocs
[    0.187920][    T1] audit: initializing netlink subsys (disabled)
[    0.195112][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.195433][   T16] audit: type=2000 audit(0.180:1): state=initialized audit1
[    0.210673][    T1] cpuidle: using governor ladder
[    0.215516][    T1] cpuidle: using governor menu
[    0.220556][    T1] Feroceon L2: Enabling L2
[    0.224831][    T1] Feroceon L2: Cache support initialised.
[    0.240484][    T1] No ATAGs?
[    2.568522][    C0] random: fast init done
[    3.893491][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.919799][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.108677][    T1] raid6: int32x8  gen()   150 MB/s
[    4.278586][    T1] raid6: int32x8  xor()    91 MB/s
[    4.448685][    T1] raid6: int32x4  gen()   146 MB/s
[    4.618629][    T1] raid6: int32x4  xor()    95 MB/s
[    4.788581][    T1] raid6: int32x2  gen()   184 MB/s
[    4.958643][    T1] raid6: int32x2  xor()   113 MB/s
[    5.128624][    T1] raid6: int32x1  gen()   130 MB/s
[    5.298612][    T1] raid6: int32x1  xor()    77 MB/s
[    5.303553][    T1] raid6: using algorithm int32x2 gen() 184 MB/s
[    5.309631][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.315173][    T1] raid6: using intx1 recovery algorithm
[    5.320774][    T1] vgaarb: loaded
[    5.324596][    T1] SCSI subsystem initialized
[    5.329457][    T1] usbcore: registered new interface driver usbfs
[    5.335659][    T1] usbcore: registered new interface driver hub
[    5.341714][    T1] usbcore: registered new device driver usb
[    5.347587][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.353240][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodo>
[    5.363052][    T1] PTP clock support registered
[    5.369122][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.459645][    T1] VFS: Disk quotas dquot_6.6.0
[    5.464323][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096)
[    5.495571][    T1] NET: Registered protocol family 2
[    5.509287][    T1] IP idents hash table entries: 8192 (order: 4, 65536 byte)
[    5.529473][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order:)
[    5.538511][    T1] TCP established hash table entries: 4096 (order: 2, 1638)
[    5.559222][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    5.567066][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.589364][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 byte)
[    5.597299][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linea)
[    5.619154][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, )
[    5.626979][    T1] NET: Registered protocol family 1
[    5.649688][    T1] RPC: Registered named UNIX socket transport module.
[    5.656281][    T1] RPC: Registered udp transport module.
[    5.669140][    T1] RPC: Registered tcp transport module.
[    5.674520][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.699143][    T1] PCI: CLS 0 bytes, default 32
[    5.703973][    T1] NetWinder Floating Point Emulator V0.97 (double precisio)
[    5.711446][   T58] Trying to unpack rootfs image as initramfs...
[    7.014688][   T58] Freeing initrd memory: 9448K
[    7.368683][    T1] Initialise system trusted keyrings
[    7.373894][    T1] Key type blacklist registered
[    7.378770][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.386037][    T1] zbud: loaded
[    7.390445][    T1] NFS: Registering the id_resolver key type
[    7.396186][    T1] Key type id_resolver registered
[    7.401104][    T1] Key type id_legacy registered
[    7.405815][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registerin.
[    7.413208][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Re.
[    7.421276][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.428517][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red H.
[    7.436613][    T1] fuse: init (API version 7.34)
[    7.441632][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.448891][    T1] orangefs_init: module version upstream loaded
[    7.455016][    T1] SGI XFS with ACLs, security attributes, realtime, scrub,d
[    7.541043][    T1] xor: measuring software checksum speed
[    7.553207][    T1]    arm4regs        :  1485 MB/sec
[    7.569345][    T1]    8regs           :   890 MB/sec
[    7.582009][    T1]    32regs          :  1296 MB/sec
[    7.587044][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.592980][    T1] async_tx: api initialized (async)
[    7.598015][    T1] Key type asymmetric registered
[    7.602820][    T1] Asymmetric key parser 'x509' registered
[    7.608418][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded)
[    7.616564][    T1] io scheduler bfq registered
[    7.770599][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinr
[    7.780200][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbu:
[    7.790068][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.800152][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.810233][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f100
[    7.820315][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xfffff0
[    7.830914][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xfffff0
[    7.841506][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xfffff0
[    7.852092][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xfffff0
[    7.862995][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge 0
[    7.871250][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.877413][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf10)
[    7.888255][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf10)
[    7.899096][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf10)
[    7.909938][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xeff]
[    7.917474][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.924546][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.931256][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff p]
[    7.938949][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.945668][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff p]
[    7.954766][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.961040][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-g
[    7.969738][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-g
[    7.978575][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    7.985295][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x900fffff 6]
[    7.992769][    T1] pci 0000:01:00.0: reg 0x18: [io  0xf0000000-0xf00000ff]
[    7.999836][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, l)
[    8.015509][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.'
[    8.027830][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.034106][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to1
[    8.043149][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.049337][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to2
[    8.056776][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00]
[    8.064341][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.071380][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe010]
[    8.079286][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe020]
[    8.087179][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00f]
[    8.095172][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.102131][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.107771][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.114717][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00f]
[    8.122192][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.127919][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.135248][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.199972][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor)
[    8.210006][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.269953][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor)
[    8.280233][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.288421][    T1] printk: console [ttyS0] disabled
[    8.293507][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, basA
[    8.303209][    T1] printk: console [ttyS0] enabled
[    8.303209][    T1] printk: console [ttyS0] enabled
[    8.313035][    T1] printk: bootconsole [earlycon0] disabled
[    8.313035][    T1] printk: bootconsole [earlycon0] disabled
[    8.325067][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, basA
[    8.341773][    T1] loop: module loaded
[    8.346130][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI modex
[    8.360322][    T1] scsi host0: sata_mv
[    8.364723][    T1] scsi host1: sata_mv
[    8.369055][    T1] scsi host2: sata_mv
[    8.373432][    T1] scsi host3: sata_mv
[    8.377489][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x7
[    8.385933][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x7
[    8.394348][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x7
[    8.402762][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0x7
[    8.412497][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.421373][    T1] scsi host4: sata_mv
[    8.425765][    T1] scsi host5: sata_mv
[    8.429870][    T1] ata5: SATA max UDMA/133 irq 34
[    8.434688][    T1] ata6: SATA max UDMA/133 irq 34
[    8.441115][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.447606][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.453105][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    8.460210][    T1] Creating 6 MTD partitions on "spi0.0":
[    8.465733][    T1] 0x000000000000-0x000000080000 : "RedBoot"
[    8.472800][    T1] 0x000000080000-0x000000280000 : "zImage"
[    8.479676][    T1] 0x000000280000-0x0000003c0000 : "rd.gz"
[    8.486453][    T1] 0x0000003c0000-0x0000003d0000 : "vendor"
[    8.493323][    T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[    8.500904][    T1] 0x0000003f0000-0x000000400000 : "FIS directory"
[    8.508723][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com.
[    8.517329][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <J.
[    8.528605][    T1] libphy: Fixed MDIO Bus: probed
[    8.534696][    T1] libphy: orion_mdio_bus: probed
[    8.539739][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8.
[    8.560995][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver versio4
[    8.570466][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAd
[    8.580161][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drivr
[    8.587441][    T1] ehci-pci: EHCI PCI platform driver
[    8.592710][    T1] ehci-orion: EHCI orion driver
[    8.597596][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.603899][    T1] orion-ehci f1050000.ehci: new USB bus registered, assign1
[    8.612476][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.649141][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.656139][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct3
[    8.665202][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seri1
[    8.673204][    T1] usb usb1: Product: EHCI Host Controller
[    8.678834][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehcid
[    8.686308][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.692356][    T1] hub 1-0:1.0: USB hub found
[    8.696896][    T1] hub 1-0:1.0: 1 port detected
[    8.702243][    T1] usbcore: registered new interface driver usb-storage
[    8.709398][    T1] mousedev: PS/2 mouse device common for all mice
[    8.715967][    T1] i2c /dev entries driver
[    8.721807][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.728045][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.735300][    T1] device-mapper: uevent: version 1.0.3
[    8.740730][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.747157][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialim
[    8.756738][    T1] device-mapper: multipath round-robin: version 1.2.0 loadd
[    8.764602][    T1] device-mapper: multipath queue-length: version 0.2.0 load
[    8.772009][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.778257][    T1] device-mapper: multipath service-time: version 0.3.0 load
[    8.785681][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.792541][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.801223][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.807410][    T1] drop_monitor: Initializing network drop monitor service
[    8.814811][    T1] NET: Registered protocol family 10
[    8.821092][    T1] Segment Routing with IPv6
[    8.825474][    T1] RPL Segment Routing with IPv6
[    8.830341][    T1] NET: Registered protocol family 17
[    8.835701][    T1] Key type dns_resolver registered
[    8.841297][    T1] registered taskstats version 1
[    8.846120][    T1] Loading compiled-in X.509 certificates
[    8.852007][    T1] zswap: loaded using pool lzo/zbud
[    8.857364][    T1] Key type ._fscrypt registered
[    8.862165][    T1] Key type .fscrypt registered
[    8.866807][    T1] Key type fscrypt-provisioning registered
[    8.874050][    T1] Key type big_key registered
[    8.902130][    T1] Key type encrypted registered
[    8.989164][  T117] usb 1-1: new high-speed USB device number 2 using orion-i
[    9.103073][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.190736][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=2
[    9.199682][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, Seria0
[    9.207568][  T117] usb 1-1: Product: USB2.0 Hub
[    9.213032][  T117] hub 1-1:1.0: USB hub found
[    9.217862][  T117] hub 1-1:1.0: 4 ports detected
[    9.450679][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[    9.790698][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   10.130633][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   10.149953][    T1] Freeing unused kernel memory: 1024K
[   10.155912][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.162328][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   17.419171][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   17.430911][   T94] ata1.00: ATA-8: TOSHIBA DT01ACA100, MS2OA750, max UDMA/13
[   17.438228][   T94] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 3)
[   17.452793][   T94] ata1.00: configured for UDMA/133
[   17.458212][  T117] scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA DT01ACA5
[   17.471194][  T108] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1)
[   17.484248][  T108] sd 0:0:0:0: [sda] 4096-byte physical blocks
[   17.490423][  T108] sd 0:0:0:0: [sda] Write Protect is off
[   17.496121][  T108] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabA
[   17.528212][  T108]  sda: sda1 sda2
[   17.538225][  T108] sd 0:0:0:0: [sda] Attached SCSI disk
[   21.209572][  T151] reg-fixed-voltage regulators-hdd-30-4:regulator@3: nonex3
[   22.814662][    C0] random: crng init done
[   26.250667][  T151] reg-fixed-voltage regulators-hdd-30-4:regulator@4: nonex4
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: clean, 26689/1900544 files, 573950/7591244 blocks
done.
[   41.832014][  T177] EXT4-fs (sda1): mounting ext3 file system using the ext4m
[   42.193455][  T177] EXT4-fs (sda1): mounted filesystem with ordered data mod.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   43.438136][    T1] systemd[1]: System time before build time, advancing clo.
[   43.591593][    T1] systemd[1]: Inserted module 'autofs4'
[   43.744253][    T1] systemd[1]: systemd 247.3-7+deb11u1 running in system mo)
[   43.768864][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 11 (bullseye)!

[   43.845892][    T1] systemd[1]: Set hostname to <debian>.
[   45.520386][    T1] systemd[1]: Queued start job for default target Graphica.
[   45.530873][    T1] systemd[1]: system-getty.slice: unit configures an IP fi.
[   45.544100][    T1] systemd[1]: (This warning is only shown for the first un)
[   45.554960][    T1] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[   45.590298][    T1] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[   45.630251][    T1] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   45.670013][    T1] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   45.709755][    T1] systemd[1]: Started Dispatch Password Requests to Consol.
[  OK  ] Started Dispatch Password �ts to Console Directory Watch.
[   45.749688][    T1] systemd[1]: Started Forward Password Requests to Wall Di.
[  OK  ] Started Forward Password R�uests to Wall Directory Watch.
[   45.790399][    T1] systemd[1]: Set up automount Arbitrary Executable File F.
[  OK  ] Set up automount Arbitrary�s File System Automount Point.
[   45.829637][    T1] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[   45.869783][    T1] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[   45.909635][    T1] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   45.940916][    T1] systemd[1]: Listening on RPCbind Server Activation Socke.
[  OK  ] Listening on RPCbind Server Activation Socket.
[   45.979997][    T1] systemd[1]: Listening on fsck to fsckd communication Soc.
[  OK  ] Listening on fsck to fsckd communication Socket.
[   46.019734][    T1] systemd[1]: Listening on initctl Compatibility Named Pip.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   46.060423][    T1] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   46.100074][    T1] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   46.140197][    T1] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   46.180220][    T1] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   46.219978][    T1] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   46.260162][    T1] systemd[1]: Condition check resulted in Huge Pages File .
[   46.272806][    T1] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   46.312415][    T1] systemd[1]: Mounting NFSD configuration filesystem...
         Mounting NFSD configuration filesystem...
[   46.362527][    T1] systemd[1]: Mounting RPC Pipe File System...
         Mounting RPC Pipe File System...
[   46.382607][    T1] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   46.433076][    T1] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[   46.479684][    T1] systemd[1]: Condition check resulted in Kernel Module su.
[   46.494912][    T1] systemd[1]: Starting Create list of static device nodes .
         Starting Create list of st�odes for the current kernel...
[   46.543339][    T1] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   46.593471][    T1] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[   46.643282][    T1] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   46.845375][    T1] systemd[1]: Condition check resulted in Set Up Additiona.
[   46.855818][    T1] systemd[1]: Condition check resulted in File System Chec.
[   46.870007][    T1] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   47.105198][    T1] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   47.143410][    T1] systemd[1]: Starting Remount Root and Kernel File System.
         Starting Remount Root and Kernel File Systems...
[   47.203695][    T1] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   47.253588][    T1] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   47.290018][    T1] systemd[1]: Mounted NFSD configuration filesystem.
[  OK  ] Mounted NFSD configuration filesystem.
[   47.350102][    T1] systemd[1]: Mounted RPC Pipe File System.
[  OK  ] Mounted RPC Pipe File System.
[   47.380133][    T1] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   47.420117][    T1] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[   47.445923][    T1] systemd[1]: Finished Create list of static device nodes .
[  OK  ] Finished Create list of st� nodes for the current kernel.
[   47.491252][    T1] systemd[1]: modprobe@configfs.service: Succeeded.
[   47.498824][    T1] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   47.541157][    T1] systemd[1]: modprobe@drm.service: Succeeded.
[   47.548283][    T1] systemd[1]: Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module drm.
[   47.591265][    T1] systemd[1]: modprobe@fuse.service: Succeeded.
[   47.615362][    T1] systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuse.
[   47.649432][  T218] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro. Quo.
[   47.679758][    T1] systemd[1]: Finished Load Kernel Modules.
[  OK  ] Finished Load Kernel Modules.
[   47.731407][    T1] systemd[1]: Finished Remount Root and Kernel File System.
[  OK  ] Finished Remount Root and Kernel File Systems.
[   47.769964][    T1] systemd[1]: Activating swap /swapfile1...
         Activating swap /swapfile1...
[   47.804505][    T1] systemd[1]: Mounting FUSE Control File System...
         Mounting FUSE Control File System...
[   47.893003][    T1] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[   47.982591][    T1] systemd[1]: Starting pNFS block layout mapping daemon...
         Starting pNFS block layout mapping daemon...
[   48.055736][    T1] systemd[1]: Condition check resulted in Rebuild Hardware.
[   48.067056][    T1] systemd[1]: Condition check resulted in Platform Persist.
[   48.086841][    T1] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[   48.143134][    T1] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   48.169661][  T219] Adding 524284k swap on /swapfile1.  Priority:-2 extents:S
[   48.193292][    T1] systemd[1]: Starting Create System Users...
         Starting Create System Users...
[   48.255000][    T1] systemd[1]: Activated swap /swapfile1.
[  OK  ] Activated swap /swapfile1.
[   48.321473][    T1] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started pNFS block layout mapping daemon.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
[  OK  ] Reached target Swap.
         Starting Flush Journal to Persistent Storage...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Coldplug All udev Devices.
[   48.777732][  T214] systemd-journald[214]: Received client request to flush .
         Starting Helper to synchronize boot up for ifupdown...
[   48.870449][  T214] systemd-journald[214]: File /var/log/journal/c4334d5b2fb.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting Rule-based Manage�for Device Events and Files...
[  OK  ] Mounted /tmp.
[  OK  ] Reached target Local File Systems.
         Starting Preprocess NFS configuration...
[  OK  ] Finished Preprocess NFS configuration.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Reached target NFS client services.
[  OK  ] Finished Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting RPC bind portmap service...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli�ata Check for All Filesystems.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[   50.728744][  T242] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started D-Bus System Message Bus.
         Starting Remove Stale Onli�t4 Metadata Check Snapshots...
         Starting User Login Management...
[  OK  ] Started RPC bind portmap service.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[   51.375161][  T242] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  OK  ] Finished Remove Stale Onli�ext4 Metadata Check Snapshots.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started User Login Management.
[   51.960532][  T244] orion_wdt: Initial timeout 21 sec
[   52.462891][  T250] marvell-cesa f1030000.crypto: CESA device successfully rd
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Started ifup for eth0.
         Starting Raise network interfaces...
[**    ] A start job is running for Raise network interfaces (10s / 5min 7s)
[   56.571087][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 d
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
         Starting NFS Mount Daemon...
         Starting Network Time Service...
         Starting /etc/rc.local Compatibility...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started NFS Mount Daemon.
         Starting NFS server and services...
[  OK  ] Started Network Time Service.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started OpenBSD Secure Shell server.
[   61.211362][  T391] NFSD: Using UMH upcall client tracking operations.
[   61.218002][  T391] NFSD: starting 90-second grace period (net f000001c)
[  OK  ] Finished NFS server and services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Starts syslogd...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Starts syslogd.
         Starting LSB: Starts klogd...
[  OK  ] Started LSB: Starts klogd.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.

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 arl

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: Sun Aug  7 15:25:49 CEST 2022 on ttyS0
debian
192.168.10.20
Synology DS413j
Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.1
Debian 11.6
Sun Aug 7 15:25:36 CEST 2022 up 1 minute
Re: Install Debian on Synology DS413J
March 07, 2023 06:58AM
Hi Bodhi,

i found a "bug" on the motd when i'm connecting as root, i have the motd that displayed my ip but the ip wasn't accurate

root@debian:~# ifconfig  | grep "inet "| grep -v '127.0.0.1' | cut -c14-26
192.168.10.20
root@debian:~# ifconfig  | grep "inet "| grep -v '127.0.0.1' | cut -c14-27
192.168.10.200
root@debian:~#

/root/.profile
alias myip='ifconfig  | grep "inet "| grep -v '127.0.0.1' | cut -c14-26'

Can i suggest you this code :

ifconfig  | grep "inet "| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print \$2}'
192.168.10.200



Edited 1 time(s). Last edit at 03/07/2023 07:06AM by BillyIT.
Re: Install Debian on Synology DS413J
March 07, 2023 02:25PM
Quote

/dev/sdb1 2048 209717247 209715200 100G 83 Linux
/dev/sdb2 209717248 1953525167 1743807920 831.5G 83 Linux

Cool!

Now you can try adding 3.5" HDD to other 3 slots (one at the time) to see if the ports are online. If they are not, then move this 1TB Toshiba to 2nd, 3rd, 4th to see the 2.5" disk work with those slots.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on Synology DS413J
March 07, 2023 02:39PM
Billy,

> root@debian:~# ifconfig | grep "inet "|
> grep -v '127.0.0.1' | cut -c14-26
> 192.168.10.20

Thanks! That was in previous buster (10) rootfs. I corrected it in my boxes but forgot to update it in the bullseye rootfs.

root@tldDebian:~# alias myip
alias myip='ifconfig  | grep "inet "| grep -v 127.0.0.1 | cut -c14-28'

root@tldDebian:~# myip
192.168.0.224

But this is better!

> ifconfig  | grep "inet "| grep -v '127.0.0.1' |
> cut -d: -f2 | awk '{ print \$2}'
> 192.168.10.200
>

It should be (no backslash before $2):
root@tldDebian:~# ifconfig  | grep "inet "| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $2}'
192.168.0.224

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on Synology DS413J
March 07, 2023 02:59PM
Billy,

Your log got cut off on the right side, so I can't see clearly what's going on. Please do

cat /proc/mtd
cat /proc/cmdline

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
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: