Welcome! Log In Create A New Profile

Advanced

Debian on Synology DS112

Posted by BayPanard 
Debian on Synology DS112
February 08, 2025 09:35AM
Hello,

I have an old Synology DS112 that I want to run with Debian.

I started by testing debian with stock u-boot :
I followed Ivanj's topic for DS211 and successfully booted using tftpboot with kirkwood-ds112.dtb uImage/uInitrd and and usb rootfs.

Only issue I came to so far is that I don't have network connectivity, and some strange message I did not totally understood (added at bottom of boot log).

Can someone guide me to troubleshoot this issue?

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

U-Boot 1.1.4 (Aug  1 2011 - 17:06:51) Marvell version: 3.5.9

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

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

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

[4096kB@f8000000] Flash:  4 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


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

Synology Model: DS112
Fan Status: Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
Marvell>> setenv ipaddr 192.168.1.128
Marvell>> setenv serverip 2.168.1.180
Marvell>> setenv bootargs 00 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
Marvell>> mw 0x800000 0 1
Marvell>> setenv ipaddr 192.168.1.128
Marvell>> setenv serverip 192.168.1.180
Marvell>> setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
Marvell>> mw 0x800000 0 1
Marvell>> setenv ethact egiga0
Marvell>> tftpboot 0x800000 uImage
Using egiga0 device
TFTP from server 192.168.1.180; our IP address is 192.168.1.128
Filename 'uImage'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################################################
done
Bytes transferred = 6246304 (5f4fa0 hex)
Marvell>> tftpboot 0x2100000 uInitrd
Using egiga0 device
TFTP from server 192.168.1.180; our IP address is 192.168.1.128
Filename 'uInitrd'.
Load address: 0x2100000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###########################
done
Bytes transferred = 5791271 (585e27 hex)
Marvell>> printenv
bootcmd=bootm F8080000 F8280000
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
run_diag=yes
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x300000@0x100000(root)
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
MALLOC_len=1
ethprime=egiga0
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
bootdelay=3
disaMvPnp=no
ethaddr=00:50:43:3c:3b:5d
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
pcieTune=no
pcieTune1=no
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
ethact=egiga0
filesize=585e27
fileaddr=2100000
netmask=255.255.254.0
ipaddr=192.168.1.128
serverip=192.168.1.180

Environment size: 1151/4092 bytes
Marvell>> bootm 0x800000 0x2100000
## Booting image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6246240 Bytes =  6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes =  5.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS112
[    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-0x000000000fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 232300K/262144K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 29844K reserved, 0K cma-reserved)
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008519][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015589][    T0] Console: colour dummy device 80x30
[    0.020794][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032012][    T0] CPU: Testing write buffer coherency: ok
[    0.037665][    T0] pid_max: default: 32768 minimum: 301
[    0.049589][    T0] LSM: initializing lsm=capability,integrity
[    0.057201][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.065227][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.083086][    T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.091133][    T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.099775][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.106898][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x0
[    0.113086][    T1] rcu: Hierarchical SRCU implementation.
[    0.118625][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.126704][    T1] devtmpfs: initialized
[    0.143875][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.154449][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.164128][    T1] prandom: seed boundary self test passed
[    0.172918][    T1] prandom: 100 self tests passed
[    0.177704][    T1] pinctrl core: initialized pinctrl subsystem
[    0.186474][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.194295][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.206024][    T1] audit: initializing netlink subsys (disabled)
[    0.213748][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.213873][    T1] cpuidle: using governor ladder
[    0.225377][   T19] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=0 res=1
[    0.233902][    T1] cpuidle: using governor menu
[    0.239027][    T1] Feroceon L2: Enabling L2
[    0.243313][    T1] Feroceon L2: Cache support initialised.
[    0.257358][    T1] No ATAGs?
[    0.618533][    T1] raid6: int32x8  gen()   152 MB/s
[    0.958531][    T1] raid6: int32x4  gen()   140 MB/s
[    1.298556][    T1] raid6: int32x2  gen()   180 MB/s
[    1.638531][    T1] raid6: int32x1  gen()   132 MB/s
[    1.643485][    T1] raid6: using algorithm int32x2 gen() 180 MB/s
[    1.998532][    T1] raid6: .... xor() 115 MB/s, rmw enabled
[    2.004085][    T1] raid6: using intx1 recovery algorithm
[    2.019822][    T1] SCSI subsystem initialized
[    2.029016][    T1] usbcore: registered new interface driver usbfs
[    2.035220][    T1] usbcore: registered new interface driver hub
[    2.058584][    T1] usbcore: registered new device driver usb
[    2.064630][    T1] pps_core: LinuxPPS API ver. 1 registered
[    2.078532][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.088340][    T1] PTP clock support registered
[    2.120350][    T1] vgaarb: loaded
[    2.124383][    T1] clocksource: Switched to clocksource orion_clocksource
[    2.141340][    T1] VFS: Disk quotas dquot_6.6.0
[    2.164721][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.195602][    T1] NET: Registered PF_INET protocol family
[    2.214477][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    2.234530][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    2.243777][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    2.264420][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    2.272769][    T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    2.294442][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    2.302002][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    2.324580][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.331793][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.355105][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.375043][    T1] RPC: Registered named UNIX socket transport module.
[    2.381636][    T1] RPC: Registered udp transport module.
[    2.394403][    T1] RPC: Registered tcp transport module.
[    2.399779][    T1] RPC: Registered tcp-with-tls transport module.
[    2.424398][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.431518][    T1] PCI: CLS 0 bytes, default 32
[    2.446606][   T10] Trying to unpack rootfs image as initramfs...
[    3.189700][   T10] Freeing initrd memory: 5656K
[    3.411991][    T1] Initialise system trusted keyrings
[    3.418101][    T1] Key type blacklist registered
[    3.423083][    T1] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    3.430408][    T1] zbud: loaded
[    3.448096][    T1] NFS: Registering the id_resolver key type
[    3.453865][    T1] Key type id_resolver registered
[    3.458770][    T1] Key type id_legacy registered
[    3.463606][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.471003][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.480342][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    3.488747][    T1] fuse: init (API version 7.38)
[    3.494567][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    3.501958][    T1] orangefs_init: module version upstream loaded
[    3.508339][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    3.676348][    T1] xor: measuring software checksum speed
[    3.688478][    T1]    arm4regs        :  1484 MB/sec
[    3.704572][    T1]    8regs           :   890 MB/sec
[    3.717399][    T1]    32regs          :  1263 MB/sec
[    3.722424][    T1] xor: using function: arm4regs (1484 MB/sec)
[    3.728338][    T1] async_tx: api initialized (async)
[    3.733371][    T1] Key type asymmetric registered
[    3.738158][    T1] Asymmetric key parser 'x509' registered
[    3.783194][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    3.791721][    T1] io scheduler bfq registered
[    3.938428][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    3.948042][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.958652][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.969119][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    3.979047][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    3.989162][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    3.999258][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    4.009347][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.019946][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.030544][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    4.041138][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    4.052578][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    4.060905][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.067115][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    4.077973][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    4.088816][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    4.099656][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    4.107219][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    4.114270][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    4.121499][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    4.130261][    T1] PCI: bus0: Fast back to back transfers disabled
[    4.136542][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.145236][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.154191][    T1] PCI: bus1: Fast back to back transfers enabled
[    4.160382][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.167899][    T1] pci 0000:02:00.0: [1033:0194] type 00 class 0x0c0330
[    4.174665][    T1] pci 0000:02:00.0: reg 0x10: [mem 0x98000000-0x98001fff 64bit]
[    4.182280][    T1] pci 0000:02:00.0: PME# supported from D0 D3hot
[    4.188561][    T1] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    4.234478][    T1] PCI: bus2: Fast back to back transfers disabled
[    4.240735][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    4.248070][    T1] pci 0000:00:02.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    4.255630][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    4.261282][    T1] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    4.269280][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    4.274939][    T1] pci 0000:00:02.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    4.282653][    T1] pcieport 0000:00:02.0: enabling device (0140 -> 0142)
[    4.290239][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    4.356352][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.368004][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    4.436352][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.448340][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.457479][    T1] printk: console [ttyS0] disabled
[    4.462940][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 29, base_baud = 12500000) is a 16550A
[    4.472674][    T1] printk: console [ttyS0] enabled
[    4.472674][    T1] printk: console [ttyS0] enabled
[    4.482522][    T1] printk: bootconsole [earlycon0] disabled
[    4.482522][    T1] printk: bootconsole [earlycon0] disabled
[    4.515893][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 30, base_baud = 12500000) is a 16550A
[    4.536083][    T1] loop: module loaded
[    4.540897][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    4.550425][    T1] scsi host0: sata_mv
[    4.555625][    T1] scsi host1: sata_mv
[    4.559837][    T1] ata1: SATA max UDMA/133 irq 31
[    4.564715][    T1] ata2: SATA max UDMA/133 irq 31
[    4.571610][    T1] spi-nor spi0.0: found m25p32, expected m25p80
[    4.577845][    T1] spi-nor spi0.0: m25p32 (4096 Kbytes)
[    4.583343][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    4.590451][    T1] Creating 6 MTD partitions on "spi0.0":
[    4.596013][    T1] 0x000000000000-0x000000080000 : "RedBoot"
[    4.602443][    T1] 0x000000080000-0x000000280000 : "zImage"
[    4.608720][    T1] 0x000000280000-0x0000003c0000 : "rd.gz"
[    4.614931][    T1] 0x0000003c0000-0x0000003d0000 : "vendor"
[    4.621216][    T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[    4.628182][    T1] 0x0000003f0000-0x000000400000 : "FIS directory"
[    4.635601][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    4.644178][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    4.658175][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    4.666571][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 9 is missing.
[    4.674963][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    4.683710][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    4.690030][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.698636][    T1] orion-ehci f1050000.ehci: irq 34, io mem 0xf1050000
[    4.734413][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.741451][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    4.750481][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.758461][    T1] usb usb1: Product: EHCI Host Controller
[    4.764060][    T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd
[    4.771419][    T1] usb usb1: SerialNumber: f1050000.ehci
[    4.777709][    T1] hub 1-0:1.0: USB hub found
[    4.782248][    T1] hub 1-0:1.0: 1 port detected
[    4.787876][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    4.793890][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    4.802358][    T1] xhci_hcd 0000:02:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x0000000000000004
[    4.812771][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    4.819546][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[    4.827738][    T1] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed
[    4.835081][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    4.844121][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.852115][    T1] usb usb2: Product: xHCI Host Controller
[    4.857753][    T1] usb usb2: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[    4.865132][    T1] usb usb2: SerialNumber: 0000:02:00.0
[    4.871275][    T1] hub 2-0:1.0: USB hub found
[    4.875849][    T1] hub 2-0:1.0: 2 ports detected
[    4.881305][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.890356][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[    4.899418][   T52] ata1: SATA link down (SStatus 0 SControl F300)
[    4.905790][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.913748][    T1] usb usb3: Product: xHCI Host Controller
[    4.919415][    T1] usb usb3: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[    4.926786][    T1] usb usb3: SerialNumber: 0000:02:00.0
[    4.932998][    T1] hub 3-0:1.0: USB hub found
[    4.937607][    T1] hub 3-0:1.0: 2 ports detected
[    4.943241][    T1] usbcore: registered new interface driver usb-storage
[    4.950534][    T1] mousedev: PS/2 mouse device common for all mice
[    4.957277][    T1] i2c_dev: i2c /dev entries driver
[    4.965887][    T1] rtc-s35390a 0-0030: registered as rtc0
[    4.971730][    T1] rtc-s35390a 0-0030: setting system clock to 2025-02-08T15:04:38 UTC (1739027078)
[    4.982023][    T1] device-mapper: uevent: version 1.0.3
[    4.987906][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    4.997676][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    5.005001][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    5.012347][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    5.019963][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.027570][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    5.034423][    T1] hid: raw HID events driver (C) Jiri Kosina
[    5.040710][    T1] drop_monitor: Initializing network drop monitor service
[    5.049311][    T1] NET: Registered PF_INET6 protocol family
[    5.056695][    T1] Segment Routing with IPv6
[    5.061081][    T1] RPL Segment Routing with IPv6
[    5.066023][    T1] In-situ OAM (IOAM) with IPv6
[    5.070783][    T1] NET: Registered PF_PACKET protocol family
[    5.077103][    T1] Key type dns_resolver registered
[    5.096734][    T1] registered taskstats version 1
[    5.101676][    T1] Loading compiled-in X.509 certificates
[    5.124653][    T1] Key type .fscrypt registered
[    5.129309][    T1] Key type fscrypt-provisioning registered
[    5.140178][    T1] Key type big_key registered
[    5.180921][    T1] Key type encrypted registered
[    5.268079][   T54] ata2: SATA link down (SStatus 0 SControl F300)
[    5.275790][  T104] "cryptomgr_test" (104) uses obsolete ecb(arc4) skcipher
[    5.804612][    T9] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd
[    5.839814][    T9] usb 3-2: New USB device found, idVendor=0781, idProduct=558b, bcdDevice= 1.00
[    5.864398][    T9] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.872268][    T9] usb 3-2: Product: Extreme
[    5.884399][    T9] usb 3-2: Manufacturer: SanDisk
[    5.889220][    T9] usb 3-2: SerialNumber: 4C530001101117121333
[    5.907247][    T9] usb-storage 3-2:1.0: USB Mass Storage device detected
[    5.924884][    T9] scsi host2: usb-storage 3-2:1.0
[    6.975948][   T18] scsi 2:0:0:0: Direct-Access     SanDisk  Extreme          1.00 PQ: 0 ANSI: 6
[    6.995602][   T29] sd 2:0:0:0: [sda] 122552320 512-byte logical blocks: (62.7 GB/58.4 GiB)
[    7.014443][   T29] sd 2:0:0:0: [sda] Write Protect is off
[    7.020856][   T29] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    7.070125][   T29]  sda: sda1
[    7.084767][   T29] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    7.096539][    T1] clk: Disabling unused clocks
[    7.104545][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    7.124986][    T1] Checked W+X mappings: passed, no W+X pages found
[    7.131385][    T1] Run /init as init process
Loading, please wait...
Starting systemd-udevd version 252.17-1~deb12u1
[    8.214830][  T154] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
[   18.414691][    T9] platform mv643xx_eth_port.0: deferred probe pending
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.38.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: clean, 20039/3833856 files, 505343/15318780 blocks
done.
[   18.923652][  T178] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.045481][  T178] EXT4-fs (sda1): mounted filesystem 53e652bf-c8f5-41e5-b126-cced83f363ef ro with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 3.06 booting
INIT: No inittab.d directory found
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   21.546234][  T363] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized
[   21.923876][  T354] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   21.956458][  T355] orion_wdt: Initial timeout 21 sec
[   22.521462][  T364] marvell-cesa f1030000.crypto: CESA device successfully registered
done.
[   23.794465][    C0] random: crng init done
Activating swap:.
[   24.061888][  T510] EXT4-fs (sda1): re-mounted 53e652bf-c8f5-41e5-b126-cced83f363ef r/w. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

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

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

exiting.
ifup: failed to bring up eth0
failed.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Not starting NFS kernel daemon: no exports ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
990 (syslogd)
.
Starting NTP server: ntpd2025-02-08T07:05:01 ntpd[1013]: INIT: ntpd ntpsec-1.2.2: Starting
2025-02-08T07:05:01 ntpd[1013]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106
.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshdsshd: no hostkeys available -- exiting.
 failed!
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1014 (klogd)
.
Running local boot scripts (/etc/rc.local)
ssh-keygen: generating new host keys: RSA
ECDSA
ED25519

Starting OpenBSD Secure Shell server: sshd
.
.

Debian GNU/Linux 12 debian ttyS0

debian login: root
Password:
Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 armv5tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Oct 31 18:33:32 PDT 2023 from fe80::4f8:63a5:4900:ad47%eth0 on pts/0
debian
Synology DS112
Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
Debian 12.2
Sat Feb 8 07:06:05 PST 2025 up 1 minute
root@debian:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever

root@debian:~# ifconfig -a
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1710 (1.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1710 (1.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

The strange messages that popped in the shell while I was writing this post:
[ 1470.486479][    C0] irq 37: nobody cared (try booting with the "irqpoll" option)
[ 1470.493927][    C0] CPU: 0 PID: 0 Comm: swapper Not tainted 6.5.7-kirkwood-tld-1 #2 b782412796a181fef4037ede16903ece36aa46a3
[ 1470.505206][    C0] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[ 1470.512206][    C0]  unwind_backtrace from show_stack+0x10/0x14
[ 1470.518174][    C0]  show_stack from dump_stack_lvl+0x28/0x30
[ 1470.523965][    C0]  dump_stack_lvl from __report_bad_irq+0x24/0xec
[ 1470.530268][    C0]  __report_bad_irq from note_interrupt+0x114/0x2a0
[ 1470.536756][    C0]  note_interrupt from handle_irq_event_percpu+0x30/0x38
[ 1470.543679][    C0]  handle_irq_event_percpu from handle_irq_event+0x5c/0x80
[ 1470.550769][    C0]  handle_irq_event from handle_edge_irq+0x100/0x120
[ 1470.557344][    C0]  handle_edge_irq from handle_irq_desc+0x24/0x34
[ 1470.563649][    C0]  handle_irq_desc from mvebu_gpio_irq_handler+0x170/0x184
[ 1470.570747][    C0]  mvebu_gpio_irq_handler from handle_irq_desc+0x24/0x34
[ 1470.577662][    C0]  handle_irq_desc from orion_handle_irq+0x68/0x74
[ 1470.584054][    C0]  orion_handle_irq from generic_handle_arch_irq+0x40/0x6c
[ 1470.591143][    C0]  generic_handle_arch_irq from __irq_svc+0x88/0xc0
[ 1470.597621][    C0] Exception stack(0x81401ee0 to 0x81401f28)
[ 1470.603399][    C0] 1ee0: 00000000 00000000 00000015 60000013 81553208 5fd2ac10 00000000 00000156
[ 1470.612320][    C0] 1f00: 00000000 00000000 81553900 5fb3d277 0000000b 81401f30 80c213d8 80c213f8
[ 1470.621235][    C0] 1f20: 60000013 ffffffff
[ 1470.625439][    C0]  __irq_svc from cpuidle_enter_state+0x170/0x300
[ 1470.631743][    C0]  cpuidle_enter_state from cpuidle_enter+0x28/0x38
[ 1470.638222][    C0]  cpuidle_enter from do_idle+0x22c/0x25c
[ 1470.643829][    C0]  do_idle from cpu_startup_entry+0x24/0x28
[ 1470.649610][    C0]  cpu_startup_entry from rest_init+0xac/0xc8
[ 1470.655566][    C0]  rest_init from arch_post_acpi_subsys_init+0x0/0x8
[ 1470.662144][    C0] handlers:
[ 1470.665122][    C0] [<1ca010fa>] fan_alarm_irq_handler [gpio_fan]
[ 1470.671279][    C0] Disabling IRQ #37

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

Marvell>> bdinfo
Unknown command 'bdinfo' - try 'help'

Marvell>> mii info
Unknown command 'mii' - try 'help'

Marvell>> mdio list
Unknown command 'mdio' - try 'help'

Marvell>> md.l 0xF1010000 8
f1010000: 01002222 03303311 00550000 00000000    ""...30...U.....
f1010010: 00000000 00000000 00000000 00000000    ................

Marvell>> md.l 0xF1010100 1
f1010100: 00408000    ..@.

Marvell>> md.l 0xF1010140 1
f1010140: 00000000    ....


Thanks a lot to whoever will take some time to help :)
Re: Debian on Synology DS112
February 08, 2025 03:07PM
BayPanard,

> Only issue I came to so far is that I don't have
> network connectivity, and some strange message I
> did not totally understood (added at bottom of
> boot log).

Quote

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

It means the PHY address in the DS112 DTS is wrong for your box. So there is no network connection

Quote

> fan_alarm_irq_handler [gpio_fan]
> [ 1470.671279][ C0] Disabling IRQ #37

And this IRQ is also probably wrong for your box, too.

=========

At u-boot prompt

ping  192.168.1.180
sg

Can you still log in to stock OS? if you do, run these commands and post the output here.
dmesg
ethtool eth0
ifconfig -a

I think your box must be an unknown variation of the DS112. The DTS in mainline could be for the original DS112.

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



Edited 2 time(s). Last edit at 02/08/2025 05:35PM by bodhi.
Re: Debian on Synology DS112
February 09, 2025 03:10AM
Bodhi,

First : thank you for taking some time to help !

Result from commands at u-boot prompt :
Quote
ping 192.168.1.180
Marvell>> ping 192.168.1.180
Using egiga0 device
host 192.168.1.180 is alive

Quote
sg
Marvell>> sg
PHY 0 mvBoardPhyAddrGet(port) 1:
---------
Auto negotiation: Enabled
Speed: 1000 Mbps
Duplex: Full
Link: up

PHY 1 mvBoardPhyAddrGet(port) 22:
---------
Auto negotiation: Enabled
Speed: Uknown
Duplex: Full
Link: up


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

[ 0.410000] CPU Interface
[ 0.410000] -------------
[ 0.410000] SDRAM_CS0 ....base 00000000, size 256MB
[ 0.410000] SDRAM_CS1 ....disable
[ 0.410000] SDRAM_CS2 ....disable
[ 0.410000] SDRAM_CS3 ....disable
[ 0.410000] PEX0_MEM ....base e0000000, size 128MB
[ 0.410000] PEX0_IO ....base f2000000, size 1MB
[ 0.410000] PEX1_MEM ....base e8000000, size 128MB
[ 0.410000] PEX1_IO ....base f2100000, size 1MB
[ 0.410000] INTER_REGS ....base f1000000, size 1MB
[ 0.410000] NFLASH_CS ....base fa000000, size 2MB
[ 0.410000] SPI_CS ....base f4000000, size 16MB
[ 0.410000] BOOT_ROM_CS ....no such
[ 0.410000] DEV_BOOTCS ....no such
[ 0.410000] CRYPT_ENG ....base f0000000, size 2MB
[ 0.410000] Detected Tclk 200000000 and SysClk 533333333
[ 0.410000] Synology 6282 DS112 GPIO Init
[ 0.910000] PEX0 interface detected no Link.
[ 1.410000] PEX1 interface detected Link X1
[ 1.410000] PCI: bus0: Fast back to back transfers enabled
[ 1.410000] pci 0000:01:01.0: reg 10 64bit mmio: [0x98000000-0x98001fff]
[ 1.410000] pci 0000:01:01.0: PME# supported from D0 D3hot
[ 1.410000] pci 0000:01:01.0: PME# disabled
[ 1.410000] PCI: bus1: Fast back to back transfers disabled
[ 1.420000] bio: create slab <bio-0> at 0
[ 1.420000] vgaarb: loaded
[ 1.420000] SCSI subsystem initialized
[ 1.420000] libata version 3.00 loaded.
[ 1.590000] raid6: int32x1 126 MB/s
[ 1.760000] raid6: int32x2 185 MB/s
[ 1.930000] raid6: int32x4 180 MB/s
[ 2.100000] raid6: int32x8 193 MB/s
[ 2.100000] raid6: using algorithm int32x8 (193 MB/s)
[ 2.100000] Switching to clocksource kw_clocksource
[ 2.100000] NET: Registered protocol family 2
[ 2.100000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 2.100000] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 2.100000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 2.100000] TCP: Hash tables configured (established 8192 bind 8192)
[ 2.100000] TCP reno registered
[ 2.100000] NET: Registered protocol family 1
[ 2.100000] RPC: Registered udp transport module.
[ 2.100000] RPC: Registered tcp transport module.
[ 2.100000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.100000] Trying to unpack rootfs image as initramfs...
[ 3.070000] rootfs image is not initramfs (no cpio magic); looks like an initrd
[ 3.080000] Freeing initrd memory: 4096K
[ 3.080000] XOR registered 4 channels
[ 3.080000] XOR 2nd invalidate WA enabled
[ 3.080000] VFS: Disk quotas dquot_6.5.2
[ 3.080000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 3.080000] msgmni has been set to 486
[ 3.080000] alg: No test for md5 (md5-generic)
[ 3.080000] alg: No test for des (des-generic)
[ 3.080000] alg: No test for des3_ede (des3_ede-generic)
[ 3.080000] alg: No test for stdrng (krng)
[ 3.080000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 3.080000] io scheduler noop registered
[ 3.080000] io scheduler anticipatory registered (default)
[ 3.090000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 3.090000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 3.100000] console [ttyS0] enabled
[ 3.100000] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
[ 3.120000] brd: module loaded
[ 3.120000] sata_mv sata_mv.0: version 1.28
[ 3.120000] sata_mv sata_mv.0: slots 32 ports 2
[ 3.130000] scsi0 : sata_mv
[ 3.130000] scsi1 : sata_mv
[ 3.130000] ata1: SATA max UDMA/133 irq 21
[ 3.140000] ata2: SATA max UDMA/133 irq 21
[ 3.140000] Enable Synology sata fast booting
[ 6.840000] physmap platform flash device: 00400000 at f8000000
[ 6.850000] SPI Serial flash detected @ 0xf8000000, 4096KB (64sec x 64KB)
[ 6.860000] Searching for RedBoot partition table in SYNOMTD-0 at offset 0x3f0000
[ 6.870000] 6 RedBoot partitions found on MTD device SYNOMTD-0
[ 6.880000] SYNOMTD flash bank 0: Using RedBoot partition definition
[ 6.880000] Creating 6 MTD partitions on "SYNOMTD-0":
[ 6.890000] 0x000000000000-0x000000080000 : "RedBoot"
[ 6.890000] 0x000000080000-0x000000280000 : "zImage"
[ 6.900000] 0x000000280000-0x0000003c0000 : "rd.gz"
[ 6.900000] 0x0000003c0000-0x0000003d0000 : "vendor"
[ 6.910000] vender Mac1 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[ 6.910000] vender Mac2 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[ 6.920000] vender Mac3 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[ 6.930000] serial number='C3KDN00604'
[ 6.930000] 0x0000003d0000-0x0000003f0000 : "RedBoot Config"
[ 6.940000] 0x0000003f0000-0x000000400000 : "FIS directory"
[ 6.950000] SPI Serial flash detected @ 0xf4000000, 4096KB (64sec x 64KB)
[ 6.950000] cmdlinepart partition parsing not available
[ 6.960000] Loading Marvell Ethernet Driver:
[ 6.960000] o Cached descriptors in DRAM
[ 6.970000] o DRAM SW cache-coherency
[ 6.970000] o 2 Giga ports supported
[ 6.970000] o Single RX Queue support - ETH_DEF_RXQ=0
[ 6.980000] o Single TX Queue support - ETH_DEF_TXQ=0
[ 6.980000] o TCP segmentation offload (TSO) supported
[ 6.990000] o Receive checksum offload supported
[ 6.990000] o Transmit checksum offload supported
[ 7.000000] o SKB Recycle supported - (Enabled)
[ 7.000000] o Rx descripors: q0=128
[ 7.010000] o Tx descripors: q0=532
[ 7.010000] o Loading network interface(s):
[ 7.020000] o register under mv88fx_eth platform
[ 7.020000] o eth0, ifindex = 2, GbE port = 0
[ 7.030000] o eth0, phy chipid = 1410e90, Support WOL = 32

[ 7.040000] md: linear personality registered for level -1
[ 7.040000] md: raid0 personality registered for level 0
[ 7.050000] md: raid1 personality registered for level 1
[ 7.050000] md: raid10 personality registered for level 10
[ 7.060000] md: raid6 personality registered for level 6
[ 7.060000] md: raid5 personality registered for level 5
[ 7.070000] md: raid4 personality registered for level 4
[ 7.070000] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[ 7.080000] cpuidle: using governor ladder
[ 7.090000] TCP cubic registered
[ 7.090000] NET: Registered protocol family 17
[ 7.090000] NET: Registered protocol family 15
[ 7.100000] registered taskstats version 1
[ 7.380000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 7.400000] ata1.00: ATA-11: Patriot P220 2048GB, H221215a, max UDMA/133
[ 7.400000] ata1.00: 4000797360 sectors, multi 1: LBA48 NCQ (depth 31/32)
[ 7.430000] ata1.00: configured for UDMA/133
[ 7.430000] ata1.00: Find SSD disks. [Patriot P220 2048GB]
[ 7.460000] scsi 0:0:0:0: Direct-Access Patriot P220 2048GB H221 PQ: 0 ANSI: 5
[ 10.460000] sd 0:0:0:0: [sda] 4000797360 512-byte logical blocks: (2.04 TB/1.86 TiB)
[ 10.470000] sd 0:0:0:0: [sda] Write Protect is off
[ 10.470000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 10.470000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 10.480000] sda: sda1 sda2 sda3
[ 10.520000] sd 0:0:0:0: [sda] Attached SCSI disk
[ 10.810000] ata2: SATA link down (SStatus 0 SControl F300)
[ 10.810000] md: Waiting for all devices to be available before autodetect
[ 10.820000] md: If you don't use raid, use raid=noautodetect
[ 10.820000] md: Autodetecting RAID arrays.
[ 10.830000] md: Scanned 0 and added 0 devices.
[ 10.830000] md: autorun ...
[ 10.830000] md: ... autorun DONE.
[ 10.840000] RAMDISK: lzma image found at block 0
[ 11.880000] VFS: Mounted root (ext2 filesystem) on device 1:0.
[ 12.180000] usbcore: registered new interface driver usbfs
[ 12.190000] usbcore: registered new interface driver hub
[ 12.190000] usbcore: registered new interface driver ethub
[ 12.220000] usbcore: registered new device driver usb
[ 12.290000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 12.300000] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 12.300000] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 12.340000] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 12.360000] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 12.360000] usb usb1: configuration #1 chosen from 1 choice
[ 12.390000] hub 1-0:1.0: USB hub found
[ 12.390000] hub 1-0:1.0: 1 port detected
[ 12.490000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 12.550000] xhci_hcd 0000:01:01.0: xHCI Host Controller
[ 12.550000] xhci_hcd 0000:01:01.0: new USB bus registered, assigned bus number 2
[ 12.560000] xhci_hcd 0000:01:01.0: irq 10, io mem 0xe8000000
[ 12.570000] usb usb2: No SuperSpeed endpoint companion for config 1 interface 0 altsetting 0 ep 129: using minimum values
[ 12.610000] usb usb2: configuration #1 chosen from 1 choice
[ 12.620000] xHCI xhci_add_endpoint called for root hub
[ 12.620000] xHCI xhci_check_bandwidth called for root hub
[ 12.620000] hub 2-0:1.0: USB hub found
[ 12.620000] hub 2-0:1.0: 4 ports detected
[ 12.750000] ds112_synobios: module license 'Synology Inc.' taints kernel.
[ 12.760000] Disabling lock debugging due to kernel taint
[ 12.800000] correction with 0x57
[ 12.890000] 2025-2-9 8:46:57 UTC
[ 12.890000] synobios: load, major number 201
[ 12.900000] Brand: Synology
[ 12.900000] Model: DS-112
[ 12.900000] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[ 12.910000] synobios cpu_arch proc entry initialized
[ 12.920000] synobios crypto_hw proc entry initialized
[ 12.920000] synobios syno_platform proc entry initialized
[ 12.930000] synobios open /dev/ttyS1 success
[ 12.960000] synobios: unload
[ 13.000000] md: md0 stopped.
[ 15.780000] EXT4-fs (sda1): barriers disabled
[ 15.790000] EXT4-fs (sda1): mounted filesystem with ordered data mode
[ 16.280000] EXT4-fs (sda3): barriers disabled
[ 16.470000] EXT4-fs (sda3): mounted filesystem with ordered data mode
[ 18.920000] EXT3-fs: sda1: couldn't mount because of unsupported optional features (240).
[ 18.920000] EXT2-fs: sda1: couldn't mount because of unsupported optional features (240).
[ 18.930000] EXT4-fs (sda1): barriers disabled
[ 18.940000] EXT4-fs (sda1): mounted filesystem with ordered data mode
[ 18.950000] VFS: Mounted root (ext4 filesystem) on device 8:1.
[ 18.950000] Trying to move old root to /initrd ... okay
[ 18.960000] Freeing init memory: 124K
[ 26.480000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 26.900000] Adding 2097144k swap on /dev/sda2. Priority:-1 extents:1 across:2097144k SS
[ 28.820000] <30>systemd-udevd[1161]: starting version 204
[ 35.370000] NET: Registered protocol family 10
[ 35.370000] lo: Disabled Privacy Extensions
[ 35.580000] IPv6 over IPv4 tunneling driver
[ 35.580000] sit0: Disabled Privacy Extensions
[ 37.390000] init: syno-auth-check main process (1835) killed by TERM signal
[ 39.080000] cpufreq: Init kirkwood cpufreq driver
[ 39.090000] cpufreq: High frequency: 1600000KHz - Low frequency: 533333KHz
[ 39.870000] alg: No test for aes (aes-generic)
[ 39.960000] alg: No test for stdrng (ansi_cprng)
[ 40.080000] alg: No test for crc32c (crc32c-generic)
[ 40.450000] cesadev_init(bf192000)
[ 40.510000] mvCesaInit: sessions=10240, queue=64, pSram=f0000000
[ 40.710000] alg: No test for sha1 (sha1-generic)
[ 40.770000] alg: No test for sha224 (sha224-generic)
[ 40.800000] alg: No test for sha256 (sha256-generic)
[ 40.900000] encryptfs using the OCF package.
[ 41.580000] alg: No test for arc4 (arc4-generic)
[ 41.790000] fuse init (API version 7.13)
[ 42.060000] exFAT: Version 1.2.9
[ 42.420000] sky2 driver version 1.25
[ 42.640000] correction with 0x57
[ 42.740000] 2025-2-9 8:47:27 UTC
[ 42.740000] synobios: load, major number 201
[ 42.750000] Brand: Synology
[ 42.750000] Model: DS-112
[ 42.750000] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[ 42.760000] synobios cpu_arch proc entry initialized
[ 42.760000] synobios crypto_hw proc entry initialized
[ 42.770000] synobios syno_platform proc entry initialized
[ 42.770000] synobios open /dev/ttyS1 success
[ 45.270000] eth0: mac address changed
[ 47.380000] eth0: link down
[ 47.390000] eth0: started
[ 47.400000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 48.950000] eth0: link up, full duplex, speed 1 Gbps
[ 48.950000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 68.430000] EXT4-fs (sda3): barriers disabled
[ 68.660000] EXT4-fs (sda3): mounted filesystem with writeback data mode
[ 86.260000] Initializing USB Mass Storage driver...
[ 86.270000] usbcore: registered new interface driver usb-storage
[ 86.270000] USB Mass Storage support registered.
[ 87.060000] usbcore: registered new interface driver usblp
[ 88.530000] usbcore: registered new interface driver hiddev
[ 88.530000] usbcore: registered new interface driver usbhid
[ 88.540000] usbhid: v2.6:USB HID core driver
[ 89.550000] loop: module loaded
[ 91.840000] Slow work thread pool: Starting up
[ 92.750000] Slow work thread pool: Ready
[ 94.560000] iSCSI: init_io_buffer_head(833) LUN-backup: 512 buffers allocated, total 2097152 bytes successfully
[ 97.070000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 100.830000] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 100.840000] NFSD: starting 90-second grace period
[ 101.670000] ata1.00: configured for UDMA/133
[ 101.670000] ata1: EH complete
[ 103.470000] warning: `nginx' uses 32-bit capabilities (legacy support in use)
[ 114.620000] findhostd uses obsolete (PF_INET,SOCK_PACKET)
[ 117.690000] init: syno_disk_latency_monitor faild on spawn stage, stopped
[ 140.250000] eth0: link down
[ 140.250000] eth0: link up, full duplex, speed 1 Gbps
[ 141.410000] init: syno-check-disk-compatibility main process (7190) terminated with status 255
[ 154.060000] init: prefetch-pkgicon main process (4500) terminated with status 1

Quote
ethtool eth0
sh-4.3# ethtool eth0
Settings for eth0:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: off
Supports Wake-on: g
Wake-on: d
Link detected: yes

Quote
ifconfig -a
sh-4.3# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:11:32:11:8A:C4
inet addr:192.168.1.128 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:277 errors:0 dropped:0 overruns:0 frame:0
TX packets:419 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:532
RX bytes:22195 (21.6 KiB) TX bytes:56747 (55.4 KiB)
Interrupt:11

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:212 errors:0 dropped:0 overruns:0 frame:0
TX packets:212 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19759 (19.2 KiB) TX bytes:19759 (19.2 KiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

/BayPanard
Re: Debian on Synology DS112
February 09, 2025 04:09PM
Bay,

[ 0.000000] Synology Hardware Version: DS112v10-j


Just what I thought. Your box is not the orginal DS112. I'll need to create a new DTS and compile it for you to try.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS112
February 10, 2025 02:32AM
Bodhi,

Thank you for proposing to build a new dtb for my box, I'll look forward to it!

I was searching for u-boot sources from Synology but it looks like they removed everything for their old NAS... (Toolchain is still here but no trace of the nas GPL sources)

/BayPanard
Re: Debian on Synology DS112
February 12, 2025 11:29AM
Hi,

Bodhi, is there any way I can help find the physical address to the network interface of my box? somewhere I can search in stock OS, or some more commands to probe the hardware?

I found the kernel sources from Synology but it looks like they are not using dts/dtb, i'll try to find anything useful with my limited knowledge :-D

/BayPanard
Re: Debian on Synology DS112
February 12, 2025 11:37AM
Bay,

We did above

sh-4.3# ethtool eth0
Settings for eth0: 
Supported ports: [ ] 
Supported link modes: Not reported 
Supported pause frame use: No 
Supports auto-negotiation: No 
Advertised link modes: Not reported 
Advertised pause frame use: No 
Advertised auto-negotiation: No 
Speed: 1000Mb/s 
Duplex: Full 
Port: MII 
PHYAD: 1 
Transceiver: internal 
Auto-negotiation: off 
Supports Wake-on: g 
Wake-on: d 
Link detected: yes


PHYAD: 1

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS112
February 12, 2025 11:42AM
Thanks for the quick answer !

I'll try to update the dtb with this value and i'll report back.

/BayPanard
Re: Debian on Synology DS112
February 13, 2025 09:46PM
Bay,

Please try this kirkwood-ds112-v10j.dtb.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - kirkwood-ds112-v10j.dtb (21.9 KB)
open | download - kirkwood-ds112-v10j.dts (902 bytes)
Re: Debian on Synology DS112
February 15, 2025 09:35AM
Bodhi,

thanks for the new dtb, it helped !

I now have network connectivity, and I don't get messages about IRQ 37 anymore !

but I can't reach my sata SSD (I checked with previous DTB and it didn't work either).

Here is the boot log with this new dtb :

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

U-Boot 1.1.4 (Aug  1 2011 - 17:06:51) Marvell version: 3.5.9

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

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

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

[4096kB@f8000000] Flash:  4 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


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

Synology Model: DS112
Fan Status: Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
Marvell>> setenv ipaddr 192.168.1.128
Marvell>> setenv serverip 192.168.1.180
Marvell>> setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
Marvell>> mw 0x800000 0 1
Marvell>> tftpboot 0x800000 uImage
Using egiga0 device
TFTP from server 192.168.1.180; our IP address is 192.168.1.128
Filename 'uImage'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###################################################
done
Bytes transferred = 6246408 (5f5008 hex)
Marvell>> tftpboot 0x2100000 uInitrd
Using egiga0 device
TFTP from server 192.168.1.180; our IP address is 192.168.1.128
Filename 'uInitrd'.
Load address: 0x2100000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###########################
done
Bytes transferred = 5791271 (585e27 hex)
Marvell>> printenv
bootcmd=bootm F8080000 F8280000
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
run_diag=yes
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x300000@0x100000(root)
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
MALLOC_len=1
ethprime=egiga0
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
bootdelay=3
disaMvPnp=no
ethaddr=00:50:43:3c:3b:5d
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
pcieTune=no
pcieTune1=no
ethact=egiga0
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
filesize=585e27
fileaddr=2100000
netmask=255.255.254.0
ipaddr=192.168.1.128
serverip=192.168.1.180

Environment size: 1151/4092 bytes
Marvell>> bootm 0x800000 0x2100000
## Booting image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6246344 Bytes =  6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes =  5.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS112 V10j
[    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-0x000000000fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 232300K/262144K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 29844K reserved, 0K cma-reserved)
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008518][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015587][    T0] Console: colour dummy device 80x30
[    0.020796][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032011][    T0] CPU: Testing write buffer coherency: ok
[    0.037665][    T0] pid_max: default: 32768 minimum: 301
[    0.049582][    T0] LSM: initializing lsm=capability,integrity
[    0.057213][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.065244][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.083096][    T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.091146][    T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.099787][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.106905][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x0
[    0.113090][    T1] rcu: Hierarchical SRCU implementation.
[    0.118633][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.126720][    T1] devtmpfs: initialized
[    0.143937][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.154519][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.164199][    T1] prandom: seed boundary self test passed
[    0.172988][    T1] prandom: 100 self tests passed
[    0.177773][    T1] pinctrl core: initialized pinctrl subsystem
[    0.186532][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.194339][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.206028][    T1] audit: initializing netlink subsys (disabled)
[    0.213742][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.213867][    T1] cpuidle: using governor ladder
[    0.225376][   T19] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=0 res=1
[    0.233902][    T1] cpuidle: using governor menu
[    0.239025][    T1] Feroceon L2: Enabling L2
[    0.243304][    T1] Feroceon L2: Cache support initialised.
[    0.257330][    T1] No ATAGs?
[    0.618532][    T1] raid6: int32x8  gen()   151 MB/s
[    0.958531][    T1] raid6: int32x4  gen()   140 MB/s
[    1.298557][    T1] raid6: int32x2  gen()   180 MB/s
[    1.638532][    T1] raid6: int32x1  gen()   130 MB/s
[    1.643477][    T1] raid6: using algorithm int32x2 gen() 180 MB/s
[    1.998531][    T1] raid6: .... xor() 115 MB/s, rmw enabled
[    2.004084][    T1] raid6: using intx1 recovery algorithm
[    2.019828][    T1] SCSI subsystem initialized
[    2.029015][    T1] usbcore: registered new interface driver usbfs
[    2.035219][    T1] usbcore: registered new interface driver hub
[    2.058584][    T1] usbcore: registered new device driver usb
[    2.064631][    T1] pps_core: LinuxPPS API ver. 1 registered
[    2.078532][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.088340][    T1] PTP clock support registered
[    2.110683][    T1] vgaarb: loaded
[    2.119054][    T1] clocksource: Switched to clocksource orion_clocksource
[    2.145765][    T1] VFS: Disk quotas dquot_6.6.0
[    2.159398][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.192566][    T1] NET: Registered PF_INET protocol family
[    2.209150][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    2.230044][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    2.249226][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    2.257652][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    2.279106][    T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    2.286950][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    2.309607][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    2.317679][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.339116][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.347445][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.379552][    T1] RPC: Registered named UNIX socket transport module.
[    2.386145][    T1] RPC: Registered udp transport module.
[    2.399075][    T1] RPC: Registered tcp transport module.
[    2.404453][    T1] RPC: Registered tcp-with-tls transport module.
[    2.419071][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.426187][    T1] PCI: CLS 0 bytes, default 32
[    2.451303][   T10] Trying to unpack rootfs image as initramfs...
[    3.184406][   T10] Freeing initrd memory: 5656K
[    3.412246][    T1] Initialise system trusted keyrings
[    3.417472][    T1] Key type blacklist registered
[    3.423384][    T1] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    3.430708][    T1] zbud: loaded
[    3.448359][    T1] NFS: Registering the id_resolver key type
[    3.454170][    T1] Key type id_resolver registered
[    3.459026][    T1] Key type id_legacy registered
[    3.463875][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.471270][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.480603][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    3.488983][    T1] fuse: init (API version 7.38)
[    3.494800][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    3.502208][    T1] orangefs_init: module version upstream loaded
[    3.508567][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    3.676591][    T1] xor: measuring software checksum speed
[    3.688793][    T1]    arm4regs        :  1468 MB/sec
[    3.704895][    T1]    8regs           :   890 MB/sec
[    3.717718][    T1]    32regs          :  1263 MB/sec
[    3.722758][    T1] xor: using function: arm4regs (1468 MB/sec)
[    3.728660][    T1] async_tx: api initialized (async)
[    3.733706][    T1] Key type asymmetric registered
[    3.738479][    T1] Asymmetric key parser 'x509' registered
[    3.783749][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    3.792321][    T1] io scheduler bfq registered
[    3.938915][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    3.948524][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.959215][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.969674][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    3.979581][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    3.989679][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    3.999766][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    4.009848][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.020444][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.031045][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    4.041638][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    4.053079][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    4.061409][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.067571][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    4.078441][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    4.089291][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    4.100136][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    4.107675][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    4.114745][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    4.121973][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    4.130736][    T1] PCI: bus0: Fast back to back transfers disabled
[    4.136998][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.145701][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.154673][    T1] PCI: bus1: Fast back to back transfers enabled
[    4.160865][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.168364][    T1] pci 0000:02:00.0: [1033:0194] type 00 class 0x0c0330
[    4.175133][    T1] pci 0000:02:00.0: reg 0x10: [mem 0x98000000-0x98001fff 64bit]
[    4.182766][    T1] pci 0000:02:00.0: PME# supported from D0 D3hot
[    4.189025][    T1] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    4.229150][    T1] PCI: bus2: Fast back to back transfers disabled
[    4.235403][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    4.242739][    T1] pci 0000:00:02.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    4.250299][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    4.255950][    T1] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    4.263949][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    4.269607][    T1] pci 0000:00:02.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    4.277321][    T1] pcieport 0000:00:02.0: enabling device (0140 -> 0142)
[    4.284911][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    4.351026][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.362677][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    4.431031][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.443023][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.452190][    T1] printk: console [ttyS0] disabled
[    4.457654][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 29, base_baud = 12500000) is a 16550A
[    4.467388][    T1] printk: console [ttyS0] enabled
[    4.467388][    T1] printk: console [ttyS0] enabled
[    4.477234][    T1] printk: bootconsole [earlycon0] disabled
[    4.477234][    T1] printk: bootconsole [earlycon0] disabled
[    4.510579][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 30, base_baud = 12500000) is a 16550A
[    4.530814][    T1] loop: module loaded
[    4.535624][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    4.545152][    T1] scsi host0: sata_mv
[    4.550349][    T1] scsi host1: sata_mv
[    4.554563][    T1] ata1: SATA max UDMA/133 irq 31
[    4.559435][    T1] ata2: SATA max UDMA/133 irq 31
[    4.566341][    T1] spi-nor spi0.0: found m25p32, expected m25p80
[    4.572576][    T1] spi-nor spi0.0: m25p32 (4096 Kbytes)
[    4.578073][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    4.585179][    T1] Creating 6 MTD partitions on "spi0.0":
[    4.590740][    T1] 0x000000000000-0x000000080000 : "RedBoot"
[    4.597178][    T1] 0x000000080000-0x000000280000 : "zImage"
[    4.603462][    T1] 0x000000280000-0x0000003c0000 : "rd.gz"
[    4.609673][    T1] 0x0000003c0000-0x0000003d0000 : "vendor"
[    4.615957][    T1] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[    4.622924][    T1] 0x0000003f0000-0x000000400000 : "FIS directory"
[    4.630341][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    4.638915][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    4.652936][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    4.678315][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    4.688384][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:3c:3b:5d
[    4.698495][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    4.704811][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.713424][    T1] orion-ehci f1050000.ehci: irq 34, io mem 0xf1050000
[    4.749084][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.756156][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    4.765188][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.773160][    T1] usb usb1: Product: EHCI Host Controller
[    4.778759][    T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd
[    4.786142][    T1] usb usb1: SerialNumber: f1050000.ehci
[    4.792459][    T1] hub 1-0:1.0: USB hub found
[    4.796997][    T1] hub 1-0:1.0: 1 port detected
[    4.802639][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    4.808648][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    4.817134][    T1] xhci_hcd 0000:02:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x0000000000000004
[    4.827651][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    4.834333][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[    4.842551][    T1] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed
[    4.849846][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    4.858880][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.866874][    T1] usb usb2: Product: xHCI Host Controller
[    4.872514][    T1] usb usb2: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[    4.879891][    T1] usb usb2: SerialNumber: 0000:02:00.0
[    4.885971][    T1] hub 2-0:1.0: USB hub found
[    4.890509][   T52] ata1: SATA link down (SStatus 0 SControl F300)
[    4.896823][    T1] hub 2-0:1.0: 2 ports detected
[    4.902368][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.911537][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[    4.920588][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.928552][    T1] usb usb3: Product: xHCI Host Controller
[    4.934287][    T1] usb usb3: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[    4.941658][    T1] usb usb3: SerialNumber: 0000:02:00.0
[    4.947760][    T1] hub 3-0:1.0: USB hub found
[    4.952321][    T1] hub 3-0:1.0: 2 ports detected
[    4.957897][    T1] usbcore: registered new interface driver usb-storage
[    4.965190][    T1] mousedev: PS/2 mouse device common for all mice
[    4.971908][    T1] i2c_dev: i2c /dev entries driver
[    4.979574][    T1] rtc-s35390a 0-0030: registered as rtc0
[    4.985181][    T1] rtc-s35390a 0-0030: hctosys: unable to read the hardware clock
[    4.993900][    T1] device-mapper: uevent: version 1.0.3
[    4.999752][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    5.009528][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    5.016790][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    5.024190][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    5.031649][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.039415][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    5.046273][    T1] hid: raw HID events driver (C) Jiri Kosina
[    5.052537][    T1] drop_monitor: Initializing network drop monitor service
[    5.060983][    T1] NET: Registered PF_INET6 protocol family
[    5.068525][    T1] Segment Routing with IPv6
[    5.073286][    T1] RPL Segment Routing with IPv6
[    5.078135][    T1] In-situ OAM (IOAM) with IPv6
[    5.082938][    T1] NET: Registered PF_PACKET protocol family
[    5.088985][    T1] Key type dns_resolver registered
[    5.108798][    T1] registered taskstats version 1
[    5.113776][    T1] Loading compiled-in X.509 certificates
[    5.136618][    T1] Key type .fscrypt registered
[    5.141372][    T1] Key type fscrypt-provisioning registered
[    5.152124][    T1] Key type big_key registered
[    5.193059][    T1] Key type encrypted registered
[    5.253876][   T54] ata2: SATA link down (SStatus 0 SControl F300)
[    5.287253][  T105] "cryptomgr_test" (105) uses obsolete ecb(arc4) skcipher
[    5.829285][    T9] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd
[    5.864385][    T9] usb 3-2: New USB device found, idVendor=0781, idProduct=558b, bcdDevice= 1.00
[    5.889075][    T9] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.896952][    T9] usb 3-2: Product: Extreme
[    5.909088][    T9] usb 3-2: Manufacturer: SanDisk
[    5.913911][    T9] usb 3-2: SerialNumber: 4C530001101117121333
[    5.931821][    T9] usb-storage 3-2:1.0: USB Mass Storage device detected
[    5.949574][    T9] scsi host2: usb-storage 3-2:1.0
[    6.970993][   T18] scsi 2:0:0:0: Direct-Access     SanDisk  Extreme          1.00 PQ: 0 ANSI: 6
[    6.990244][   T29] sd 2:0:0:0: [sda] 122552320 512-byte logical blocks: (62.7 GB/58.4 GiB)
[    7.009114][   T29] sd 2:0:0:0: [sda] Write Protect is off
[    7.015554][   T29] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    7.087768][   T29]  sda: sda1
[    7.097771][   T29] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    7.107786][    T1] clk: Disabling unused clocks
[    7.115865][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    7.129665][    T1] Checked W+X mappings: passed, no W+X pages found
[    7.136065][    T1] Run /init as init process
Loading, please wait...
Starting systemd-udevd version 252.17-1~deb12u1
[    8.225937][  T155] usbcore: registered new interface driver uas
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.38.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: clean, 20049/3833856 files, 786290/15318780 blocks
done.
[   18.983563][  T178] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   19.096259][  T178] EXT4-fs (sda1): mounted filesystem 53e652bf-c8f5-41e5-b126-cced83f363ef ro with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 3.06 booting
INIT: No inittab.d directory found
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   21.598351][  T361] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized
[   22.090442][  T359] orion_wdt: Initial timeout 21 sec
[   22.128414][  T361] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   22.648679][  T358] marvell-cesa f1030000.crypto: CESA device successfully registered
[   22.839125][    C0] random: crng init done
done.
Not activating swap on swapfile. ... (warning).
[   24.243121][  T516] EXT4-fs (sda1): re-mounted 53e652bf-c8f5-41e5-b126-cced83f363ef r/w. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
[   26.154030][  T778] Adding 1048572k swap on /swapfile1.  Priority:-2 extents:18 across:4597952k FS
Will now mount local filesystems:.
Will now activate swapfile swap, if any:swapon: /swapfile1: found signature [pagesize=4096, signature=swap]
swapon: /swapfile1: pagesize=4096, swapsize=1073741824, devsize=1073741824
swapon /swapfile1
done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:50:43:3c:3b:5d
Sending on   LPF/eth0/00:50:43:3c:3b:5d
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
[   30.465236][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPOFFER of 192.168.1.219 from 192.168.1.1
DHCPREQUEST for 192.168.1.219 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.219 from 192.168.1.1
bound to 192.168.1.219 -- renewal in 16987 seconds.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Not starting NFS kernel daemon: no exports ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1027 (syslogd)
.
Starting system message bus: dbus.
Starting NTP server: ntpd2025-02-12T03:10:30 ntpd[1066]: INIT: ntpd ntpsec-1.2.2: Starting
2025-02-12T03:10:30 ntpd[1066]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106
.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1051 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 12 debian ttyS0

debian login: root
Password:
Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 armv5tel

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Feb  8 07:06:05 PST 2025 on ttyS0
debian
192.168.1.219
Synology DS112 V10j
Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
Debian 12.2
Wed Feb 12 03:11:07 PST 2025 up 1 minute
root@debian:~# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.219  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::250:43ff:fe3c:3b5d  prefixlen 64  scopeid 0x20<link>
        ether 00:50:43:3c:3b:5d  txqueuelen 1000  (Ethernet)
        RX packets 55  bytes 4895 (4.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 46  bytes 5798 (5.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 33

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 14  bytes 1822 (1.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 14  bytes 1822 (1.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

And here are some commands I used when searching for my SSD :
root@debian:~# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda      8:0    1 58.4G  0 disk
`-sda1   8:1    1 58.4G  0 part /
root@debian:~# fdisk -l
Disk /dev/sda: 58.44 GiB, 62746787840 bytes, 122552320 sectors
Disk model: Extreme
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        2048 122552293 122550246 58.4G 83 Linux
root@debian:~# lspci
00:01.0 PCI bridge: Marvell Technology Group Ltd. Device 6282
00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6282
02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
root@debian:~# lsmod
Module                  Size  Used by
marvell_cesa           36864  0
orion_wdt              12288  0
sg                     28672  0
kirkwood_thermal       12288  0
gpio_fan               12288  0
uas                    24576  0
uio_pdrv_genirq        16384  0
uio                    20480  1 uio_pdrv_genirq
root@debian:~# lshw
debian
    description: Feroceon 88FR131 rev 1 (v5l)
    product: Synology DS112 V10j
    width: 32 bits
  *-core
       description: Motherboard
       physical id: 0
     *-cpu
          description: CPU
          product: cpu
          physical id: 0
          bus info: cpu@0
          size: 1600MHz
          capacity: 1600MHz
          capabilities: swp half thumb fastmult edsp cpufreq
     *-memory
          description: System memory
          physical id: 3
          size: 233MiB
     *-pci:0
          description: PCI bridge
          product: Marvell Technology Group Ltd.
          vendor: Marvell Technology Group Ltd.
          physical id: 1
          bus info: pci@0000:00:01.0
          version: 00
          width: 32 bits
          clock: 33MHz
          capabilities: pci pciexpress normal_decode cap_list
     *-pci:1
          description: PCI bridge
          product: Marvell Technology Group Ltd.
          vendor: Marvell Technology Group Ltd.
          physical id: 2
          bus info: pci@0000:00:02.0
          version: 00
          width: 32 bits
          clock: 33MHz
          capabilities: pci pciexpress normal_decode bus_master cap_list
          resources: memory:e0000000-e00fffff
        *-usb
             description: USB controller
             product: uPD720200 USB 3.0 Host Controller
             vendor: NEC Corporation
             physical id: 0
             bus info: pci@0000:02:00.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi msix pciexpress xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:35 memory:e0000000-e0001fff
     *-scsi
          physical id: 4
          bus info: usb@3:2
          logical name: scsi2
          capabilities: emulated
        *-disk
             description: SCSI Disk
             product: Extreme
             vendor: SanDisk
             physical id: 0.0.0
             bus info: scsi@2:0.0.0
             logical name: /dev/sda
             version: 1.00
             serial: 4C530001101117121333
             size: 58GiB (62GB)
             capabilities: removable
             configuration: ansiversion=6 logicalsectorsize=512 sectorsize=512
           *-medium
                physical id: 0
                logical name: /dev/sda
                size: 58GiB (62GB)
                capabilities: partitioned partitioned:dos
              *-volume
                   description: EXT3 volume
                   vendor: Linux
                   physical id: 1
                   logical name: /dev/sda1
                   logical name: /
                   version: 1.0
                   serial: 53e652bf-c8f5-41e5-b126-cced83f363ef
                   size: 58GiB
                   capacity: 58GiB
                   capabilities: primary journaled extended_attributes large_files recover ext3 ext2 initialized
                   configuration: created=2025-02-08 14:53:14 filesystem=ext3 label=rootfs lastmountpoint=/ modified=1970-01-01 01:00:18 mount.fstype=ext3 mount.options=rw,noatime,errors=remount-ro mounted=2025-02-15 15:53:08 state=mounted
  *-network
       description: Ethernet interface
       physical id: 1
       logical name: eth0
       serial: 00:50:43:3c:3b:5d
       size: 1Gbit/s
       capacity: 1Gbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=mv643xx_eth driverversion=1.4 duplex=full firmware=N/A ip=192.168.1.219 link=yes multicast=yes port=twisted pair speed=1Gbit/s

Do you know if my DS112 would work with one of your custom u-boot to make debian booting more straightforward?

Thanks again

/BayPanard



Edited 1 time(s). Last edit at 02/15/2025 09:46AM by BayPanard.
Re: Debian on Synology DS112
February 15, 2025 09:14PM
Bay,

With a HDD/SDD in the slot, boot back to stock OS and

dmesg
mount
lsblk
lspci
lspci -vv

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS112
February 16, 2025 07:03AM
Bodhi,

I will now plug both internal SATA and eSATA now for my tests.

I did boot debian from both previous dtb to check about eSATA and the port is working for both ! (dmesg attached)
I read somewhere (can't remember where..) in the forum that for another Synology box there was a GPIO to trigger sata power, maybe it's the same for my box?

Here are commands you asked from stock OS :

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

[    0.410000] CPU Interface
[    0.410000] -------------
[    0.410000] SDRAM_CS0 ....base 00000000, size 256MB
[    0.410000] SDRAM_CS1 ....disable
[    0.410000] SDRAM_CS2 ....disable
[    0.410000] SDRAM_CS3 ....disable
[    0.410000] PEX0_MEM ....base e0000000, size 128MB
[    0.410000] PEX0_IO ....base f2000000, size   1MB
[    0.410000] PEX1_MEM ....base e8000000, size 128MB
[    0.410000] PEX1_IO ....base f2100000, size   1MB
[    0.410000] INTER_REGS ....base f1000000, size   1MB
[    0.410000] NFLASH_CS ....base fa000000, size   2MB
[    0.410000] SPI_CS ....base f4000000, size  16MB
[    0.410000] BOOT_ROM_CS ....no such
[    0.410000] DEV_BOOTCS ....no such
[    0.410000] CRYPT_ENG ....base f0000000, size   2MB
[    0.410000]  Detected Tclk 200000000 and SysClk 533333333
[    0.410000] Synology 6282 DS112 GPIO Init
[    0.910000] PEX0 interface detected no Link.
[    1.410000] PEX1 interface detected Link X1
[    1.410000] PCI: bus0: Fast back to back transfers enabled
[    1.410000] pci 0000:01:01.0: reg 10 64bit mmio: [0x98000000-0x98001fff]
[    1.410000] pci 0000:01:01.0: PME# supported from D0 D3hot
[    1.410000] pci 0000:01:01.0: PME# disabled
[    1.410000] PCI: bus1: Fast back to back transfers disabled
[    1.420000] bio: create slab <bio-0> at 0
[    1.420000] vgaarb: loaded
[    1.420000] SCSI subsystem initialized
[    1.420000] libata version 3.00 loaded.
[    1.590000] raid6: int32x1    126 MB/s
[    1.760000] raid6: int32x2    185 MB/s
[    1.930000] raid6: int32x4    180 MB/s
[    2.100000] raid6: int32x8    193 MB/s
[    2.100000] raid6: using algorithm int32x8 (193 MB/s)
[    2.100000] Switching to clocksource kw_clocksource
[    2.100000] NET: Registered protocol family 2
[    2.100000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    2.100000] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    2.100000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    2.100000] TCP: Hash tables configured (established 8192 bind 8192)
[    2.100000] TCP reno registered
[    2.100000] NET: Registered protocol family 1
[    2.100000] RPC: Registered udp transport module.
[    2.100000] RPC: Registered tcp transport module.
[    2.100000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.100000] Trying to unpack rootfs image as initramfs...
[    3.070000] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    3.080000] Freeing initrd memory: 4096K
[    3.080000] XOR registered 4 channels
[    3.080000] XOR 2nd invalidate WA enabled
[    3.080000] VFS: Disk quotas dquot_6.5.2
[    3.080000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    3.080000] msgmni has been set to 486
[    3.080000] alg: No test for md5 (md5-generic)
[    3.080000] alg: No test for des (des-generic)
[    3.080000] alg: No test for des3_ede (des3_ede-generic)
[    3.080000] alg: No test for stdrng (krng)
[    3.080000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    3.080000] io scheduler noop registered
[    3.080000] io scheduler anticipatory registered (default)
[    3.090000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.090000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    3.100000] console [ttyS0] enabled
[    3.100000] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
[    3.110000] brd: module loaded
[    3.120000] sata_mv sata_mv.0: version 1.28
[    3.120000] sata_mv sata_mv.0: slots 32 ports 2
[    3.130000] scsi0 : sata_mv
[    3.130000] scsi1 : sata_mv
[    3.130000] ata1: SATA max UDMA/133 irq 21
[    3.140000] ata2: SATA max UDMA/133 irq 21
[    3.140000] Enable Synology sata fast booting
[    6.840000] physmap platform flash device: 00400000 at f8000000
[    6.850000] SPI Serial flash detected @ 0xf8000000, 4096KB (64sec x 64KB)
[    6.860000] Searching for RedBoot partition table in SYNOMTD-0 at offset 0x3f0000
[    6.870000] 6 RedBoot partitions found on MTD device SYNOMTD-0
[    6.880000] SYNOMTD flash bank 0: Using RedBoot partition definition
[    6.880000] Creating 6 MTD partitions on "SYNOMTD-0":
[    6.890000] 0x000000000000-0x000000080000 : "RedBoot"
[    6.890000] 0x000000080000-0x000000280000 : "zImage"
[    6.900000] 0x000000280000-0x0000003c0000 : "rd.gz"
[    6.900000] 0x0000003c0000-0x0000003d0000 : "vendor"
[    6.910000] vender Mac1 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[    6.910000] vender Mac2 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[    6.920000] vender Mac3 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[    6.930000] serial number='C3KDN00604'
[    6.930000] 0x0000003d0000-0x0000003f0000 : "RedBoot Config"
[    6.940000] 0x0000003f0000-0x000000400000 : "FIS directory"
[    6.950000] SPI Serial flash detected @ 0xf4000000, 4096KB (64sec x 64KB)
[    6.950000] cmdlinepart partition parsing not available
[    6.960000] Loading Marvell Ethernet Driver:
[    6.960000]   o Cached descriptors in DRAM
[    6.970000]   o DRAM SW cache-coherency
[    6.970000]   o 2 Giga ports supported
[    6.970000]   o Single RX Queue support - ETH_DEF_RXQ=0
[    6.980000]   o Single TX Queue support - ETH_DEF_TXQ=0
[    6.980000]   o TCP segmentation offload (TSO) supported
[    6.990000]   o Receive checksum offload supported
[    6.990000]   o Transmit checksum offload supported
[    7.000000]   o SKB Recycle supported - (Enabled)
[    7.000000]   o Rx descripors: q0=128
[    7.010000]   o Tx descripors: q0=532
[    7.010000]   o Loading network interface(s):
[    7.020000]     o  register under mv88fx_eth platform
[    7.020000]     o eth0, ifindex = 2, GbE port = 0
[    7.030000]     o eth0, phy chipid = 1410e90, Support WOL = 32

[    7.040000] md: linear personality registered for level -1
[    7.040000] md: raid0 personality registered for level 0
[    7.050000] md: raid1 personality registered for level 1
[    7.050000] md: raid10 personality registered for level 10
[    7.060000] md: raid6 personality registered for level 6
[    7.060000] md: raid5 personality registered for level 5
[    7.070000] md: raid4 personality registered for level 4
[    7.070000] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[    7.080000] cpuidle: using governor ladder
[    7.090000] TCP cubic registered
[    7.090000] NET: Registered protocol family 17
[    7.090000] NET: Registered protocol family 15
[    7.100000] registered taskstats version 1
[    8.280000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    8.300000] ata1.00: ATA-11: Patriot P220 2048GB, H221215a, max UDMA/133
[    8.300000] ata1.00: 4000797360 sectors, multi 1: LBA48 NCQ (depth 31/32)
[    8.330000] ata1.00: configured for UDMA/133
[    8.330000] ata1.00: Find SSD disks. [Patriot P220 2048GB]
[    8.360000] scsi 0:0:0:0: Direct-Access     Patriot  P220 2048GB              H221 PQ: 0 ANSI: 5
[   11.360000] sd 0:0:0:0: [sda] 4000797360 512-byte logical blocks: (2.04 TB/1.86 TiB)
[   11.370000] sd 0:0:0:0: [sda] Write Protect is off
[   11.370000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   11.370000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   11.380000]  sda: sda1 sda2 sda3
[   11.390000] sd 0:0:0:0: [sda] Attached SCSI disk
[   11.870000] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[   11.910000] ata2.00: ATA-9: ST2000DM001-1CH164, CC27, max UDMA/133
[   11.910000] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   11.980000] ata2.00: configured for UDMA/133
[   12.000000] scsi 1:0:0:0: Direct-Access     ATA      ST2000DM001-1CH164       CC27 PQ: 0 ANSI: 5
[   12.000000] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[   12.010000] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[   12.020000] sd 1:0:0:0: [sdb] Write Protect is off
[   12.020000] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   12.020000] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.030000]  sdb: sdb1
[   12.050000] sd 1:0:0:0: [sdb] Attached SCSI disk
[   12.050000] md: Waiting for all devices to be available before autodetect
[   12.060000] md: If you don't use raid, use raid=noautodetect
[   12.070000] md: Autodetecting RAID arrays.
[   12.070000] md: Scanned 0 and added 0 devices.
[   12.080000] md: autorun ...
[   12.080000] md: ... autorun DONE.
[   12.080000] RAMDISK: lzma image found at block 0
[   13.130000] VFS: Mounted root (ext2 filesystem) on device 1:0.
[   13.420000] usbcore: registered new interface driver usbfs
[   13.430000] usbcore: registered new interface driver hub
[   13.460000] usbcore: registered new interface driver ethub
[   13.460000] usbcore: registered new device driver usb
[   13.540000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   13.540000] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   13.550000] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   13.590000] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   13.610000] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   13.610000] usb usb1: configuration #1 chosen from 1 choice
[   13.640000] hub 1-0:1.0: USB hub found
[   13.640000] hub 1-0:1.0: 1 port detected
[   13.740000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   13.800000] xhci_hcd 0000:01:01.0: xHCI Host Controller
[   13.800000] xhci_hcd 0000:01:01.0: new USB bus registered, assigned bus number 2
[   13.810000] xhci_hcd 0000:01:01.0: irq 10, io mem 0xe8000000
[   13.820000] usb usb2: No SuperSpeed endpoint companion for config 1  interface 0 altsetting 0 ep 129: using minimum values
[   13.850000] usb usb2: configuration #1 chosen from 1 choice
[   13.850000] xHCI xhci_add_endpoint called for root hub
[   13.850000] xHCI xhci_check_bandwidth called for root hub
[   13.850000] hub 2-0:1.0: USB hub found
[   13.850000] hub 2-0:1.0: 4 ports detected
[   14.000000] ds112_synobios: module license 'Synology Inc.' taints kernel.
[   14.010000] Disabling lock debugging due to kernel taint
[   14.040000] correction with 0x57
[   14.130000] 2025-2-16 11:18:33 UTC
[   14.140000] synobios: load, major number 201
[   14.140000] Brand: Synology
[   14.140000] Model: DS-112
[   14.150000] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[   14.150000] synobios cpu_arch proc entry initialized
[   14.160000] synobios crypto_hw proc entry initialized
[   14.160000] synobios syno_platform proc entry initialized
[   14.170000] synobios open /dev/ttyS1 success
[   14.200000] synobios: unload
[   14.240000] md: md0 stopped.
[   20.060000] EXT4-fs (sda1): barriers disabled
[   20.070000] EXT4-fs (sda1): mounted filesystem with ordered data mode
[   21.250000] EXT4-fs (sda3): barriers disabled
[   21.450000] EXT4-fs (sda3): mounted filesystem with ordered data mode
[   24.530000] EXT3-fs: sda1: couldn't mount because of unsupported optional features (240).
[   24.530000] EXT2-fs: sda1: couldn't mount because of unsupported optional features (240).
[   24.540000] EXT4-fs (sda1): barriers disabled
[   24.550000] EXT4-fs (sda1): mounted filesystem with ordered data mode
[   24.560000] VFS: Mounted root (ext4 filesystem) on device 8:1.
[   24.560000] Trying to move old root to /initrd ... okay
[   24.570000] Freeing init memory: 124K
[   38.310000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   38.310000] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   38.530000] Adding 2097144k swap on /dev/sda2.  Priority:-1 extents:1 across:2097144k SS
[   40.700000] <30>systemd-udevd[1160]: starting version 204
[   57.370000] NET: Registered protocol family 10
[   57.380000] lo: Disabled Privacy Extensions
[   57.520000] IPv6 over IPv4 tunneling driver
[   57.530000] sit0: Disabled Privacy Extensions
[   61.950000] init: syno-auth-check main process (2048) killed by TERM signal
[   62.390000] cpufreq: Init kirkwood cpufreq driver
[   62.390000] cpufreq: High frequency: 1600000KHz - Low frequency: 533333KHz
[   64.770000] alg: No test for aes (aes-generic)
[   65.980000] alg: No test for stdrng (ansi_cprng)
[   66.250000] alg: No test for crc32c (crc32c-generic)
[   66.430000] cesadev_init(bf192000)
[   66.460000] mvCesaInit: sessions=10240, queue=64, pSram=f0000000
[   66.530000] alg: No test for sha1 (sha1-generic)
[   66.560000] alg: No test for sha224 (sha224-generic)
[   66.560000] alg: No test for sha256 (sha256-generic)
[   66.610000] encryptfs using the OCF package.
[   66.860000] alg: No test for arc4 (arc4-generic)
[   66.970000] fuse init (API version 7.13)
[   67.070000] exFAT: Version 1.2.9
[   67.220000] sky2 driver version 1.25
[   67.350000] correction with 0x57
[   67.440000] 2025-2-16 11:19:27 UTC
[   67.450000] synobios: load, major number 201
[   67.450000] Brand: Synology
[   67.450000] Model: DS-112
[   67.460000] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[   67.460000] synobios cpu_arch proc entry initialized
[   67.470000] synobios crypto_hw proc entry initialized
[   67.470000] synobios syno_platform proc entry initialized
[   67.480000] synobios open /dev/ttyS1 success
[   69.320000] eth0: mac address changed
[   71.420000] eth0: link down
[   71.420000] eth0: started
[   71.430000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   72.920000] eth0: link up, full duplex, speed 1 Gbps
[   72.930000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   98.700000] EXT4-fs (sda3): barriers disabled
[   98.890000] EXT4-fs (sda3): mounted filesystem with writeback data mode
[  115.630000] Initializing USB Mass Storage driver...
[  115.640000] usbcore: registered new interface driver usb-storage
[  115.640000] USB Mass Storage support registered.
[  116.340000] usbcore: registered new interface driver usblp
[  117.360000] usbcore: registered new interface driver hiddev
[  117.360000] usbcore: registered new interface driver usbhid
[  117.370000] usbhid: v2.6:USB HID core driver
[  122.020000] loop: module loaded
[  122.940000] iSCSI: init_io_buffer_head(833) LUN-backup: 512 buffers allocated, total 2097152 bytes successfully
[  124.850000] Slow work thread pool: Starting up
[  125.560000] Slow work thread pool: Ready
[  128.910000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[  132.210000] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[  132.220000] NFSD: starting 90-second grace period
[  132.850000] ata1.00: configured for UDMA/133
[  132.850000] ata1: EH complete
[  135.400000] warning: `nginx' uses 32-bit capabilities (legacy support in use)
[  139.380000] kjournald starting.  Commit interval 5 seconds
[  139.380000] EXT3 FS on sdb1, internal journal
[  139.390000] EXT3-fs: mounted filesystem with ordered data mode.
[  156.560000] findhostd uses obsolete (PF_INET,SOCK_PACKET)
[  159.340000] init: syno_disk_latency_monitor faild on spawn stage, stopped
[  179.560000] eth0: link down
[  179.570000] eth0: link up, full duplex, speed 1 Gbps
[  181.610000] init: syno-check-disk-compatibility main process (7777) terminated with status 255
[  195.770000] init: nmbd main process (8849) killed by TERM signal
sh-4.3# mount
/dev/sda1 on / type ext4 (rw,relatime,user_xattr,barrier=0,journal_checksum,data=ordered)
none on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=122604k,nr_inodes=30651,mode=755)
none on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
none on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
/tmp on /tmp type tmpfs (rw,relatime)
/run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
/proc/bus/usb on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda3 on /volume1 type ext4 (rw,noatime,user_xattr,synoacl,barrier=0,journal_checksum,data=writeback,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
none on /config type configfs (rw,relatime)
none on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/sdb1 on /volumeSATA/satashare type ext3 (rw,relatime,errors=remount-ro,user_xattr,data=ordered)
sh-4.3# lspci
01:01.0 Class 0c03: Device 1033:0194 (rev 04)
sh-4.3# lspci -vv
01:01.0 Class 0c03: Device 1033:0194 (rev 04) (prog-if 30)
        Subsystem: Device 1033:0194
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at e8000000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [90] MSI-X: Enable- Count=8 Masked-
                Vector table: BAR=0 offset=00001000
                PBA: BAR=0 offset=00001080
        Capabilities: [a0] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <4us, L1 unlimited
                        ClockPM+ Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk-
                        ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR+, OBFF Not Supported
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [100 v4] #1033
        Kernel driver in use: xhci_hcd

/BayPanard



Edited 1 time(s). Last edit at 02/16/2025 07:14AM by BayPanard.
Attachments:
open | download - ds112_dtb_dmesg.txt (21.9 KB)
open | download - ds112-v10j_dtb_dmesg.txt (22 KB)
Re: Debian on Synology DS112
February 17, 2025 03:38AM
Bay,

Stock dmesg

[    8.280000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    8.300000] ata1.00: ATA-11: Patriot P220 2048GB, H221215a, max UDMA/133
[    8.300000] ata1.00: 4000797360 sectors, multi 1: LBA48 NCQ (depth 31/32)
[    8.330000] ata1.00: configured for UDMA/133
[    8.330000] ata1.00: Find SSD disks. [Patriot P220 2048GB]
[    8.360000] scsi 0:0:0:0: Direct-Access     Patriot  P220 2048GB              H221 PQ: 0 ANSI: 5
[   11.360000] sd 0:0:0:0: [sda] 4000797360 512-byte logical blocks: (2.04 TB/1.86 TiB)
[   11.370000] sd 0:0:0:0: [sda] Write Protect is off
[   11.370000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   11.370000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   11.380000]  sda: sda1 sda2 sda3
[   11.390000] sd 0:0:0:0: [sda] Attached SCSI disk

[   11.870000] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[   11.910000] ata2.00: ATA-9: ST2000DM001-1CH164, CC27, max UDMA/133
[   11.910000] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   11.980000] ata2.00: configured for UDMA/133
[   12.000000] scsi 1:0:0:0: Direct-Access     ATA      ST2000DM001-1CH164       CC27 PQ: 0 ANSI: 5
[   12.000000] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[   12.010000] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[   12.020000] sd 1:0:0:0: [sdb] Write Protect is off
[   12.020000] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   12.020000] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   12.030000]  sdb: sdb1
[   12.050000] sd 1:0:0:0: [sdb] Attached SCSI disk


Which one is the eSATA?

Quote

I did boot debian from both previous dtb to check about eSATA and the port is working for both ! (dmesg attached)

OK. Both Seagate HDD and Patriot SSD work in stock OS.

======

With both disks plugged in. Power up, interrupt u-boot count down, and

help
md.l 0xF1010000 8
md.l 0xF1010100 1
md.l 0xF1010140 1

And then execute these (only one will work)

ide reset 
sata init
scsi reset

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



Edited 1 time(s). Last edit at 02/17/2025 03:55AM by bodhi.
Re: Debian on Synology DS112
February 17, 2025 11:25AM
Bodhi,

Quote
Bodhi
Which one is the eSATA?

ata1 is internal SATA with my 2 TB SSD (Patriot P220 2048GB)
ata2 is eSATA with a Seagate 2TB HDD (ST2000DM001-1CH164)

======

I did try your commands (output below), but there is no "ide" "sata" or "scsi" command built in stock u-boot..

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

/BayPanard
Re: Debian on Synology DS112
February 17, 2025 11:42AM
Bay,

Quote

I did try your commands (output below), but there is no "ide" "sata" or "scsi" command built in stock u-boot..

Ah, this stock u-boot is worse than I thought.

How about:
help pci    # see what sub commands are there and perhaps it is "pci init" to spin up whatever device on this bus
pci init

====

Attach is the updated DTB and DTS, please try this DTB for Debian booting with both SATA drives attached.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - kirkwood-ds112-v10j.dtb.250217.tar (30 KB)
Re: Debian on Synology DS112
February 18, 2025 06:17AM
Bodhi,

Unfortunately the pci command doesn't have anything to spin the drive :

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

=======

But your new DTB did the trick ! I can now reach internal SATA (and eSata is still working) :-D

root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Synology DS112 V10j
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 232300K/262144K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 29844K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000001] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008518] Switching to timer-based delay loop, resolution 5ns
[    0.015587] Console: colour dummy device 80x30
[    0.020795] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032011] CPU: Testing write buffer coherency: ok
[    0.037665] pid_max: default: 32768 minimum: 301
[    0.049596] LSM: initializing lsm=capability,integrity
[    0.057215] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.065245] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.083099] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.091146] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.099787] Setting up static identity map for 0x100000 - 0x100058
[    0.106905] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x0
[    0.113092] rcu: Hierarchical SRCU implementation.
[    0.118632] rcu:     Max phase no-delay instances is 1000.
[    0.126737] devtmpfs: initialized
[    0.143915] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.154493] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.164121] prandom: seed boundary self test passed
[    0.172908] prandom: 100 self tests passed
[    0.177686] pinctrl core: initialized pinctrl subsystem
[    0.186509] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.194324] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.206009] audit: initializing netlink subsys (disabled)
[    0.213731] thermal_sys: Registered thermal governor 'step_wise'
[    0.213858] cpuidle: using governor ladder
[    0.225368] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=0 res=1
[    0.233892] cpuidle: using governor menu
[    0.239023] Feroceon L2: Enabling L2
[    0.243304] Feroceon L2: Cache support initialised.
[    0.258285] No ATAGs?
[    0.618533] raid6: int32x8  gen()   151 MB/s
[    0.958532] raid6: int32x4  gen()   140 MB/s
[    1.298556] raid6: int32x2  gen()   180 MB/s
[    1.638531] raid6: int32x1  gen()   131 MB/s
[    1.643476] raid6: using algorithm int32x2 gen() 180 MB/s
[    1.998532] raid6: .... xor() 115 MB/s, rmw enabled
[    2.004084] raid6: using intx1 recovery algorithm
[    2.019831] SCSI subsystem initialized
[    2.038620] libata version 3.00 loaded.
[    2.038967] usbcore: registered new interface driver usbfs
[    2.045172] usbcore: registered new interface driver hub
[    2.058586] usbcore: registered new device driver usb
[    2.064646] pps_core: LinuxPPS API ver. 1 registered
[    2.078531] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.088343] PTP clock support registered
[    2.120365] vgaarb: loaded
[    2.124398] clocksource: Switched to clocksource orion_clocksource
[    2.141358] VFS: Disk quotas dquot_6.6.0
[    2.164739] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.196660] NET: Registered PF_INET protocol family
[    2.214495] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    2.235324] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    2.244670] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    2.253097] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    2.284449] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    2.292290] TCP: Hash tables configured (established 2048 bind 2048)
[    2.314948] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    2.323018] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.344462] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.352765] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.375245] RPC: Registered named UNIX socket transport module.
[    2.381834] RPC: Registered udp transport module.
[    2.394420] RPC: Registered tcp transport module.
[    2.399796] RPC: Registered tcp-with-tls transport module.
[    2.424413] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.431535] PCI: CLS 0 bytes, default 32
[    2.446688] Trying to unpack rootfs image as initramfs...
[    3.189967] Freeing initrd memory: 5656K
[    3.413280] Initialise system trusted keyrings
[    3.419421] Key type blacklist registered
[    3.424475] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    3.431717] zbud: loaded
[    3.449408] NFS: Registering the id_resolver key type
[    3.455216] Key type id_resolver registered
[    3.460072] Key type id_legacy registered
[    3.464921] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.472298] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.481579] jffs2: version 2.2. (NAND) (SUMMARY)  \xc2\xa9 2001-2006 Red Hat, Inc.
[    3.489987] fuse: init (API version 7.38)
[    3.495847] orangefs_debugfs_init: called with debug mask: :none: :0:
[    3.503206] orangefs_init: module version upstream loaded
[    3.509589] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    3.677626] xor: measuring software checksum speed
[    3.689818]    arm4regs        :  1468 MB/sec
[    3.705913]    8regs           :   890 MB/sec
[    3.718737]    32regs          :  1263 MB/sec
[    3.723763] xor: using function: arm4regs (1468 MB/sec)
[    3.729677] async_tx: api initialized (async)
[    3.734725] Key type asymmetric registered
[    3.739498] Asymmetric key parser 'x509' registered
[    3.785182] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    3.793579] io scheduler bfq registered
[    3.940530] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    3.950260] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.960924] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.971360] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    3.981249] mvebu-pcie mbus@f1000000:pcie@82000000: Parsing ranges property...
[    3.981285] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    3.991410] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    4.001513] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    4.011602] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.022200] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.032800] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    4.043392] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    4.054890] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    4.063132] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.069349] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    4.080202] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    4.091045] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    4.101885] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    4.109448] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    4.116400] pci_bus 0000:00: scanning bus
[    4.116515] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    4.123519] pci 0000:00:01.0: vgaarb: pci_notify
[    4.123721] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    4.130728] pci 0000:00:02.0: vgaarb: pci_notify
[    4.132436] pci_bus 0000:00: fixups for bus
[    4.132457] PCI: bus0: Fast back to back transfers disabled
[    4.138730] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    4.138745] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.147434] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0
[    4.147448] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.156132] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    4.156328] pci_bus 0000:01: scanning bus
[    4.156406] pci_bus 0000:01: fixups for bus
[    4.156415] PCI: bus1: Fast back to back transfers enabled
[    4.162565] pci_bus 0000:01: bus scan returning with max=01
[    4.162576] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.169888] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1
[    4.170044] pci_bus 0000:02: scanning bus
[    4.170097] pci 0000:02:00.0: [1033:0194] type 00 class 0x0c0330
[    4.176870] pci 0000:02:00.0: reg 0x10: [mem 0x98000000-0x98001fff 64bit]
[    4.184502] pci 0000:02:00.0: PME# supported from D0 D3hot
[    4.190666] pci 0000:02:00.0: PME# disabled
[    4.190763] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    4.206611] pci 0000:02:00.0: vgaarb: pci_notify
[    4.234477] pci_bus 0000:02: fixups for bus
[    4.234495] PCI: bus2: Fast back to back transfers disabled
[    4.240740] pci_bus 0000:02: bus scan returning with max=02
[    4.240751] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    4.248057] pci_bus 0000:00: bus scan returning with max=02
[    4.248088] pci 0000:00:02.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    4.255647] pci 0000:00:01.0: PCI bridge to [bus 01]
[    4.261299] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    4.269297] pci 0000:00:02.0: PCI bridge to [bus 02]
[    4.274956] pci 0000:00:02.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    4.282480] pcieport 0000:00:01.0: vgaarb: pci_notify
[    4.282512] pcieport 0000:00:01.0: assign IRQ: got 0
[    4.282540] pcieport 0000:00:01.0: enabling bus mastering
[    4.282569] pcieport 0000:00:01.0: vgaarb: pci_notify
[    4.282623] pcieport 0000:00:02.0: vgaarb: pci_notify
[    4.282651] pcieport 0000:00:02.0: assign IRQ: got 0
[    4.282668] pcieport 0000:00:02.0: enabling device (0140 -> 0142)
[    4.289456] pcieport 0000:00:02.0: enabling bus mastering
[    4.289484] pcieport 0000:00:02.0: vgaarb: pci_notify
[    4.289513] pci 0000:00:02.0: enabling bus mastering
[    4.290265] mv_xor f1060800.xor: Marvell shared XOR driver
[    4.356369] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.367993] mv_xor f1060900.xor: Marvell shared XOR driver
[    4.436378] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.448337] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.457543] printk: console [ttyS0] disabled
[    4.463002] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 29, base_baud = 12500000) is a 16550A
[    4.472734] printk: console [ttyS0] enabled
[    4.482573] printk: bootconsole [earlycon0] disabled
[    4.515918] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 30, base_baud = 12500000) is a 16550A
[    4.536152] loop: module loaded
[    4.540427] sata_mv f1080000.sata: version 1.28
[    4.541029] sata_mv f1080000.sata: slots 32 ports 2
[    4.550589] scsi host0: sata_mv
[    4.555800] scsi host1: sata_mv
[    4.559984] ata1: SATA max UDMA/133 irq 31
[    4.564863] ata2: SATA max UDMA/133 irq 31
[    4.571731] spi-nor spi0.0: found m25p32, expected m25p80
[    4.577969] spi-nor spi0.0: m25p32 (4096 Kbytes)
[    4.583461] 6 fixed-partitions partitions found on MTD device spi0.0
[    4.590572] Creating 6 MTD partitions on "spi0.0":
[    4.596134] 0x000000000000-0x000000080000 : "RedBoot"
[    4.602563] 0x000000080000-0x000000280000 : "zImage"
[    4.608842] 0x000000280000-0x0000003c0000 : "rd.gz"
[    4.615090] 0x0000003c0000-0x0000003d0000 : "vendor"
[    4.621356] 0x0000003d0000-0x0000003f0000 : "RedBoot config"
[    4.628325] 0x0000003f0000-0x000000400000 : "FIS directory"
[    4.635754] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    4.644325] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    4.658340] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    4.683770] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    4.693863] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:3c:3b:5d
[    4.704004] orion-ehci f1050000.ehci: EHCI Host Controller
[    4.710314] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.718946] orion-ehci f1050000.ehci: irq 34, io mem 0xf1050000
[    4.754428] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.761463] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    4.770491] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.778464] usb usb1: Product: EHCI Host Controller
[    4.784063] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd
[    4.791445] usb usb1: SerialNumber: f1050000.ehci
[    4.797761] hub 1-0:1.0: USB hub found
[    4.802302] hub 1-0:1.0: 1 port detected
[    4.807716] xhci_hcd 0000:02:00.0: vgaarb: pci_notify
[    4.807881] xhci_hcd 0000:02:00.0: assign IRQ: got 35
[    4.807961] xhci_hcd 0000:02:00.0: enabling bus mastering
[    4.807978] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    4.813989] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    4.822486] xhci_hcd 0000:02:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x0000000000000004
[    4.832352] xhci_hcd 0000:02:00.0: enabling Mem-Wr-Inval
[    4.832943] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    4.839885] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[    4.848105] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed
[    4.855394] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    4.864441] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.872419] usb usb2: Product: xHCI Host Controller
[    4.878052] usb usb2: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[    4.885431] usb usb2: SerialNumber: 0000:02:00.0
[    4.891540] hub 2-0:1.0: USB hub found
[    4.896073] ata1: SATA link down (SStatus 0 SControl F300)
[    4.902388] hub 2-0:1.0: 2 ports detected
[    4.907874] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.917039] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[    4.926092] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.934057] usb usb3: Product: xHCI Host Controller
[    4.939792] usb usb3: Manufacturer: Linux 6.5.7-kirkwood-tld-1 xhci-hcd
[    4.947164] usb usb3: SerialNumber: 0000:02:00.0
[    4.953265] hub 3-0:1.0: USB hub found
[    4.957827] hub 3-0:1.0: 2 ports detected
[    4.963221] xhci_hcd 0000:02:00.0: vgaarb: pci_notify
[    4.963408] usbcore: registered new interface driver usb-storage
[    4.970712] mousedev: PS/2 mouse device common for all mice
[    4.977399] i2c_dev: i2c /dev entries driver
[    4.985110] rtc-s35390a 0-0030: registered as rtc0
[    4.990709] rtc-s35390a 0-0030: hctosys: unable to read the hardware clock
[    4.999474] device-mapper: uevent: version 1.0.3
[    5.005299] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    5.015076] device-mapper: multipath round-robin: version 1.2.0 loaded
[    5.022339] device-mapper: multipath queue-length: version 0.2.0 loaded
[    5.029739] device-mapper: multipath service-time: version 0.3.0 loaded
[    5.037198] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.044973] ledtrig-cpu: registered to indicate activity on CPUs
[    5.051798] hid: raw HID events driver (C) Jiri Kosina
[    5.058069] drop_monitor: Initializing network drop monitor service
[    5.066518] NET: Registered PF_INET6 protocol family
[    5.074116] Segment Routing with IPv6
[    5.078842] RPL Segment Routing with IPv6
[    5.083692] In-situ OAM (IOAM) with IPv6
[    5.088496] NET: Registered PF_PACKET protocol family
[    5.094601] Key type dns_resolver registered
[    5.114322] registered taskstats version 1
[    5.119296] Loading compiled-in X.509 certificates
[    5.142181] Key type .fscrypt registered
[    5.146941] Key type fscrypt-provisioning registered
[    5.157665] Key type big_key registered
[    5.198603] Key type encrypted registered
[    5.286893] "cryptomgr_test" (105) uses obsolete ecb(arc4) skcipher
[    5.424438] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl F300)
[    5.446673] ata2.00: ATA-9: ST2000DM001-1CH164, CC27, max UDMA/133
[    5.453596] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    5.904629] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd
[    5.939798] usb 3-2: New USB device found, idVendor=0781, idProduct=558b, bcdDevice= 1.00
[    5.964414] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.972286] usb 3-2: Product: Extreme
[    5.984415] usb 3-2: Manufacturer: SanDisk
[    5.989237] usb 3-2: SerialNumber: 4C530001101117121333
[    6.007283] usb-storage 3-2:1.0: USB Mass Storage device detected
[    6.024887] scsi host2: usb-storage 3-2:1.0
[    7.055969] scsi 2:0:0:0: Direct-Access     SanDisk  Extreme          1.00 PQ: 0 ANSI: 6
[    7.075604] sd 2:0:0:0: [sda] 122552320 512-byte logical blocks: (62.7 GB/58.4 GiB)
[    7.094531] sd 2:0:0:0: [sda] Write Protect is off
[    7.100188] sd 2:0:0:0: [sda] Mode Sense: 43 00 00 00
[    7.101092] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    7.130663] clk: Disabling unused clocks
[    7.161217]  sda: sda1
[    7.164950] sd 2:0:0:0: [sda] Attached SCSI removable disk
[   10.429017] ata2.00: configured for UDMA/133
[   10.444527] scsi 1:0:0:0: Direct-Access     ATA      ST2000DM001-1CH1 CC27 PQ: 0 ANSI: 5
[   10.454670] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[   10.463160] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[   10.469591] sd 1:0:0:0: [sdb] Write Protect is off
[   10.475143] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   10.475228] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   10.485136] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[   10.559153]  sdb: sdb1
[   10.562648] sd 1:0:0:0: [sdb] Attached SCSI disk
[   10.571155] Freeing unused kernel image (initmem) memory: 1024K
[   10.578416] Checked W+X mappings: passed, no W+X pages found
[   10.584841] Run /init as init process
[   10.589220]   with arguments:
[   10.589228]     /init
[   10.589235]   with environment:
[   10.589241]     HOME=/
[   10.589248]     TERM=linux
[   11.667390] usbcore: registered new interface driver uas
[   13.094433] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   13.103757] ata1.00: ATA-11: Patriot P220 2048GB, H221215a, max UDMA/133
[   13.111218] ata1.00: 4000797360 sectors, multi 1: LBA48 NCQ (depth 31/32)
[   13.123523] ata1.00: configured for UDMA/133
[   13.130170] scsi 0:0:0:0: Direct-Access     ATA      Patriot P220 204 215a PQ: 0 ANSI: 5
[   13.143024] sd 0:0:0:0: [sdc] 4000797360 512-byte logical blocks: (2.05 TB/1.86 TiB)
[   13.156242] sd 0:0:0:0: [sdc] Write Protect is off
[   13.161775] sd 0:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[   13.161858] sd 0:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   13.171837] sd 0:0:0:0: [sdc] Preferred minimum I/O size 512 bytes
[   13.184296]  sdc: sdc1 sdc2 sdc3
[   13.193943] sd 0:0:0:0: [sdc] Attached SCSI disk
[   27.289761] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   27.401332] EXT4-fs (sda1): mounted filesystem 53e652bf-c8f5-41e5-b126-cced83f363ef ro with ordered data mode. Quota mode: none.
[   29.993919] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized
[   30.401282] orion_wdt: Initial timeout 21 sec
[   30.501328] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   30.599321] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   30.756128] sd 0:0:0:0: Attached scsi generic sg2 type 0
[   31.004479] random: crng init done
[   31.030388] marvell-cesa f1030000.crypto: CESA device successfully registered
[   33.004253] EXT4-fs (sda1): re-mounted 53e652bf-c8f5-41e5-b126-cced83f363ef r/w. Quota mode: none.
[   34.673901] Adding 1048572k swap on /swapfile1.  Priority:-2 extents:18 across:4597952k FS
[   38.977710] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
root@debian:~# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda      8:0    1 58.4G  0 disk
`-sda1   8:1    1 58.4G  0 part /
sdb      8:16   0  1.8T  0 disk
`-sdb1   8:17   0  1.8T  0 part
sdc      8:32   0  1.9T  0 disk
|-sdc1   8:33   0  2.4G  0 part
|-sdc2   8:34   0    2G  0 part
`-sdc3   8:35   0  1.9T  0 part
root@debian:~# lshw
debian
    description: Feroceon 88FR131 rev 1 (v5l)
    product: Synology DS112 V10j
    width: 32 bits
  *-core
       description: Motherboard
       physical id: 0
     *-cpu
          description: CPU
          product: cpu
          physical id: 0
          bus info: cpu@0
          size: 1600MHz
          capacity: 1600MHz
          capabilities: swp half thumb fastmult edsp cpufreq
     *-memory
          description: System memory
          physical id: 3
          size: 233MiB
     *-pci:0
          description: PCI bridge
          product: Marvell Technology Group Ltd.
          vendor: Marvell Technology Group Ltd.
          physical id: 1
          bus info: pci@0000:00:01.0
          version: 00
          width: 32 bits
          clock: 33MHz
          capabilities: pci pciexpress normal_decode cap_list
     *-pci:1
          description: PCI bridge
          product: Marvell Technology Group Ltd.
          vendor: Marvell Technology Group Ltd.
          physical id: 2
          bus info: pci@0000:00:02.0
          version: 00
          width: 32 bits
          clock: 33MHz
          capabilities: pci pciexpress normal_decode bus_master cap_list
          resources: memory:e0000000-e00fffff
        *-usb
             description: USB controller
             product: uPD720200 USB 3.0 Host Controller
             vendor: NEC Corporation
             physical id: 0
             bus info: pci@0000:02:00.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi msix pciexpress xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:35 memory:e0000000-e0001fff
     *-scsi:0
          physical id: 4
          bus info: usb@3:2
          logical name: scsi2
          capabilities: emulated
        *-disk
             description: SCSI Disk
             product: Extreme
             vendor: SanDisk
             physical id: 0.0.0
             bus info: scsi@2:0.0.0
             logical name: /dev/sda
             version: 1.00
             serial: 4C530001101117121333
             size: 58GiB (62GB)
             capabilities: removable
             configuration: ansiversion=6 logicalsectorsize=512 sectorsize=512
           *-medium
                physical id: 0
                logical name: /dev/sda
                size: 58GiB (62GB)
                capabilities: partitioned partitioned:dos
              *-volume
                   description: EXT3 volume
                   vendor: Linux
                   physical id: 1
                   logical name: /dev/sda1
                   logical name: /
                   version: 1.0
                   serial: 53e652bf-c8f5-41e5-b126-cced83f363ef
                   size: 58GiB
                   capacity: 58GiB
                   capabilities: primary journaled extended_attributes large_files ext3 ext2 initialized
                   configuration: created=2025-02-08 14:53:14 filesystem=ext3 label=rootfs lastmountpoint=/ modified=1970-01-01 01:00:27 mount.fstype=ext3 mount.options=rw,noatime,errors=remount-ro mounted=2025-02-18 06:56:07 state=mounted
     *-scsi:1
          physical id: 5
          logical name: scsi1
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: ST2000DM001-1CH1
             physical id: 0.0.0
             bus info: scsi@1:0.0.0
             logical name: /dev/sdb
             version: CC27
             serial: Z1E5FW6J
             size: 1863GiB (2TB)
             capabilities: partitioned partitioned:dos
             configuration: ansiversion=5 logicalsectorsize=512 sectorsize=4096 signature=fce69b9d
           *-volume
                description: EXT3 volume
                physical id: 1
                bus info: scsi@1:0.0.0,1
                logical name: /dev/sdb1
                version: 1.0
                serial: 98019b0e-71d4-6a4c-931f-5ce39a50148d
                size: 1863GiB
                capacity: 1863GiB
                capabilities: primary journaled extended_attributes large_files ext3 ext2 initialized
                configuration: created=2025-02-16 11:58:08 filesystem=ext3 label=2TB lastmountpoint=/media/sda1 modified=2025-02-16 14:10:09 mounted=2025-02-16 14:08:28 state=clean
     *-scsi:2
          physical id: 6
          logical name: scsi0
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: Patriot P220 204
             physical id: 0.0.0
             bus info: scsi@0:0.0.0
             logical name: /dev/sdc
             version: 215a
             serial: P220ADCB2306300339
             size: 1907GiB (2048GB)
             capabilities: partitioned partitioned:dos
             configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=324c7b59
           *-volume:0
                description: EXT4 volume
                vendor: Linux
                physical id: 1
                bus info: scsi@0:0.0.0,1
                logical name: /dev/sdc1
                version: 1.0
                serial: f6a6fbf3-9f6e-44af-9934-7426bf90e361
                size: 2431MiB
                capacity: 2431MiB
                capabilities: primary journaled extended_attributes large_files huge_files dir_nlink extents ext4 ext2 initialized
                configuration: created=2000-01-01 01:00:42 filesystem=ext4 label=1.42.6-25556 lastmountpoint=/ modified=2025-02-16 20:52:31 mounted=2025-02-16 20:52:31 state=clean
           *-volume:1
                description: Linux swap volume
                physical id: 2
                bus info: scsi@0:0.0.0,2
                logical name: /dev/sdc2
                version: 1
                serial: 8740bd0e-b1ec-40bf-87e0-6b08b507710e
                size: 2GiB
                capacity: 2GiB
                capabilities: primary nofs swap initialized
                configuration: filesystem=swap pagesize=4096
           *-volume:2
                description: EXT4 volume
                vendor: Linux
                physical id: 3
                bus info: scsi@0:0.0.0,3
                logical name: /dev/sdc3
                version: 1.0
                serial: c572a1da-7817-4158-b0cf-4cc5f7e34531
                size: 1903GiB
                capacity: 1903GiB
                capabilities: primary journaled extended_attributes large_files huge_files dir_nlink extents ext4 ext2 initialized
                configuration: created=2000-01-01 01:00:43 filesystem=ext4 label=1.42.6-25556 lastmountpoint=/volume1 modified=2025-02-16 22:54:10 mounted=2025-02-16 20:53:28 state=clean
  *-network
       description: Ethernet interface
       physical id: 1
       logical name: eth0
       serial: 00:50:43:3c:3b:5d
       size: 1Gbit/s
       capacity: 1Gbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=mv643xx_eth driverversion=1.4 duplex=full firmware=N/A ip=192.168.1.219 link=yes multicast=yes port=twisted pair speed=1Gbit/s

/BayPanard
Re: Debian on Synology DS112
February 18, 2025 10:25AM
BayPanard,

> But your new DTB did the trick ! I can now reach
> internal SATA (and eSata is still working) :-D

Cool!

Now you shoud check other peripherals. Like Fan and LEDs. RTC is already working.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS112
February 18, 2025 11:27AM
Looks like RTC still has problem
[    4.985110] rtc-s35390a 0-0030: registered as rtc0
[    4.990709] rtc-s35390a 0-0030: hctosys: unable to read the hardware clock

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS112
February 19, 2025 04:53AM
Bodhi,

I read some post from the wiki regarding fan and led, but I'm not making progress...

/sys/class/leds/ is an empty folder

root@debian:~# ll /sys/class/leds/
total 0
drwxr-xr-x  2 root root 0 Feb 19 11:32 .
drwxr-xr-x 49 root root 0 Feb 19 00:44 ..


sensors-detect doesn't find anything :

root@debian:~# sensors-detect
# sensors-detect version 3.6.0
# DMI data unavailable, please consider installing dmidecode 2.7
# or later for better results.
# Kernel: 6.5.7-kirkwood-tld-1 armv5tel
# Processor: Feroceon 88FR131 rev 1 (v5l)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): YES
modprobe: FATAL: Module cpuid not found in directory /lib/modules/6.5.7-kirkwood-tld-1
Failed to load module cpuid.
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 16h thermal sensors...                           No
AMD Family 17h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Hygon Family 18h thermal sensors...                         No
Intel digital thermal sensor...                             No
Intel AMB FB-DIMM thermal sensor...                         No
Intel 5500/5520/X58 thermal sensor...                       No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): YES
Sorry, no supported PCI bus adapters found.

Next adapter: mv64xxx_i2c adapter (i2c-0)
Do you want to scan it? (YES/no/selectively): YES

Sorry, no sensors were detected.
Either your system has no sensors, or they are not supported, or
they are connected to an I2C or SMBus adapter that is not
supported. If you find out what chips are on your board, check
https://hwmon.wiki.kernel.org/device_support_status for driver status.

pwmconfig thinks it found something but it doesn't correlate to the actual fan :
root@debian:~# pwmconfig
# pwmconfig version 3.6.0
This program will search your sensors for pulse width modulation (pwm)
controls, and test each one to see if it controls a fan on
your motherboard. Note that many motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.

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

Found the following devices:
   hwmon0 is gpio_fan
   hwmon1 is kirkwood_thermal

Found the following PWM controls:
   hwmon0/pwm1           current value: 255

Giving the fans some time to reach full speed...
Found the following fan sensors:
   hwmon0/fan1_input     current speed: 5000 RPM

Warning!!! This program will stop your fans, one at a time,
for approximately 5 seconds each!!!
This may cause your processor temperature to rise!!!
If you do not want to do this hit control-C now!!!
Hit return to continue:

Testing pwm control hwmon0/pwm1 ...
  hwmon0/fan1_input ... speed was 5000 now 0
    It appears that fan hwmon0/fan1_input
    is controlled by pwm hwmon0/pwm1
Would you like to generate a detailed correlation (y)? y
    PWM 255 FAN 5000
    PWM 240 FAN 5000
    PWM 225 FAN 5000
    PWM 210 FAN 4900
    PWM 195 FAN 4900
    PWM 180 FAN 4800
    PWM 165 FAN 4800
    PWM 150 FAN 4800
    PWM 135 FAN 4600
    PWM 120 FAN 4600
    PWM 105 FAN 3800
    PWM 90 FAN 3800
    PWM 75 FAN 3800
    PWM 60 FAN 3100
    PWM 45 FAN 3100
    PWM 30 FAN 2500
    PWM 28 FAN 2500
    PWM 26 FAN 2500
    PWM 24 FAN 2500
    PWM 22 FAN 2500
    PWM 20 FAN 2500
    PWM 18 FAN 2500
    PWM 16 FAN 2500
    PWM 14 FAN 2500
    PWM 12 FAN 2500
    PWM 10 FAN 2500
    PWM 8 FAN 2500
    PWM 6 FAN 2500
    PWM 4 FAN 2500
    PWM 2 FAN 2500
    PWM 0 FAN 0
    Fan Stopped at PWM = 0


Testing is complete.
Please verify that all fans have returned to their normal speed.

The fancontrol script can automatically respond to temperature changes
of your system by changing fanspeeds.
Do you want to set up its configuration file now (y)? y
What should be the path to your fancontrol config file (/etc/fancontrol)?

Select fan output to configure, or other action:
1) hwmon0/pwm1
2) Change INTERVAL
3) Just quit
4) Save and quit
5) Show configuration
select (1-n): 1

Devices:
hwmon0 is gpio_fan
hwmon1 is kirkwood_thermal

Current temperature readings are as follows:
hwmon1/temp1_input      55

Select a temperature sensor as source for hwmon0/pwm1:
1) hwmon1/temp1_input
2) None (Do not affect this PWM output)
select (1-n): 1

Enter the low temperature (degree C)
below which the fan should spin at minimum speed (20):

Enter the high temperature (degree C)
over which the fan should spin at maximum speed (60):

Enter the minimum PWM value (0-255)
at which the fan STOPS spinning (press t to test) (100): t

Now we decrease the PWM value to figure out the lowest usable value.
We will use a slightly greater value as the minimum speed.
    PWM 255 -> 5000 RPM
    PWM 240 -> 5000 RPM
    PWM 225 -> 5000 RPM
    PWM 210 -> 4900 RPM
    PWM 195 -> 4900 RPM
    PWM 180 -> 4800 RPM
    PWM 165 -> 4800 RPM
    PWM 150 -> 4800 RPM
    PWM 135 -> 4600 RPM
    PWM 120 -> 4600 RPM
    PWM 105 -> 3800 RPM
    PWM 90 -> 3800 RPM
    PWM 75 -> 3800 RPM
    PWM 60 -> 3100 RPM
    PWM 45 -> 3100 RPM
    PWM 30 -> 2500 RPM
    PWM 28 -> 2500 RPM
    PWM 26 -> 2500 RPM
    PWM 24 -> 2500 RPM
    PWM 22 -> 2500 RPM
    PWM 20 -> 2500 RPM
    PWM 18 -> 2500 RPM
    PWM 16 -> 2500 RPM
    PWM 14 -> 2500 RPM
    PWM 12 -> 2500 RPM
    PWM 10 -> 2500 RPM
    PWM 8 -> 2500 RPM
    PWM 6 -> 2500 RPM
    PWM 4 -> 2500 RPM
    PWM 2 -> 2500 RPM
    PWM 0 -> 0 RPM
OK, using 4

Enter the minimum PWM value (4-255)
at which the fan STARTS spinning (press t to test) (150): t

Now we increase the PWM value in 10-unit-steps.
Let the fan stop completely, then press return until the
fan starts spinning. Then enter 'y'.
We will use this value +20 as the starting speed.
Setting hwmon0/pwm1 to 4...
Setting hwmon0/pwm1 to 14...
Setting hwmon0/pwm1 to 24...
Setting hwmon0/pwm1 to 34...
Setting hwmon0/pwm1 to 44...
Setting hwmon0/pwm1 to 54...
Setting hwmon0/pwm1 to 64...
Setting hwmon0/pwm1 to 74...
Setting hwmon0/pwm1 to 84...
Setting hwmon0/pwm1 to 94...
Setting hwmon0/pwm1 to 104...
Setting hwmon0/pwm1 to 114...
Setting hwmon0/pwm1 to 124...
Setting hwmon0/pwm1 to 134...
Setting hwmon0/pwm1 to 144...
Setting hwmon0/pwm1 to 154...
Setting hwmon0/pwm1 to 164...
Setting hwmon0/pwm1 to 174...
Setting hwmon0/pwm1 to 184...
Setting hwmon0/pwm1 to 194...
Setting hwmon0/pwm1 to 204...
Setting hwmon0/pwm1 to 214...
Setting hwmon0/pwm1 to 224...
Setting hwmon0/pwm1 to 234...
Setting hwmon0/pwm1 to 255...
OK, using 255

And for RTC I have no idea how or where to probe..

/BayPanard
Re: Debian on Synology DS112
February 19, 2025 11:56AM
Bay,

1. LEDs

> I read some post from the wiki regarding fan and
> led, but I'm not making progress...
>
> /sys/class/leds/ is an empty folder

Yeah, that's OK. Without reading GPL source, we can find LEDs in stock OS. Run the same command after log into DSM.

ls -l /sys/class/leds/

2. Fan and thermal

> sensors-detect doesn't find anything :

Thermal and fan look good as shown below.

> Found the following devices:
> hwmon0 is gpio_fan
> hwmon1 is kirkwood_thermal
>
> Found the following PWM controls:
> hwmon0/pwm1 current value: 255

It means the fan speed will increase/decrease in at certain temperature threshold.

To manually control the fan, install fancontrol.

3. If you can, open the case and take picture of the board. Examine it to see if you can find some RTC chip. Synology DTS default to the s35390a chip. But this box might use a different chip, or the builtin Marvell RTC.

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



Edited 1 time(s). Last edit at 02/19/2025 11:58AM by bodhi.
Re: Debian on Synology DS112
February 21, 2025 05:08AM
Bodhi,

1. LEDS
From DSM :
sh-4.3# ls -l /sys/class/leds/
ls: cannot access /sys/class/leds/: No such file or directory

But I found that DSM handles LEDs, "beeps", and even fan with values sent to /dev/ttyS1

This link had usefull information, I could control some leds and beeps from stock OS with :

printf  "\\x32" > /dev/ttyS1

printf  "\\x35" > /dev/ttyS1

And good news is that this is also working on debian !


2. Fan and thermal

What i meant last time is that during pwmconfig tests the fan should have stopped then gone full speed but it did not.

In fact on debian if i stop the fan by blocking it with my finger it stays stopped and never starts on its own.

To me it looks like fan is using a default pwm / voltage value and is not affected by fancontrol or pwmconfig at all.


3. RTC
I found a S35390 AVA8 8437 chip that is probably the RTC for my box (picture attached)


/BayPanard



Edited 1 time(s). Last edit at 02/21/2025 05:09AM by BayPanard.
Attachments:
open | download - DS112_RTC_chip.png (140.3 KB)
Re: Debian on Synology DS112
February 21, 2025 10:16AM
Bay,

> But I found that DSM handles LEDs, "beeps", and
> even fan with values sent to /dev/ttyS1
>
> This
> link
> had usefull information, I could control some leds
> and beeps from stock OS with :
>
>
> printf  "\\x32" > /dev/ttyS1
> 
> printf  "\\x35" > /dev/ttyS1
>
>
> And good news is that this is also working on
> debian !

Nice! so it's probably the same as other Synology boards

Try this complete list

serial@12100 {
                                /* A PIC16F1829 is connected to uart1 at 9600 bps,
                                 * and takes single-character orders :
                                 *   "1" : power off // already handled by the poweroff node
                                 *   "2" : short beep
                                 *   "3" : long beep
                                 *   "4" : turn the power LED ON
                                 *   "5" : flash the power LED
                                 *   "6" : turn the power LED OFF
                                 *   "7" : turn the status LED OFF
                                 *   "8" : turn the status LED ON
                                 *   "9" : flash the status LED
                                 *   "A" : flash the motherboard LED (D8)
                                 *   "B" : turn the motherboard LED OFF
                                 *   "C" : hard reset
                                 */

Use the echo commands like:

echo "7" >  /dev/ttyS1

> 3. RTC
> I found a S35390 AVA8 8437 chip that is probably
> the RTC for my box (picture attached)

OK then the definition in the current DTS is already correct. Not sure why we see the error.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS112
February 21, 2025 11:23AM
Bodhi,

Thanks for the list I could control the leds and even fan speed using /dev/ttyS1 !

I found this list and added the fan control part (which was also mentionned on doozan forum as well as the link I provided in my previous post we are going full circle :D )

echo "1">/dev/ttyS1 # Immediate power off (not graceful) 
echo "2">/dev/ttyS1 # Emit a short beep tone 
echo "3">/dev/ttyS1 # Emit a long beep sound 
echo "4">/dev/ttyS1 # Power LED on solid blue 
echo "5">/dev/ttyS1 # Power LED flashing blue 
echo "6">/dev/ttyS1 # Power LED off 
echo "7">/dev/ttyS1 # Status LED off 
echo "8">/dev/ttyS1 # Status LED on solid green 
echo "9">/dev/ttyS1 # Status LED flashing green 
echo ":">/dev/ttyS1 # Status LED on solid amber 
echo ";">/dev/ttyS1 # Status LED flashing amber
echo "VXX">/dev/ttyS1 # Set FAN PWM to XX percent (from 01 to 99)
echo "A">/dev/ttyS1 # USBCopy LED flashing green (but no USB Copy button on DS112)
echo "@">/dev/ttyS1 # USBCopy LED on solid green (but no USB Copy button on DS112)
echo "B">/dev/ttyS1 # USBCopy LED off (but no USB Copy button on DS112)
echo "C">/dev/ttyS1 # Immediate reset (not graceful)

Regarding RTC I checked the kernel boot log from the DS112 dtb already included in your rootfs image, and it did work !

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS112

(...)

[    4.957277][    T1] i2c_dev: i2c /dev entries driver
[    4.965887][    T1] rtc-s35390a 0-0030: registered as rtc0
[    4.971730][    T1] rtc-s35390a 0-0030: setting system clock to 2025-02-08T15:04:38 UTC (1739027078)

I checked the dtb and saw that RTC settings where not changed but I guess one of the other changes did broke it

Please tell me if there is anything I can do to help you troubleshoot the RTC.

My box is really close to be fully functionnal under Debian (because of your help!) and i'm really excited !


Kind of off-topic : I did successfully boot with rootfs on a 2TB hdd plugged in eSATA, this single bay NAS will be capable of RAID under Debian and that's awesome !

/BayPanard
Re: Debian on Synology DS112
February 21, 2025 11:43AM
I did have the IRQ37 error message in dmesg again :

[ 2439.774999] irq 37: nobody cared (try booting with the "irqpoll" option)
[ 2439.782452] CPU: 0 PID: 0 Comm: swapper Not tainted 6.5.7-kirkwood-tld-1 #2 b782412796a181fef4037ede16903ece36aa46a3
[ 2439.793731] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[ 2439.800731]  unwind_backtrace from show_stack+0x10/0x14
[ 2439.806699]  show_stack from dump_stack_lvl+0x28/0x30
[ 2439.812490]  dump_stack_lvl from __report_bad_irq+0x24/0xec
[ 2439.818793]  __report_bad_irq from note_interrupt+0x114/0x2a0
[ 2439.825281]  note_interrupt from handle_irq_event_percpu+0x30/0x38
[ 2439.832204]  handle_irq_event_percpu from handle_irq_event+0x5c/0x80
[ 2439.839293]  handle_irq_event from handle_edge_irq+0x100/0x120
[ 2439.845869]  handle_edge_irq from handle_irq_desc+0x24/0x34
[ 2439.852173]  handle_irq_desc from mvebu_gpio_irq_handler+0x170/0x184
[ 2439.859272]  mvebu_gpio_irq_handler from handle_irq_desc+0x24/0x34
[ 2439.866186]  handle_irq_desc from orion_handle_irq+0x68/0x74
[ 2439.872579]  orion_handle_irq from generic_handle_arch_irq+0x40/0x6c
[ 2439.879668]  generic_handle_arch_irq from __irq_svc+0x88/0xc0
[ 2439.886145] Exception stack(0x81401f28 to 0x81401f70)
[ 2439.891923] 1f20:                   00000001 00000000 81553fa4 60000013 81553208 81553900
[ 2439.900844] 1f40: 00000000 81407be0 814042a4 8119230d 00000000 00000000 81553238 81401f78
[ 2439.909762] 1f60: 80149520 809d8fc4 60000013 ffffffff
[ 2439.915534]  __irq_svc from ledtrig_cpu+0x4/0xa0
[ 2439.920888]  ledtrig_cpu from init_pid_ns+0x0/0x50
[ 2439.926418] handlers:
[ 2439.929396] [<8e02ed21>] fan_alarm_irq_handler [gpio_fan]
[ 2439.935554] Disabling IRQ #37

And while monitoring cpu temp with "sensors" I noticed that there is an "ALARM" message next to the fan value (which is not working) :

root@debian:~# sensors
gpio_fan-isa-0000
Adapter: ISA adapter
fan1:        2500 RPM  (min =    0 RPM, max = 5000 RPM)  ALARM

kirkwood_thermal-virtual-0
Adapter: Virtual device
temp1:        +53.6 C

I guess there is still some work to do on GPIO but I how can I work on this?

/BayPanard
Re: Debian on Synology DS112
February 21, 2025 07:02PM
Bay,

> I guess there is still some work to do on GPIO but
> I how can I work on this?

Try: remove this fan definition in the DTS

gpio-fan-100-15-35-1 {
		status = "okay";
	};

I'll check back in a couple days.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS112
March 02, 2025 10:14AM
Hi Bodhi,

I did modify the dtb using dtc tool, but each time I use the edited dtb the kernel hangs like this
Marvell>> bootm 0x800000 0x2100000
## Booting image at 00800000 ...
   Image Name:   /mnt/c/Users/alexis/Downloads/DS
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6246072 Bytes =  6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes =  5.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS112 V10j
[    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-0x000000000fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 232300K/262144K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 29844K reserved, 0K cma-reserved)
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008518][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015586][    T0] Console: colour dummy device 80x30
[    0.020795][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032011][    T0] CPU: Testing write buffer coherency: ok
[    0.037665][    T0] pid_max: default: 32768 minimum: 301
[    0.049580][    T0] LSM: initializing lsm=capability,integrity
[    0.057200][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.065228][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.083084][    T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.091128][    T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.099773][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.106889][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x0
[    0.113069][    T1] rcu: Hierarchical SRCU implementation.
[    0.118608][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.126697][    T1] devtmpfs: initialized
[    0.143806][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.154381][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.164017][    T1] prandom: seed boundary self test passed
[    0.172806][    T1] prandom: 100 self tests passed
[    0.177583][    T1] pinctrl core: initialized pinctrl subsystem
[    0.186426][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.194246][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.205947][    T1] audit: initializing netlink subsys (disabled)
[    0.213607][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.213768][    T1] cpuidle: using governor ladder
[    0.225273][   T19] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=0 res=1
[    0.233798][    T1] cpuidle: using governor menu
[    0.238937][    T1] Feroceon L2: Enabling L2
[    0.243218][    T1] Feroceon L2: Cache support initialised.
[    0.257761][    T1] No ATAGs?
[    0.618533][    T1] raid6: int32x8  gen()   151 MB/s
[    0.958532][    T1] raid6: int32x4  gen()   140 MB/s
[    1.298555][    T1] raid6: int32x2  gen()   180 MB/s
[    1.638530][    T1] raid6: int32x1  gen()   132 MB/s
[    1.643476][    T1] raid6: using algorithm int32x2 gen() 180 MB/s
[    1.998531][    T1] raid6: .... xor() 114 MB/s, rmw enabled
[    2.004084][    T1] raid6: using intx1 recovery algorithm
[    2.019851][    T1] SCSI subsystem initialized
[    2.028986][    T1] usbcore: registered new interface driver usbfs
[    2.035192][    T1] usbcore: registered new interface driver hub
[    2.058585][    T1] usbcore: registered new device driver usb
[    2.064652][    T1] pps_core: LinuxPPS API ver. 1 registered
[    2.078532][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.088344][    T1] PTP clock support registered
[    2.120293][    T1] vgaarb: loaded
[    2.124338][    T1] clocksource: Switched to clocksource orion_clocksource
[    2.141356][    T1] VFS: Disk quotas dquot_6.6.0
[    2.164676][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.196033][    T1] NET: Registered PF_INET protocol family
[    2.214434][    T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    2.235300][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    2.244655][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    2.253080][    T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    2.284388][    T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    2.292229][    T1] TCP: Hash tables configured (established 2048 bind 2048)
[    2.314890][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    2.322958][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.344400][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.352705][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.375188][    T1] RPC: Registered named UNIX socket transport module.
[    2.381782][    T1] RPC: Registered udp transport module.
[    2.394359][    T1] RPC: Registered tcp transport module.
[    2.399736][    T1] RPC: Registered tcp-with-tls transport module.
[    2.424352][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.431466][    T1] PCI: CLS 0 bytes, default 32
[    2.446615][   T10] Trying to unpack rootfs image as initramfs...
[    3.189958][   T10] Freeing initrd memory: 5656K
[    3.412999][    T1] Initialise system trusted keyrings
[    3.419101][    T1] Key type blacklist registered
[    3.424084][    T1] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    3.431409][    T1] zbud: loaded
[    3.449163][    T1] NFS: Registering the id_resolver key type
[    3.454975][    T1] Key type id_resolver registered
[    3.459839][    T1] Key type id_legacy registered
[    3.464688][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.472064][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.481350][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    3.489764][    T1] fuse: init (API version 7.38)
[    3.495603][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    3.502982][    T1] orangefs_init: module version upstream loaded
[    3.509364][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    3.677455][    T1] xor: measuring software checksum speed
[    3.689583][    T1]    arm4regs        :  1485 MB/sec
[    3.705680][    T1]    8regs           :   890 MB/sec
[    3.718505][    T1]    32regs          :  1263 MB/sec
[    3.723530][    T1] xor: using function: arm4regs (1485 MB/sec)
[    3.729444][    T1] async_tx: api initialized (async)
[    3.734492][    T1] Key type asymmetric registered
[    3.739265][    T1] Asymmetric key parser 'x509' registered
[    3.784577][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    3.792974][    T1] io scheduler bfq registered
[    3.939863][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    3.949470][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.960096][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    3.970486][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    3.980413][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    3.990535][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    4.000631][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    4.010720][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.021320][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    4.031918][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    4.042511][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    4.054020][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    4.062350][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.068555][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    4.079407][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    4.090250][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    4.101090][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    4.108654][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    4.115720][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    4.122932][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    4.131672][    T1] PCI: bus0: Fast back to back transfers disabled
[    4.137959][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.146654][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.155623][    T1] PCI: bus1: Fast back to back transfers enabled
[    4.161790][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.169311][    T1] pci 0000:02:00.0: [1033:0194] type 00 class 0x0c0330
[    4.176085][    T1] pci 0000:02:00.0: reg 0x10: [mem 0x98000000-0x98001fff 64bit]
[    4.183699][    T1] pci 0000:02:00.0: PME# supported from D0 D3hot
[    4.189979][    T1] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    4.234433][    T1] PCI: bus2: Fast back to back transfers disabled
[    4.240682][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    4.248017][    T1] pci 0000:00:02.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    4.255578][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    4.261229][    T1] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    4.269229][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    4.274886][    T1] pci 0000:00:02.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    4.282600][    T1] pcieport 0000:00:02.0: enabling device (0140 -> 0142)
[    4.290198][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    4.356316][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.367968][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    4.436309][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    4.448266][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.457432][    T1] printk: console [ttyS0] disabled
[    4.462887][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 29, base_baud = 12500000) is a 16550A
[    4.472620][    T1] printk: console [ttyS0] enabled
[    4.472620][    T1] printk: console [ttyS0] enabled
[    4.482461][    T1] printk: bootconsole [earlycon0] disabled
[    4.482461][    T1] printk: bootconsole [earlycon0] disabled
[    4.515835][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 30, base_baud = 12500000) is a 16550A
[    4.536089][    T1] loop: module loaded


======

On another note I did search the GPL for information regarding the GPIO for my NAS and I found the following relevant informations :
(looks like the GPIO are the same than for DS211 NAS with exception of the HDD power on)

# GPIO for internal HDD power on
####################################
static void 
KW_6282_112_GPIO_init(SYNO_KW_GENERIC_GPIO *global_gpio)
{
	KW_6282_211_GPIO_init(global_gpio);
	global_gpio->hdd_pm.hdd1_pm = 30;
}


# Global GPIO 
#####################
static void 
KW_6282_211_GPIO_init(SYNO_KW_GENERIC_GPIO *global_gpio)
{
	SYNO_KW_GENERIC_GPIO gpio_211 = {
		.ext_sata_led = {
							.hdd1_led_0 = GPIO_UNDEF,
							.hdd1_led_1 = GPIO_UNDEF,
							.hdd2_led_0 = GPIO_UNDEF,
							.hdd2_led_1 = GPIO_UNDEF,
							.hdd3_led_0 = GPIO_UNDEF,
							.hdd3_led_1 = GPIO_UNDEF,
							.hdd4_led_0 = GPIO_UNDEF,
							.hdd4_led_1 = GPIO_UNDEF,
							.hdd5_led_0 = GPIO_UNDEF,
							.hdd5_led_1 = GPIO_UNDEF,
						},
		.soc_sata_led = {
							.hdd2_fail_led = 22,
							.hdd1_fail_led = 23,
						},
		.model		  = {
							.model_id_0 = 28,
							.model_id_1 = 29,
							.model_id_2 = 46,
							.model_id_3 = 47,
						},
		.fan		  = {
							.fan_1 = 15,
							.fan_2 = 16,
							.fan_3 = 17,
							.fan_fail = 35,
							.fan_fail_2 = GPIO_UNDEF,
							.fan_fail_3 = GPIO_UNDEF,
						},
		.hdd_pm		  = {
							.hdd1_pm = GPIO_UNDEF,
							.hdd2_pm = 34,
							.hdd3_pm = GPIO_UNDEF,
							.hdd4_pm = GPIO_UNDEF,
						},
		.rack		  = {
							.buzzer_mute_req = GPIO_UNDEF,
							.buzzer_mute_ack = GPIO_UNDEF,
							.rps1_on = GPIO_UNDEF,
							.rps2_on = GPIO_UNDEF,
						},
		.multi_bay	  = {
							.inter_lock = 4,
						},
		.status		  = {
							.power_led = GPIO_UNDEF,
							.alarm_led = GPIO_UNDEF,
						},
	};

The above was taken from synology-gpio.c in /.../linux-2.6.32/arch/arm/mach-feroceon-kw, I attached the full file.

I hope it might help as I'm struggling making sense of all those sources (Synology kernel and DTB/DTS ..)

/BayPanard
Attachments:
open | download - synology-gpio.c (27 KB)
Re: Debian on Synology DS112
March 02, 2025 10:25PM
BayPanard,


> On another note I did search the GPL for
> information regarding the GPIO for my NAS and I
> found the following relevant informations :
> (looks like the GPIO are the same than for DS211
> NAS with exception of the HDD power on)

> 		.fan		  = {
> 							.fan_1 = 15,
> 							.fan_2 = 16,
> 							.fan_3 = 17,
> 							.fan_fail = 35,
> 							.fan_fail_2 = GPIO_UNDEF,
> 							.fan_fail_3 = GPIO_UNDEF,
> 						},
The current DTS you are running now (Synology DS112 V10j) already has the above fan definition, and it's causing problem. So I suggested removing the fan node to see if the problem going away. Of course it should be modified in some way appropriate for this box later.

I'll post an updated DTS version.

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



Edited 1 time(s). Last edit at 03/02/2025 10:25PM by bodhi.
Re: Debian on Synology DS112
March 03, 2025 12:03AM
Attached is the updated DTB. This has the fan and LEDs nodes removed, since they are controlled by ttyS1.

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



Edited 1 time(s). Last edit at 03/03/2025 04:41AM by bodhi.
Attachments:
open | download - kirkwood-ds112-v10j.250303.tar (30 KB)
Re: Debian on Synology DS112
March 09, 2025 09:46AM
Hello again,

I'm busy with other stuff so I apologize for the delay between my posts.

You last DTB works and the IRQ37 messages are gone. thanks !

======

I did found u-boot sources for my NAS and uploaded them on github as they are not easily found. => https://github.com/BayPanard/u-boot-mv-3.5.9

I stumbled upon it while randomly looking at the sources for Synology's routers...
For those curious it was in the synogpl-9346-ipq806x.tbz file found here.

There are u-boot Marvell sources from 3.4.4 to 3.6.0 and other vendors :

u-boot-mv-3.5.9 is the only one for my DS112 NAS.

======

Can you tell me where I should start for making Debian boot permanent? Can I try one of you already made custom u-boot with kwboot?

/BayPanard
Re: Debian on Synology DS112
March 10, 2025 12:31AM
Bay,

> You last DTB works and the IRQ37 messages are
> gone. thanks !

Cool!


> Can you tell me where I should start for making
> Debian boot permanent? Can I try one of you
> already made custom u-boot with kwboot?

None of my custom u-boot would be a good match for this box.

To make it permanently booting, I need to see the complete info.

- Power up, enter the setenvs command you use for booting.
- Get a complete listing of envs
printenv
And boot into Debian.

Please post the entire serial boot log (from the u-boot banner).

-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: