Welcome! Log In Create A New Profile

Advanced

Debian on Synology DS413J

Posted by jhackert 
Re: Debian on Synology DS413J
April 08, 2023 06:01PM
It's not the dtb file for now... i try to binwalk against the DSM and try to find information about DS413J and GPIO with strings.
I have extracted all untill i have this output_file that contains some interesting output but can't go further

binwalk dsm

dd if=dsm of=kernel.zImage bs=1 skip=64

binwalk -e kernel.zImage

cd _kernel.zImage.extracted/

binwalk 4244

 281  strings 4244 | grep disk
  282  strings 4244 | grep dtb
  283  strings 4244 | grep dts
  284  strings 4244 | grep gpio

dd if=4244 of=of4 bs=1 skip=714948 count=738021

strings of4 | grep gpio

dd if=of4 of=output_file2 bs=1 count=82643

root@jarvis:~/_kernel.zImage.extracted/out# dumpimage -l output_file2
GP Header: Size ac715fe1 LoadAddr bedb3f3



Edited 1 time(s). Last edit at 04/08/2023 06:02PM by BillyIT.
Re: Debian on Synology DS413J
April 08, 2023 06:10PM
Have you tried this DTB version again?

https://forum.doozan.com/read.php?2,132369,134425#msg-134425

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 08, 2023 06:16PM
i'll try tomorrow, the laptop connected to the serial console of my nas is off.
Re: Debian on Synology DS413J
April 08, 2023 06:33PM
I've looked at the DTS again. Definitely changes needed to fix the conflicts which caused the lost of 2 HDDs. Some of the DS411 definition in DTS carried over are not correct for the 413j.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 09, 2023 02:49AM
ok, i'll wait for the changes

i'm on it to test the last one and post logs
Re: Debian on Synology DS413J
April 09, 2023 02:56AM
I tried just booting with the one that was working. I don't touch anything and i have the boot to stock u-boot...

root@Arc-170:~/tools#  kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa325.mtd0.kwb -p
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

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

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60749824        00000000-01     83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
315 bytes read in 754 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 991 ms (5.2 MiB/s)
loading uInitrd ...
9671091 bytes read in 955 ms (9.7 MiB/s)
loading DTB /boot/dts/kirkwood-ds413j.dtb ...
21852 bytes read in 3952 ms (4.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cb000, end 1f1d355b ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS413j
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 mtdparts=spi0.0:1M(u-boot),-(data) earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008598][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015971][    T0] Console: colour dummy device 80x30
[    0.021226][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032551][    T0] pid_max: default: 32768 minimum: 301
[    0.038217][    T0] LSM: Security Framework initializing
[    0.043735][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051843][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061544][    T0] CPU: Testing write buffer coherency: ok
[    0.069218][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.076399][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.082596][    T1] rcu: Hierarchical SRCU implementation.
[    0.089346][    T1] devtmpfs: initialized
[    0.101881][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112565][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.148208][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.155430][    T1] prandom: seed boundary self test passed
[    0.164204][    T1] prandom: 100 self tests passed
[    0.169059][    T1] pinctrl core: initialized pinctrl subsystem
[    0.176362][    T1] NET: Registered protocol family 16
[    0.182208][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.190643][    T1] audit: initializing netlink subsys (disabled)
[    0.197951][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.198307][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.213722][    T1] cpuidle: using governor ladder
[    0.218664][    T1] cpuidle: using governor menu
[    0.223758][    T1] Feroceon L2: Enabling L2
[    0.228082][    T1] Feroceon L2: Cache support initialised.
[    0.243871][    T1] No ATAGs?
[    2.568603][    C0] random: fast init done
[    3.897150][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.923697][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.118740][    T1] raid6: int32x8  gen()   150 MB/s
[    4.288645][    T1] raid6: int32x8  xor()    91 MB/s
[    4.458651][    T1] raid6: int32x4  gen()   145 MB/s
[    4.628718][    T1] raid6: int32x4  xor()    95 MB/s
[    4.798715][    T1] raid6: int32x2  gen()   188 MB/s
[    4.968714][    T1] raid6: int32x2  xor()   113 MB/s
[    5.138648][    T1] raid6: int32x1  gen()   130 MB/s
[    5.308720][    T1] raid6: int32x1  xor()    78 MB/s
[    5.313707][    T1] raid6: using algorithm int32x2 gen() 188 MB/s
[    5.319841][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.325436][    T1] raid6: using intx1 recovery algorithm
[    5.331099][    T1] vgaarb: loaded
[    5.334971][    T1] SCSI subsystem initialized
[    5.339882][    T1] usbcore: registered new interface driver usbfs
[    5.346136][    T1] usbcore: registered new interface driver hub
[    5.352250][    T1] usbcore: registered new device driver usb
[    5.358177][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.363882][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.373783][    T1] PTP clock support registered
[    5.379939][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.470486][    T1] VFS: Disk quotas dquot_6.6.0
[    5.475209][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.507451][    T1] NET: Registered protocol family 2
[    5.520112][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.540307][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.549438][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.570045][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.577968][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.600186][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.608196][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.629974][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.637875][    T1] NET: Registered protocol family 1
[    5.660524][    T1] RPC: Registered named UNIX socket transport module.
[    5.667173][    T1] RPC: Registered udp transport module.
[    5.689952][    T1] RPC: Registered tcp transport module.
[    5.695382][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.709961][    T1] PCI: CLS 0 bytes, default 32
[    5.719963][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.727589][   T58] Trying to unpack rootfs image as initramfs...
[    7.055340][   T58] Freeing initrd memory: 9448K
[    7.396941][    T1] Initialise system trusted keyrings
[    7.402210][    T1] Key type blacklist registered
[    7.407139][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.414472][    T1] zbud: loaded
[    7.418901][    T1] NFS: Registering the id_resolver key type
[    7.424777][    T1] Key type id_resolver registered
[    7.429677][    T1] Key type id_legacy registered
[    7.434461][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.441919][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.450062][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.457370][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.465545][    T1] fuse: init (API version 7.34)
[    7.470620][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.477954][    T1] orangefs_init: module version upstream loaded
[    7.484143][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.569039][    T1] xor: measuring software checksum speed
[    7.581308][    T1]    arm4regs        :  1485 MB/sec
[    7.597467][    T1]    8regs           :   890 MB/sec
[    7.610264][    T1]    32regs          :  1282 MB/sec
[    7.615343][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.621327][    T1] async_tx: api initialized (async)
[    7.626407][    T1] Key type asymmetric registered
[    7.631259][    T1] Asymmetric key parser 'x509' registered
[    7.636906][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.645128][    T1] io scheduler bfq registered
[    7.799473][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.809172][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.819137][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.829317][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.839490][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.849666][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.860364][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.871053][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.881737][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.892740][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.901074][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.907292][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.918235][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.929176][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.940119][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.947725][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.954872][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.961653][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.969422][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.976197][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.985367][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.991704][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.000481][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.009401][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    8.016182][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    8.023724][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    8.030197][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    8.046018][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.058405][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.064738][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.073848][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.080093][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.087595][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.095227][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.102332][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.110311][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.118276][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.126345][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.133367][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.139060][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.146071][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.153614][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.159400][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.166794][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.230795][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.240892][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.300795][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.311162][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.319448][    T1] printk: console [ttyS0] disabled
[    8.324584][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.334386][    T1] printk: console [ttyS0] enabled
[    8.334386][    T1] printk: console [ttyS0] enabled
[    8.344215][    T1] printk: bootconsole [earlycon0] disabled
[    8.344215][    T1] printk: bootconsole [earlycon0] disabled
[    8.356258][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.373052][    T1] loop: module loaded
[    8.377287][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.384214][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.398394][    T1] scsi host0: sata_mv
[    8.402840][    T1] scsi host1: sata_mv
[    8.407190][    T1] scsi host2: sata_mv
[    8.411567][    T1] scsi host3: sata_mv
[    8.415616][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 37
[    8.424056][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 37
[    8.432470][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 37
[    8.440882][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 37
[    8.450651][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.459522][    T1] scsi host4: sata_mv
[    8.463960][    T1] scsi host5: sata_mv
[    8.468021][    T1] ata5: SATA max UDMA/133 irq 34
[    8.472896][    T1] ata6: SATA max UDMA/133 irq 34
[    8.479345][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.485868][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.491335][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    8.497982][    T1] Creating 2 MTD partitions on "spi0.0":
[    8.503526][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    8.510491][    T1] 0x000000100000-0x000000800000 : "data"
[    8.517513][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.526123][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.537404][    T1] libphy: Fixed MDIO Bus: probed
[    8.543520][    T1] libphy: orion_mdio_bus: probed
[    8.548530][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.570072][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.579534][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.589192][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.596556][    T1] ehci-pci: EHCI PCI platform driver
[    8.601822][    T1] ehci-orion: EHCI orion driver
[    8.606713][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.613006][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.621586][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.649973][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.656954][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.665988][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.673986][    T1] usb usb1: Product: EHCI Host Controller
[    8.679609][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.687072][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.693087][    T1] hub 1-0:1.0: USB hub found
[    8.697623][    T1] hub 1-0:1.0: 1 port detected
[    8.702996][    T1] usbcore: registered new interface driver usb-storage
[    8.710184][    T1] mousedev: PS/2 mouse device common for all mice
[    8.716766][    T1] i2c /dev entries driver
[    8.722645][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.728892][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.736162][    T1] device-mapper: uevent: version 1.0.3
[    8.741821][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.751411][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.758726][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.766128][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.773574][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.780463][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.786614][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.795383][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.801665][    T1] drop_monitor: Initializing network drop monitor service
[    8.809636][    T1] NET: Registered protocol family 10
[    8.814878][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.822257][    T1] Segment Routing with IPv6
[    8.826641][    T1] RPL Segment Routing with IPv6
[    8.831559][    T1] NET: Registered protocol family 17
[    8.836943][    T1] Key type dns_resolver registered
[    8.842610][    T1] registered taskstats version 1
[    8.847432][    T1] Loading compiled-in X.509 certificates
[    8.853329][    T1] zswap: loaded using pool lzo/zbud
[    8.858694][    T1] Key type ._fscrypt registered
[    8.863500][    T1] Key type .fscrypt registered
[    8.868138][    T1] Key type fscrypt-provisioning registered
[    8.875416][    T1] Key type big_key registered
[    8.904513][    T1] Key type encrypted registered
[    8.989968][  T117] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.141488][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.191719][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.200667][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.208557][  T117] usb 1-1: Product: USB2.0 Hub
[    9.214019][  T117] hub 1-1:1.0: USB hub found
[    9.218848][  T117] hub 1-1:1.0: 4 ports detected
[    9.939961][  T117] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
▒
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology Disk Station LE

U-Boot 1.1.4 (May 22 2012 - 19:52:31) Marvell version: 3.5.9

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

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

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

[8192kB@f8000000] Flash:  8 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


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

Synology Model: DS413j
Fan Status: Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
## Booting image at f8090000 ...
Bad Magic Number
Re: Debian on Synology DS413J
April 09, 2023 03:11AM
Just poweroff the nas and redo kwboot...
I went farest but it stopped again.

root@Arc-170:~/tools#  kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa325.mtd0.kwb -p
Sending boot message. Please reboot the target.../
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

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

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60749824        00000000-01     83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
315 bytes read in 754 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 991 ms (5.2 MiB/s)
loading uInitrd ...
9671091 bytes read in 955 ms (9.7 MiB/s)
loading DTB /boot/dts/kirkwood-ds413j.dtb ...
21852 bytes read in 3952 ms (4.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cb000, end 1f1d355b ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS413j
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 mtdparts=spi0.0:1M(u-boot),-(data) earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008597][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015971][    T0] Console: colour dummy device 80x30
[    0.021226][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032551][    T0] pid_max: default: 32768 minimum: 301
[    0.038216][    T0] LSM: Security Framework initializing
[    0.043735][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051843][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061544][    T0] CPU: Testing write buffer coherency: ok
[    0.069217][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.076399][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.082596][    T1] rcu: Hierarchical SRCU implementation.
[    0.089346][    T1] devtmpfs: initialized
[    0.101878][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112563][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.148214][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.155439][    T1] prandom: seed boundary self test passed
[    0.164223][    T1] prandom: 100 self tests passed
[    0.169079][    T1] pinctrl core: initialized pinctrl subsystem
[    0.176393][    T1] NET: Registered protocol family 16
[    0.182234][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.190668][    T1] audit: initializing netlink subsys (disabled)
[    0.197970][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.198325][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.213738][    T1] cpuidle: using governor ladder
[    0.218682][    T1] cpuidle: using governor menu
[    0.223777][    T1] Feroceon L2: Enabling L2
[    0.228100][    T1] Feroceon L2: Cache support initialised.
[    0.243887][    T1] No ATAGs?
[    2.568603][    C0] random: fast init done
[    3.897165][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.923711][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.118666][    T1] raid6: int32x8  gen()   150 MB/s
[    4.288731][    T1] raid6: int32x8  xor()    91 MB/s
[    4.458762][    T1] raid6: int32x4  gen()   146 MB/s
[    4.628738][    T1] raid6: int32x4  xor()    95 MB/s
[    4.798612][    T1] raid6: int32x2  gen()   188 MB/s
[    4.968627][    T1] raid6: int32x2  xor()   113 MB/s
[    5.138739][    T1] raid6: int32x1  gen()   131 MB/s
[    5.308665][    T1] raid6: int32x1  xor()    79 MB/s
[    5.313655][    T1] raid6: using algorithm int32x2 gen() 188 MB/s
[    5.319788][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.325383][    T1] raid6: using intx1 recovery algorithm
[    5.331044][    T1] vgaarb: loaded
[    5.334910][    T1] SCSI subsystem initialized
[    5.339817][    T1] usbcore: registered new interface driver usbfs
[    5.346075][    T1] usbcore: registered new interface driver hub
[    5.352190][    T1] usbcore: registered new device driver usb
[    5.358114][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.363820][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.373722][    T1] PTP clock support registered
[    5.379883][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.470429][    T1] VFS: Disk quotas dquot_6.6.0
[    5.475156][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.507492][    T1] NET: Registered protocol family 2
[    5.520053][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.540247][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.549376][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.569987][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.577908][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.600126][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.608134][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.629917][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.637810][    T1] NET: Registered protocol family 1
[    5.660465][    T1] RPC: Registered named UNIX socket transport module.
[    5.667112][    T1] RPC: Registered udp transport module.
[    5.689896][    T1] RPC: Registered tcp transport module.
[    5.695321][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.709905][    T1] PCI: CLS 0 bytes, default 32
[    5.719906][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.727527][   T58] Trying to unpack rootfs image as initramfs...
[    7.056399][   T58] Freeing initrd memory: 9448K
[    7.396885][    T1] Initialise system trusted keyrings
[    7.402157][    T1] Key type blacklist registered
[    7.407088][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.414418][    T1] zbud: loaded
[    7.418845][    T1] NFS: Registering the id_resolver key type
[    7.424716][    T1] Key type id_resolver registered
[    7.429616][    T1] Key type id_legacy registered
[    7.434399][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.441858][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.450001][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.457309][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.465485][    T1] fuse: init (API version 7.34)
[    7.470556][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.477894][    T1] orangefs_init: module version upstream loaded
[    7.484082][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.568168][    T1] xor: measuring software checksum speed
[    7.580437][    T1]    arm4regs        :  1485 MB/sec
[    7.596602][    T1]    8regs           :   890 MB/sec
[    7.609302][    T1]    32regs          :  1296 MB/sec
[    7.614410][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.620397][    T1] async_tx: api initialized (async)
[    7.625482][    T1] Key type asymmetric registered
[    7.630332][    T1] Asymmetric key parser 'x509' registered
[    7.635985][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.644190][    T1] io scheduler bfq registered
[    7.798353][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.808056][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.818021][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.828201][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.838374][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.848549][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.859246][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.869938][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.880621][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.891622][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.899957][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.906176][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.917119][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.928061][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.939002][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.946623][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.953777][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.960555][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.968323][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.975098][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.984263][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.990597][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.999355][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.008294][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    8.015075][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    8.022625][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    8.029041][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    8.044905][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.057293][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.063622][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.072728][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.078944][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.086477][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.094111][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.101215][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.109179][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.117159][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.125228][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.132251][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.137943][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.144954][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.152498][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.158284][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.165679][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.230740][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.240845][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.300742][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.311116][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.319404][    T1] printk: console [ttyS0] disabled
[    8.324544][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.334342][    T1] printk: console [ttyS0] enabled
[    8.334342][    T1] printk: console [ttyS0] enabled
[    8.344171][    T1] printk: bootconsole [earlycon0] disabled
[    8.344171][    T1] printk: bootconsole [earlycon0] disabled
[    8.356217][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.373014][    T1] loop: module loaded
[    8.377251][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.384181][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.398357][    T1] scsi host0: sata_mv
[    8.402801][    T1] scsi host1: sata_mv
[    8.407139][    T1] scsi host2: sata_mv
[    8.411520][    T1] scsi host3: sata_mv
[    8.415573][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 37
[    8.424014][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 37
[    8.432425][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 37
[    8.440837][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 37
[    8.450603][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.459471][    T1] scsi host4: sata_mv
[    8.463912][    T1] scsi host5: sata_mv
[    8.467973][    T1] ata5: SATA max UDMA/133 irq 34
[    8.472843][    T1] ata6: SATA max UDMA/133 irq 34
[    8.479282][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.485805][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.491273][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    8.497922][    T1] Creating 2 MTD partitions on "spi0.0":
[    8.503470][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    8.510452][    T1] 0x000000100000-0x000000800000 : "data"
[    8.517463][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.526071][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.537351][    T1] libphy: Fixed MDIO Bus: probed
[    8.543417][    T1] libphy: orion_mdio_bus: probed
[    8.548402][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.569946][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.579406][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.589058][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.596421][    T1] ehci-pci: EHCI PCI platform driver
[    8.601681][    T1] ehci-orion: EHCI orion driver
[    8.606571][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.612867][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.621446][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.649916][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.656892][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.665926][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.673925][    T1] usb usb1: Product: EHCI Host Controller
[    8.679548][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.687011][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.693024][    T1] hub 1-0:1.0: USB hub found
[    8.697558][    T1] hub 1-0:1.0: 1 port detected
[    8.702931][    T1] usbcore: registered new interface driver usb-storage
[    8.710115][    T1] mousedev: PS/2 mouse device common for all mice
[    8.716696][    T1] i2c /dev entries driver
[    8.722573][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.728821][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.736094][    T1] device-mapper: uevent: version 1.0.3
[    8.741753][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.751340][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.758648][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.766051][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.773497][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.780383][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.786535][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.795291][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.801570][    T1] drop_monitor: Initializing network drop monitor service
[    8.809542][    T1] NET: Registered protocol family 10
[    8.814781][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.822148][    T1] Segment Routing with IPv6
[    8.826536][    T1] RPL Segment Routing with IPv6
[    8.831455][    T1] NET: Registered protocol family 17
[    8.836839][    T1] Key type dns_resolver registered
[    8.842504][    T1] registered taskstats version 1
[    8.847327][    T1] Loading compiled-in X.509 certificates
[    8.853223][    T1] zswap: loaded using pool lzo/zbud
[    8.858592][    T1] Key type ._fscrypt registered
[    8.863394][    T1] Key type .fscrypt registered
[    8.868034][    T1] Key type fscrypt-provisioning registered
[    8.875338][    T1] Key type big_key registered
[    8.904270][    T1] Key type encrypted registered
[    8.989910][  T117] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.141431][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.191702][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.200647][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.208534][  T117] usb 1-1: Product: USB2.0 Hub
[    9.214005][  T117] hub 1-1:1.0: USB hub found
[    9.218831][  T117] hub 1-1:1.0: 4 ports detected
[    9.939903][  T117] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   10.091075][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5590, bcdDevice= 1.00
[   10.100193][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.108255][  T117] usb 1-1.2: Product: Ultra
[   10.112656][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.117644][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.124489][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.131996][  T117] scsi host6: usb-storage 1-1.2:1.0
[   11.210915][   T58] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[   11.221241][    T7] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.1 GB/29.0 GiB)
[   11.230601][    T7] sd 6:0:0:0: [sda] Write Protect is off
[   11.236850][    T7] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.282076][    T7]  sda: sda1
[   11.288108][    T7] sd 6:0:0:0: [sda] Attached SCSI removable disk
[   14.689903][   T98] ata3: link is slow to respond, please be patient (ready=0)
[   15.039931][   T98] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   15.051611][   T98] ata3.00: ATA-9: ST1000DM003-1CH162, CC47, max UDMA/133
[   15.058527][   T98] ata3.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   15.073058][   T98] ata3.00: configured for UDMA/133
[   15.088479][   T80] scsi 2:0:0:0: Direct-Access     ATA      ST1000DM003-1CH1 CC47 PQ: 0 ANSI: 5
[   15.098339][    T7] sd 2:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   15.107565][    T7] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[   15.113645][    T7] sd 2:0:0:0: [sdb] Write Protect is off
[   15.119284][    T7] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   15.146509][    T7]  sdb: sdb1 sdb2 sdb3
[   15.152045][    T7] sd 2:0:0:0: [sdb] Attached SCSI disk
[   20.649903][  T100] ata4: link is slow to respond, please be patient (ready=0)
[   25.129948][  T100] ata4: SRST failed (errno=-16)
[   26.539927][  T100] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   26.551599][  T100] ata4.00: ATA-9: ST1000DM003-1ER162, CC45, max UDMA/133
[   26.558516][  T100] ata4.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   26.575275][  T100] ata4.00: configured for UDMA/133
[   26.590734][  T102] scsi 3:0:0:0: Direct-Access     ATA      ST1000DM003-1ER1 CC45 PQ: 0 ANSI: 5
[   26.600619][    T7] sd 3:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   26.609025][    T7] sd 3:0:0:0: [sdc] 4096-byte physical blocks
[   26.615442][    T7] sd 3:0:0:0: [sdc] Write Protect is off
[   26.621120][    T7] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   26.653807][    T7]  sdc: sdc1 sdc2 sdc3
[   26.659318][    T7] sd 3:0:0:0: [sdc] Attached SCSI disk
[   26.951409][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   26.970756][    T1] Freeing unused kernel memory: 1024K
[   26.976783][    T1] Checked W+X mappings: passed, no W+X pages found
[   26.983206][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   28.040122][  T152] usbcore: registered new interface driver uas
[   33.857707][    C0] random: crng init done
[   34.519930][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   34.531667][   T94] ata1.00: ATA-8: TOSHIBA DT01ACA100, MS2OA750, max UDMA/133
[   34.538981][   T94] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   34.553556][   T94] ata1.00: configured for UDMA/133
[   34.558994][   T17] scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA DT01ACA1 A750 PQ: 0 ANSI: 5
[   34.572166][  T108] sd 0:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   34.585350][  T108] sd 0:0:0:0: [sdd] 4096-byte physical blocks
[   34.591547][  T108] sd 0:0:0:0: [sdd] Write Protect is off
[   34.597247][  T108] sd 0:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   34.636869][  T108]  sdd: sdd1 sdd2
[   34.647002][  T108] sd 0:0:0:0: [sdd] Attached SCSI disk
[   38.250378][  T152] reg-fixed-voltage regulators-hdd-30-4:regulator@3: nonexclusive access to GPIO for regulators-hdd-30-4:regulator@3
[   38.591443][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   43.291532][  T152] reg-fixed-voltage regulators-hdd-30-4:regulator@4: nonexclusive access to GPIO for regulators-hdd-30-4:regulator@4
[   43.610398][   T96] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   43.622172][   T96] ata2.00: supports DRM functions and may not be fully accessible
[   43.629949][   T96] ata2.00: ATA-9: ST1000DM003-1ER162, CC43, max UDMA/133
[   43.636911][   T96] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   43.655164][   T96] ata2.00: supports DRM functions and may not be fully accessible
[   43.664409][   T96] ata2.00: configured for UDMA/133
[   43.669859][   T17] scsi 1:0:0:0: Direct-Access     ATA      ST1000DM003-1ER1 CC43 PQ: 0 ANSI: 5
[   43.683112][  T108] sd 1:0:0:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   43.696604][  T108] sd 1:0:0:0: [sde] 4096-byte physical blocks
[   43.702802][  T108] sd 1:0:0:0: [sde] Write Protect is off
[   43.708507][  T108] sd 1:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   43.742847][  T108]  sde: sde1 sde2 sde3
[   43.753541][  T108] sd 1:0:0:0: [sde] Attached SCSI disk
[   43.941570][   T98] ata3: SATA link down (SStatus 0 SControl 300)
Begin: Loading essential drivers ... done.
[   48.970399][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   54.341465][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   54.347630][   T98] ata3.00: disabled
[   54.351389][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   54.357556][   T17] ata3.00: detaching (SCSI 2:0:0:0)
[   54.378124][   T17] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
[   54.389778][   T17] sd 2:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   54.410050][   T17] sd 2:0:0:0: [sdb] Stopping disk
[   54.420059][   T17] sd 2:0:0:0: [sdb] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sdd1] fsck.ext3 -a -C0 /dev/sdd1
sata_rootfs: recovering journal
[   59.701752][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   59.708146][  T100] ata4.00: disabled
[   59.712146][   T17] ata4.00: detaching (SCSI 3:0:0:0)
[   59.725285][   T17] sd 3:0:0:0: [sdc] Synchronizing SCSI cache
[   59.738640][   T17] sd 3:0:0:0: [sdc] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   59.760406][   T17] sd 3:0:0:0: [sdc] Stopping disk
[   59.768224][   T17] sd 3:0:0:0: [sdc] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
sata_rootfs: clean, 17757/6553600 files, 786314/26214400 blocks
done.
[   61.510885][  T192] EXT4-fs (sdd1): mounting ext3 file system using the ext4 subsystem
[   62.333782][  T192] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'faucon'...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...[   67.398627][  T380] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized
[   68.357334][  T377] orion_wdt: Initial timeout 21 sec
[   68.660983][  T381] marvell-cesa f1030000.crypto: CESA device successfully registered
[   69.042727][  T380] sd 6:0:0:0: Attached scsi generic sg0 type 0
[   69.051352][  T380] sd 0:0:0:0: Attached scsi generic sg1 type 0
[   69.062811][  T380] sd 1:0:0:0: Attached scsi generic sg2 type 0
done.
Activating swap:.
[   71.190152][  T526] EXT4-fs (sdd1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is not mounted
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1
e2fsck 1.46.2 (28-Feb-2021)
rootfs: clean, 15649/1900544 files, 389809/7593728 blocks
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.
▒
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology Disk Station LE

U-Boot 1.1.4 (May 22 2012 - 19:52:31) Marvell version: 3.5.9

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

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

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

[8192kB@f8000000] Flash:  8 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


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

Synology Model: DS413j
Fan Status: Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
## Booting image at f8090000 ...
Bad Magic Number
Marvell>>
Re: Debian on Synology DS413J
April 09, 2023 02:42PM
Billy,

Here is the new DTB. Please try again the same test, kwboot, with 4 HDDs in the slots.

===================


Are the 2 fans running right now in your box?

- BTW, you can trim down the kwboot log like this.
root@Arc-170:~/tools#  kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa325.mtd0.kwb -p
Sending boot message. Please reboot the target.../
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
<snip> 
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - kirkwood-ds413j.dtb (22.5 KB)
open | download - kirkwood-ds413j.dts (1.9 KB)
Re: Debian on Synology DS413J
April 09, 2023 03:24PM
Hi Bodhi,

I can't boot anymore without changing anything. Can you spot why ?
I would like to do it remotely but if i can't remote, i'll need to do it manually, took the usb key, change the dtb, etc...
Re: Debian on Synology DS413J
April 09, 2023 04:27PM
Boot with the new DTB I've posted above.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 09, 2023 05:01PM
OK I will
Re: Debian on Synology DS413J
April 10, 2023 03:57AM
root@Arc-170:~/tools# kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa325.mtd0.kwb -p
Sending boot message. Please reboot the target...|
Sending boot image...
  0 % [......................................................................]
<stripped>
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

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

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60749824        00000000-01     83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
319 bytes read in 753 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 992 ms (5.2 MiB/s)
loading uInitrd ...
9671091 bytes read in 956 ms (9.6 MiB/s)
loading DTB /boot/dts/kirkwood-ds413jlast.dtb ...
22252 bytes read in 3983 ms (4.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cb000, end 1f1d36eb ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS413j
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 mtdparts=spi0.0:1M(u-boot),-(data) earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008598][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015974][    T0] Console: colour dummy device 80x30
[    0.021228][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032550][    T0] pid_max: default: 32768 minimum: 301
[    0.038220][    T0] LSM: Security Framework initializing
[    0.043735][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051843][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061554][    T0] CPU: Testing write buffer coherency: ok
[    0.069228][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.076411][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.082612][    T1] rcu: Hierarchical SRCU implementation.
[    0.089368][    T1] devtmpfs: initialized
[    0.101974][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112661][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.148311][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.155536][    T1] prandom: seed boundary self test passed
[    0.164319][    T1] prandom: 100 self tests passed
[    0.169174][    T1] pinctrl core: initialized pinctrl subsystem
[    0.176491][    T1] NET: Registered protocol family 16
[    0.182353][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.190767][    T1] audit: initializing netlink subsys (disabled)
[    0.198078][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.198432][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.213841][    T1] cpuidle: using governor ladder
[    0.218787][    T1] cpuidle: using governor menu
[    0.223879][    T1] Feroceon L2: Enabling L2
[    0.228204][    T1] Feroceon L2: Cache support initialised.
[    0.243623][    T1] No ATAGs?
[    2.568602][    C0] random: fast init done
[    3.896985][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.923523][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.118737][    T1] raid6: int32x8  gen()   150 MB/s
[    4.288651][    T1] raid6: int32x8  xor()    91 MB/s
[    4.458784][    T1] raid6: int32x4  gen()   146 MB/s
[    4.628676][    T1] raid6: int32x4  xor()    95 MB/s
[    4.798622][    T1] raid6: int32x2  gen()   190 MB/s
[    4.968692][    T1] raid6: int32x2  xor()   113 MB/s
[    5.138700][    T1] raid6: int32x1  gen()   132 MB/s
[    5.308615][    T1] raid6: int32x1  xor()    79 MB/s
[    5.313603][    T1] raid6: using algorithm int32x2 gen() 190 MB/s
[    5.319736][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.325331][    T1] raid6: using intx1 recovery algorithm
[    5.330977][    T1] vgaarb: loaded
[    5.334849][    T1] SCSI subsystem initialized
[    5.339757][    T1] usbcore: registered new interface driver usbfs
[    5.346017][    T1] usbcore: registered new interface driver hub
[    5.352128][    T1] usbcore: registered new device driver usb
[    5.358062][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.363768][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.373670][    T1] PTP clock support registered
[    5.379827][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.470365][    T1] VFS: Disk quotas dquot_6.6.0
[    5.475094][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.507432][    T1] NET: Registered protocol family 2
[    5.520002][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.540196][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.549323][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.569930][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.577855][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.600076][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.608085][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.629864][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.637765][    T1] NET: Registered protocol family 1
[    5.660400][    T1] RPC: Registered named UNIX socket transport module.
[    5.667051][    T1] RPC: Registered udp transport module.
[    5.689839][    T1] RPC: Registered tcp transport module.
[    5.695269][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.709848][    T1] PCI: CLS 0 bytes, default 32
[    5.719848][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.727468][   T58] Trying to unpack rootfs image as initramfs...
[    7.055180][   T58] Freeing initrd memory: 9448K
[    7.396769][    T1] Initialise system trusted keyrings
[    7.402037][    T1] Key type blacklist registered
[    7.406976][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.414305][    T1] zbud: loaded
[    7.418741][    T1] NFS: Registering the id_resolver key type
[    7.424615][    T1] Key type id_resolver registered
[    7.429520][    T1] Key type id_legacy registered
[    7.434304][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.441762][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.449905][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.457216][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.465395][    T1] fuse: init (API version 7.34)
[    7.470483][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.477813][    T1] orangefs_init: module version upstream loaded
[    7.484004][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.570743][    T1] xor: measuring software checksum speed
[    7.582955][    T1]    arm4regs        :  1485 MB/sec
[    7.599129][    T1]    8regs           :   890 MB/sec
[    7.611874][    T1]    32regs          :  1296 MB/sec
[    7.616947][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.622935][    T1] async_tx: api initialized (async)
[    7.628019][    T1] Key type asymmetric registered
[    7.632864][    T1] Asymmetric key parser 'x509' registered
[    7.638501][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.646723][    T1] io scheduler bfq registered
[    7.801083][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.810805][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.820773][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.830948][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.841121][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.851297][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.861994][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.872684][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.883368][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.894367][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.902703][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.908923][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.919866][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.930807][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.941749][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.949355][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.956514][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.963292][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.971060][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.977811][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.987013][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.993352][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.002128][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.011060][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    8.017817][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    8.025369][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    8.031844][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    8.047664][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.060091][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.066398][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.075531][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.081776][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.089277][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.096910][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.104015][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.111994][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.119975][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.128029][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.135051][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.140758][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.147756][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.155298][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.161096][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.168467][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.230684][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.240795][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.300684][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.311056][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.319339][    T1] printk: console [ttyS0] disabled
[    8.324472][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.334272][    T1] printk: console [ttyS0] enabled
[    8.334272][    T1] printk: console [ttyS0] enabled
[    8.344094][    T1] printk: bootconsole [earlycon0] disabled
[    8.344094][    T1] printk: bootconsole [earlycon0] disabled
[    8.356143][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.372911][    T1] loop: module loaded
[    8.376946][    T1] irq: no irq domain found for interrupt-controller !
[    8.383798][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.390695][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.403196][    T1] ------------[ cut here ]------------
[    8.408542][    T1] WARNING: CPU: 0 PID: 1 at drivers/ata/libata-core.c:5830 ata_host_activate+0x4c/0x130
[    8.418190][    T1] Modules linked in:
[    8.421977][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.13.6-kirkwood-tld-1 #1.0
[    8.429954][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    8.436961][    T1] [<8010e0a4>] (unwind_backtrace) from [<8010a8ac>] (show_stack+0x10/0x14)
[    8.445471][    T1] [<8010a8ac>] (show_stack) from [<8011d708>] (__warn+0xc8/0xf4)
[    8.453109][    T1] [<8011d708>] (__warn) from [<80afe094>] (warn_slowpath_fmt+0x74/0xa4)
[    8.461358][    T1] [<80afe094>] (warn_slowpath_fmt) from [<807abee4>] (ata_host_activate+0x4c/0x130)
[    8.470654][    T1] [<807abee4>] (ata_host_activate) from [<807c0ccc>] (mv_pci_init_one+0x254/0x308)
[    8.479861][    T1] [<807c0ccc>] (mv_pci_init_one) from [<806fdf34>] (pci_device_probe+0xbc/0x138)
[    8.488881][    T1] [<806fdf34>] (pci_device_probe) from [<80764780>] (really_probe+0x2bc/0x4ac)
[    8.497738][    T1] [<80764780>] (really_probe) from [<80764b04>] (driver_probe_device+0x194/0x1c8)
[    8.506848][    T1] [<80764b04>] (driver_probe_device) from [<80764f1c>] (device_driver_attach+0x44/0x5c)
[    8.516484][    T1] [<80764f1c>] (device_driver_attach) from [<80765058>] (__driver_attach+0x124/0x144)
[    8.525946][    T1] [<80765058>] (__driver_attach) from [<80762848>] (bus_for_each_dev+0x64/0xa0)
[    8.534894][    T1] [<80762848>] (bus_for_each_dev) from [<80763958>] (bus_add_driver+0x178/0x1e0)
[    8.543965][    T1] [<80763958>] (bus_add_driver) from [<80765928>] (driver_register+0xac/0xf0)
[    8.552736][    T1] [<80765928>] (driver_register) from [<811271ac>] (mv_init+0x14/0x4c)
[    8.560907][    T1] [<811271ac>] (mv_init) from [<80102534>] (do_one_initcall+0x94/0x1dc)
[    8.569139][    T1] [<80102534>] (do_one_initcall) from [<811015fc>] (kernel_init_freeable+0x1e8/0x234)
[    8.578607][    T1] [<811015fc>] (kernel_init_freeable) from [<80b091cc>] (kernel_init+0x8/0x118)
[    8.587554][    T1] [<80b091cc>] (kernel_init) from [<80100148>] (ret_from_fork+0x14/0x2c)
[    8.595880][    T1] Exception stack(0x814affb0 to 0x814afff8)
[    8.601671][    T1] ffa0:                                     00000000 00000000 00000000 00000000
[    8.610602][    T1] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.619516][    T1] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    8.626874][    T1] ---[ end trace 85c113c10d7817ce ]---
[    8.633868][    T1] scsi host0: sata_mv
[    8.638280][    T1] scsi host1: sata_mv
[    8.642685][    T1] scsi host2: sata_mv
[    8.647016][    T1] scsi host3: sata_mv
[    8.651123][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000
[    8.658912][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000
[    8.666719][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000
[    8.674517][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000
[    8.683645][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.692551][    T1] scsi host4: sata_mv
[    8.696935][    T1] scsi host5: sata_mv
[    8.701045][    T1] ata5: SATA max UDMA/133 irq 34
[    8.705869][    T1] ata6: SATA max UDMA/133 irq 34
[    8.712353][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.718855][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.724333][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    8.730998][    T1] Creating 2 MTD partitions on "spi0.0":
[    8.736521][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    8.743462][    T1] 0x000000100000-0x000000800000 : "data"
[    8.750539][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.759112][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.770432][    T1] libphy: Fixed MDIO Bus: probed
[    8.776454][    T1] libphy: orion_mdio_bus: probed
[    8.781475][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.802954][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.812548][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.822204][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.829491][    T1] ehci-pci: EHCI PCI platform driver
[    8.834787][    T1] ehci-orion: EHCI orion driver
[    8.839684][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.845978][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.854575][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.889854][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.896845][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.905902][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.913891][    T1] usb usb1: Product: EHCI Host Controller
[    8.919513][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.926976][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.933004][    T1] hub 1-0:1.0: USB hub found
[    8.937552][    T1] hub 1-0:1.0: 1 port detected
[    8.942914][    T1] usbcore: registered new interface driver usb-storage
[    8.950085][    T1] mousedev: PS/2 mouse device common for all mice
[    8.956661][    T1] i2c /dev entries driver
[    8.962537][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.968778][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.976052][    T1] device-mapper: uevent: version 1.0.3
[    8.981708][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.991293][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.998602][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    9.006010][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    9.013412][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    9.019651][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.026524][    T1] device-mapper: raid: Loading target version 1.15.1
[    9.034448][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.040386][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    9.046965][    T1] drop_monitor: Initializing network drop monitor service
[    9.054397][    T1] NET: Registered protocol family 10
[    9.060725][    T1] Segment Routing with IPv6
[    9.065114][    T1] RPL Segment Routing with IPv6
[    9.069982][    T1] NET: Registered protocol family 17
[    9.075362][    T1] Key type dns_resolver registered
[    9.080990][    T1] registered taskstats version 1
[    9.085811][    T1] Loading compiled-in X.509 certificates
[    9.091712][    T1] zswap: loaded using pool lzo/zbud
[    9.097077][    T1] Key type ._fscrypt registered
[    9.101879][    T1] Key type .fscrypt registered
[    9.106516][    T1] Key type fscrypt-provisioning registered
[    9.113795][    T1] Key type big_key registered
[    9.142994][    T1] Key type encrypted registered
[    9.229854][  T117] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.371388][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.431583][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.440535][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.448419][  T117] usb 1-1: Product: USB2.0 Hub
[    9.453872][  T117] hub 1-1:1.0: USB hub found
[    9.458710][  T117] hub 1-1:1.0: 4 ports detected
[    9.711392][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   10.051360][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   10.179849][  T117] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   10.331080][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5590, bcdDevice= 1.00
[   10.340221][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.348309][  T117] usb 1-1.2: Product: Ultra
[   10.352708][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.357720][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.364628][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.372179][  T117] scsi host6: usb-storage 1-1.2:1.0
[   10.392524][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   10.411874][    T1] Freeing unused kernel memory: 1024K
[   10.417905][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.424328][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   11.304152][  T155] usbcore: registered new interface driver uas
[   11.450932][  T108] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[   11.468761][  T103] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.1 GB/29.0 GiB)
[   11.485012][  T103] sd 6:0:0:0: [sda] Write Protect is off
[   11.496512][  T103] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.551740][  T103]  sda: sda1
[   11.560260][  T103] sd 6:0:0:0: [sda] Attached SCSI removable disk
▒
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology Disk Station LE

U-Boot 1.1.4 (May 22 2012 - 19:52:31) Marvell version: 3.5.9

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

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

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

[8192kB@f8000000] Flash:  8 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


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

Synology Model: DS413j
Fan Status: Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
## Booting image at f8090000 ...
Bad Magic Number
Marvell>>

I tried the last DTB but the box crashed again (i think it's a crash)
I don't understand why it crashed either if i didn't change anything before this try with new DTB.
Re: Debian on Synology DS413J
April 10, 2023 02:00PM
Billy,

> I tried the last DTB but the box crashed again (i
> think it's a crash)
> I don't understand why it crashed either if i
> didn't change anything before this try with new
> DTB.

Perhaps saving the DTB with a datetime stamp would be a good idea so we know which version.

- Try booting the DTB version in the release rootfs.
- Are the 2 fans running?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 10, 2023 02:16PM
bodhi Wrote:
-------------------------------------------------------
> Billy,
>
> > I tried the last DTB but the box crashed again
> (i
> > think it's a crash)
> > I don't understand why it crashed either if i
> > didn't change anything before this try with new
> > DTB.
>
> Perhaps saving the DTB with a datetime stamp would
> be a good idea so we know which version.
I'll do that. Tomorrow i'll not be able to do it but i will on wednesday. it's a good idea (i'll take the date from your post)

>
> - Try booting the DTB version in the release
> rootfs.
I booted it with DTB in the rootfs usb key (i don't have it on the sata_rootfs because i can't boot it since 2 days stucked without the same error)

> - Are the 2 fans running?
The two fans were running when i changed to 4500 rpm and enable. but it wasn't persistent i think (i can't confirm because it didn't boot)
Re: Debian on Synology DS413J
April 12, 2023 01:17AM
Hi Bodhi,

I had no success to boot successfully from several days.

Today i tried with the last DTB to boot on usb (not hdd). So i modified the uEnv.txt to boot en LABEL=rootfs and not sata_rootfs. Not working.

I'll try to boot with the previous DTB (but it didn't work last time i tried)

root@Arc-170:~/tools# kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa325.mtd0.kwb -p
Sending boot message. Please reboot the target...\
Sending boot image...
  0 % [......................................................................]

 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

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

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60749824        00000000-01     83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
314 bytes read in 754 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 991 ms (5.2 MiB/s)
loading uInitrd ...
9671091 bytes read in 955 ms (9.7 MiB/s)
loading DTB /boot/dts/kirkwood-ds413jlast.dtb ...
22252 bytes read in 3982 ms (4.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cb000, end 1f1d36eb ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS413j
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:1M(u-boot),-(data) earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008597][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015971][    T0] Console: colour dummy device 80x30
[    0.021228][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032551][    T0] pid_max: default: 32768 minimum: 301
[    0.038218][    T0] LSM: Security Framework initializing
[    0.043737][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051842][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061541][    T0] CPU: Testing write buffer coherency: ok
[    0.069205][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.076385][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.082588][    T1] rcu: Hierarchical SRCU implementation.
[    0.089337][    T1] devtmpfs: initialized
[    0.101914][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112600][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.148244][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.155464][    T1] prandom: seed boundary self test passed
[    0.164240][    T1] prandom: 100 self tests passed
[    0.169095][    T1] pinctrl core: initialized pinctrl subsystem
[    0.176415][    T1] NET: Registered protocol family 16
[    0.182273][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.190689][    T1] audit: initializing netlink subsys (disabled)
[    0.198007][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.198362][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.213769][    T1] cpuidle: using governor ladder
[    0.218714][    T1] cpuidle: using governor menu
[    0.223799][    T1] Feroceon L2: Enabling L2
[    0.228126][    T1] Feroceon L2: Cache support initialised.
[    0.243534][    T1] No ATAGs?
[    2.568603][    C0] random: fast init done
[    3.896833][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.923408][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.118846][    T1] raid6: int32x8  gen()   150 MB/s
[    4.288749][    T1] raid6: int32x8  xor()    91 MB/s
[    4.458658][    T1] raid6: int32x4  gen()   145 MB/s
[    4.628658][    T1] raid6: int32x4  xor()    95 MB/s
[    4.798691][    T1] raid6: int32x2  gen()   184 MB/s
[    4.968681][    T1] raid6: int32x2  xor()   113 MB/s
[    5.138675][    T1] raid6: int32x1  gen()   133 MB/s
[    5.308705][    T1] raid6: int32x1  xor()    79 MB/s
[    5.313690][    T1] raid6: using algorithm int32x2 gen() 184 MB/s
[    5.319824][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.325418][    T1] raid6: using intx1 recovery algorithm
[    5.331066][    T1] vgaarb: loaded
[    5.334939][    T1] SCSI subsystem initialized
[    5.339844][    T1] usbcore: registered new interface driver usbfs
[    5.346103][    T1] usbcore: registered new interface driver hub
[    5.352216][    T1] usbcore: registered new device driver usb
[    5.358152][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.363856][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.373758][    T1] PTP clock support registered
[    5.379915][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.470457][    T1] VFS: Disk quotas dquot_6.6.0
[    5.475189][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.507511][    T1] NET: Registered protocol family 2
[    5.520090][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.540283][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.549411][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.570018][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.577943][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.600161][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.608173][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.629953][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.637852][    T1] NET: Registered protocol family 1
[    5.660488][    T1] RPC: Registered named UNIX socket transport module.
[    5.667138][    T1] RPC: Registered udp transport module.
[    5.689928][    T1] RPC: Registered tcp transport module.
[    5.695356][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.709936][    T1] PCI: CLS 0 bytes, default 32
[    5.719939][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.727559][   T58] Trying to unpack rootfs image as initramfs...
[    7.055238][   T58] Freeing initrd memory: 9448K
[    7.396810][    T1] Initialise system trusted keyrings
[    7.402084][    T1] Key type blacklist registered
[    7.407018][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.414349][    T1] zbud: loaded
[    7.418780][    T1] NFS: Registering the id_resolver key type
[    7.424653][    T1] Key type id_resolver registered
[    7.429555][    T1] Key type id_legacy registered
[    7.434338][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.441796][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.449940][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.457249][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.465418][    T1] fuse: init (API version 7.34)
[    7.470499][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.477831][    T1] orangefs_init: module version upstream loaded
[    7.484022][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.568107][    T1] xor: measuring software checksum speed
[    7.580445][    T1]    arm4regs        :  1469 MB/sec
[    7.596613][    T1]    8regs           :   890 MB/sec
[    7.609390][    T1]    32regs          :  1282 MB/sec
[    7.614505][    T1] xor: using function: arm4regs (1469 MB/sec)
[    7.620494][    T1] async_tx: api initialized (async)
[    7.625578][    T1] Key type asymmetric registered
[    7.630428][    T1] Asymmetric key parser 'x509' registered
[    7.636069][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.644279][    T1] io scheduler bfq registered
[    7.798443][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.808138][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.818107][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.828290][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.838462][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.848637][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.859334][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.870025][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.880708][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.891705][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.900035][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.906255][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.917197][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.928139][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.939081][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.946702][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.953863][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.960642][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.968395][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.975168][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.984362][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.990702][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.999459][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.008393][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    8.015170][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    8.022713][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    8.029127][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    8.044984][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.057385][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.063717][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.072846][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.079066][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.086599][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.094233][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.101338][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.109301][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.117281][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.125350][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.132373][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.138065][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.145076][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.152621][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.158405][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.165797][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.230770][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.240876][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.300772][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.311144][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.319433][    T1] printk: console [ttyS0] disabled
[    8.324568][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.334367][    T1] printk: console [ttyS0] enabled
[    8.334367][    T1] printk: console [ttyS0] enabled
[    8.344189][    T1] printk: bootconsole [earlycon0] disabled
[    8.344189][    T1] printk: bootconsole [earlycon0] disabled
[    8.356236][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.372997][    T1] loop: module loaded
[    8.377034][    T1] irq: no irq domain found for interrupt-controller !
[    8.383884][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.390781][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.403280][    T1] ------------[ cut here ]------------
[    8.408620][    T1] WARNING: CPU: 0 PID: 1 at drivers/ata/libata-core.c:5830 ata_host_activate+0x4c/0x130
[    8.418270][    T1] Modules linked in:
[    8.422057][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.13.6-kirkwood-tld-1 #1.0
[    8.430032][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    8.437038][    T1] [<8010e0a4>] (unwind_backtrace) from [<8010a8ac>] (show_stack+0x10/0x14)
[    8.445549][    T1] [<8010a8ac>] (show_stack) from [<8011d708>] (__warn+0xc8/0xf4)
[    8.453178][    T1] [<8011d708>] (__warn) from [<80afe094>] (warn_slowpath_fmt+0x74/0xa4)
[    8.461428][    T1] [<80afe094>] (warn_slowpath_fmt) from [<807abee4>] (ata_host_activate+0x4c/0x130)
[    8.470724][    T1] [<807abee4>] (ata_host_activate) from [<807c0ccc>] (mv_pci_init_one+0x254/0x308)
[    8.479931][    T1] [<807c0ccc>] (mv_pci_init_one) from [<806fdf34>] (pci_device_probe+0xbc/0x138)
[    8.488950][    T1] [<806fdf34>] (pci_device_probe) from [<80764780>] (really_probe+0x2bc/0x4ac)
[    8.497809][    T1] [<80764780>] (really_probe) from [<80764b04>] (driver_probe_device+0x194/0x1c8)
[    8.506918][    T1] [<80764b04>] (driver_probe_device) from [<80764f1c>] (device_driver_attach+0x44/0x5c)
[    8.516553][    T1] [<80764f1c>] (device_driver_attach) from [<80765058>] (__driver_attach+0x124/0x144)
[    8.526015][    T1] [<80765058>] (__driver_attach) from [<80762848>] (bus_for_each_dev+0x64/0xa0)
[    8.534963][    T1] [<80762848>] (bus_for_each_dev) from [<80763958>] (bus_add_driver+0x178/0x1e0)
[    8.543996][    T1] [<80763958>] (bus_add_driver) from [<80765928>] (driver_register+0xac/0xf0)
[    8.552798][    T1] [<80765928>] (driver_register) from [<811271ac>] (mv_init+0x14/0x4c)
[    8.560970][    T1] [<811271ac>] (mv_init) from [<80102534>] (do_one_initcall+0x94/0x1dc)
[    8.569209][    T1] [<80102534>] (do_one_initcall) from [<811015fc>] (kernel_init_freeable+0x1e8/0x234)
[    8.578677][    T1] [<811015fc>] (kernel_init_freeable) from [<80b091cc>] (kernel_init+0x8/0x118)
[    8.587623][    T1] [<80b091cc>] (kernel_init) from [<80100148>] (ret_from_fork+0x14/0x2c)
[    8.595948][    T1] Exception stack(0x814affb0 to 0x814afff8)
[    8.601741][    T1] ffa0:                                     00000000 00000000 00000000 00000000
[    8.610671][    T1] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.619586][    T1] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    8.626944][    T1] ---[ end trace 0c79a56f9fe90f48 ]---
[    8.633947][    T1] scsi host0: sata_mv
[    8.638355][    T1] scsi host1: sata_mv
[    8.642755][    T1] scsi host2: sata_mv
[    8.647090][    T1] scsi host3: sata_mv
[    8.651202][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000
[    8.658991][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000
[    8.666799][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000
[    8.674597][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000
[    8.683721][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.692628][    T1] scsi host4: sata_mv
[    8.697016][    T1] scsi host5: sata_mv
[    8.701136][    T1] ata5: SATA max UDMA/133 irq 34
[    8.705955][    T1] ata6: SATA max UDMA/133 irq 34
[    8.712439][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.718940][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.724419][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    8.731084][    T1] Creating 2 MTD partitions on "spi0.0":
[    8.736607][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    8.743541][    T1] 0x000000100000-0x000000800000 : "data"
[    8.750628][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.759199][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.770524][    T1] libphy: Fixed MDIO Bus: probed
[    8.776537][    T1] libphy: orion_mdio_bus: probed
[    8.781570][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.803136][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.812686][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.822338][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.829621][    T1] ehci-pci: EHCI PCI platform driver
[    8.834920][    T1] ehci-orion: EHCI orion driver
[    8.839816][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.846110][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.854706][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.889943][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.896932][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.905987][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.913979][    T1] usb usb1: Product: EHCI Host Controller
[    8.919601][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.927063][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.933091][    T1] hub 1-0:1.0: USB hub found
[    8.937642][    T1] hub 1-0:1.0: 1 port detected
[    8.943002][    T1] usbcore: registered new interface driver usb-storage
[    8.950168][    T1] mousedev: PS/2 mouse device common for all mice
[    8.956746][    T1] i2c /dev entries driver
[    8.962622][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.968866][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.976134][    T1] device-mapper: uevent: version 1.0.3
[    8.981800][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.991382][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.998690][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    9.006096][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    9.013500][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    9.019739][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.026610][    T1] device-mapper: raid: Loading target version 1.15.1
[    9.034534][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.040474][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    9.047051][    T1] drop_monitor: Initializing network drop monitor service
[    9.054453][    T1] NET: Registered protocol family 10
[    9.060809][    T1] Segment Routing with IPv6
[    9.065192][    T1] RPL Segment Routing with IPv6
[    9.070059][    T1] NET: Registered protocol family 17
[    9.075433][    T1] Key type dns_resolver registered
[    9.081061][    T1] registered taskstats version 1
[    9.085890][    T1] Loading compiled-in X.509 certificates
[    9.091798][    T1] zswap: loaded using pool lzo/zbud
[    9.097165][    T1] Key type ._fscrypt registered
[    9.101965][    T1] Key type .fscrypt registered
[    9.106604][    T1] Key type fscrypt-provisioning registered
[    9.113887][    T1] Key type big_key registered
[    9.143004][    T1] Key type encrypted registered
[    9.229943][  T117] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.371475][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.431713][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.440666][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.448549][  T117] usb 1-1: Product: USB2.0 Hub
[    9.454003][  T117] hub 1-1:1.0: USB hub found
[    9.458841][  T117] hub 1-1:1.0: 4 ports detected
[    9.711480][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   10.051476][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   10.179937][  T117] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   10.331212][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5590, bcdDevice= 1.00
[   10.340350][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.348429][  T117] usb 1-1.2: Product: Ultra
[   10.352822][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.357833][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.364759][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.372309][  T117] scsi host6: usb-storage 1-1.2:1.0
[   10.392655][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   10.412004][    T1] Freeing unused kernel memory: 1024K
[   10.418036][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.424459][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   11.302765][  T154] usbcore: registered new interface driver uas
[   11.450938][  T108] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[   11.469142][  T103] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.1 GB/29.0 GiB)
[   11.486645][  T103] sd 6:0:0:0: [sda] Write Protect is off
[   11.496019][  T103] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.552870][  T103]  sda: sda1
[   11.561517][  T103] sd 6:0:0:0: [sda] Attached SCSI removable disk
▒
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology Disk Station LE

U-Boot 1.1.4 (May 22 2012 - 19:52:31) Marvell version: 3.5.9

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

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

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

[8192kB@f8000000] Flash:  8 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


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

Synology Model: DS413j
Fan Status: Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
## Booting image at f8090000 ...
Bad Magic Number
Marvell>>
Re: Debian on Synology DS413J
April 12, 2023 02:16PM
Billy,

> I had no success to boot successfully from several
> days.

You should read the thread backward and find the post where it was last successfully booted. The DTB used in that boot results in 2 HDDs present. And then you could run from the HDD 100GB partition rootfs.

When you find that DTB, please post the link here so we can keep track of the good version.

I think either somehow your hardware having issue or there are still GPIO conflicts. I'll review the DTS again.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 12, 2023 02:19PM
Hi Bodhi,

i'll do that again. Redo the usb key, maybe there is a corruption because of lots of shutdown (the instability when i boot on debian but later the box reboots and i'm stucked in stock u-boot)

Thanks
Re: Debian on Synology DS413J
April 14, 2023 06:42AM
Hi Bodhi,

Sorry i didn't do the test before.

With the DTB from 2023 06 march, we have a boot :

root@Arc-170:~/tools# kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa325.mtd0.kwb -p
Sending boot message. Please reboot the target.../
Sending boot image...
  0 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

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

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60749824        00000000-01     83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
318 bytes read in 754 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 991 ms (5.2 MiB/s)
loading uInitrd ...
9671091 bytes read in 955 ms (9.7 MiB/s)
loading DTB /boot/dts/kirkwood-ds413j20230603.dtb ...
21852 bytes read in 4029 ms (4.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cb000, end 1f1d355b ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS413j
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:1M(u-boot),-(data) earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008597][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015974][    T0] Console: colour dummy device 80x30
[    0.021227][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032550][    T0] pid_max: default: 32768 minimum: 301
[    0.038215][    T0] LSM: Security Framework initializing
[    0.043735][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051841][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061545][    T0] CPU: Testing write buffer coherency: ok
[    0.069218][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.076398][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.082596][    T1] rcu: Hierarchical SRCU implementation.
[    0.089350][    T1] devtmpfs: initialized
[    0.101863][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112546][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.148191][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.155413][    T1] prandom: seed boundary self test passed
[    0.164195][    T1] prandom: 100 self tests passed
[    0.169051][    T1] pinctrl core: initialized pinctrl subsystem
[    0.176347][    T1] NET: Registered protocol family 16
[    0.182189][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.190620][    T1] audit: initializing netlink subsys (disabled)
[    0.197931][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.198288][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.213702][    T1] cpuidle: using governor ladder
[    0.218642][    T1] cpuidle: using governor menu
[    0.223733][    T1] Feroceon L2: Enabling L2
[    0.228056][    T1] Feroceon L2: Cache support initialised.
[    0.243834][    T1] No ATAGs?
[    2.568603][    C0] random: fast init done
[    3.897354][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.923892][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.118757][    T1] raid6: int32x8  gen()   150 MB/s
[    4.288735][    T1] raid6: int32x8  xor()    91 MB/s
[    4.458749][    T1] raid6: int32x4  gen()   146 MB/s
[    4.628699][    T1] raid6: int32x4  xor()    95 MB/s
[    4.798701][    T1] raid6: int32x2  gen()   183 MB/s
[    4.968726][    T1] raid6: int32x2  xor()   113 MB/s
[    5.138628][    T1] raid6: int32x1  gen()   129 MB/s
[    5.308667][    T1] raid6: int32x1  xor()    78 MB/s
[    5.313655][    T1] raid6: using algorithm int32x2 gen() 183 MB/s
[    5.319788][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.325383][    T1] raid6: using intx1 recovery algorithm
[    5.331043][    T1] vgaarb: loaded
[    5.334913][    T1] SCSI subsystem initialized
[    5.339821][    T1] usbcore: registered new interface driver usbfs
[    5.346076][    T1] usbcore: registered new interface driver hub
[    5.352190][    T1] usbcore: registered new device driver usb
[    5.358117][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.363820][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.373722][    T1] PTP clock support registered
[    5.379886][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.470427][    T1] VFS: Disk quotas dquot_6.6.0
[    5.475149][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.507377][    T1] NET: Registered protocol family 2
[    5.520059][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.540252][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.549376][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.569990][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.577908][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.600133][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.608143][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.629921][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.637821][    T1] NET: Registered protocol family 1
[    5.660462][    T1] RPC: Registered named UNIX socket transport module.
[    5.667112][    T1] RPC: Registered udp transport module.
[    5.689898][    T1] RPC: Registered tcp transport module.
[    5.695330][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.709907][    T1] PCI: CLS 0 bytes, default 32
[    5.719909][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.727528][   T58] Trying to unpack rootfs image as initramfs...
[    7.056566][   T58] Freeing initrd memory: 9448K
[    7.397035][    T1] Initialise system trusted keyrings
[    7.402310][    T1] Key type blacklist registered
[    7.407247][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.414586][    T1] zbud: loaded
[    7.419009][    T1] NFS: Registering the id_resolver key type
[    7.424874][    T1] Key type id_resolver registered
[    7.429782][    T1] Key type id_legacy registered
[    7.434566][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.442023][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.450167][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.457474][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.465651][    T1] fuse: init (API version 7.34)
[    7.470722][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.478057][    T1] orangefs_init: module version upstream loaded
[    7.484246][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.569990][    T1] xor: measuring software checksum speed
[    7.582202][    T1]    arm4regs        :  1485 MB/sec
[    7.598377][    T1]    8regs           :   890 MB/sec
[    7.611122][    T1]    32regs          :  1296 MB/sec
[    7.616197][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.622184][    T1] async_tx: api initialized (async)
[    7.627270][    T1] Key type asymmetric registered
[    7.632122][    T1] Asymmetric key parser 'x509' registered
[    7.637772][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.645989][    T1] io scheduler bfq registered
[    7.800185][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.809854][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.819827][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.830007][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.840179][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.850355][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.861052][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.871742][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.882426][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.893426][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.901761][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.907981][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.918923][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.929866][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.940808][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.948414][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.955567][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.962342][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.970138][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.976895][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.986071][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.992410][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.001186][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.010127][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    8.016883][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    8.024436][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    8.030912][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    8.046735][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.059117][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.065453][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.074562][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.080808][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.088309][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.095943][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.103047][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.111026][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.118992][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.127059][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.134082][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.139775][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.146786][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.154330][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.160131][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.167499][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.230741][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.240841][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.300740][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.311119][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.319407][    T1] printk: console [ttyS0] disabled
[    8.324540][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.334341][    T1] printk: console [ttyS0] enabled
[    8.334341][    T1] printk: console [ttyS0] enabled
[    8.344163][    T1] printk: bootconsole [earlycon0] disabled
[    8.344163][    T1] printk: bootconsole [earlycon0] disabled
[    8.356205][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.372977][    T1] loop: module loaded
[    8.377216][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.384145][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.398323][    T1] scsi host0: sata_mv
[    8.402777][    T1] scsi host1: sata_mv
[    8.407123][    T1] scsi host2: sata_mv
[    8.411499][    T1] scsi host3: sata_mv
[    8.415554][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 37
[    8.423996][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 37
[    8.432407][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 37
[    8.440821][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 37
[    8.450590][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.459457][    T1] scsi host4: sata_mv
[    8.463891][    T1] scsi host5: sata_mv
[    8.467952][    T1] ata5: SATA max UDMA/133 irq 34
[    8.472827][    T1] ata6: SATA max UDMA/133 irq 34
[    8.479272][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.485793][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.491266][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    8.497913][    T1] Creating 2 MTD partitions on "spi0.0":
[    8.503460][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    8.510442][    T1] 0x000000100000-0x000000800000 : "data"
[    8.517454][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.526062][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.537337][    T1] libphy: Fixed MDIO Bus: probed
[    8.543452][    T1] libphy: orion_mdio_bus: probed
[    8.548456][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.569991][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.579459][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.589111][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.596476][    T1] ehci-pci: EHCI PCI platform driver
[    8.601744][    T1] ehci-orion: EHCI orion driver
[    8.606632][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.612927][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.621509][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.649918][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.656902][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.665935][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.673934][    T1] usb usb1: Product: EHCI Host Controller
[    8.679557][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.687020][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.693027][    T1] hub 1-0:1.0: USB hub found
[    8.697563][    T1] hub 1-0:1.0: 1 port detected
[    8.702931][    T1] usbcore: registered new interface driver usb-storage
[    8.710109][    T1] mousedev: PS/2 mouse device common for all mice
[    8.716687][    T1] i2c /dev entries driver
[    8.722568][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.728810][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.736083][    T1] device-mapper: uevent: version 1.0.3
[    8.741748][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.751340][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.758650][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.766050][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.773497][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.780383][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.786536][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.795294][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.801569][    T1] drop_monitor: Initializing network drop monitor service
[    8.809535][    T1] NET: Registered protocol family 10
[    8.814780][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.822150][    T1] Segment Routing with IPv6
[    8.826536][    T1] RPL Segment Routing with IPv6
[    8.831456][    T1] NET: Registered protocol family 17
[    8.836841][    T1] Key type dns_resolver registered
[    8.842498][    T1] registered taskstats version 1
[    8.847328][    T1] Loading compiled-in X.509 certificates
[    8.853221][    T1] zswap: loaded using pool lzo/zbud
[    8.858592][    T1] Key type ._fscrypt registered
[    8.863397][    T1] Key type .fscrypt registered
[    8.868042][    T1] Key type fscrypt-provisioning registered
[    8.875319][    T1] Key type big_key registered
[    8.904463][    T1] Key type encrypted registered
[    8.989913][  T117] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.141435][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.191642][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.200589][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.208478][  T117] usb 1-1: Product: USB2.0 Hub
[    9.213943][  T117] hub 1-1:1.0: USB hub found
[    9.218770][  T117] hub 1-1:1.0: 4 ports detected
[    9.939907][  T117] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   10.091139][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5590, bcdDevice= 1.00
[   10.100262][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.108325][  T117] usb 1-1.2: Product: Ultra
[   10.112716][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.117706][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.124551][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.132065][  T117] scsi host6: usb-storage 1-1.2:1.0
[   11.210853][   T58] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[   11.221183][    T7] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.1 GB/29.0 GiB)
[   11.230541][    T7] sd 6:0:0:0: [sda] Write Protect is off
[   11.236789][    T7] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.282017][    T7]  sda: sda1
[   11.288045][    T7] sd 6:0:0:0: [sda] Attached SCSI removable disk
[   14.689905][   T98] ata3: link is slow to respond, please be patient (ready=0)
[   14.969934][   T98] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   14.981616][   T98] ata3.00: ATA-9: ST1000DM003-1CH162, CC47, max UDMA/133
[   14.988531][   T98] ata3.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   15.003061][   T98] ata3.00: configured for UDMA/133
[   15.018477][   T80] scsi 2:0:0:0: Direct-Access     ATA      ST1000DM003-1CH1 CC47 PQ: 0 ANSI: 5
[   15.028332][    T7] sd 2:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   15.037552][    T7] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[   15.043625][    T7] sd 2:0:0:0: [sdb] Write Protect is off
[   15.049246][    T7] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   15.077250][    T7]  sdb: sdb1 sdb2 sdb3
[   15.082767][    T7] sd 2:0:0:0: [sdb] Attached SCSI disk
[   20.579905][  T100] ata4: link is slow to respond, please be patient (ready=0)
[   25.059905][  T100] ata4: SRST failed (errno=-16)
[   26.469931][  T100] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   26.481606][  T100] ata4.00: ATA-9: ST1000DM003-1ER162, CC45, max UDMA/133
[   26.488520][  T100] ata4.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   26.505282][  T100] ata4.00: configured for UDMA/133
[   26.520739][  T102] scsi 3:0:0:0: Direct-Access     ATA      ST1000DM003-1ER1 CC45 PQ: 0 ANSI: 5
[   26.530630][    T7] sd 3:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   26.539030][    T7] sd 3:0:0:0: [sdc] 4096-byte physical blocks
[   26.545440][    T7] sd 3:0:0:0: [sdc] Write Protect is off
[   26.551118][    T7] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   26.583795][    T7]  sdc: sdc1 sdc2 sdc3
[   26.589317][    T7] sd 3:0:0:0: [sdc] Attached SCSI disk
[   26.881411][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   26.900785][    T1] Freeing unused kernel memory: 1024K
[   26.906816][    T1] Checked W+X mappings: passed, no W+X pages found
[   26.913239][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   27.953923][  T159] usbcore: registered new interface driver uas
[   33.701813][    C0] random: crng init done
[   34.469932][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   34.481665][   T94] ata1.00: ATA-8: TOSHIBA DT01ACA100, MS2OA750, max UDMA/133
[   34.488982][   T94] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   34.503663][   T94] ata1.00: configured for UDMA/133
[   34.509099][   T17] scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA DT01ACA1 A750 PQ: 0 ANSI: 5
[   34.522306][  T108] sd 0:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   34.535561][  T108] sd 0:0:0:0: [sdd] 4096-byte physical blocks
[   34.541769][  T108] sd 0:0:0:0: [sdd] Write Protect is off
[   34.547466][  T108] sd 0:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   34.580504][  T108]  sdd: sdd1 sdd2
[   34.590761][  T108] sd 0:0:0:0: [sdd] Attached SCSI disk
[   38.170374][  T157] reg-fixed-voltage regulators-hdd-30-4:regulator@3: nonexclusive access to GPIO for regulators-hdd-30-4:regulator@3
[   38.511447][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   43.211620][  T157] reg-fixed-voltage regulators-hdd-30-4:regulator@4: nonexclusive access to GPIO for regulators-hdd-30-4:regulator@4
[   43.530400][   T96] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   43.542175][   T96] ata2.00: supports DRM functions and may not be fully accessible
[   43.549955][   T96] ata2.00: ATA-9: ST1000DM003-1ER162, CC43, max UDMA/133
[   43.556915][   T96] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   43.575193][   T96] ata2.00: supports DRM functions and may not be fully accessible
[   43.584455][   T96] ata2.00: configured for UDMA/133
[   43.589937][   T17] scsi 1:0:0:0: Direct-Access     ATA      ST1000DM003-1ER1 CC43 PQ: 0 ANSI: 5
[   43.603180][  T108] sd 1:0:0:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   43.616701][  T108] sd 1:0:0:0: [sde] 4096-byte physical blocks
[   43.622911][  T108] sd 1:0:0:0: [sde] Write Protect is off
[   43.628614][  T108] sd 1:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   43.659477][  T108]  sde: sde1 sde2 sde3
[   43.670556][  T108] sd 1:0:0:0: [sde] Attached SCSI disk
[   43.861774][   T98] ata3: SATA link down (SStatus 0 SControl 300)
Begin: Loading essential drivers ... done.
[   48.890403][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   54.261469][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   54.267641][   T98] ata3.00: disabled
[   54.271401][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   54.277568][   T17] ata3.00: detaching (SCSI 2:0:0:0)
[   54.298724][   T17] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
[   54.310189][   T17] sd 2:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   54.333502][   T17] sd 2:0:0:0: [sdb] Stopping disk
[   54.342136][   T17] sd 2:0:0:0: [sdb] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: clean, 15651/1900544 files, 389821/7593728 blocks
done.
[   58.633573][  T191] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   58.775999][  T191] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
[   59.622235][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   59.628400][  T100] ata4.00: disabled
[   59.640109][   T17] ata4.00: detaching (SCSI 3:0:0:0)
[   59.651214][   T17] sd 3:0:0:0: [sdc] Synchronizing SCSI cache
[   59.662292][   T17] sd 3:0:0:0: [sdc] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   59.684484][   T17] sd 3:0:0:0: [sdc] Stopping disk
[   59.690171][   T17] sd 3:0:0:0: [sdc] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
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...[   61.238945][  T374] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized
[   61.426379][  T374] sd 6:0:0:0: Attached scsi generic sg0 type 0
[   61.477935][  T374] sd 0:0:0:0: Attached scsi generic sg1 type 0
[   61.537503][  T374] sd 1:0:0:0: Attached scsi generic sg2 type 0
[   61.661045][  T382] orion_wdt: Initial timeout 21 sec
[   62.034518][  T377] marvell-cesa f1030000.crypto: CESA device successfully registered
done.
Activating swap:.
[   63.236191][  T522] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Initializing random number generator...done.
Starting Setting kernel variables: sysctl.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/52:3b:20:9c:11:51
Sending on   LPF/eth0/52:3b:20:9c:11:51
Sending on   Socket/fallback
DHCPREQUEST for 192.168.10.200 on eth0 to 255.255.255.255 port 67
[   68.653991][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   68.664654][  T117] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST for 192.168.10.200 on eth0 to 255.255.255.255 port 67
DHCPREQUEST for 192.168.10.200 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.10.200 from 192.168.10.1
bound to 192.168.10.200 -- renewal in 20485 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.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1074 (syslogd)
.
Starting NFS common utilities: statd idmapd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1114 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 11 debian ttyS0

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

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Dec 31 16:01:26 PST 1969 on ttyS0
debian
192.168.10.20
Synology DS413j
Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
Debian 11.0
Wed Dec 31 16:02:35 PST 1969 up 2 minutes
root@debian:~#

root@debian:~# lsblk
NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda         8:0    1    29G  0 disk
`-sda1      8:1    1    29G  0 part /
sdd         8:48   0 931.5G  0 disk
|-sdd1      8:49   0   100G  0 part
`-sdd2      8:50   0 831.5G  0 part
sde         8:64   0 931.5G  0 disk
|-sde1      8:65   0   2.4G  0 part
|-sde2      8:66   0     2G  0 part
`-sde3      8:67   0 926.9G  0 part
mtdblock0  31:0    0     1M  0 disk
mtdblock1  31:1    0     7M  0 disk
root@debian:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            240M     0  240M   0% /dev
tmpfs            49M  348K   49M   1% /run
/dev/sda1        29G  885M   27G   4% /
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            98M     0   98M   0% /dev/shm
tmpfs           245M     0  245M   0% /tmp

i'll try with uEnv.txt to boot on sata_rootfs now.
Re: Debian on Synology DS413J
April 14, 2023 06:52AM
Hi Bodhi,


OK too with sata_rootfs and DTB from 6th march :

root@Arc-170:~/tools# kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa325.mtd0.kwb -p
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

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

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60749824        00000000-01     83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
323 bytes read in 753 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 992 ms (5.2 MiB/s)
loading uInitrd ...
9671091 bytes read in 956 ms (9.6 MiB/s)
loading DTB /boot/dts/kirkwood-ds413j20230603.dtb ...
21852 bytes read in 4028 ms (4.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cb000, end 1f1d355b ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS413j
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 mtdparts=spi0.0:1M(u-boot),-(data) earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490912K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33376K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008597][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015969][    T0] Console: colour dummy device 80x30
[    0.021217][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032542][    T0] pid_max: default: 32768 minimum: 301
[    0.038208][    T0] LSM: Security Framework initializing
[    0.043726][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051834][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061535][    T0] CPU: Testing write buffer coherency: ok
[    0.069208][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.076390][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.082587][    T1] rcu: Hierarchical SRCU implementation.
[    0.089326][    T1] devtmpfs: initialized
[    0.101858][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112548][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.148192][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.155412][    T1] prandom: seed boundary self test passed
[    0.164196][    T1] prandom: 100 self tests passed
[    0.169053][    T1] pinctrl core: initialized pinctrl subsystem
[    0.176367][    T1] NET: Registered protocol family 16
[    0.182208][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.190641][    T1] audit: initializing netlink subsys (disabled)
[    0.197951][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.198305][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.213722][    T1] cpuidle: using governor ladder
[    0.218664][    T1] cpuidle: using governor menu
[    0.223758][    T1] Feroceon L2: Enabling L2
[    0.228082][    T1] Feroceon L2: Cache support initialised.
[    0.243864][    T1] No ATAGs?
[    2.568603][    C0] random: fast init done
[    3.897139][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.923679][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.118644][    T1] raid6: int32x8  gen()   150 MB/s
[    4.288704][    T1] raid6: int32x8  xor()    91 MB/s
[    4.458719][    T1] raid6: int32x4  gen()   146 MB/s
[    4.628715][    T1] raid6: int32x4  xor()    95 MB/s
[    4.798679][    T1] raid6: int32x2  gen()   186 MB/s
[    4.968635][    T1] raid6: int32x2  xor()   113 MB/s
[    5.138758][    T1] raid6: int32x1  gen()   129 MB/s
[    5.308613][    T1] raid6: int32x1  xor()    79 MB/s
[    5.313602][    T1] raid6: using algorithm int32x2 gen() 186 MB/s
[    5.319735][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.325331][    T1] raid6: using intx1 recovery algorithm
[    5.330991][    T1] vgaarb: loaded
[    5.334855][    T1] SCSI subsystem initialized
[    5.339767][    T1] usbcore: registered new interface driver usbfs
[    5.346023][    T1] usbcore: registered new interface driver hub
[    5.352139][    T1] usbcore: registered new device driver usb
[    5.358062][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.363768][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.373670][    T1] PTP clock support registered
[    5.379833][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.470380][    T1] VFS: Disk quotas dquot_6.6.0
[    5.475106][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.507627][    T1] NET: Registered protocol family 2
[    5.520004][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.540204][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.549332][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.569936][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.577855][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.600079][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.608091][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.629868][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.637772][    T1] NET: Registered protocol family 1
[    5.660413][    T1] RPC: Registered named UNIX socket transport module.
[    5.667068][    T1] RPC: Registered udp transport module.
[    5.689845][    T1] RPC: Registered tcp transport module.
[    5.695277][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.709854][    T1] PCI: CLS 0 bytes, default 32
[    5.719854][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.727475][   T58] Trying to unpack rootfs image as initramfs...
[    7.055322][   T58] Freeing initrd memory: 9448K
[    7.397099][    T1] Initialise system trusted keyrings
[    7.402370][    T1] Key type blacklist registered
[    7.407299][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.414626][    T1] zbud: loaded
[    7.419047][    T1] NFS: Registering the id_resolver key type
[    7.424918][    T1] Key type id_resolver registered
[    7.429825][    T1] Key type id_legacy registered
[    7.434607][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.442067][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.450210][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.457521][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.465700][    T1] fuse: init (API version 7.34)
[    7.470777][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.478111][    T1] orangefs_init: module version upstream loaded
[    7.484299][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.570262][    T1] xor: measuring software checksum speed
[    7.582553][    T1]    arm4regs        :  1469 MB/sec
[    7.598727][    T1]    8regs           :   890 MB/sec
[    7.611534][    T1]    32regs          :  1282 MB/sec
[    7.616607][    T1] xor: using function: arm4regs (1469 MB/sec)
[    7.622595][    T1] async_tx: api initialized (async)
[    7.627680][    T1] Key type asymmetric registered
[    7.632533][    T1] Asymmetric key parser 'x509' registered
[    7.638180][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.646401][    T1] io scheduler bfq registered
[    7.800623][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.810341][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.820298][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.830476][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.840650][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.850826][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.861522][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.872213][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.882897][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.893895][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.902233][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.908452][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.919394][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.930337][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.941278][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.948884][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.956032][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.962813][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.970598][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.977348][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.986523][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.992863][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.001640][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.010578][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    8.017336][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    8.024889][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    8.031366][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    8.047187][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.059577][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.065906][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.075014][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.081262][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.088763][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.096395][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.103500][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.111479][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.119445][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.127513][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.134535][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.140243][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.147241][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.154783][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.160584][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.167955][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.230690][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.240813][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.300670][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.311053][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.319327][    T1] printk: console [ttyS0] disabled
[    8.324465][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.334260][    T1] printk: console [ttyS0] enabled
[    8.334260][    T1] printk: console [ttyS0] enabled
[    8.344085][    T1] printk: bootconsole [earlycon0] disabled
[    8.344085][    T1] printk: bootconsole [earlycon0] disabled
[    8.356134][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.372918][    T1] loop: module loaded
[    8.377155][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.384083][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.398255][    T1] scsi host0: sata_mv
[    8.402714][    T1] scsi host1: sata_mv
[    8.407066][    T1] scsi host2: sata_mv
[    8.411435][    T1] scsi host3: sata_mv
[    8.415488][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 37
[    8.423934][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 37
[    8.432347][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 37
[    8.440759][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 37
[    8.450531][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.459385][    T1] scsi host4: sata_mv
[    8.463831][    T1] scsi host5: sata_mv
[    8.467892][    T1] ata5: SATA max UDMA/133 irq 34
[    8.472765][    T1] ata6: SATA max UDMA/133 irq 34
[    8.479211][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.485736][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.491204][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    8.497851][    T1] Creating 2 MTD partitions on "spi0.0":
[    8.503396][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    8.510363][    T1] 0x000000100000-0x000000800000 : "data"
[    8.517373][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.525982][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.537262][    T1] libphy: Fixed MDIO Bus: probed
[    8.543388][    T1] libphy: orion_mdio_bus: probed
[    8.548386][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.569969][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.579430][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.589088][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.596448][    T1] ehci-pci: EHCI PCI platform driver
[    8.601708][    T1] ehci-orion: EHCI orion driver
[    8.606598][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.612894][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.621462][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.649865][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.656847][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.665884][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.673881][    T1] usb usb1: Product: EHCI Host Controller
[    8.679505][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.686967][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.692980][    T1] hub 1-0:1.0: USB hub found
[    8.697515][    T1] hub 1-0:1.0: 1 port detected
[    8.702887][    T1] usbcore: registered new interface driver usb-storage
[    8.710061][    T1] mousedev: PS/2 mouse device common for all mice
[    8.716643][    T1] i2c /dev entries driver
[    8.722534][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.728780][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.736050][    T1] device-mapper: uevent: version 1.0.3
[    8.741707][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.751306][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.758617][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    8.766024][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    8.773469][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    8.780358][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    8.786508][    T1] device-mapper: raid: Loading target version 1.15.1
[    8.795278][    T1] hid: raw HID events driver (C) Jiri Kosina
[    8.801562][    T1] drop_monitor: Initializing network drop monitor service
[    8.809528][    T1] NET: Registered protocol family 10
[    8.814772][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    8.822139][    T1] Segment Routing with IPv6
[    8.826526][    T1] RPL Segment Routing with IPv6
[    8.831447][    T1] NET: Registered protocol family 17
[    8.836829][    T1] Key type dns_resolver registered
[    8.842488][    T1] registered taskstats version 1
[    8.847310][    T1] Loading compiled-in X.509 certificates
[    8.853213][    T1] zswap: loaded using pool lzo/zbud
[    8.858579][    T1] Key type ._fscrypt registered
[    8.863380][    T1] Key type .fscrypt registered
[    8.868025][    T1] Key type fscrypt-provisioning registered
[    8.875304][    T1] Key type big_key registered
[    8.904445][    T1] Key type encrypted registered
[    8.989860][  T117] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.141381][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.191594][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.200544][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.208430][  T117] usb 1-1: Product: USB2.0 Hub
[    9.213895][  T117] hub 1-1:1.0: USB hub found
[    9.218722][  T117] hub 1-1:1.0: 4 ports detected
[    9.939853][  T117] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   10.091093][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5590, bcdDevice= 1.00
[   10.100210][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.108273][  T117] usb 1-1.2: Product: Ultra
[   10.112672][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.117662][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.124508][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.132018][  T117] scsi host6: usb-storage 1-1.2:1.0
[   11.210808][   T58] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[   11.221134][    T7] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.1 GB/29.0 GiB)
[   11.230494][    T7] sd 6:0:0:0: [sda] Write Protect is off
[   11.236743][    T7] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.282471][    T7]  sda: sda1
[   11.288499][    T7] sd 6:0:0:0: [sda] Attached SCSI removable disk
[   14.689852][   T98] ata3: link is slow to respond, please be patient (ready=0)
[   14.969880][   T98] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   14.981562][   T98] ata3.00: ATA-9: ST1000DM003-1CH162, CC47, max UDMA/133
[   14.988479][   T98] ata3.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   15.003008][   T98] ata3.00: configured for UDMA/133
[   15.018424][   T80] scsi 2:0:0:0: Direct-Access     ATA      ST1000DM003-1CH1 CC47 PQ: 0 ANSI: 5
[   15.028282][    T7] sd 2:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   15.037507][    T7] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[   15.043579][    T7] sd 2:0:0:0: [sdb] Write Protect is off
[   15.049201][    T7] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   15.083309][    T7]  sdb: sdb1 sdb2 sdb3
[   15.088812][    T7] sd 2:0:0:0: [sdb] Attached SCSI disk
[   20.579851][  T100] ata4: link is slow to respond, please be patient (ready=0)
[   25.059851][  T100] ata4: SRST failed (errno=-16)
[   26.469878][  T100] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   26.481554][  T100] ata4.00: ATA-9: ST1000DM003-1ER162, CC45, max UDMA/133
[   26.488468][  T100] ata4.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   26.505228][  T100] ata4.00: configured for UDMA/133
[   26.520683][  T102] scsi 3:0:0:0: Direct-Access     ATA      ST1000DM003-1ER1 CC45 PQ: 0 ANSI: 5
[   26.530571][    T7] sd 3:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   26.538979][    T7] sd 3:0:0:0: [sdc] 4096-byte physical blocks
[   26.545400][    T7] sd 3:0:0:0: [sdc] Write Protect is off
[   26.551078][    T7] sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   26.579735][    T7]  sdc: sdc1 sdc2 sdc3
[   26.585260][    T7] sd 3:0:0:0: [sdc] Attached SCSI disk
[   26.881360][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   26.900730][    T1] Freeing unused kernel memory: 1024K
[   26.906763][    T1] Checked W+X mappings: passed, no W+X pages found
[   26.913186][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   27.960936][  T156] usbcore: registered new interface driver uas
[   33.848686][    C0] random: crng init done
[   34.409901][   T94] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   34.421641][   T94] ata1.00: ATA-8: TOSHIBA DT01ACA100, MS2OA750, max UDMA/133
[   34.428964][   T94] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   34.443532][   T94] ata1.00: configured for UDMA/133
[   34.448976][  T117] scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA DT01ACA1 A750 PQ: 0 ANSI: 5
[   34.462120][  T108] sd 0:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   34.475322][  T108] sd 0:0:0:0: [sdd] 4096-byte physical blocks
[   34.481533][  T108] sd 0:0:0:0: [sdd] Write Protect is off
[   34.487246][  T108] sd 0:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   34.520513][  T108]  sdd: sdd1 sdd2
[   34.530866][  T108] sd 0:0:0:0: [sdd] Attached SCSI disk
[   38.170327][  T154] reg-fixed-voltage regulators-hdd-30-4:regulator@3: nonexclusive access to GPIO for regulators-hdd-30-4:regulator@3
[   38.511397][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   43.211486][  T154] reg-fixed-voltage regulators-hdd-30-4:regulator@4: nonexclusive access to GPIO for regulators-hdd-30-4:regulator@4
[   43.530347][   T96] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   43.542114][   T96] ata2.00: supports DRM functions and may not be fully accessible
[   43.549893][   T96] ata2.00: ATA-9: ST1000DM003-1ER162, CC43, max UDMA/133
[   43.556855][   T96] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   43.575111][   T96] ata2.00: supports DRM functions and may not be fully accessible
[   43.584341][   T96] ata2.00: configured for UDMA/133
[   43.589789][  T117] scsi 1:0:0:0: Direct-Access     ATA      ST1000DM003-1ER1 CC43 PQ: 0 ANSI: 5
[   43.603106][  T108] sd 1:0:0:0: [sde] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   43.616617][  T108] sd 1:0:0:0: [sde] 4096-byte physical blocks
[   43.622834][  T108] sd 1:0:0:0: [sde] Write Protect is off
[   43.628536][  T108] sd 1:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   43.664042][  T108]  sde: sde1 sde2 sde3
[   43.674896][  T108] sd 1:0:0:0: [sde] Attached SCSI disk
[   43.861513][   T98] ata3: SATA link down (SStatus 0 SControl 300)
Begin: Loading essential drivers ... done.
[   48.890350][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   54.261417][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   54.267579][   T98] ata3.00: disabled
[   54.271360][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   54.277520][  T117] ata3.00: detaching (SCSI 2:0:0:0)
[   54.298487][  T117] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
[   54.310127][  T117] sd 2:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   54.333462][  T117] sd 2:0:0:0: [sdb] Stopping disk
[   54.342192][  T117] sd 2:0:0:0: [sdb] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sdd1] fsck.ext3 -a -C0 /dev/sdd1
sata_rootfs: recovering journal
[   59.621497][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   59.627659][  T100] ata4.00: disabled
[   59.631632][  T117] ata4.00: detaching (SCSI 3:0:0:0)
[   59.643707][  T117] sd 3:0:0:0: [sdc] Synchronizing SCSI cache
[   59.658735][  T117] sd 3:0:0:0: [sdc] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[   59.679606][  T117] sd 3:0:0:0: [sdc] Stopping disk
[   59.687655][  T117] sd 3:0:0:0: [sdc] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
sata_rootfs: clean, 17757/6553600 files, 786314/26214400 blocks
done.
[   61.320958][  T192] EXT4-fs (sdd1): mounting ext3 file system using the ext4 subsystem
[   62.142480][  T192] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'faucon'...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...[   65.274695][  T376] gpio-fan gpio-fan-100-15-35-1: GPIO fan initialized
[   65.657763][  T374] orion_wdt: Initial timeout 21 sec
[   66.079577][  T380] marvell-cesa f1030000.crypto: CESA device successfully registered
[   66.552964][  T375] sd 6:0:0:0: Attached scsi generic sg0 type 0
[   66.560999][  T375] sd 0:0:0:0: Attached scsi generic sg1 type 0
[   66.568048][  T375] sd 1:0:0:0: Attached scsi generic sg2 type 0
done.
Activating swap:.
[   71.390105][  T526] EXT4-fs (sdd1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is not mounted
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1
e2fsck 1.46.2 (28-Feb-2021)
rootfs: clean, 15651/1900544 files, 389823/7593728 blocks
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....
Initializing random number generator...done.
Starting Setting kernel variables: sysctl.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/52:3b:20:9c:11:51
Sending on   LPF/eth0/52:3b:20:9c:11:51
Sending on   Socket/fallback
DHCPREQUEST for 192.168.10.200 on eth0 to 255.255.255.255 port 67
[   77.391737][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   77.402371][  T117] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST for 192.168.10.200 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.10.200 from 192.168.10.1
bound to 192.168.10.200 -- renewal in 20286 seconds.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
Setting sensors limits...
done.
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1086 (syslogd)
.
Starting NFS common utilities: statd idmapd.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting NTP server: ntpd.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting OpenBSD Secure Shell server: sshd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1123 (klogd)
.
Running local boot scripts (/etc/rc.local)
.

Debian GNU/Linux 11 faucon ttyS0

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

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Dec 31 16:02:36 PST 1969 on ttyS0
faucon
192.168.10.20
Synology DS413j
Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
Debian 11.6
Wed Dec 31 16:04:18 PST 1969 up 4 minutes
root@faucon:~#
Re: Debian on Synology DS413J
April 14, 2023 02:58PM
Billy,

Now we should try the latest DTB on April 9th.

Quote

April 09, 2023 11:42AM

Here is the new DTB. Please try again the same test, kwboot, with 4 HDDs in the slots.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 18, 2023 08:28AM
Hi Bodhi,

New try with the dtb from 9th april :

root@Arc-170:~/tools# kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa325.mtd0.kwb -p
Sending boot message. Please reboot the target.../
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700)
ZyXEL NSA325 2-Bay Power Media Server

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

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices...
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            60749824        00000000-01     83

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
324 bytes read in 754 ms (0 Bytes/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 723 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
5435888 bytes read in 991 ms (5.2 MiB/s)
loading uInitrd ...
9671091 bytes read in 955 ms (9.7 MiB/s)
loading DTB /boot/dts/kirkwood-ds413j-20230409.dtb ...
22996 bytes read in 4060 ms (4.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   0:22:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5435824 Bytes = 5.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-5.13.6-kirkwood-tld-1
   Created:      2021-09-24   1:06:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9671027 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 1f1d4000, end 1fb0d173 ... OK
   Loading Device Tree to 1f1cb000, end 1f1d39d3 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS413j
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=sata_rootfs rootdelay=10 mtdparts=spi0.0:1M(u-boot),-(data) earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 490908K/524288K available (11264K kernel code, 1553K rwdata, 4272K rodata, 1024K init, 309K bss, 33380K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x408/0x7b4 with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008598][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015980][    T0] Console: colour dummy device 80x30
[    0.021235][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032559][    T0] pid_max: default: 32768 minimum: 301
[    0.038229][    T0] LSM: Security Framework initializing
[    0.043751][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051852][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061549][    T0] CPU: Testing write buffer coherency: ok
[    0.069219][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.076401][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.082594][    T1] rcu: Hierarchical SRCU implementation.
[    0.089347][    T1] devtmpfs: initialized
[    0.102173][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112862][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.148507][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.155728][    T1] prandom: seed boundary self test passed
[    0.164510][    T1] prandom: 100 self tests passed
[    0.169367][    T1] pinctrl core: initialized pinctrl subsystem
[    0.176683][    T1] NET: Registered protocol family 16
[    0.182527][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.190973][    T1] audit: initializing netlink subsys (disabled)
[    0.198274][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.198672][   T16] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[    0.214042][    T1] cpuidle: using governor ladder
[    0.218995][    T1] cpuidle: using governor menu
[    0.224090][    T1] Feroceon L2: Enabling L2
[    0.228413][    T1] Feroceon L2: Cache support initialised.
[    0.244268][    T1] No ATAGs?
[    2.568603][    C0] random: fast init done
[    3.897626][   T39] "cryptomgr_test" (39) uses obsolete ecb(arc4) skcipher
[    3.924129][   T59] wait_for_initramfs() called before rootfs_initcalls
[    4.118708][    T1] raid6: int32x8  gen()   150 MB/s
[    4.288691][    T1] raid6: int32x8  xor()    91 MB/s
[    4.458694][    T1] raid6: int32x4  gen()   145 MB/s
[    4.628714][    T1] raid6: int32x4  xor()    95 MB/s
[    4.798692][    T1] raid6: int32x2  gen()   187 MB/s
[    4.968631][    T1] raid6: int32x2  xor()   113 MB/s
[    5.138776][    T1] raid6: int32x1  gen()   131 MB/s
[    5.308694][    T1] raid6: int32x1  xor()    78 MB/s
[    5.313681][    T1] raid6: using algorithm int32x2 gen() 187 MB/s
[    5.319815][    T1] raid6: .... xor() 113 MB/s, rmw enabled
[    5.325409][    T1] raid6: using intx1 recovery algorithm
[    5.331066][    T1] vgaarb: loaded
[    5.334939][    T1] SCSI subsystem initialized
[    5.339847][    T1] usbcore: registered new interface driver usbfs
[    5.346101][    T1] usbcore: registered new interface driver hub
[    5.352215][    T1] usbcore: registered new device driver usb
[    5.358141][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.363847][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.373758][    T1] PTP clock support registered
[    5.379924][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.470466][    T1] VFS: Disk quotas dquot_6.6.0
[    5.475191][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    5.507539][    T1] NET: Registered protocol family 2
[    5.520092][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.540284][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    5.549411][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.570026][    T1] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    5.577951][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    5.600171][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    5.608178][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.629959][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    5.637854][    T1] NET: Registered protocol family 1
[    5.660505][    T1] RPC: Registered named UNIX socket transport module.
[    5.667156][    T1] RPC: Registered udp transport module.
[    5.689936][    T1] RPC: Registered tcp transport module.
[    5.695365][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.709945][    T1] PCI: CLS 0 bytes, default 32
[    5.719947][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    5.727571][   T58] Trying to unpack rootfs image as initramfs...
[    7.055189][   T58] Freeing initrd memory: 9448K
[    7.396778][    T1] Initialise system trusted keyrings
[    7.402046][    T1] Key type blacklist registered
[    7.406985][    T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    7.414320][    T1] zbud: loaded
[    7.418741][    T1] NFS: Registering the id_resolver key type
[    7.424614][    T1] Key type id_resolver registered
[    7.429520][    T1] Key type id_legacy registered
[    7.434303][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.441762][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    7.449890][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    7.457211][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    7.465384][    T1] fuse: init (API version 7.34)
[    7.470455][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    7.477787][    T1] orangefs_init: module version upstream loaded
[    7.483979][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    7.571599][    T1] xor: measuring software checksum speed
[    7.583810][    T1]    arm4regs        :  1485 MB/sec
[    7.599996][    T1]    8regs           :   890 MB/sec
[    7.612702][    T1]    32regs          :  1296 MB/sec
[    7.617776][    T1] xor: using function: arm4regs (1485 MB/sec)
[    7.623766][    T1] async_tx: api initialized (async)
[    7.628848][    T1] Key type asymmetric registered
[    7.633698][    T1] Asymmetric key parser 'x509' registered
[    7.639339][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    7.647560][    T1] io scheduler bfq registered
[    7.801776][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    7.811493][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    7.821467][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    7.831645][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    7.841819][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    7.851994][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.862691][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    7.873381][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.884065][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    7.895069][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    7.903400][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.909621][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    7.920564][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    7.931505][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    7.942446][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    7.950067][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    7.957208][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    7.963981][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.971764][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    7.978517][    T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    7.987778][    T1] PCI: bus0: Fast back to back transfers disabled
[    7.994120][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.002896][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    8.011827][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    8.018584][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    8.026135][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    8.032613][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    8.048433][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    8.060922][    T1] PCI: bus1: Fast back to back transfers disabled
[    8.067235][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    8.076428][    T1] PCI: bus2: Fast back to back transfers enabled
[    8.082675][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    8.090202][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    8.097814][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    8.104925][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref]
[    8.112901][    T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref]
[    8.120882][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    8.128936][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    8.135957][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    8.141664][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    8.148662][    T1] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    8.156204][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]
[    8.162007][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    8.169389][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    8.230788][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.240897][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    8.300762][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.311135][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    8.319412][    T1] printk: console [ttyS0] disabled
[    8.324552][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    8.334349][    T1] printk: console [ttyS0] enabled
[    8.334349][    T1] printk: console [ttyS0] enabled
[    8.344172][    T1] printk: bootconsole [earlycon0] disabled
[    8.344172][    T1] printk: bootconsole [earlycon0] disabled
[    8.356240][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 28, base_baud = 12500000) is a 16550A
[    8.373036][    T1] loop: module loaded
[    8.377076][    T1] irq: no irq domain found for interrupt-controller !
[    8.383929][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    8.390823][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    8.403306][    T1] ------------[ cut here ]------------
[    8.408655][    T1] WARNING: CPU: 0 PID: 1 at drivers/ata/libata-core.c:5830 ata_host_activate+0x4c/0x130
[    8.418304][    T1] Modules linked in:
[    8.422091][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.13.6-kirkwood-tld-1 #1.0
[    8.430068][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    8.437074][    T1] [<8010e0a4>] (unwind_backtrace) from [<8010a8ac>] (show_stack+0x10/0x14)
[    8.445585][    T1] [<8010a8ac>] (show_stack) from [<8011d708>] (__warn+0xc8/0xf4)
[    8.453222][    T1] [<8011d708>] (__warn) from [<80afe094>] (warn_slowpath_fmt+0x74/0xa4)
[    8.461472][    T1] [<80afe094>] (warn_slowpath_fmt) from [<807abee4>] (ata_host_activate+0x4c/0x130)
[    8.470767][    T1] [<807abee4>] (ata_host_activate) from [<807c0ccc>] (mv_pci_init_one+0x254/0x308)
[    8.479974][    T1] [<807c0ccc>] (mv_pci_init_one) from [<806fdf34>] (pci_device_probe+0xbc/0x138)
[    8.488994][    T1] [<806fdf34>] (pci_device_probe) from [<80764780>] (really_probe+0x2bc/0x4ac)
[    8.497851][    T1] [<80764780>] (really_probe) from [<80764b04>] (driver_probe_device+0x194/0x1c8)
[    8.506962][    T1] [<80764b04>] (driver_probe_device) from [<80764f1c>] (device_driver_attach+0x44/0x5c)
[    8.516598][    T1] [<80764f1c>] (device_driver_attach) from [<80765058>] (__driver_attach+0x124/0x144)
[    8.526058][    T1] [<80765058>] (__driver_attach) from [<80762848>] (bus_for_each_dev+0x64/0xa0)
[    8.535006][    T1] [<80762848>] (bus_for_each_dev) from [<80763958>] (bus_add_driver+0x178/0x1e0)
[    8.544078][    T1] [<80763958>] (bus_add_driver) from [<80765928>] (driver_register+0xac/0xf0)
[    8.552849][    T1] [<80765928>] (driver_register) from [<811271ac>] (mv_init+0x14/0x4c)
[    8.561019][    T1] [<811271ac>] (mv_init) from [<80102534>] (do_one_initcall+0x94/0x1dc)
[    8.569251][    T1] [<80102534>] (do_one_initcall) from [<811015fc>] (kernel_init_freeable+0x1e8/0x234)
[    8.578712][    T1] [<811015fc>] (kernel_init_freeable) from [<80b091cc>] (kernel_init+0x8/0x118)
[    8.587657][    T1] [<80b091cc>] (kernel_init) from [<80100148>] (ret_from_fork+0x14/0x2c)
[    8.595984][    T1] Exception stack(0x814affb0 to 0x814afff8)
[    8.601775][    T1] ffa0:                                     00000000 00000000 00000000 00000000
[    8.610706][    T1] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    8.619620][    T1] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    8.626978][    T1] ---[ end trace 9b974127c76375cf ]---
[    8.633982][    T1] scsi host0: sata_mv
[    8.638389][    T1] scsi host1: sata_mv
[    8.642790][    T1] scsi host2: sata_mv
[    8.647120][    T1] scsi host3: sata_mv
[    8.651221][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000
[    8.659008][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000
[    8.666815][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000
[    8.674613][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000
[    8.683744][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    8.692648][    T1] scsi host4: sata_mv
[    8.697039][    T1] scsi host5: sata_mv
[    8.701151][    T1] ata5: SATA max UDMA/133 irq 34
[    8.705973][    T1] ata6: SATA max UDMA/133 irq 34
[    8.712470][    T1] spi-nor spi0.0: found n25q064, expected m25p80
[    8.718975][    T1] spi-nor spi0.0: n25q064 (8192 Kbytes)
[    8.724454][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    8.731119][    T1] Creating 2 MTD partitions on "spi0.0":
[    8.736643][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    8.743597][    T1] 0x000000100000-0x000000800000 : "data"
[    8.750649][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    8.759225][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    8.770530][    T1] libphy: Fixed MDIO Bus: probed
[    8.776577][    T1] libphy: orion_mdio_bus: probed
[    8.781614][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.
[    8.803096][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    8.812681][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 52:3b:20:9c:11:51
[    8.822344][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.829629][    T1] ehci-pci: EHCI PCI platform driver
[    8.834925][    T1] ehci-orion: EHCI orion driver
[    8.839822][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    8.846109][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    8.854695][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000
[    8.889951][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    8.896929][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    8.905987][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.913979][    T1] usb usb1: Product: EHCI Host Controller
[    8.919600][    T1] usb usb1: Manufacturer: Linux 5.13.6-kirkwood-tld-1 ehci_hcd
[    8.927064][    T1] usb usb1: SerialNumber: f1050000.ehci
[    8.933094][    T1] hub 1-0:1.0: USB hub found
[    8.937640][    T1] hub 1-0:1.0: 1 port detected
[    8.943002][    T1] usbcore: registered new interface driver usb-storage
[    8.950178][    T1] mousedev: PS/2 mouse device common for all mice
[    8.956754][    T1] i2c /dev entries driver
[    8.962635][    T1] rtc-s35390a 0-0030: error resetting chip
[    8.968883][    T1] rtc-s35390a: probe of 0-0030 failed with error -5
[    8.976167][    T1] device-mapper: uevent: version 1.0.3
[    8.981821][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    8.991403][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    8.998714][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    9.006122][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    9.013526][   T94] ata1: SATA link down (SStatus 0 SControl 300)
[    9.019760][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    9.026627][    T1] device-mapper: raid: Loading target version 1.15.1
[    9.035724][    T1] hid: raw HID events driver (C) Jiri Kosina
[    9.041654][  T104] ata5: SATA link down (SStatus 0 SControl F300)
[    9.048267][    T1] drop_monitor: Initializing network drop monitor service
[    9.055717][    T1] NET: Registered protocol family 10
[    9.062051][    T1] Segment Routing with IPv6
[    9.066440][    T1] RPL Segment Routing with IPv6
[    9.071309][    T1] NET: Registered protocol family 17
[    9.076672][    T1] Key type dns_resolver registered
[    9.082297][    T1] registered taskstats version 1
[    9.087119][    T1] Loading compiled-in X.509 certificates
[    9.093010][    T1] zswap: loaded using pool lzo/zbud
[    9.098381][    T1] Key type ._fscrypt registered
[    9.103185][    T1] Key type .fscrypt registered
[    9.107825][    T1] Key type fscrypt-provisioning registered
[    9.115108][    T1] Key type big_key registered
[    9.144228][    T1] Key type encrypted registered
[    9.229951][  T117] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    9.361486][   T96] ata2: SATA link down (SStatus 0 SControl 300)
[    9.431703][  T117] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.32
[    9.440647][  T117] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    9.448535][  T117] usb 1-1: Product: USB2.0 Hub
[    9.453993][  T117] hub 1-1:1.0: USB hub found
[    9.458830][  T117] hub 1-1:1.0: 4 ports detected
[    9.701481][   T98] ata3: SATA link down (SStatus 0 SControl 300)
[   10.041495][  T100] ata4: SATA link down (SStatus 0 SControl 300)
[   10.179945][  T117] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[   10.331200][  T117] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5590, bcdDevice= 1.00
[   10.340334][  T117] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   10.348411][  T117] usb 1-1.2: Product: Ultra
[   10.352805][  T117] usb 1-1.2: Manufacturer: SanDisk
[   10.357816][  T117] usb 1-1.2: SerialNumber: 4C530001230325109084
[   10.364737][  T117] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   10.372274][  T117] scsi host6: usb-storage 1-1.2:1.0
[   10.382479][  T106] ata6: SATA link down (SStatus 0 SControl F300)
[   10.401830][    T1] Freeing unused kernel memory: 1024K
[   10.407860][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.414301][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[   11.300955][  T160] usbcore: registered new interface driver uas
[   11.450926][  T108] scsi 6:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[   11.468500][  T103] sd 6:0:0:0: [sda] 60751872 512-byte logical blocks: (31.1 GB/29.0 GiB)
[   11.484634][  T103] sd 6:0:0:0: [sda] Write Protect is off
[   11.496381][  T103] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   11.553487][  T103]  sda: sda1
[   11.562382][  T103] sd 6:0:0:0: [sda] Attached SCSI removable disk
▒
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology Disk Station LE

U-Boot 1.1.4 (May 22 2012 - 19:52:31) Marvell version: 3.5.9

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

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

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

[8192kB@f8000000] Flash:  8 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


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

Synology Model: DS413j
Fan Status: Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
## Booting image at f8090000 ...
Bad Magic Number
Marvell>>
Re: Debian on Synology DS413J
April 18, 2023 02:41PM
> New try with the dtb from 9th april

Thanks Billy. That's a pretty weird behavior. Something is undocumented in the GPL source, or I just have not found it. It is not documented in the mainline DTS either.

The 2 LED GPIOs are apparently hooked up to the 2 HDD Power GPIOs for it to work without crashing (I took them out in the April 9th version). If you do a diff on the 2 DTS files, you'll see what I tried to do.

So please go back to the Mar 6th DTB. And no need to post serial bootlog. I can use the old log on Mar 6th.

Will let you know if I find something new.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 18, 2023 03:44PM
Hi bodhi

OK
Maybe we can find informations if I boot again on DSM ? I can try that to dig inside filesystem ?
Re: Debian on Synology DS413J
April 18, 2023 04:10PM
Hi Billy,

> Maybe we can find informations if I boot again on
> DSM ? I can try that to dig inside filesystem ?

It's a good idea! do that and see if we can find out more about GPIOs.

ls -lR /sys/class/gpio*
ls -lR /sys/class/led*

You can also look in the GPL source code for u-boot.

https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/24922branch/6281-source/
/u-boot-mv-3.5.9/board/mv_feroceon/mv_kw/kw_family/boardEnv/mvBoardEnvSpec.c


Basically, go to that directory and grep for 413j.

cd /u-boot-mv-3.5.9/board/mv_feroceon/mv_kw/kw_family/boardEnv
grep -i 413j *.[ch]


=======

I also have some idea to try with another updated DTB. Will upload that.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 19, 2023 06:26AM
Hi Bodhi,

Sorry, i didn't succeed to boot on DSM for now, maybe you can spot my error :

Hit any key to stop autoboot:  0
## Booting image at f8090000 ...
Bad Magic Number
Marvell>> setenv ipaddr 192.168.10.200
Marvell>> setenv serverip 192.168.10.244
Marvell>> setenv netmask 255.255.255.0
Marvell>> ping 192.168.10.244
Using egiga0 device
host 192.168.10.244 is alive
Marvell>> tftpboot 0x800000 zImage
Using egiga0 device
TFTP from server 192.168.10.244; our IP address is 192.168.10.200
Filename 'zImage'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ############################################
done
Bytes transferred = 1553572 (17b4a4 hex)
Marvell>> tftpboot 0x2100000 rd.bin
Using egiga0 device
TFTP from server 192.168.10.244; our IP address is 192.168.10.200
Filename 'rd.bin'.
Load address: 0x2100000
Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #######################################################
done
Bytes transferred = 3275226 (31f9da hex)
Marvell>> printenv
bootcmd=bootm F8090000 F8390000
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,0x700000@0x100000(root)
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
MALLOC_len=1
ethprime=egiga0
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
bootdelay=3
disaMvPnp=no
ethaddr=00:50:43:3c:3b:5d
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
pcieTune=no
pcieTune1=no
bootargs=console=ttyS0,115200 ip=off initrd=0x00800040,8M root=/dev/md0 rw syno_hw_version=DS413jv10 ihd_num=4 netif_num=1 flash_size=8
ethact=egiga0
filesize=31f9da
fileaddr=2100000
netmask=255.255.255.0
ipaddr=192.168.10.200
serverip=192.168.10.244

Environment size: 1209/4092 bytes
Marvell>> setenv bootargs=console=ttyS0,115200 ip=off initrd=0x2100000,8M root=/dev/md0 rw syno_hw_version=DS413jv10 ihd_num=4 netif_num=1 flash_size=8
Marvell>> printenv
bootcmd=bootm F8090000 F8390000
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,0x700000@0x100000(root)
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
MALLOC_len=1
ethprime=egiga0
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
bootdelay=3
disaMvPnp=no
ethaddr=00:50:43:3c:3b:5d
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
pcieTune=no
pcieTune1=no
ethact=egiga0
filesize=31f9da
fileaddr=2100000
netmask=255.255.255.0
ipaddr=192.168.10.200
serverip=192.168.10.244
bootargs=console=ttyS0,115200=ip=off initrd=0x2100000,8M root=/dev/md0 rw syno_hw_version=DS413jv10 ihd_num=4 netif_num=1 flash_size=8

Environment size: 1208/4092 bytes
Marvell>> bootm 0x800000 0x2100000
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.32.12
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1553508 Bytes =  1.5 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   synology_88f6282_413j 25556
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3275162 Bytes =  3.1 MB
   Load Address: 00800000
   Entry Point:  00800000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.32.12 (root@build4) (gcc version 4.6.4 (Marvell GCC release 20150204-c4af733b 64K MAXPAGESIZE ALIGN CVE-2015-0235) ) #25556 Thu Jul 1 14:25:48 CST 2021
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Synology 6282 board
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Sys Clk = 200000000, Tclk = 166666667
[    0.000000] Synology Board ID: 26
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200=ip=off initrd=0x2100000,8M root=/dev/md0 rw syno_hw_version=DS413jv10 ihd_num=4 netif_num=1 flash_size=8
[    0.000000] Synology Hardware Version: DS413jv10-j
[    0.000000] Internal HD num: 4
[    0.000000] Internal netif num: 1
[    0.000000] Flash Memory Size: 8 MB
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 502784KB available (3656K code, 519K data, 124K init, 0K highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:128
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Calibrating delay loop... 1589.24 BogoMIPS (lpj=7946240)
[    0.240000] Mount-cache hash table entries: 512
[    0.240000] CPU: Testing write buffer coherency: ok
[    0.240000] devtmpfs: initialized
[    0.240000] xor: measuring software checksum speed
[    0.290000]    arm4regs  :  1448.400 MB/sec
[    0.340000]    8regs     :   869.200 MB/sec
[    0.390000]    32regs    :  1122.000 MB/sec
[    0.390000] xor: using function: arm4regs (1448.400 MB/sec)
[    0.390000] NET: Registered protocol family 16
[    0.390000] Feroceon L2: Enabling L2
[    0.390000] Feroceon L2: Cache support initialised, in WT override mode.
[    0.410000]
[    0.410000] CPU Interface
[    0.410000] -------------
[    0.410000] SDRAM_CS0 ....base 00000000, size 512MB
[    0.410000] SDRAM_CS1 ....disable
[    0.410000] SDRAM_CS2 ....disable
[    0.410000] SDRAM_CS3 ....disable
[    0.410000] PEX0_MEM ....base e0000000, size 128MB
[    0.410000] PEX0_IO ....base f2000000, size   1MB
[    0.410000] PEX1_MEM ....base e8000000, size 128MB
[    0.410000] PEX1_IO ....base f2100000, size   1MB
[    0.410000] INTER_REGS ....base f1000000, size   1MB
[    0.410000] NFLASH_CS ....base fa000000, size   2MB
[    0.410000] SPI_CS ....base f4000000, size  16MB
[    0.410000] BOOT_ROM_CS ....no such
[    0.410000] DEV_BOOTCS ....no such
[    0.410000] CRYPT_ENG ....base f0000000, size   2MB
[    0.410000]  Detected Tclk 200000000 and SysClk 533333333
[    0.410000] Apply DS 413j GPIO
[    0.410000] Synology 6282 DS411 GPIO Init
[    0.410000] PCIe link is enable, apply PCIe workaround
[    0.910000] PEX0 interface detected Link X4
[    1.410000] PEX1 interface detected no Link.
[    1.410000] PCI: bus0: Fast back to back transfers disabled
[    1.410000] PCI: bus1: Fast back to back transfers enabled
[    1.420000] bio: create slab <bio-0> at 0
[    1.420000] vgaarb: loaded
[    1.420000] SCSI subsystem initialized
[    1.590000] raid6: int32x1    126 MB/s
[    1.760000] raid6: int32x2    185 MB/s
[    1.930000] raid6: int32x4    180 MB/s
[    2.100000] raid6: int32x8    193 MB/s
[    2.100000] raid6: using algorithm int32x8 (193 MB/s)
[    2.100000] Switching to clocksource kw_clocksource
[    2.100000] NET: Registered protocol family 2
[    2.100000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    2.100000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    2.100000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    2.100000] TCP: Hash tables configured (established 16384 bind 16384)
[    2.100000] TCP reno registered
[    2.100000] NET: Registered protocol family 1
[    2.100000] RPC: Registered udp transport module.
[    2.100000] RPC: Registered tcp transport module.
[    2.100000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.100000] Trying to unpack rootfs image as initramfs...
[    2.100000] Freeing initrd memory: 8192K
[    2.100000] XOR registered 4 channels
[    2.100000] XOR 2nd invalidate WA enabled
[    2.100000] VFS: Disk quotas dquot_6.5.2
[    2.100000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.100000] msgmni has been set to 998
[    2.100000] alg: No test for md5 (md5-generic)
[    2.100000] alg: No test for des (des-generic)
[    2.100000] alg: No test for des3_ede (des3_ede-generic)
[    2.100000] alg: No test for stdrng (krng)
[    2.100000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    2.100000] io scheduler noop registered
[    2.100000] io scheduler anticipatory registered (default)
[    2.110000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.110000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    2.120000] console [ttyS0] enabled
[    2.130000] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
[    2.140000] brd: module loaded
[    2.140000] sata_mv 0000:00:01.0: version 1.28
[    2.150000] PCI: enabling device 0000:00:01.0 (0140 -> 0143)
[    2.150000] sata_mv 0000:00:01.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    2.160000] scsi0 : sata_mv
[    2.160000] scsi1 : sata_mv
[    2.170000] scsi2 : sata_mv
[    2.170000] scsi3 : sata_mv
[    2.170000] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 9
[    2.180000] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 9
[    2.190000] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 9
[    2.200000] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 9
▒
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: Synology Disk Station LE

U-Boot 1.1.4 (May 22 2012 - 19:52:31) Marvell version: 3.5.9

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

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

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

[8192kB@f8000000] Flash:  8 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


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

Synology Model: DS413j
Fan Status: Good

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
## Booting image at f8090000 ...
Bad Magic Number
Marvell>>
Re: Debian on Synology DS413J
April 19, 2023 03:04PM
Billy,

Sorry, I don't think you can boot DSM anymore. The HDDs were already erased, and that's there DMS was.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS413J
April 19, 2023 03:47PM
Hi Bodhi

I'll try again till you give me another dtb or other thing.

When we bought synology there is nothing that we put on the disks before.

Thanks:)
Re: Debian on Synology DS413J
April 19, 2023 05:36PM
Bodhi,

I went a bit further with a new disk... it complained about no ext2,3,4 partition. So i hope that i could make a ext4 on the new disk and maybe it will copy DSM on it to boot... i hope so...

Let me try tomorrow. too tired to go back one more time in my "office room". Go to bed :)

Thanks for your help.
Re: Debian on Synology DS413J
April 20, 2023 01:43AM
Hi Bodhi,

I didn't suceed in booting in DSM. I don't know how i did last time maybe it was easy because of some previous raid partition with dsm and i just boot with zImage before mouting the raid DSM stuff...

Marvell>> tftpboot 0x800000 zImage
Using egiga0 device
TFTP from server 192.168.10.244; our IP address is 192.168.10.200
Filename 'zImage'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ############################################
done
Bytes transferred = 1551624 (17ad08 hex)
Marvell>> tftpboot 0x2100000 rd.bin
Using egiga0 device
TFTP from server 192.168.10.244; our IP address is 192.168.10.200
Filename 'rd.bin'.
Load address: 0x2100000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###################################
done
Bytes transferred = 3503403 (35752b hex)
Marvell>> bootm 0x800000 0x2100000
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.32.12
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1551560 Bytes =  1.5 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   synology_88f6282_413j 8754
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3503339 Bytes =  3.3 MB
   Load Address: 00800000
   Entry Point:  00800000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.32.12 (root@build4) (gcc version 4.6.4 (Marvell GCC release 20150204-c4af733b 64K MAXPAGESIZE ALIGN CVE-2015-0235) ) #8754 Thu Apr 20 02:22:47 CST 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Synology 6282 board
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Sys Clk = 200000000, Tclk = 166666667
[    0.000000] Synology Board ID: 26
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 ip=off initrd=0x00800040,8M root=/dev/md0 rw syno_hw_version=DS413jv10 ihd_num=4 netif_num=1 flash_size=8
[    0.000000] Synology Hardware Version: DS413jv10-j
[    0.000000] Internal HD num: 4
[    0.000000] Internal netif num: 1
[    0.000000] Flash Memory Size: 8 MB
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 502784KB available (3652K code, 519K data, 124K init, 0K highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:128
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Calibrating delay loop... 1589.24 BogoMIPS (lpj=7946240)
[    0.240000] Mount-cache hash table entries: 512
[    0.240000] CPU: Testing write buffer coherency: ok
[    0.240000] devtmpfs: initialized
[    0.240000] xor: measuring software checksum speed
[    0.290000]    arm4regs  :  1448.800 MB/sec
[    0.340000]    8regs     :   869.200 MB/sec
[    0.390000]    32regs    :  1122.000 MB/sec
[    0.390000] xor: using function: arm4regs (1448.800 MB/sec)
[    0.390000] NET: Registered protocol family 16
[    0.390000] Feroceon L2: Enabling L2
[    0.390000] Feroceon L2: Cache support initialised, in WT override mode.
[    0.410000]
[    0.410000] CPU Interface
[    0.410000] -------------
[    0.410000] SDRAM_CS0 ....base 00000000, size 512MB
[    0.410000] SDRAM_CS1 ....disable
[    0.410000] SDRAM_CS2 ....disable
[    0.410000] SDRAM_CS3 ....disable
[    0.410000] PEX0_MEM ....base e0000000, size 128MB
[    0.410000] PEX0_IO ....base f2000000, size   1MB
[    0.410000] PEX1_MEM ....base e8000000, size 128MB
[    0.410000] PEX1_IO ....base f2100000, size   1MB
[    0.410000] INTER_REGS ....base f1000000, size   1MB
[    0.410000] NFLASH_CS ....base fa000000, size   2MB
[    0.410000] SPI_CS ....base f4000000, size  16MB
[    0.410000] BOOT_ROM_CS ....no such
[    0.410000] DEV_BOOTCS ....no such
[    0.410000] CRYPT_ENG ....base f0000000, size   2MB
[    0.410000]  Detected Tclk 200000000 and SysClk 533333333
[    0.410000] Apply DS 413j GPIO
[    0.410000] Synology 6282 DS411 GPIO Init
[    0.410000] PCIe link is enable, apply PCIe workaround
[    0.910000] PEX0 interface detected Link X4
[    1.410000] PEX1 interface detected no Link.
[    1.410000] PCI: bus0: Fast back to back transfers disabled
[    1.410000] PCI: bus1: Fast back to back transfers enabled
[    1.420000] bio: create slab <bio-0> at 0
[    1.420000] vgaarb: loaded
[    1.420000] SCSI subsystem initialized
[    1.590000] raid6: int32x1    126 MB/s
[    1.760000] raid6: int32x2    185 MB/s
[    1.930000] raid6: int32x4    180 MB/s
[    2.100000] raid6: int32x8    193 MB/s
[    2.100000] raid6: using algorithm int32x8 (193 MB/s)
[    2.100000] Switching to clocksource kw_clocksource
[    2.100000] NET: Registered protocol family 2
[    2.100000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    2.100000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    2.100000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    2.100000] TCP: Hash tables configured (established 16384 bind 16384)
[    2.100000] TCP reno registered
[    2.100000] NET: Registered protocol family 1
[    2.100000] RPC: Registered udp transport module.
[    2.100000] RPC: Registered tcp transport module.
[    2.100000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.100000] Trying to unpack rootfs image as initramfs...
[    2.100000] Freeing initrd memory: 8192K
[    2.100000] XOR registered 4 channels
[    2.100000] XOR 2nd invalidate WA enabled
[    2.100000] VFS: Disk quotas dquot_6.5.2
[    2.100000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.100000] msgmni has been set to 998
[    2.100000] alg: No test for md5 (md5-generic)
[    2.100000] alg: No test for des (des-generic)
[    2.100000] alg: No test for des3_ede (des3_ede-generic)
[    2.100000] alg: No test for stdrng (krng)
[    2.100000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    2.100000] io scheduler noop registered
[    2.100000] io scheduler anticipatory registered (default)
[    2.110000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.110000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    2.120000] console [ttyS0] enabled
[    2.130000] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
[    2.140000] brd: module loaded
[    2.140000] sata_mv 0000:00:01.0: version 1.28
[    2.150000] PCI: enabling device 0000:00:01.0 (0140 -> 0143)
[    2.150000] sata_mv 0000:00:01.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    2.160000] scsi0 : sata_mv
[    2.160000] scsi1 : sata_mv
[    2.170000] scsi2 : sata_mv
[    2.170000] scsi3 : sata_mv
[    2.170000] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 9
[    2.180000] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 9
[    2.190000] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 9
[    2.200000] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 9
[    5.710000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    5.710000] ata1.00: ATA-9: SM59XT2A-10-00K21011, 20210308, max UDMA/100
[    5.720000] ata1.00: 2096640 sectors, multi 1: LBA
[    5.720000] ata1.00: configured for UDMA/100
[    5.730000] ata1.00: Find SSD disks. [SM59XT2A-10-00K21011]
[    5.730000] scsi 0:0:0:0: Direct-Access     ATA      SM59XT2A-10-00K21011     2021 PQ: 0 ANSI: 5
[    5.740000] sd 0:0:0:0: [sda] 2096640 512-byte logical blocks: (1.07 GB/1023 MiB)
[    5.750000] sd 0:0:0:0: [sda] Write Protect is off
[    5.760000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.770000]  sda: unknown partition table
[    5.770000] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.770000] Delay 5 seconds to wait for disk 2 ready.
[   14.120000] ata2: SATA link down (SStatus 0 SControl 300)
[   17.120000] Delay 5 seconds to wait for disk 3 ready.
[   22.460000] ata3: SATA link down (SStatus 0 SControl 300)
[   25.460000] Delay 5 seconds to wait for disk 4 ready.
[   30.800000] ata4: SATA link down (SStatus 0 SControl 300)
[   30.800000] sata_mv sata_mv.0: version 1.28
[   30.800000] sata_mv sata_mv.0: slots 32 ports 2
[   30.810000] scsi4 : sata_mv
[   30.810000] scsi5 : sata_mv
[   30.820000] ata5: SATA max UDMA/133 irq 21
[   30.820000] ata6: SATA max UDMA/133 irq 21
[   31.170000] ata5: SATA link down (SStatus 0 SControl F300)
[   31.520000] ata6: SATA link down (SStatus 0 SControl F300)
[   31.520000] physmap platform flash device: 00400000 at f8000000
[   31.530000] SPI Serial flash detected @ 0xf8000000, 8192KB (128sec x 64KB)
[   31.540000] Searching for RedBoot partition table in SYNOMTD-0 at offset 0x7f0000
[   31.560000] 6 RedBoot partitions found on MTD device SYNOMTD-0
[   31.570000] SYNOMTD flash bank 0: Using RedBoot partition definition
[   31.580000] Creating 6 MTD partitions on "SYNOMTD-0":
[   31.580000] 0x000000000000-0x000000090000 : "RedBoot"
[   31.590000] 0x000000090000-0x000000390000 : "zImage"
[   31.590000] 0x000000390000-0x0000007d0000 : "rd.gz"
[   31.600000] 0x0000007d0000-0x0000007e0000 : "vendor"
[   31.600000] vender Mac1 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[   31.610000] vender Mac2 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[   31.620000] vender Mac3 checksum error ucSum:0x00 Buf:0x00 Sum:0.
[   31.620000] serial number='MBKVN93031'
[   31.630000] 0x0000007e0000-0x0000007f0000 : "RedBoot Config"
[   31.630000] 0x0000007f0000-0x000000800000 : "FIS directory"
[   31.640000] SPI Serial flash detected @ 0xf4000000, 8192KB (128sec x 64KB)
[   31.650000] cmdlinepart partition parsing not available
[   31.650000] Loading Marvell Ethernet Driver:
[   31.660000]   o Cached descriptors in DRAM
[   31.660000]   o DRAM SW cache-coherency
[   31.670000]   o 2 Giga ports supported
[   31.670000]   o Single RX Queue support - ETH_DEF_RXQ=0
[   31.680000]   o Single TX Queue support - ETH_DEF_TXQ=0
[   31.680000]   o TCP segmentation offload (TSO) supported
[   31.690000]   o Receive checksum offload supported
[   31.690000]   o Transmit checksum offload supported
[   31.700000]   o SKB Recycle supported - (Enabled)
[   31.700000]   o Rx descripors: q0=128
[   31.700000]   o Tx descripors: q0=532
[   31.710000]   o Loading network interface(s):
[   31.710000]     o  register under mv88fx_eth platform
[   31.720000]     o eth0, ifindex = 2, GbE port = 0
[   31.720000]     o eth0, phy chipid = 1410e90, Support WOL = 32
[   31.730000]
[   31.730000] md: linear personality registered for level -1
[   31.740000] md: raid0 personality registered for level 0
[   31.740000] md: raid1 personality registered for level 1
[   31.750000] md: raid10 personality registered for level 10
[   31.750000] md: raid6 personality registered for level 6
[   31.760000] md: raid5 personality registered for level 5
[   31.760000] md: raid4 personality registered for level 4
[   31.770000] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[   31.780000] cpuidle: using governor ladder
[   31.780000] TCP cubic registered
[   31.790000] NET: Registered protocol family 17
[   31.790000] NET: Registered protocol family 15
[   31.800000] registered taskstats version 1
[   31.800000] md: Waiting for all devices to be available before autodetect
[   31.810000] md: If you don't use raid, use raid=noautodetect
[   31.810000] md: Autodetecting RAID arrays.
[   31.820000] md: Scanned 0 and added 0 devices.
[   31.820000] md: autorun ...
[   31.820000] md: ... autorun DONE.
[   31.830000] EXT3-fs: unable to read superblock
[   31.830000] EXT2-fs: unable to read superblock
[   31.840000] EXT4-fs (md0): unable to read superblock
[   31.840000] List of all partitions:
[   31.840000] 0800         1048320 sda driver: sd
[   31.850000] 1f00             576 mtdblock0 (driver?)
[   31.850000] 1f01            3072 mtdblock1 (driver?)
[   31.860000] 1f02            4352 mtdblock2 (driver?)
[   31.860000] 1f03              64 mtdblock3 (driver?)
[   31.870000] 1f04              64 mtdblock4 (driver?)
[   31.870000] 1f05              64 mtdblock5 (driver?)
[   31.880000] 1f06            8192 mtdblock6 (driver?)
[   31.880000] No filesystem could mount root, tried:  ext3 ext2 ext4
[   31.890000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(9,0)
Re: Debian on Synology DS413J
April 20, 2023 02:03PM
Billy,

> [ 31.810000] md: Autodetecting RAID arrays.
> [ 31.820000] md: Scanned 0 and added 0 devices.

Looks like the RAID array has been erased. Stock OS is on that.

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