Welcome! Log In Create A New Profile

Advanced

WD MyCloud Gen2 (Glacier, Armada 375)

Posted by Miraculix666 
Re: WD MyCloud Gen2 (Glacier, Armada 375)
March 26, 2025 01:50PM
> AFAIR 6.3.8 is the latest kernel i have tested.
> Should i try newer kernels to find latest
> "compatible" or just any working bootlog? Or maybe
> You need bootlog from original firmware?

Any Debian kernel version would be fine! what I am looking for is the Ethernet chip model which is printed out in dmesg. But the full dmesg would be great to see how the network driver is running.

Thanks osa!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
osa
Re: WD MyCloud Gen2 (Glacier, Armada 375)
March 28, 2025 08:57AM
Here's my bootlog

BootROM - 1.51
Booting from SPI flash


General initialization - Version: 1.0.0
High speed PHY - Version: 0.1.1 (COM-PHY-V20) 
USB2 UTMI PHY initialized succesfully
USB2 UTMI PHY initialized succesfully
High speed PHY - Ended Successfully

DDR3 Training Sequence - Ver 5.7.1
DDR3 Training Sequence - Run with PBS.
DDR3 Training Sequence - Ended Successfully 
BootROM: Image checksum verification PASSED

 ** LOADER **


U-Boot 2013.01_v1.05 (Mar 31 2015 - 18:27:56) Marvell version: 2014_T2.0p3

Board: WD_Glacier_DB-88F6720-V2
SoC:   MV88F6720 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 800 [MHz]
       L2     @ 400 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 534 [MHz]
       DDR 16Bit Width, FastPath Memory Access, DLB Enabled
DRAM:  512 MiB

Map:   Code:		0x1fed6000:0x1ff92d98
       BSS:		0x1ffefa20
       Stack:		0x1f9c5f20
       Heap:		0x1f9c6000:0x1fed6000

SF: Detected MX25L8006E with page size 64 KiB, total 1 MiB
PCI-e 0: Detected No Link.
PCI-e 1: Detected No Link.
SF: Detected MX25L8006E with page size 64 KiB, total 1 MiB
### Loading Firmware from USB 3.0 Disk ###
USB2.0 0: Host Mode
USB2.0 1: Device Mode
USB3.0 0: Host Mode
Board configuration detected:
	GE-PHY-0 on MAC0
SERDES configuration:
	Lane #0: PCIe0
	Lane #1: PCIe1
	Lane #2: SATA0
	Lane #3: USB3
Net:   egiga0 [PRIME]
*** ERROR: ping address not given
Hit any key to stop autoboot:  0 
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
## Booting image at 00a00000 ...
### Loading Firmware from USB 2.0 Disk ###
(Re)start USB...
USB0:   Port (usbActive) : 1	Interface (usbType = 2) : USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
## Booting image at 00a00000 ...
### Loading Firmware from Disk ###

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found
  Device 0 @ 0 0:
Model: WDC WD5000AAKX-001CA0                    Firm: 15.01H15 Ser#:      WD-WCAYUX589400
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)

5089636 bytes read in 122 ms (39.8 MiB/s)
9166092 bytes read in 194 ms (45.1 MiB/s)
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Linux-6.3.8-mvebu-tld-1
   Created:      2023-07-04  19:15:11 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5089572 Bytes = 4.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   initramfs-5.10.7-mvebu-tld-1
   Created:      2021-02-01  14:57:31 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9166028 Bytes = 8.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.3.8-mvebu-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Sat Jun 24 22:34:43 PDT 2023
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000][    T0] OF: fdt: Machine model: WD MyCloud Gen2
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] INITRD: 0x00f00000+0x008be000 overlaps in-use memory region
[    0.000000][    T0]  - disabling initrd
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0]   HighMem  empty
[    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] percpu: Embedded 14 pages/cpu s25300 r8192 d23852 u57344
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000][    T0] Kernel command line: root=/dev/sda2 console=ttyS0,115200
[    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: 500360K/524288K available (10240K kernel code, 847K rwdata, 3380K rodata, 1024K init, 461K bss, 23928K reserved, 0K cma-reserved, 0K highmem)
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    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] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x02040000 -> 0x12040000
[    0.000000][    T0] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000][    T0] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000][    T0] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000][    T0] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 8 ways, 256 kB
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56040001
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] Switching to timer-based delay loop, resolution 40ns
[    0.000000][    T0] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.000016][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000419][    T0] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[    0.001501][    T0] Console: colour dummy device 80x30
[    0.001554][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.001570][    T0] pid_max: default: 32768 minimum: 301
[    0.002008][    T0] LSM: initializing lsm=capability,integrity
[    0.002261][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002278][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003841][    T0] CPU: Testing write buffer coherency: ok
[    0.003890][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.004282][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005621][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.005636][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.005808][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.005975][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.006371][    T1] mvebu-soc-id: MVEBU SoC ID=0x6720, Rev=0x3
[    0.006890][    T1] rcu: Hierarchical SRCU implementation.
[    0.006900][    T1] rcu: 	Max phase no-delay instances is 1000.
[    0.008070][    T1] smp: Bringing up secondary CPUs ...
[    0.009015][    T1] Booting CPU 1
[    0.009208][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.009229][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.009391][    T1] smp: Brought up 1 node, 2 CPUs
[    0.009404][    T1] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.009415][    T1] CPU: All CPU(s) started in SVC mode.
[    0.010219][    T1] devtmpfs: initialized
[    0.014858][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.015269][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015308][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.015693][    T1] prandom: seed boundary self test passed
[    0.018356][    T1] prandom: 100 self tests passed
[    0.018363][    T1] pinctrl core: initialized pinctrl subsystem
[    0.020209][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.021358][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.022581][    T1] audit: initializing netlink subsys (disabled)
[    0.022949][   T24] audit: type=2000 audit(0.020:1): state=initialized audit_enabled=0 res=1
[    0.023674][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.024022][    T1] cpuidle: using governor ladder
[    0.024069][    T1] cpuidle: using governor menu
[    0.024260][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.024274][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.027583][    T1] platform soc: Fixed dependency cycle(s) with /soc/internal-regs/interrupt-controller@d000
[    0.200332][    T1] raid6: int32x8  gen()   159 MB/s
[    0.370775][    T1] raid6: int32x4  gen()   166 MB/s
[    0.541279][    T1] raid6: int32x2  gen()   275 MB/s
[    0.711712][    T1] raid6: int32x1  gen()   298 MB/s
[    0.711720][    T1] raid6: using algorithm int32x1 gen() 298 MB/s
[    0.882115][    T1] raid6: .... xor() 120 MB/s, rmw enabled
[    0.882122][    T1] raid6: using intx1 recovery algorithm
[    0.883607][    T1] SCSI subsystem initialized
[    0.884222][    T1] usbcore: registered new interface driver usbfs
[    0.884270][    T1] usbcore: registered new interface driver hub
[    0.884321][    T1] usbcore: registered new device driver usb
[    0.884778][    T1] pps_core: LinuxPPS API ver. 1 registered
[    0.884788][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.884814][    T1] PTP clock support registered
[    0.887106][    T1] vgaarb: loaded
[    0.887825][    T1] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.888560][    T1] VFS: Disk quotas dquot_6.6.0
[    0.888669][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.901554][    T1] NET: Registered PF_INET protocol family
[    0.901824][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.903739][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.903892][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.903920][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.904001][    T1] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.904123][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    0.904445][    T1] MPTCP token hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.904538][    T1] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.904571][    T1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.904819][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.905720][    T1] RPC: Registered named UNIX socket transport module.
[    0.905734][    T1] RPC: Registered udp transport module.
[    0.905740][    T1] RPC: Registered tcp transport module.
[    0.905745][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.905766][    T1] PCI: CLS 0 bytes, default 64
[    0.905882][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.906364][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.908832][    T1] Initialise system trusted keyrings
[    0.908963][    T1] Key type blacklist registered
[    0.910922][    T1] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.911166][    T1] zbud: loaded
[    0.913458][    T1] NFS: Registering the id_resolver key type
[    0.913503][    T1] Key type id_resolver registered
[    0.913510][    T1] Key type id_legacy registered
[    0.913567][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.913587][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.007760][    T1] xor: measuring software checksum speed
[    1.015395][    T1]    arm4regs        :  1301 MB/sec
[    1.025262][    T1]    8regs           :   999 MB/sec
[    1.034768][    T1]    32regs          :  1037 MB/sec
[    1.034776][    T1] xor: using function: arm4regs (1301 MB/sec)
[    1.034793][    T1] async_tx: api initialized (async)
[    1.034807][    T1] Key type asymmetric registered
[    1.034814][    T1] Asymmetric key parser 'x509' registered
[    1.035097][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.035336][    T1] io scheduler bfq registered
[    1.041555][    T1] armada-375-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.045845][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.047664][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.049380][    T1] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.053615][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.109044][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.113720][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.169079][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.362982][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.368202][    T1] printk: console [ttyS0] disabled
[    1.388426][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 39, base_baud = 12500000) is a 16550A
[    1.388513][    T1] printk: console [ttyS0] enabled
[    2.391822][    T1] sata_mv f10a0000.sata: slots 32 ports 1
[    2.398961][    T1] scsi host0: sata_mv
[    2.403262][    T1] ata1: SATA max UDMA/133 irq 40
[    2.411998][    T1] spi-nor spi0.0: mx25l8005 (1024 Kbytes)
[    2.417752][    T1] 1 fixed-partitions partitions found on MTD device spi0.0
[    2.424897][    T1] Creating 1 MTD partitions on "spi0.0":
[    2.430549][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    2.439220][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.447819][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.464869][    T1] mvpp2 f10f0000.ethernet: using 3 shared buffers
[    2.486478][    T1] mvpp2 f10f0000.ethernet eth0: Using hardware mac address 00:00:00:00:00:04
[    2.537634][    T1] usbcore: registered new interface driver smsc75xx
[    2.544973][    T1] orion-ehci f1054000.usb: EHCI Host Controller
[    2.551223][    T1] orion-ehci f1054000.usb: new USB bus registered, assigned bus number 1
[    2.560392][    T1] orion-ehci f1054000.usb: irq 42, io mem 0xf1054000
[    2.587896][    T1] orion-ehci f1054000.usb: USB 2.0 started, EHCI 1.00
[    2.594877][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[    2.603929][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.611940][    T1] usb usb1: Product: EHCI Host Controller
[    2.617550][    T1] usb usb1: Manufacturer: Linux 6.3.8-mvebu-tld-1 ehci_hcd
[    2.624653][    T1] usb usb1: SerialNumber: f1054000.usb
[    2.631295][    T1] hub 1-0:1.0: USB hub found
[    2.635883][    T1] hub 1-0:1.0: 1 port detected
[    2.643236][    T1] xhci-hcd f1058000.usb: xHCI Host Controller
[    2.649438][    T1] xhci-hcd f1058000.usb: new USB bus registered, assigned bus number 2
[    2.657751][    T1] xhci-hcd f1058000.usb: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.667844][    T1] xhci-hcd f1058000.usb: irq 43, io mem 0xf1058000
[    2.674579][    T1] xhci-hcd f1058000.usb: xHCI Host Controller
[    2.681275][    T1] xhci-hcd f1058000.usb: new USB bus registered, assigned bus number 3
[    2.689505][    T1] xhci-hcd f1058000.usb: Host supports USB 3.0 SuperSpeed
[    2.696734][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[    2.705823][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.713834][    T1] usb usb2: Product: xHCI Host Controller
[    2.719490][    T1] usb usb2: Manufacturer: Linux 6.3.8-mvebu-tld-1 xhci-hcd
[    2.726603][    T1] usb usb2: SerialNumber: f1058000.usb
[    2.733242][    T1] hub 2-0:1.0: USB hub found
[    2.737909][    T1] hub 2-0:1.0: 1 port detected
[    2.743737][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.752791][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.03
[    2.761893][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.770265][    T1] usb usb3: Product: xHCI Host Controller
[    2.775881][    T1] usb usb3: Manufacturer: Linux 6.3.8-mvebu-tld-1 xhci-hcd
[    2.783029][    T1] usb usb3: SerialNumber: f1058000.usb
[    2.789595][    T1] hub 3-0:1.0: USB hub found
[    2.794146][    T1] hub 3-0:1.0: 1 port detected
[    2.801066][    T1] usbcore: registered new interface driver usblp
[    2.807559][    T1] usbcore: registered new interface driver usb-storage
[    2.815473][    T1] mousedev: PS/2 mouse device common for all mice
[    2.825867][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    2.831759][    T1] rtc-mv f1010300.rtc: setting system clock to 2015-07-17T10:53:05 UTC (1437130385)
[    2.842453][    T1] i2c_dev: i2c /dev entries driver
[    2.907958][  T658] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    2.947916][  T658] ata1.00: ATA-8: WDC WD5000AAKX-001CA0, 15.01H15, max UDMA/133
[    2.955463][  T658] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    2.964666][    T1] orion_wdt: Initial timeout 171 sec
[    2.968342][  T658] ata1.00: configured for UDMA/133
[    2.970573][    T1] device-mapper: uevent: version 1.0.3
[    2.980762][    T8] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AAKX-0 1H15 PQ: 0 ANSI: 5
[    2.988805][    T1] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    2.999958][  T726] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    3.001414][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    3.008586][  T726] sd 0:0:0:0: [sda] Write Protect is off
[    3.015547][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    3.028479][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    3.028576][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.036124][  T726] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.042727][    T1] device-mapper: raid: Loading target version 1.15.1
[    3.052833][  T726] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
[    3.059633][    T1] sdhci: Secure Digital Host Controller Interface driver
[    3.073088][    T1] sdhci: Copyright(c) Pierre Ossman
[    3.078809][    T1] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.091226][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    3.100103][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.107044][    T1] usbcore: registered new interface driver usbhid
[    3.113404][    T1] usbhid: USB HID core driver
[    3.119920][    T1] NET: Registered PF_INET6 protocol family
[    3.127594][    T1] Segment Routing with IPv6
[    3.131709][  T726]  sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7
[    3.132148][    T1] RPL Segment Routing with IPv6
[    3.142650][    T1] In-situ OAM (IOAM) with IPv6
[    3.147603][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.156422][  T726] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.157437][    T1] NET: Registered PF_PACKET protocol family
[    3.168039][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.173054][    T1] Key type dns_resolver registered
[    3.178208][    T1] ThumbEE CPU extension supported.
[    3.183217][    T1] Registering SWP/SWPB emulation handler
[    3.250633][    T1] registered taskstats version 1
[    3.255700][    T1] Loading compiled-in X.509 certificates
[    3.261779][    T1] zswap: loaded using pool lzo/zbud
[    3.267637][    T1] Key type .fscrypt registered
[    3.272389][    T1] Key type fscrypt-provisioning registered
[    3.278850][    T1] Key type big_key registered
[    3.284625][    T1] Key type encrypted registered
[    3.294123][ T1101] usb_phy_generic usb3-phy: dummy supplies not allowed for exclusive requests
[    3.306067][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.315837][    T1] md: Waiting for all devices to be available before autodetect
[    3.323431][    T1] md: If you don't use raid, use raid=noautodetect
[    3.329858][    T1] md: Autodetecting RAID arrays.
[    3.334681][    T1] md: autorun ...
[    3.338206][    T1] md: ... autorun DONE.
[    4.286709][    T1] EXT4-fs (sda2): mounted filesystem ec41563b-6edc-4a57-9efa-7c3f7ccbd2bd with ordered data mode. Quota mode: none.
[    4.298909][    T1] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
[    4.336156][    T1] devtmpfs: mounted
[    4.342994][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    4.350682][    T1] Checked W+X mappings: passed, no W+X pages found
[    4.357090][    T1] Run /sbin/init as init process
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
ERROR: could not open /proc/stat: No such file or directory
[warn] Files under mount point '/run' will be hidden. ... (warning).
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
[ ok ] Synthesizing the initial hotplug events (subsystems)...done.
[ ok ] Synthesizing the initial hotplug events (devices)...done.
[....] Waiting for /dev to be fully populated...[    8.482121][ T1387] systemd-udevd[1387]: Using default interface naming scheme 'v240'.
[    8.500243][ T1387] systemd-udevd[1387]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[    8.526850][ T1389] systemd-udevd[1389]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[    8.545831][ T1381] systemd-udevd[1381]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[    8.567820][ T1384] systemd-udevd[1384]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[    8.580154][ T1380] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    8.605726][ T1384] systemd-udevd[1384]: Could not generate persistent MAC address for ip6tnl0: No such file or directory
done.
[ ok ] Setting hostname to 'debian'...done.
[....] Activating swap:swapon: /dev/sda1: found[   11.946735][ T1565] Adding 262132k swap on /dev/sda1.  Priority:-2 extents:1 across:262132k FS
 signature [pagesize=4096, signature=swap]
swapon: /dev/sda1: pagesize=4096, swapsize=268427264, devsize=2147483648
swapon /dev/sda1
. ok 
[   12.139941][ T1589] EXT4-fs (sda2): re-mounted ec41563b-6edc-4a57-9efa-7c3f7ccbd2bd. Quota mode: none.
[....] Will now check root file system:fsck from util-linux 2.33.1
[/sbin/fsck.ext4 (1) -- /] fsck.ext4 -y -C0 /dev/sda2 
e2fsck 1.44.5 (15-Dec-2018)
/dev/sda2: clean, 125652/29999104 files, 7318822/119994880 blocks
. ok 
[   13.368809][ T1615] EXT4-fs (sda2): re-mounted ec41563b-6edc-4a57-9efa-7c3f7ccbd2bd. Quota mode: none.
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
/dev/sda2 is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[....] Will now activate swapfile swap:swapon: /dev/sda1: already active -- ignored
done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Starting Setting kernel variables: sysctl.
[....] Initializing random number generator...[   18.517871][    C1] random: crng init done
done.
[....] Configuring network interfaces...[   18.941846][ T2141] mvpp2 f10f0000.ethernet eth0: PHY [f10c0054.mdio-mii:00] driver [Generic PHY] (irq=POLL)
[   18.952845][ T2141] mvpp2 f10f0000.ethernet eth0: configuring for phy/rgmii-id link mode
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[....] Starting NFS common utilities: statd idmapd[   22.079620][  T107] mvpp2 f10f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   22.088195][  T107] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
. ok 
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2348 (syslogd)
. ok 
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2375 (klogd)
. ok 
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NetBIOS name server: nmbd.
[....] Starting Apache httpd web server: apache2AH00557: apache2: apr_sockaddr_info_get() failed for debian
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[ .k 
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting MariaDB database server: mysqld ..
[ ok ] Starting NTP server: ntpd.
[warn] Not starting S.M.A.R.T. daemon smartd, disabled via /etc/default/smartmontools ... (warning).
[ ok ] Starting SMB/CIFS daemon: smbd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting FTP server: vsftpd.
[....] Running local boot scripts (/etc/rc.local)[   46.128928][ T3024] Setting Persistent MAC address to 00:00:11:22:33:44
<13>Jul 17 03:53:49 root[3036]: Setting Persistent MAC address to 00:00:11:22:33:44
[   46.263736][   T37] mvpp2 f10f0000.ethernet eth0: Link is Down
[   46.399948][ T3067] mvpp2 f10f0000.ethernet eth0: PHY [f10c0054.mdio-mii:00] driver [Generic PHY] (irq=POLL)
[   46.411798][ T3067] mvpp2 f10f0000.ethernet eth0: configuring for phy/rgmii-id link mode
. ok 

Debian GNU/Linux 10 debian ttyS0

debian login: [   49.518444][   T37] mvpp2 f10f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   49.526983][   T37] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready


Re: WD MyCloud Gen2 (Glacier, Armada 375)
March 28, 2025 12:44PM
Thanks osa!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: WD MyCloud Gen2 (Glacier, Armada 375)
March 28, 2025 01:31PM
Strange!

This WD MyCloud Gen2 box did not detect the chip type:
[   46.399948][ T3067] mvpp2 f10f0000.ethernet eth0: PHY [f10c0054.mdio-mii:00] driver [Generic PHY] (irq=POLL)

It should look like this (like the Synology DS215j):
[   17.617993][ T1985] mvpp2 f10f0000.ethernet eth0: PHY [f10c0054.mdio-mii:01] driver [Marvell 88E1510] (irq=POLL)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: WD MyCloud Gen2 (Glacier, Armada 375)
March 28, 2025 02:00PM
osa,

When you have a chance, please try running the latest kernel (linux-6.13.8-mvebu-tld-1).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
osa
Re: WD MyCloud Gen2 (Glacier, Armada 375)
March 29, 2025 04:22PM
Hi @bodhi
Here's new bootlog
BootROM - 1.51
Booting from SPI flash


General initialization - Version: 1.0.0
High speed PHY - Version: 0.1.1 (COM-PHY-V20) 
USB2 UTMI PHY initialized succesfully
USB2 UTMI PHY initialized succesfully
High speed PHY - Ended Successfully

DDR3 Training Sequence - Ver 5.7.1
DDR3 Training Sequence - Run with PBS.
DDR3 Training Sequence - Ended Successfully 
BootROM: Image checksum verification PASSED

 ** LOADER **


U-Boot 2013.01_v1.05 (Mar 31 2015 - 18:27:56) Marvell version: 2014_T2.0p3

Board: WD_Glacier_DB-88F6720-V2
SoC:   MV88F6720 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 800 [MHz]
       L2     @ 400 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 534 [MHz]
       DDR 16Bit Width, FastPath Memory Access, DLB Enabled
DRAM:  512 MiB

Map:   Code:		0x1fed6000:0x1ff92d98
       BSS:		0x1ffefa20
       Stack:		0x1f9c5f20
       Heap:		0x1f9c6000:0x1fed6000

SF: Detected MX25L8006E with page size 64 KiB, total 1 MiB
PCI-e 0: Detected No Link.
PCI-e 1: Detected No Link.
SF: Detected MX25L8006E with page size 64 KiB, total 1 MiB
### Loading Firmware from USB 3.0 Disk ###
USB2.0 0: Host Mode
USB2.0 1: Device Mode
USB3.0 0: Host Mode
Board configuration detected:
	GE-PHY-0 on MAC0
SERDES configuration:
	Lane #0: PCIe0
	Lane #1: PCIe1
	Lane #2: SATA0
	Lane #3: USB3
Net:   egiga0 [PRIME]
*** ERROR: ping address not given
Hit any key to stop autoboot:  0 
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
## Booting image at 00a00000 ...
### Loading Firmware from USB 2.0 Disk ###
(Re)start USB...
USB0:   Port (usbActive) : 1	Interface (usbType = 2) : USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
## Booting image at 00a00000 ...
### Loading Firmware from Disk ###

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found
  Device 0 @ 0 0:
Model: WDC WD5000AAKX-001CA0                    Firm: 15.01H15 Ser#:      WD-WCAYUX589400
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)

5223076 bytes read in 125 ms (39.8 MiB/s)
9701046 bytes read in 192 ms (48.2 MiB/s)
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Linux-6.13.8-mvebu-tld-1
   Created:      2025-03-29  10:04:05 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5223012 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   initramfs-6.13.8-mvebu-tld-1
   Created:      2025-03-29  10:05:02 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9700982 Bytes = 9.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.13.8-mvebu-tld-1 (root@tldDebianVM) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP 
PREEMPT Tue Mar 25 16:00:52 PDT 2025
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000][    T0] OF: fdt: Machine model: WD MyCloud Gen2
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] INITRD: 0x00f00000+0x00941000 overlaps in-use memory region
[    0.000000][    T0]  - disabling initrd
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000][    T0]   HighMem  empty
[    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] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[    0.000000][    T0] percpu: Embedded 29 pages/cpu s28492 r8192 d82100 u118784
[    0.000000][    T0] Kernel command line: root=/dev/sda2 console=ttyS0,115200
[    0.000000][    T0] printk: log buffer data + meta data: 131072 + 409600 = 540672 bytes
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 131072
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    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] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[    0.000000][    T0] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x02040000 -> 0x12040000
[    0.000000][    T0] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000][    T0] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000][    T0] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000][    T0] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 8 ways, 256 kB
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56040001
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] Switching to timer-based delay loop, resolution 40ns
[    0.000001][    T0] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.000040][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000477][    T0] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[    0.001002][    T0] Console: colour dummy device 80x30
[    0.001072][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.001092][    T0] CPU: Testing write buffer coherency: ok
[    0.001147][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.001157][    T0] pid_max: default: 32768 minimum: 301
[    0.008585][    T0] LSM: initializing lsm=capability
[    0.010243][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.010265][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.015383][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.080724][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.081154][    T1] mvebu-soc-id: MVEBU SoC ID=0x6720, Rev=0x3
[    0.081714][    T1] rcu: Hierarchical SRCU implementation.
[    0.081725][    T1] rcu: 	Max phase no-delay instances is 1000.
[    0.082151][    T1] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.100112][    T1] smp: Bringing up secondary CPUs ...
[    0.140172][    T1] Booting CPU 1
[    0.140364][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.140385][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.140604][    T1] smp: Brought up 1 node, 2 CPUs
[    0.140619][    T1] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.140630][    T1] CPU: All CPU(s) started in SVC mode.
[    0.141325][    T1] Memory: 498492K/524288K available (10240K kernel code, 845K rwdata, 3560K rodata, 1024K init, 462K bss, 24212K reserved, 0K cma-reserved, 0K highmem)
[    0.142841][    T1] devtmpfs: initialized
[    0.148501][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.148995][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.149032][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.153808][    T1] prandom: seed boundary self test passed
[    0.156472][    T1] prandom: 100 self tests passed
[    0.156482][    T1] pinctrl core: initialized pinctrl subsystem
[    0.159473][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.160751][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.162027][    T1] audit: initializing netlink subsys (disabled)
[    0.162454][   T33] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
[    0.163365][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.163495][    T1] cpuidle: using governor ladder
[    0.163534][    T1] cpuidle: using governor menu
[    0.163755][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.163771][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.350773][    T1] raid6: int32x8  gen()   147 MB/s
[    0.521168][    T1] raid6: int32x4  gen()   157 MB/s
[    0.691697][    T1] raid6: int32x2  gen()   275 MB/s
[    0.862073][    T1] raid6: int32x1  gen()   299 MB/s
[    0.862081][    T1] raid6: using algorithm int32x1 gen() 299 MB/s
[    1.032588][    T1] raid6: .... xor() 127 MB/s, rmw enabled
[    1.032596][    T1] raid6: using intx1 recovery algorithm
[    1.034757][    T1] SCSI subsystem initialized
[    1.043061][    T1] usbcore: registered new interface driver usbfs
[    1.043116][    T1] usbcore: registered new interface driver hub
[    1.043194][    T1] usbcore: registered new device driver usb
[    1.043587][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.043597][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.043624][    T1] PTP clock support registered
[    1.065002][    T1] vgaarb: loaded
[    1.065715][    T1] clocksource: Switched to clocksource armada_370_xp_clocksource
[    1.071778][    T1] VFS: Disk quotas dquot_6.6.0
[    1.072091][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.073456][    T1] netfs: FS-Cache loaded
[    1.089372][    T1] NET: Registered PF_INET protocol family
[    1.089635][    T1] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.091680][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.091843][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.091909][    T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.091987][    T1] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    1.092112][    T1] TCP: Hash tables configured (established 4096 bind 4096)
[    1.092684][    T1] MPTCP token hash table entries: 512 (order: 1, 8192 bytes, linear)
[    1.092989][    T1] UDP hash table entries: 256 (order: 1, 14336 bytes, linear)
[    1.093043][    T1] UDP-Lite hash table entries: 256 (order: 1, 14336 bytes, linear)
[    1.093720][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.115094][    T1] RPC: Registered named UNIX socket transport module.
[    1.115109][    T1] RPC: Registered udp transport module.
[    1.115115][    T1] RPC: Registered tcp transport module.
[    1.115120][    T1] RPC: Registered tcp-with-tls transport module.
[    1.115126][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.115145][    T1] PCI: CLS 0 bytes, default 64
[    1.118729][    T1] Initialise system trusted keyrings
[    1.118843][    T1] Key type blacklist registered
[    1.119597][    T1] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.119746][    T1] zbud: loaded
[    1.132821][    T1] NFS: Registering the id_resolver key type
[    1.132895][    T1] Key type id_resolver registered
[    1.132903][    T1] Key type id_legacy registered
[    1.133123][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.133143][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.331197][    T1] xor: measuring software checksum speed
[    1.333735][    T1]    arm4regs        :  1299 MB/sec
[    1.337060][    T1]    8regs           :   991 MB/sec
[    1.340232][    T1]    32regs          :  1037 MB/sec
[    1.340238][    T1] xor: using function: arm4regs (1299 MB/sec)
[    1.340256][    T1] async_tx: api initialized (async)
[    1.340270][    T1] Key type asymmetric registered
[    1.340278][    T1] Asymmetric key parser 'x509' registered
[    1.340882][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.341500][    T1] io scheduler bfq registered
[    1.345526][    T1] armada-375-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.351205][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.353468][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.355115][    T1] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.360896][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    1.362322][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.407416][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.411803][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.447222][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.638476][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.645801][    T1] printk: legacy console [ttyS0] disabled
[    1.666755][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 38, base_baud = 12500000) is a 16550A
[    1.666858][    T1] printk: legacy console [ttyS0] enabled
[    2.695525][    T1] sata_mv f10a0000.sata: slots 32 ports 1
[    2.703393][    T1] scsi host0: sata_mv
[    2.708238][    T1] ata1: SATA max UDMA/133 irq 39 lpm-pol 0
[    2.719658][    T1] 1 fixed-partitions partitions found on MTD device spi0.0
[    2.726870][    T1] Creating 1 MTD partitions on "spi0.0":
[    2.732460][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    2.740595][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.749393][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.772464][    T1] orion-ehci f1054000.usb: EHCI Host Controller
[    2.778766][    T1] orion-ehci f1054000.usb: new USB bus registered, assigned bus number 1
[    2.788182][    T1] orion-ehci f1054000.usb: irq 40, io mem 0xf1054000
[    2.805789][    T1] orion-ehci f1054000.usb: USB 2.0 started, EHCI 1.00
[    2.812819][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.13
[    2.821893][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.829924][    T1] usb usb1: Product: EHCI Host Controller
[    2.835536][    T1] usb usb1: Manufacturer: Linux 6.13.8-mvebu-tld-1 ehci_hcd
[    2.842735][    T1] usb usb1: SerialNumber: f1054000.usb
[    2.849505][    T1] hub 1-0:1.0: USB hub found
[    2.854072][    T1] hub 1-0:1.0: 1 port detected
[    2.861711][    T1] xhci-hcd f1058000.usb: xHCI Host Controller
[    2.867765][    T1] xhci-hcd f1058000.usb: new USB bus registered, assigned bus number 2
[    2.876230][    T1] xhci-hcd f1058000.usb: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000000010
[    2.887103][    T1] xhci-hcd f1058000.usb: irq 41, io mem 0xf1058000
[    2.893763][    T1] xhci-hcd f1058000.usb: xHCI Host Controller
[    2.899836][    T1] xhci-hcd f1058000.usb: new USB bus registered, assigned bus number 3
[    2.908043][    T1] xhci-hcd f1058000.usb: Host supports USB 3.0 SuperSpeed
[    2.915339][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.13
[    2.924425][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.932424][    T1] usb usb2: Product: xHCI Host Controller
[    2.938055][    T1] usb usb2: Manufacturer: Linux 6.13.8-mvebu-tld-1 xhci-hcd
[    2.945234][    T1] usb usb2: SerialNumber: f1058000.usb
[    2.951919][    T1] hub 2-0:1.0: USB hub found
[    2.956525][    T1] hub 2-0:1.0: 1 port detected
[    2.962269][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.971414][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.13
[    2.980465][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.988647][    T1] usb usb3: Product: xHCI Host Controller
[    2.994265][    T1] usb usb3: Manufacturer: Linux 6.13.8-mvebu-tld-1 xhci-hcd
[    3.001481][    T1] usb usb3: SerialNumber: f1058000.usb
[    3.008463][    T1] hub 3-0:1.0: USB hub found
[    3.013057][    T1] hub 3-0:1.0: 1 port detected
[    3.020012][    T1] usbcore: registered new interface driver usblp
[    3.026775][    T1] usbcore: registered new interface driver usb-storage
[    3.037588][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    3.043247][    T1] rtc-mv f1010300.rtc: setting system clock to 2025-03-29T21:06:58 UTC (1743282418)
[    3.054075][    T1] i2c_dev: i2c /dev entries driver
[    3.147985][    T1] orion_wdt: Initial timeout 171 sec
[    3.154540][    T1] device-mapper: uevent: version 1.0.3
[    3.160799][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@lists.linux.dev
[    3.171167][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    3.178654][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    3.186060][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    3.193529][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.195824][  T704] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    3.201887][    T1] sdhci: Secure Digital Host Controller Interface driver
[    3.212475][  T704] ata1.00: ATA-8: WDC WD5000AAKX-001CA0, 15.01H15, max UDMA/133
[    3.214360][    T1] sdhci: Copyright(c) Pierre Ossman
[    3.214779][    T1] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.222074][  T704] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    3.229020][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    3.238320][  T704] ata1.00: configured for UDMA/133
[    3.241646][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.256546][   T32] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AAKX-0 1H15 PQ: 0 ANSI: 5
[    3.260341][    T1] usbcore: registered new interface driver usbhid
[    3.271737][  T125] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    3.275410][    T1] usbhid: USB HID core driver
[    3.284345][  T125] sd 0:0:0:0: [sda] Write Protect is off
[    3.293723][  T125] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.293951][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 (8000003f) counters available
[    3.303931][  T125] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
[    3.316259][    T1] NET: Registered PF_INET6 protocol family
[    3.328859][    T1] Segment Routing with IPv6
[    3.333267][    T1] RPL Segment Routing with IPv6
[    3.338322][    T1] In-situ OAM (IOAM) with IPv6
[    3.343090][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.353132][    T1] NET: Registered PF_PACKET protocol family
[    3.359362][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.364384][    T1] Key type dns_resolver registered
[    3.369851][    T1] ThumbEE CPU extension supported.
[    3.374869][    T1] Registering SWP/SWPB emulation handler
[    3.422045][  T125]  sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7
[    3.434462][  T125] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.440820][    T1] registered taskstats version 1
[    3.446880][    T1] Loading compiled-in X.509 certificates
[    3.476915][    T1] Key type .fscrypt registered
[    3.481584][    T1] Key type fscrypt-provisioning registered
[    3.487491][    T1] Key type big_key registered
[    3.495493][    T1] Key type encrypted registered
[    3.504463][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.514471][    T1] clk: Disabling unused clocks
[    3.519228][    T1] PM: genpd: Disabling unused power domains
[    3.525683][    T1] md: Waiting for all devices to be available before autodetect
[    3.533264][    T1] md: If you don't use raid, use raid=noautodetect
[    3.539695][    T1] md: Autodetecting RAID arrays.
[    3.544520][    T1] md: autorun ...
[    3.548045][    T1] md: ... autorun DONE.
[    4.271276][    T1] EXT4-fs (sda2): mounted filesystem ec41563b-6edc-4a57-9efa-7c3f7ccbd2bd ro with ordered data mode. Quota mode: none.
[    4.283754][    T1] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
[    4.338975][    T1] devtmpfs: mounted
[    4.345200][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    4.352979][    T1] Checked W+X mappings: passed, no W+X pages found
[    4.359446][    T1] Run /sbin/init as init process
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
ERROR: could not open /proc/stat: No such file or directory
[warn] Files under mount point '/run' will be hidden. ... (warning).
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
[ ok ] Synthesizing the initial hotplug events (subsystems)...done.
[ ok ] Synthesizing the initial hotplug events (devices)...done.
[....] Waiting for /dev to be fully populated...[    8.462107][  T125] usb_phy_generic usb3-phy: dummy supplies not allowed for exclusive requests (id=vbus)
[    8.646909][ T1398] systemd-udevd[1398]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[    8.647583][ T1391] systemd-udevd[1391]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[    8.660591][ T1415] systemd-udevd[1415]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[    8.700389][ T1394] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    8.716558][ T1398] systemd-udevd[1398]: Could not generate persistent MAC address for ip6tnl0: No such file or directory
[    8.877014][ T1400] mvpp2 f10f0000.ethernet: using 3 shared buffers
[    8.940217][ T1400] mvpp2 f10f0000.ethernet eth0: Using hardware mac address 00:00:00:00:00:04
[    9.734341][ T1414] systemd-udevd[1414]: Using default interface naming scheme 'v240'.
[    9.743163][ T1414] systemd-udevd[1414]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
done.
[ ok ] Setting hostname to 'debian'...done.
[....] Activating swap:swapon: /dev/sda1: found[   12.157915][ T1577] Adding 262132k swap on /dev/sda1.  Priority:-2 extents:1 across:262132k 
 signature [pagesize=4096, signature=swap]
swapon: /dev/sda1: pagesize=4096, swapsize=268427264, devsize=2147483648
swapon /dev/sda1
. ok 
[   12.406701][ T1599] EXT4-fs (sda2): re-mounted ec41563b-6edc-4a57-9efa-7c3f7ccbd2bd r/w. Quota mode: none.
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[....] Will now activate swapfile swap:swapon: /dev/sda1: already active -- ignored
done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Starting Setting kernel variables: sysctl.
[....] Initializing random number generator...[   15.705789][    C0] random: crng init done
done.
[....] Configuring network interfaces...[   17.380419][ T2125] mvpp2 f10f0000.ethernet eth0: PHY [f10c0054.mdio-mii:00] driver [Generic PHY] (irq=POLL)
[   17.395175][ T2125] mvpp2 f10f0000.ethernet eth0: configuring for phy/rgmii-id link mode
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[....] Starting NFS common utilities: statd idmapd[   21.526681][  T135] mvpp2 f10f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
. ok 
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2333 (syslogd)
. ok 
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2360 (klogd)
. ok 
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NetBIOS name server: nmbd.
[....] Starting Apache httpd web server: apache2AH00557: apache2: apr_sockaddr_info_get() failed for debian
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[ .k 
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting MariaDB database server: mysqld ..
[ ok ] Starting NTP server: ntpd.
[warn] Not starting S.M.A.R.T. daemon smartd, disabled via /etc/default/smartmontools ... (warning).
[ ok ] Starting SMB/CIFS daemon: smbd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting FTP server: vsftpd.
[....] Running local boot scripts (/etc/rc.local)[   47.613231][ T2985] Setting Persistent MAC address to 00:00:11:22:33:44
<13>Mar 29 14:07:43 root[3000]: Setting Persistent MAC address to 00:00:11:22:33:44
[   47.787455][   T11] mvpp2 f10f0000.ethernet eth0: Link is Down
[   47.959438][ T3030] mvpp2 f10f0000.ethernet eth0: PHY [f10c0054.mdio-mii:00] driver [Generic PHY] (irq=POLL)
[   47.971384][ T3030] mvpp2 f10f0000.ethernet eth0: configuring for phy/rgmii-id link mode
. ok 

Debian GNU/Linux 10 debian ttyS0

debian login: [   51.126531][   T11] mvpp2 f10f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off

> This WD MyCloud Gen2 box did not detect the chip type:

I don't know, maybe i misconfigured something in DTS
Re: WD MyCloud Gen2 (Glacier, Armada 375)
March 29, 2025 06:23PM
osa,

This box certainly different from the Synology DS215j regading Ethernet. The kernel driver did not identify the chip as 88E151x.

> Board configuration detected:
> 	GE-PHY-0 on MAC0

> Net:   egiga0 [PRIME]

[   47.959438][ T3030] mvpp2 f10f0000.ethernet eth0: PHY [f10c0054.mdio-mii:00] driver [Generic PHY] (irq=POLL)
[   47.971384][ T3030] mvpp2 f10f0000.ethernet eth0: configuring for phy/rgmii-id link mode

I think that's why it works without problem. It's simpler.

Thanks!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
osa
Re: WD MyCloud Gen2 (Glacier, Armada 375)
March 30, 2025 03:04PM
Hi
Here's bootlog from latest OFW.
Maybe theres some useful information

 BootROM - 1.51
Booting from SPI flash


General initialization - Version: 1.0.0
High speed PHY - Version: 0.1.1 (COM-PHY-V20) 
USB2 UTMI PHY initialized succesfully
USB2 UTMI PHY initialized succesfully
High speed PHY - Ended Successfully

DDR3 Training Sequence - Ver 5.7.1
DDR3 Training Sequence - Run with PBS.
DDR3 Training Sequence - Ended Successfully 
BootROM: Image checksum verification PASSED

 ** LOADER **


U-Boot 2013.01_v1.03 (Nov 20 2014 - 16:39:45) Marvell version: 2014_T2.0p3

Board: WD_Glacier_DB-88F6720-V2
SoC:   MV88F6720 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 800 [MHz]
       L2     @ 400 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 534 [MHz]
       DDR 16Bit Width, FastPath Memory Access, DLB Enabled
DRAM:  512 MiB

Map:   Code:		0x1fed6000:0x1ff92c90
       BSS:		0x1ffefa20
       Stack:		0x1f9c5f20
       Heap:		0x1f9c6000:0x1fed6000

SF: Detected MX25L8006E with page size 64 KiB, total 1 MiB
*** Warning - bad CRC, using default environment

PCI-e 0: Detected No Link.
PCI-e 1: Detected No Link.
SF: Detected MX25L8006E with page size 64 KiB, total 1 MiB
MAC addr: 00:90:A9:EB:5A:DA
### Loading Firmware from USB 3.0 Disk ###
USB2.0 0: Host Mode
USB2.0 1: Device Mode
USB3.0 0: Host Mode
Board configuration detected:
	GE-PHY-0 on MAC0
SERDES configuration:
	Lane #0: PCIe0
	Lane #1: PCIe1
	Lane #2: SATA0
	Lane #3: USB3
Net:   egiga0 [PRIME]
*** ERROR: ping address not given
Hit any key to stop autoboot:  0 
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
## Booting image at 00a00000 ...
### Loading Firmware from USB 2.0 Disk ###
(Re)start USB...
USB0:   Port (usbActive) : 1	Interface (usbType = 2) : USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
## Booting image at 00a00000 ...
### Loading Firmware from Disk ###

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found
  Device 0 @ 0 0:
Model: TOSHIBA HDWD105                          Firm: MS1OA8R0 Ser#:            Z9D2NMJKS
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)

3332720 bytes read in 76 ms (41.8 MiB/s)
2265628 bytes read in 51 ms (42.4 MiB/s)
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Kernel
   Created:      2022-10-27   8:42:17 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3332656 Bytes = 3.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   Ramdisk
   Created:      2025-01-07   9:09:20 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2265563 Bytes = 2.2 MiB
   Load Address: 00e00000
   Entry Point:  00e00000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.22 (kman@kmachine) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 SMP Thu Oct 27 08:42:06 UTC 2022
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: WD My Cloud Gen2: Marvell Armada 375
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @dfb4c000 s36492 r8192 d20852 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: root=/dev/ram console=ttyS0,115200
[    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: 505896K/524288K available (7168K kernel code, 416K rwdata, 1652K rodata, 1024K init, 286K bss, 18392K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b68254   ( 417 kB)
[    0.000000]        .bss : 0xc0b68258 - 0xc0bafcac   ( 287 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 8 ways, 256 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56040001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000005] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.000017] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000332] Console: colour dummy device 80x30
[    0.000354] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.000368] pid_max: default: 32768 minimum: 301
[    0.000505] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000515] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001050] CPU: Testing write buffer coherency: ok
[    0.001253] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001523] Setting up static identity map for 0x100000 - 0x100060
[    0.001809] mvebu-soc-id: MVEBU SoC ID=0x6720, Rev=0x3
[    0.002101] Hierarchical SRCU implementation.
[    0.002511] smp: Bringing up secondary CPUs ...
[    0.002841] Booting CPU 1
[    0.003063] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.003161] smp: Brought up 1 node, 2 CPUs
[    0.003173] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.003179] CPU: All CPU(s) started in SVC mode.
[    0.003958] devtmpfs: initialized
[    0.005979] random: get_random_u32 called from bucket_table_alloc+0x100/0x230 with crng_init=0
[    0.006206] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.006391] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006408] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.006556] pinctrl core: initialized pinctrl subsystem
[    0.007027] NET: Registered protocol family 16
[    0.007938] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.008927] random: fast init done
[    0.008997] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.009006] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.024160] SCSI subsystem initialized
[    0.024613] usbcore: registered new interface driver usbfs
[    0.024687] usbcore: registered new interface driver hub
[    0.024754] usbcore: registered new device driver usb
[    0.024857] pps_core: LinuxPPS API ver. 1 registered
[    0.024865] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.024883] PTP clock support registered
[    0.026159] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.052599] VFS: Disk quotas dquot_6.6.0
[    0.052680] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.062564] NET: Registered protocol family 2
[    0.063064] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.063110] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.063177] TCP: Hash tables configured (established 4096 bind 4096)
[    0.063242] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.063266] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.063420] NET: Registered protocol family 1
[    0.063742] RPC: Registered named UNIX socket transport module.
[    0.063754] RPC: Registered udp transport module.
[    0.063760] RPC: Registered tcp transport module.
[    0.063765] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.063917] Trying to unpack rootfs image as initramfs...
[    0.064369] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    0.071637] Freeing initrd memory: 2216K
[    0.072006] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.073423] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.073827] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.074108] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.074427] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.074529] fuse init (API version 7.26)
[    0.078649] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.078665] io scheduler noop registered
[    0.078672] io scheduler deadline registered
[    0.078760] io scheduler cfq registered (default)
[    0.078769] io scheduler mq-deadline registered
[    0.078775] io scheduler kyber registered
[    0.079806] armada-375-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.081889] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    0.081910] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.081920] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.081931] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.081953] PCI: bus0: Fast back to back transfers enabled
[    0.082356] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.136904] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.137154] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.196855] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.200629] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.202045] console [ttyS0] disabled
[    0.222203] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    0.900614] console [ttyS0] enabled
[    0.905667] brd: module loaded
[    0.935325] loop: module loaded
[    0.939549] sata_mv f10a0000.sata: slots 32 ports 2
[    0.945511] scsi host0: sata_mv
[    0.949080] scsi host1: sata_mv
[    0.952425] ata1: SATA max UDMA/133 irq 41
[    0.956692] ata2: SATA max UDMA/133 irq 41
[    0.962137] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    0.967109] 1 ofpart partitions found on MTD device spi0.0
[    0.972623] Creating 1 MTD partitions on "spi0.0":
[    0.977456] 0x000000000000-0x000000100000 : "u-boot"
[    0.983728] libphy: Fixed MDIO Bus: probed
[    0.988482] libphy: orion_mdio_bus: probed
[    0.997834] mvpp2 f10f0000.ethernet egiga0: Using hardware mac address 00:00:00:00:00:04
[    1.006207] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.012770] ehci-pci: EHCI PCI platform driver
[    1.017307] ehci-orion: EHCI orion driver
[    1.021517] orion-ehci f1054000.usb: EHCI Host Controller
[    1.026977] orion-ehci f1054000.usb: new USB bus registered, assigned bus number 1
[    1.035460] orion-ehci f1054000.usb: irq 37, io mem 0xf1054000
[    1.066195] orion-ehci f1054000.usb: USB 2.0 started, EHCI 1.00
[    1.072797] hub 1-0:1.0: USB hub found
[    1.076745] hub 1-0:1.0: 1 port detected
[    1.081487] xhci-hcd f1058000.usb3: xHCI Host Controller
[    1.086875] xhci-hcd f1058000.usb3: new USB bus registered, assigned bus number 2
[    1.094503] xhci-hcd f1058000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.103120] xhci-hcd f1058000.usb3: irq 38, io mem 0xf1058000
[    1.109559] hub 2-0:1.0: USB hub found
[    1.113374] hub 2-0:1.0: 1 port detected
[    1.117706] xhci-hcd f1058000.usb3: xHCI Host Controller
[    1.123059] xhci-hcd f1058000.usb3: new USB bus registered, assigned bus number 3
[    1.130863] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.139599] hub 3-0:1.0: USB hub found
[    1.143408] hub 3-0:1.0: 1 port detected
[    1.147995] usbcore: registered new interface driver usb-storage
[    1.154345] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    1.161453] i2c /dev entries driver
[    1.235408] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    1.248388] orion_wdt: Initial timeout 171 sec
[    1.253133] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    1.261925] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    1.270661] sdhci: Secure Digital Host Controller Interface driver
[    1.276900] sdhci: Copyright(c) Pierre Ossman
[    1.281470] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.288513] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.296291] NET: Registered protocol family 17
[    1.300810] Bridge firewalling registered
[    1.304840] 8021q: 802.1Q VLAN Support v1.8
[    1.309114] Key type dns_resolver registered
[    1.313456] Registering SWP/SWPB emulation handler
[    1.318860] registered taskstats version 1
[    1.324615] rtc-mv f1010300.rtc: setting system clock to 2025-03-30 19:56:52 UTC (1743364612)
[    1.456201] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    1.467029] ata1.00: ATA-8: TOSHIBA HDWD105, MS1OA8R0, max UDMA/133
[    1.473330] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    1.486777] ata1.00: configured for UDMA/133
[    1.491408] scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA HDWD105  A8R0 PQ: 0 ANSI: 5
[    1.500348] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    1.500363] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.513236] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.518567] sd 0:0:0:0: [sda] Write Protect is off
[    1.523498] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.589584]  sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7
[    1.596308] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.837608] ata2: SATA link down (SStatus 0 SControl F300)
[    1.843202] md: Waiting for all devices to be available before autodetect
[    1.850045] md: If you don't use raid, use raid=noautodetect
[    1.856293] md: Autodetecting RAID arrays.
[    1.860412] md: autorun ...
[    1.863217] md: ... autorun DONE.
[    1.866634] RAMDISK: gzip image found at block 0
[    2.453729] EXT4-fs (ram0): couldn't mount as ext3 due to feature incompatibilities
[    2.462230] EXT4-fs (ram0): mounted filesystem without journal. Opts: (null)
[    2.469374] VFS: Mounted root (ext4 filesystem) readonly on device 1:0.
[    2.476395] devtmpfs: mounted
[    2.480401] Freeing unused kernel memory: 1024K
starting pid 755, tty '': '/etc/rc.sh'
[    2.506439] EXT4-fs (ram0): re-mounted. Opts: (null)
** Mounting /etc/fstab
umount: can't unmount /proc: Invalid argument
umount: can't unmount /usr/local/modules: Invalid argument
[    4.707049] EXT4-fs (sda3): couldn't mount as ext3 due to feature incompatibilities
[    4.826431] EXT4-fs (sda3): recovery complete
[    4.856224] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[    4.877131] EXT4-fs (sda7): couldn't mount as ext3 due to feature incompatibilities
[    4.946391] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null)
umount: can't unmount /usr/local/tmp/image.cfs: No such file or directory
rm: can't remove '/usr/local/tmp/image.cfs': No such file or directory
umount: can't unmount /usr/local/tmp: Invalid argument
cp: can't stat '/usr/local/modules/wd/usr/sbin/memory_rw': No such file or directory
ldconfig: /lib/libpcre.so.3 is not a symbolic link

dev.raid.speed_limit_min = 20000
dev.raid.speed_limit_max = 20000
[   16.061488] jnl: loading out-of-tree module taints kernel.
[   16.068046] jnl: driver (UFSD_HEAD lke_9.7.0_b26) loaded at bf031000
[   16.208864] ufsd: module license 'Commercial product' taints kernel.
[   16.215255] Disabling lock debugging due to kernel taint
[   16.226972] ufsd: driver (UFSD_HEAD lke_9.7.0_b26, acl, sd2(5), tr, car) loaded at bf041000
[   16.226972] NTFSJ support included
[   16.226972] Hfs+J support included
[   16.226972] Build_for__WD_Glacier_k4.14.22_2020-03-31_lke_9.7.0_b26
[   16.248492] ufsd: PAGE_SIZE=4K, THREAD_SIZE=8k
[   16.252960] ufsd: Kernel .config hash: original 0xf5979615, current can't check.
[   16.260401] ufsd: Kernel .config hash: original 0xf5979615, current can't check
[   16.297794] tun: Universal TUN/TAP device driver, 1.6
lrwxrwxrwx    1 root     0               17 Mar 30 19:57 /usr/sbin//raid_config -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 Mar 30 19:57 /usr/sbin//raid_expand -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 Mar 30 19:57 /usr/sbin//raid_expand_disks -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 Mar 30 19:57 /usr/sbin//raid_update_info -> /usr/sbin/diskmgr
hardware init
Set 802.3az
mtd check v1.06.06032015
config type is ext4
device = /usr/local/config
Total size     = 1015448 Kbytes
Used size     = 1608 Kbytes
Free size     = 1013840 Kbytes
percentage = 0
/usr/local/config free size is 1038172160
** copy config files
current fw ver1 = 5.30.103
current fw ver2 = 5.30.103.0107.2025
** set loopback interface
Stop rsyslog daemon:
Starting rsyslog daemon:
[   22.776683] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
mac1 = 00:90:A9:EB:5A:DA
lan0:ifconfig egiga0 hw ether 00:90:A9:EB:5A:DA
set lan0 speed
Model ID : Glacier
ln: /usr/local/model/web/pages/images/./icon: File exists
rm: can't remove '/etc/smtp.conf.*': No such file or directory
[   23.936642] mvpp2 f10f0000.ethernet egiga0: Link is Up - 1Gbps/Full - flow control rx/tx
*** execute rc.init.sh
awk: /var/run/udhcpc0.pid: No such file or directory
udhcpc: started, v1.30.1

Re: WD MyCloud Gen2 (Glacier, Armada 375)
March 30, 2025 03:49PM
Interesting!

[    0.000000] Linux version 4.14.22 (kman@kmachine) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 SMP Thu Oct 27 08:42:06 UTC 2022
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: WD My Cloud Gen2: Marvell Armada 375

Meaning this system booted with a device tree blob. I'm wondering if we can get that DTB to see if it is close to our version here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
osa
Re: WD MyCloud Gen2 (Glacier, Armada 375)
March 30, 2025 04:40PM
I could not find GPL sourcecode for v5 firmare, but older versions are here (https://community.wd.com/t/wd-my-cloud-v3-x-v4-x-and-v2-x-firmware-versions-download-links/148533)

I attached kernel from latest WD firmware, maybe you can extract DTB
https://1drv.ms/u/c/3db6dd30f94c5b17/EZF674mKxdBJspMflZRSc58BuPMkCSovFsMePFis_sra6Q?e=dK3Dtn
Re: WD MyCloud Gen2 (Glacier, Armada 375)
March 30, 2025 08:27PM
Thanks osa.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: WD MyCloud Gen2 (Glacier, Armada 375)
March 31, 2025 03:31PM
@osa @bodhi .please take a look on my port for OpenWrt https://github.com/openwrt/openwrt/pull/17125.
dts was tested against kernel 6.6.63 with mvpp2 network driver.
I no longer have this device thou
Re: WD MyCloud Gen2 (Glacier, Armada 375)
March 31, 2025 09:52PM
nicefile,

Thanks! I'll take look.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
osa
Re: WD MyCloud Gen2 (Glacier, Armada 375)
April 01, 2025 01:48PM
Hi Bodhi
Please take a look at https://fox-exe.ru/WDMyCloud/WDMyCloud-Gen2/Photo/Top.jpg

This board do not have separate network chip(also on back side), it uses "integrated GbE PHY" which is detected as "generic".
Also, as it works, it shouldn't worry us too much if it has (or not) some magic Marvell ID as long as there's no known issues/other revisions of cpu that needs patching.
Re: WD MyCloud Gen2 (Glacier, Armada 375)
April 01, 2025 02:01PM
osa,

> This board do not have separate network chip(also
> on back side), it uses "integrated GbE PHY" which
> is detected as "generic".

OK so that why there was no chip ID.

> Also, as it works, it shouldn't worry us too much
> if it has (or not) some magic Marvell ID as long
> as there's no known issues/other revisions of cpu
> that needs patching.

Agree.

I was only searching for clue why the DS215j network is not working (same Armada 375 SoC).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: WD MyCloud Gen2 (Glacier, Armada 375)
April 07, 2025 02:16AM
osa et al,

I'm starting to look into building new u-boot for this box. Given the limitation of not being able to save envs in stock u-boot, I think a new simple u-boot would be much preferrable.

I don't recall that I've asked for these info. Please point me to the posts, or provide the following info:

- Serial stock boot log (until the login prompt)

- U-boot info.

At the u-boot prompt in serial console,

printenv
help
md.l f1018000 8
md.l f1018100 1
md.l f1018140 1

I might need more info later.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
I wonder if someone can help me. I'm about to go on an extended vacation and wanted a little nas with plex running with me, so I thought of bringing this thing with me. I have had the wdmcg2 which I haven't touched since 2016. It's been running Debian jessie with Fox' 3.10 kernel, just a little samba server basically.
I thought I might as well upgrade it to Trixie, and the original kernel worked fine up until Buster or something. After that I couldn't log in via SSH, so I put on John's 4.12.0 kernel and the it started working again and I managed to upgrade to Debian.

Now, I saw that when upgrading the kernel using using Gparted from a live distro on my pc that sda2 and sd3 had switched places. So that the physical second partiton with the rootfs is actually sda3 and the third partiton is sda2 (while sda1 is linux-swap). That bugged me, so after moving things around with gparted I got rootfs=sda3 into the actual third partiton and the sda2 to the second partition. Now it won't boot from either the second or third partiton?
So i cloned the rootfs partition to a new drive and now it works, so probably there might be a fault with the original drive or something else (there were som IO errors when I moved things around with Gparted so I might have to redo it from scratch, just have to backup about 2.5TB data first).

The orignal uboot is hardcoded to boot from sda3 (presumably an ext4 partition), it doesn't matter if sda3 is the physical second or third partition. (Before this I actually assumed sdaX would always refer to the physical location of the partition)
Re: WD MyCloud Gen2 (Glacier, Armada 375)
May 25, 2025 02:33PM
Man,

> So i cloned the rootfs partition to a new drive
> and now it works, so probably there might be a
> fault with the original drive or something else
> (there were som IO errors when I moved things
> around with Gparted so I might have to redo it
> from scratch, just have to backup about 2.5TB data
> first).
>

You did not post the boot log so it's not clear what your problem was!

> The orignal uboot is hardcoded to boot from sda3
> (presumably an ext4 partition), it doesn't matter
> if sda3 is the physical second or third partition.
> (Before this I actually assumed sdaX would always
> refer to the physical location of the partition)

The sdx is logical, not physical. The number 1,2,3... are the physical partition numbers on a disk. The logical sda, sdb, sdc... are assigned by the kernel when it's spinning up the disks. The sdxn should not be used because it could change when you plug in a new drive, or removing a drive.

My setup here is using root=LABEL=rootfs convention. So that it does not matter how many disks or partitions attached or removed, the kernel always find the rootfs and mount it successfuly.

If you want me to take a look then post the entire serial console boot log here.

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

Thanks for answering. I have not soldered a serial connector to it. I have not messed with any uboot envs. (I thought any envs weren't persistent anyways?) It's now running pretty much bog standard Debian Trixie, standard uboot/envs. I would agreee root=LABEL=rootfs is more idiot proof, but I guess this is good enough for me.

I might be totally wrong: But all my 3 partitions are primary partitons. If I create the first partition sda1, then the the data partition at the end, it get's sda2. If I then create a new primary partiton in the middle it gets sda3. Fdisk will show: "Partition table entries are not in disk order".

I think GPT allows 128 primary partitions and whatever sdx is assigned at creation time sticks no matter what, although you are able to edit it with sfdisk according to this link: https://unix.stackexchange.com/questions/597299/partition-table-entries-is-not-in-disk-order
Re: WD MyCloud Gen2 (Glacier, Armada 375)
May 25, 2025 04:24PM
Man,

> Thanks for answering. I have not soldered a serial
> connector to it. I have not messed with any uboot
> envs. (I thought any envs weren't persistent
> anyways?) It's now running pretty much bog
> standard Debian Trixie, standard uboot/envs. I
> would agreee root=LABEL=rootfs is more idiot
> proof, but I guess this is good enough for me.

OK.

> I might be totally wrong: But all my 3 partitions
> are primary partitons. If I create the first
> partition sda1, then the the data partition at
> the end, it get's sda2. If I then create a new
> primary partiton in the middle it gets sda3. Fdisk
> will show: "Partition table entries are not in
> disk order".
>

Yes. That's true. That's what I meant by "physical", it's what you manually created, and they cannot be changed. While the sdx is what the kernel assigns to the drives that spinning up in certain order, and that includes SATA and USB drives.

While SATA disks are usually coming up first (therefore assigned as sda), but there is no guarantee. This stock u-boot force you boot with initrd, but usually the initrd is too big, so it does not work. And then the root=LABEL=rootfs convention does not work without initrd.

=====

You can also boot with PARTUUID of the rootfs partition, that will guarantee the rootfs will be found by the kernel, and it does not matter which drive letter it was assigned to. This is a good way to boot without initrd.

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

I meant sdaX not sdX. I believe the X part in sdaX is persistent. (which I didn't actually know before now). Anyways, that's a bit off topic (but might be helpful to others for any reason, as I believe sda2/sda3 will be in a non physical order if you just blindly follow Fox's guide which I think I did the first time)
Anyways, if you are able to make a new uboot that defaults to booting from sda1 instead of sda3, I'd be totally on board with that, as that would be more intuitive. I don't think there's any reason to assign a dedicated swap partition when you can just use a swap file.
Re: WD MyCloud Gen2 (Glacier, Armada 375)
May 25, 2025 08:45PM
Man,

I was looking into rolling new u-boot for this and the Synology 215j. However, this Armada 375 SoC only has minimal support in mainline u-boot and Linux. It will be quite time consuming to write a lot of new code, also there is no publicly available datasheet for this SoC, so I am hesitate to start the effort.

The Armada 385/388 based NAS are much easier to deal with since I've rolled 2 new u-boots for these series (Thecus N2350 and Synology DS116).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Just want to chime to and report that kernel 6.12.30 works.
In my quest to update the kernel I first tried various kernels from Bodhi, 6.12 and 6.14 at least. They didn't work.

I tried to build my own 6.12 kernel that didn't work. I then built 6.6 and that worked, so I had a starting point to make my own kernel. (If it wasn't for that I wanted USB soundcard support, I would probably just keep using the old 4.12 kernel that seemed to work fine).-

After a few tries I came to the conclusion that the max size of the uImage can't go above about 3510-3515ish kb. (I haven't yet got serial access so I can't see what excatly is the problem, and I don't have any deeper knowledge or understanding of this soc, so this is just meant as face value)

So the most important thing is to use kernel xz compression and -Os.

When I finally had 6.6 working, I then used the same config on 6.12.
Without going through all the new config options to try to optimize the kernel, the resulting uImage was about 85kbs larger than the 6.6 uImage which means if wont work.

Luckily 6.12 has a "remove dead code" option that resulted in the uImage being over 188kbs smaller and resulted in a about 103kbs smaller uImage than the 6.6 uImage.

But I have to say, this is one underpowered soc. A pentium-m 1.0 ghz compiles code about 20% faster than a 2 core armada 375 @800mhz. Transcoding with ffmpeg compared to a pentium-m 1ghz gives is exactly 20% faster too.

Even just downloading files with Transmission results in the load being between 120-200% and both cores alternating between 99.9%, so even streaming a non transcoded movie from Plex (espescially high bitrate 4K) while downloading files is problematic. This is literally the most basic task for a cute little NAS and it can't even do that. My Readynas Ultra 4 using a 1.66 1-core Atom D410 is running circles around this, and that one was pretty underpowered when it was released in 2010.

Samba performance isn't the best either. I didn't benchmark by cable, but my AC wifi peaks at around 70MB/s which my readynas Ultra 4 hits. The Mycloud Gen 2 did hit almost 50MB/s with one file but frequently is around 25 to 30MB/s, and this is using a SSD too. But cpu usage with Samba stays relatively low so the problem might lie elsewhere. (And I seem to remember people hitting close to 100MB/s with stock firmware).

At least the Mycloud Mirror Gen2 is 1.33Ghz so should see a little increase in performance for even basic tasks.
Re: WD MyCloud Gen2 (Glacier, Armada 375)
May 29, 2025 02:05PM
Man.

> After a few tries I came to the conclusion that
> the max size of the uImage can't go above about
> 3510-3515ish kb. (I haven't yet got serial access
> so I can't see what excatly is the problem, and I
> don't have any deeper knowledge or understanding
> of this soc, so this is just meant as face value)

Original stock u-boot for this box limits the uImage and uInitrd size to 5MB each. That's what I've seen here in this thread. And you cannot change boot command envs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Man
Re: WD MyCloud Gen2 (Glacier, Armada 375)
May 29, 2025 03:03PM
bodhi Wrote:
-------------------------------------------------------
> Man.
>
> > After a few tries I came to the conclusion that
> > the max size of the uImage can't go above about
> > 3510-3515ish kb. (I haven't yet got serial
> access
> > so I can't see what excatly is the problem, and
> I
> > don't have any deeper knowledge or
> understanding
> > of this soc, so this is just meant as face
> value)
>
> Original stock u-boot for this box limits the
> uImage and uInitrd size to 5MB each. That's what
> I've seen here in this thread. And you cannot
> change boot command envs.

Just registered an account, since I seem to be coming back :-)

It might be that for the initrd the max size is around 5MB, and that exact thing is mentioned a few times in this thread or other places of the forum. Maybe it's true for the kernel too, and also in the openwrt commit for the wdmcgen2 by @nicefile in this thread, the kernel is limited to 5120k, but in my particular experience the kernel is limited to 3510kbs-ish. My resulting kernel with xz compression, -Os and remove dead code, results in a kernel smaller than 3400kbs. The moment it hits 3515-ish kbs, it won't complete the boot. If nothing else, that information might help other people.

Btw I just use a generic initrd, as it seems you don't even need an initrd? What do people use the initrd for? As long as the ext4 module is built-in, everything should work, no? The uboot will automatically boot a usb 2.0 stick if you partition it with MBR, 1 primary partition with fat32, and put uImage/uRamdisk in /boot, so it's easy to unbrick with the minimal alpine linux files that's floating around.



Edited 2 time(s). Last edit at 05/29/2025 03:05PM by Man.
Re: WD MyCloud Gen2 (Glacier, Armada 375)
May 29, 2025 03:35PM
> Btw I just use a generic initrd, as it seems you
> don't even need an initrd? What do people use the
> initrd for? As long as the ext4 module is
> built-in, everything should work, no?

It's true, as long as the kernel config includes all necessary drivers (eg. linux-6.14.6-mvebu-tld-1), you don't need it. However, you need Initrd if:
- you want to load some modules early.
- To boot with root device using partition label (eg. root=LABEL=rootfs).

I like the root label approach because it provides so many benefit and easier to recover from a corrupted HDD rootfs.

Many years ago, Arch Linux ARM used to have only uImage or zImage in the rootfs. But since people had so many problems booting whenever they have extra storage devices during boot, they started providing Initrd.

If your generic uInitrd is small enough then it will be used in booting. Check your dmesg.

@osa uses my kernel build, and kernel boots fine. Except that uInitrd is bigger than 5MB so it is rejected by the kernel (as being corrupted), no harm done.

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



Edited 1 time(s). Last edit at 05/29/2025 04:48PM by bodhi.
Man
Re: WD MyCloud Gen2 (Glacier, Armada 375)
May 29, 2025 05:32PM
Gotcha!

I figure since uboot on this device is hardcoded to boot uImage/uRamdisk from /dev/sda3 and will keep booting rootfs from the same partition unless told otherwise, it kinda renders root=LABEL=rootfs moot for this particular device unless you really like to hurt yourself and put rootfs on another partiton:) As long as you make sure to include ext4 in the built-in modules, of course.

Makes sense for the Mirror Gen 2 though.
Man
Re: WD MyCloud Gen2 (Glacier, Armada 375)
June 02, 2025 10:18AM
Man Wrote:

> Samba performance isn't the best either. I didn't
> benchmark by cable, but my AC wifi peaks at
> around 70MB/s which my readynas Ultra 4 hits. The
> Mycloud Gen 2 did hit almost 50MB/s with one file
> but frequently is around 25 to 30MB/s, and this is
> using a SSD too. But cpu usage with Samba stays
> relatively low so the problem might lie elsewhere.
> (And I seem to remember people hitting close to
> 100MB/s with stock firmware).

I installed ksmb instead of smb/samba, and it's MUCH faster, saturating my AC wifi at 70MB (and possibly close to Gb on ethernet, which I can't test atm since I'm about to leave for vacay). Maybe you should start including this module in your kernels Bodhi? A lot of devices will see a great speed increase.

It was super easy to set up too. Basically "sudo apt install ksmb-tools", which will install ksmdb.service and automaticall remove samba. Then i copied /etc/samba/smb.conf to /etc/ksmbd/ksmbd.conf , then restarted ksmbd.service. The only thing (in the context of what 99% use samba for) is that it currently doesn't support symlinks.
Re: WD MyCloud Gen2 (Glacier, Armada 375)
June 02, 2025 02:45PM
Man,

> I installed ksmb instead of smb/samba, and it's
> MUCH faster, saturating my AC wifi at 70MB (and
> possibly close to Gb on ethernet, which I can't
> test atm since I'm about to leave for vacay).
> Maybe you should start including this module in
> your kernels Bodhi? A lot of devices will see a
> great speed increase.

Sounds good! I'll take a look later.

I've been collecting good suggestions to add to the Notes section of the rootfs release. So far I got some from Mijzelf, sudos, and Ivanj. But have not got around to modify the rootfs installation post.

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