Welcome! Log In Create A New Profile

Advanced

How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition

Posted by i5Js 
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 29, 2023 02:33PM
Cristian,

> But when I issue the
> mkimage -A arm -O linux -T ramdisk -C gzip -a
> 0x00000000 -e 0x00000000 -n
> initramfs-6.2.8-mvebu-tld-1 -d
> initrd.img-6.2.8-mvebu-tld-1 uInitrd
> command I'm gettin a messega that he doesn't find
> "initrd.img-6.2.8-mvebu-tld-1".

You need to install it the proper way. Meaning going through the kernel installation steps. Especially Step 3, the dpkg command will create the initrd.img-6.2.8-mvebu-tld-1 file.


Quote

Updated 26 Mar 2023:

Kernel 6.2.8-mvebu-tld-1 package has been uploaded.

New/Updated in this release:

- General kernel upgrade.
- Added LCD display capabilty for Netgear RN104 (thanks Trond for testing).
- Added USBIP
- Added 2nd SATA port for Synology RS816 (thanks emvivre for testing).
- Added SPI lock to mx25l3205d
- Moved FAT file ssytem to loadable module.
- Removed Marvell BERLIN SoC.
- Disabled FTRACE (stack trace is still enable).

Latest Linux kernel 6.x general release information can be found at:
LinuxChanges log

Download at Dropbox

linux-6.2.8-mvebu-tld-1-bodhi.tar.bz2

md5:
8b11cb40c5c362d24a5981fd7020e348
sha256:
91e9c50a6c5173c3c086c3db48e6dec7e39b2333a8f297910afd768437363329

As always, please check the hash of your download!

There are 6 files in this tarball:

Quote

linux-image-6.2.8-mvebu-tld-1_1.0_armhf.deb
linux-headers-6.2.8-mvebu-tld-1_1.0_armhf.deb
zImage-6.2.8-mvebu-tld-1
config-6.2.8-mvebu-tld-1
linux-dtb-6.2.8-mvebu-tld-1.tar
linux-6.2.8-mvebu-tld-1.patch

Installation

NOTE: the following steps are for a general kernel upgrade. For initial installation, please see "Installation Instruction for specific boxes" in the thread description at the top of this release thread.

1. Backup your current zImage, uImage, and uInitrd. In the /boot directory, these are files for your current kernel (xx.xx.xx is the version number):
uInitrd
uImage
zImage-xx.xx.xx-mvebu-xxx
initrd.img-xx.xx.xx-mvebu-xxx
System.map-xx.xx.xx-mvebu-xxx
vmlinuz-xx.xx.xx-mvebu-xxx
config-xx.xx.xx-mvebu-xxx
dts/

2. Extract the kernel and the DTB files in the archive:

cd /boot
tar -xjf linux-6.2.8-mvebu-tld-1-bodhi.tar.bz2
tar -xf linux-dtb-6.2.8-mvebu-tld-1.tar

3. And install it with dpkg. Remove flash-kernel first to avoid potential problem (if flash-kernel was not installed then you'll see some error output):

cd /boot
apt-get remove flash-kernel
dpkg -i linux-image-6.2.8-mvebu-tld-1_1.0_armhf.deb

4. Create uImage and uInitrd (kernel file initrd.img-6.2.8-mvebu-tld-1 was generated by dpkg in step 3). I am using the Zyxel NAS326 as an example here. Please replace armada-380-zyxel-nas326.dtb below with the appropriate DTB name for your box.

cd /boot
cp -a zImage-6.2.8-mvebu-tld-1 zImage.fdt
cat dts/armada-380-zyxel-nas326.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.2.8-mvebu-tld-1 -d zImage.fdt uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.2.8-mvebu-tld-1 -d initrd.img-6.2.8-mvebu-tld-1 uInitrd

5. The new uImage and uInitrd files should be created in /boot directory now. You're ready to reboot the system:
sync
sync
sync
shutdown -r now

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 29, 2023 04:08PM
Dear Bodhi,
I've managed to finish all the steps.

But what do I do now with the uImage and uInitrd?

After finishing, I still have the old kernel.

Thanks!
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 29, 2023 05:05PM
Chris,

Can you post the log of what you did? copy/paste everything on your terminal after you installed the kernel.

And also post the output of this command
ls -lart /boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 29, 2023 10:56PM
I’m sorry but for I already restarted my system. So it’s not available anymore

root@debian:~# ls -lart /boot
total 153120
-rwxr-xr-x  1 root root  5218232 Aug  7  2021 vmlinuz-5.13.8-mvebu-tld-1
-rw-r--r--  1 root root   205052 Aug  7  2021 config-5.13.8-mvebu-tld-1
-rw-r--r--  1 root root  4461631 Aug  7  2021 System.map-5.13.8-mvebu-tld-1
-rwxr-xr-x  1 root root  5218232 Aug  7  2021 zImage-5.13.8-mvebu-tld-1
-rw-r--r--  1 root root  7785524 Aug  7  2021 linux-headers-5.13.8-mvebu-tld-1_1.0_armhf.deb
drwxr-xr-x  2 root root     4096 Feb 24 13:58 dts
-rwxr-xr-x  1 root root  4941352 Mar 24 13:14 vmlinuz-6.2.8-mvebu-tld-1
-rw-r--r--  1 root root   217419 Mar 24 13:14 config-6.2.8-mvebu-tld-1
-rw-r--r--  1 root root  3229965 Mar 24 13:14 System.map-6.2.8-mvebu-tld-1
-rwxr-xr-x  1 root root  4941352 Mar 24 16:27 zImage-6.2.8-mvebu-tld-1
-rw-r--r--  1 root root  8388356 Mar 24 16:45 linux-headers-6.2.8-mvebu-tld-1_1.0_armhf.deb
-rw-r--r--  1 root root 23399508 Mar 24 16:46 linux-image-6.2.8-mvebu-tld-1_1.0_armhf.deb
-rw-r--r--  1 root root  1218560 Mar 24 22:24 linux-dtb-6.2.8-mvebu-tld-1.tar
-rw-r--r--  1 root root    98439 Mar 25 22:21 linux-6.2.8-mvebu-tld-1.patch
drwxrwxrwx 21 root root     4096 May 29 12:20 ..
-rw-r--r--  1 root root  9652223 May 29 13:27 initrd.img-5.13.8-mvebu-tld-1
-rw-r--r--  1 root root  9652287 May 29 13:28 5.13.8-mvebu-tld-1
-rw-r--r--  1 root root 37044194 May 29 13:32 linux-6.2.8-mvebu-tld-1-bodhi.tar.bz2
-rwxr-xr-x  1 root root  4960940 May 29 13:34 zImage.fdt
-rw-r--r--  1 root root  4961004 May 29 13:34 uImage
-rw-r--r--  1 root root 10165849 May 29 13:34 uInitrd
-rw-r--r--  1 root root 10982240 May 29 13:46 initrd.img-6.2.8-mvebu-tld-1
drwxr-xr-x  3 root root     4096 May 29 13:46 .
root@debian:~#



Edited 1 time(s). Last edit at 05/29/2023 11:31PM by Chris.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 30, 2023 12:30AM
Chris,

> I’m sorry but for I already restarted my system.
> So it’s not available anymore

That's OK. It looks good. So I don't understand why you are saying you still run the old kernel. Please post output of

dmesg

if you have serial console connected then post the serial console log (even better).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 30, 2023 01:18AM
Serial not at the moment, I'm not Home.

Hereby :)

root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.11.5-mvebu-tld-1 (root@osaserver) (arm-linux-gnueabihf-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 SMP PREEMPT Tue Mar 9 14:42:57 MSK 2021
[    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 MyCloud Ex2 Ultra
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000] On node 0 totalpages: 262144
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 20 pages/cpu s53004 r8192 d20724 u81920
[    0.000000] pcpu-alloc: s53004 r8192 d20724 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: root=/dev/ram console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 1017520K/1048576K available (10240K kernel code, 1421K rwdata, 2904K rodata, 1024K init, 313K bss, 31056K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] random: get_random_u32 called from ____cache_alloc+0x404/0x788 with crng_init=0
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
[    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, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000002] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.000026] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.000049] Switching to timer-based delay loop, resolution 1ns
[    0.000272] Ignoring duplicate/late registration of read_current_timer delay
[    0.000284] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000842] Console: colour dummy device 80x30
[    0.000871] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.000885] pid_max: default: 32768 minimum: 301
[    0.001022] LSM: Security Framework initializing
[    0.001080] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001094] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001690] CPU: Testing write buffer coherency: ok
[    0.001716] CPU0: Spectre v2: using BPIALL workaround
[    0.001853] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002327] Setting up static identity map for 0x100000 - 0x100060
[    0.002433] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.002544] mvebu-pmsu: Initializing Power Management Service Unit
[    0.002659] rcu: Hierarchical SRCU implementation.
[    0.003153] smp: Bringing up secondary CPUs ...
[    0.003558] Booting CPU 1
[    0.003754] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.003764] CPU1: Spectre v2: using BPIALL workaround
[    0.003871] smp: Brought up 1 node, 2 CPUs
[    0.003883] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.003893] CPU: All CPU(s) started in SVC mode.
[    0.004343] devtmpfs: initialized
[    0.007002] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.007337] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007371] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.029694] prandom32: self test passed (less than 6 bits correlated)
[    0.029708] prandom: seed boundary self test passed
[    0.031237] prandom: 100 self tests passed
[    0.031246] pinctrl core: initialized pinctrl subsystem
[    0.032322] NET: Registered protocol family 16
[    0.032988] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.033598] audit: initializing netlink subsys (disabled)
[    0.034101] thermal_sys: Registered thermal governor 'step_wise'
[    0.034225] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
[    0.034581] cpuidle: using governor ladder
[    0.034622] cpuidle: using governor menu
[    0.034718] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.034730] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.034878] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.034890] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.240135] raid6: int32x8  gen()   244 MB/s
[    0.410153] raid6: int32x8  xor()   166 MB/s
[    0.580129] raid6: int32x4  gen()   258 MB/s
[    0.750169] raid6: int32x4  xor()   177 MB/s
[    0.920115] raid6: int32x2  gen()   448 MB/s
[    1.090139] raid6: int32x2  xor()   264 MB/s
[    1.260165] raid6: int32x1  gen()   532 MB/s
[    1.430109] raid6: int32x1  xor()   211 MB/s
[    1.430119] raid6: using algorithm int32x1 gen() 532 MB/s
[    1.430127] raid6: .... xor() 211 MB/s, rmw enabled
[    1.430133] raid6: using intx1 recovery algorithm
[    1.431336] SCSI subsystem initialized
[    1.431603] libata version 3.00 loaded.
[    1.431769] usbcore: registered new interface driver usbfs
[    1.431809] usbcore: registered new interface driver hub
[    1.431842] usbcore: registered new device driver usb
[    1.432206] pps_core: LinuxPPS API ver. 1 registered
[    1.432217] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.432235] PTP clock support registered
[    1.434959] clocksource: Switched to clocksource arm_global_timer
[    1.475234] VFS: Disk quotas dquot_6.6.0
[    1.475310] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.481102] NET: Registered protocol family 2
[    1.481700] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.481738] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.481808] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.481890] TCP: Hash tables configured (established 8192 bind 8192)
[    1.481992] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.482027] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.482176] NET: Registered protocol family 1
[    1.485889] RPC: Registered named UNIX socket transport module.
[    1.485906] RPC: Registered udp transport module.
[    1.485913] RPC: Registered tcp transport module.
[    1.485919] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.485930] PCI: CLS 0 bytes, default 64
[    1.486064] Trying to unpack rootfs image as initramfs...
[    3.608981] Freeing initrd memory: 4720K
[    3.609055] NetWinder Floating Point Emulator V0.97 (double precision)
[    3.609287] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    3.611000] Initialise system trusted keyrings
[    3.611048] Key type blacklist registered
[    3.611787] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    3.611893] zbud: loaded
[    3.612799] NFS: Registering the id_resolver key type
[    3.612823] Key type id_resolver registered
[    3.612831] Key type id_legacy registered
[    3.612854] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.612867] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    3.613049] jffs2: version 2.2. (NAND) (SUMMARY)  \xc2\xa9 2001-2006 Red Hat, Inc.
[    3.613580] orangefs_debugfs_init: called with debug mask: :none: :0:
[    3.613709] orangefs_init: module version upstream loaded
[    3.672611] NET: Registered protocol family 38
[    3.672634] xor: measuring software checksum speed
[    3.677184]    arm4regs        :  2172 MB/sec
[    3.683196]    8regs           :  1637 MB/sec
[    3.688889]    32regs          :  1733 MB/sec
[    3.688897] xor: using function: arm4regs (2172 MB/sec)
[    3.688910] async_tx: api initialized (async)
[    3.688919] Key type asymmetric registered
[    3.688926] Asymmetric key parser 'x509' registered
[    3.689017] bounce: pool size: 64 pages
[    3.689076] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    3.690606] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    3.691447] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    3.691946] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    3.692826] mv_xor f1060800.xor: Marvell shared XOR driver
[    3.745555] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.747061] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.805557] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.864634] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.867585] printk: console [ttyS0] disabled
[    3.888447] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
[    4.888070] printk: console [ttyS0] enabled
[    4.913809] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
[    4.924510] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    4.932960] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    4.941255] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    4.949859] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    4.959675] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    4.970187] scsi host0: ahci-mvebu
[    4.974738] scsi host1: ahci-mvebu
[    4.979062] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
[    4.987744] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
[    4.997737] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    5.004833] nand: Macronix MX30LF2G18AC
[    5.009412] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    5.018187] Bad block table found at page 131008, version 0x01
[    5.025400] Bad block table found at page 130944, version 0x01
[    5.032355] 8 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    5.040088] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    5.046305] 0x000000000000-0x000000500000 : "U-Boot"
[    5.053162] 0x000000500000-0x000000a00000 : "uImage"
[    5.059933] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    5.066849] 0x000000f00000-0x00000c800000 : "image.cfs"
[    5.074167] 0x00000c800000-0x00000d700000 : "rescue fw"
[    5.081199] 0x00000d700000-0x00000eb00000 : "config"
[    5.087985] 0x00000eb00000-0x00000f500000 : "reserve1"
[    5.094893] 0x00000f500000-0x00000ff00000 : "reserve2"
[    5.104208] libphy: Fixed MDIO Bus: probed
[    5.110800] libphy: orion_mdio_bus: probed
[    5.118752] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    5.131584] mvneta f1034000.ethernet eth0: Using random mac address 5e:ac:41:67:f9:11
[    5.140682] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.147987] ehci-pci: EHCI PCI platform driver
[    5.153257] ehci-orion: EHCI orion driver
[    5.158181] orion-ehci f1058000.usb: EHCI Host Controller
[    5.164327] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    5.172741] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    5.214952] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    5.221784] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.11
[    5.230828] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.238814] usb usb1: Product: EHCI Host Controller
[    5.244433] usb usb1: Manufacturer: Linux 5.11.5-mvebu-tld-1 ehci_hcd
[    5.251634] usb usb1: SerialNumber: f1058000.usb
[    5.257489] hub 1-0:1.0: USB hub found
[    5.261988] hub 1-0:1.0: 1 port detected
[    5.268139] usbcore: registered new interface driver usblp
[    5.274477] usbcore: registered new interface driver usb-storage
[    5.281607] mousedev: PS/2 mouse device common for all mice
[    5.289297] armada38x-rtc f10a3800.rtc: registered as rtc0
[    5.295638] armada38x-rtc f10a3800.rtc: setting system clock to 2023-05-30T04:29:28 UTC (1685420968)
[    5.306069] i2c /dev entries driver
[    5.310496] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    5.319384] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    5.330852] orion_wdt: Initial timeout 171 sec
[    5.336510] device-mapper: uevent: version 1.0.3
[    5.342047] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[    5.351454] device-mapper: multipath round-robin: version 1.2.0 loaded
[    5.358736] device-mapper: multipath queue-length: version 0.2.0 loaded
[    5.366096] device-mapper: multipath service-time: version 0.3.0 loaded
[    5.373474] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.380822] device-mapper: raid: Loading target version 1.15.1
[    5.390099] marvell-cesa f1090000.crypto: CESA device successfully registered
[    5.398404] usbcore: registered new interface driver usbhid
[    5.404712] usbhid: USB HID core driver
[    5.409679] drop_monitor: Initializing network drop monitor service
[    5.416929] NET: Registered protocol family 17
[    5.422208] 8021q: 802.1Q VLAN Support v1.8
[    5.427180] Key type dns_resolver registered
[    5.432228] ThumbEE CPU extension supported.
[    5.437238] Registering SWP/SWPB emulation handler
[    5.442989] registered taskstats version 1
[    5.447847] Loading compiled-in X.509 certificates
[    5.453727] zswap: loaded using pool lzo/zbud
[    5.459040] Key type ._fscrypt registered
[    5.463776] Key type .fscrypt registered
[    5.468440] Key type fscrypt-provisioning registered
[    5.477632] Key type encrypted registered
[    5.485301] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    5.491368] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    5.494959] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    5.499704] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    5.506590] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    5.516539] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    5.523533] ata2.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDMA/133
[    5.530156] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.11
[    5.537481] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 32)
[    5.546485] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.553929] ata1.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDMA/133
[    5.561797] usb usb2: Product: xHCI Host Controller
[    5.561803] usb usb2: Manufacturer: Linux 5.11.5-mvebu-tld-1 xhci-hcd
[    5.561808] usb usb2: SerialNumber: f10f0000.usb3
[    5.562185] hub 2-0:1.0: USB hub found
[    5.569461] ata1.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 32)
[    5.575306] hub 2-0:1.0: 1 port detected
[    5.582296] ata2.00: configured for UDMA/133
[    5.587914] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    5.592300] ata1.00: configured for UDMA/133
[    5.599637] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    5.614616] scsi 0:0:0:0: Direct-Access     ATA      WDC WD40EFAX-68J 0A83 PQ: 0 ANSI: 5
[    5.615236] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    5.620934] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[    5.628678] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.637583] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    5.644711] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.11
[    5.653139] scsi 1:0:0:0: Direct-Access     ATA      WDC WD40EFAX-68J 0A83 PQ: 0 ANSI: 5
[    5.661839] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.668107] sd 0:0:0:0: [sda] Write Protect is off
[    5.677125] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[    5.686038] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    5.693749] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    5.699121] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.707553] usb usb3: Product: xHCI Host Controller
[    5.728971] sd 1:0:0:0: [sdb] Write Protect is off
[    5.734495] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    5.734551] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.744577] usb usb3: Manufacturer: Linux 5.11.5-mvebu-tld-1 xhci-hcd
[    5.751926] usb usb3: SerialNumber: f10f0000.usb3
[    5.757802] hub 3-0:1.0: USB hub found
[    5.762301] hub 3-0:1.0: 1 port detected
[    5.767862] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    5.771647]  sda: sda1 sda2 sda3
[    5.773928] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    5.779239] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.786485] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    5.802461] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    5.809206] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.11
[    5.818292] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.826323] usb usb4: Product: xHCI Host Controller
[    5.831987] usb usb4: Manufacturer: Linux 5.11.5-mvebu-tld-1 xhci-hcd
[    5.839313]  sdb: sdb1 sdb2 sdb3
[    5.843383] usb usb4: SerialNumber: f10f8000.usb3
[    5.849362] hub 4-0:1.0: USB hub found
[    5.849944] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    5.853860] hub 4-0:1.0: 1 port detected
[    5.865019] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    5.871073] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    5.879335] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    5.886485] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.895421] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.11
[    5.904435] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.912432] usb usb5: Product: xHCI Host Controller
[    5.918048] usb usb5: Manufacturer: Linux 5.11.5-mvebu-tld-1 xhci-hcd
[    5.925231] usb usb5: SerialNumber: f10f8000.usb3
[    5.931062] hub 5-0:1.0: USB hub found
[    5.935577] hub 5-0:1.0: 1 port detected
[    5.941135] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    5.951672] Freeing unused kernel memory: 1024K
[    5.985619] Checked W+X mappings: passed, no W+X pages found
[    5.992022] Run /init as init process
[    5.996423]   with arguments:
[    5.996430]     /init
[    5.996434]   with environment:
[    5.996438]     HOME=/
[    5.996442]     TERM=linux
[    6.475170] md: md2 stopped.
[    6.481483] md/raid1:md2: active with 2 out of 2 mirrors
[    6.532815] md2: detected capacity change from 0 to 7805773824
[    6.553127] md: md1 stopped.
[    6.559274] md/raid1:md1: active with 2 out of 2 mirrors
[    6.565390] md1: detected capacity change from 0 to 6995968
[    6.603309] md: md0 stopped.
[    6.609445] md/raid1:md0: active with 2 out of 2 mirrors
[    6.615566] md0: detected capacity change from 0 to 996736
[    6.675094] random: fast init done
[    6.688940] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[    6.700205] mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
[   10.885350] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   54.656767] EXT4-fs (md1): recovery complete
[   54.667679] EXT4-fs (md1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   57.608464] random: crng init done
[   58.538675] EXT4-fs (md1): re-mounted. Opts: (null). Quota mode: none.
[   58.761147] EXT4-fs (md1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
root@debian:~#

Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 30, 2023 10:59AM
So here the serial output of dmesg right?

Linux debian 5.11.5-mvebu-tld-1 #1 SMP PREEMPT Tue Mar 9 14:42:57 MSK 2021 armv7l

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon May 29 23:16:16 PDT 2023 from 192.168.1.179 on pts/0
debian
192.168.1.183
WD MyCloud Ex2 Ultra
Linux version 5.11.5-mvebu-tld-1 (root@osaserver) (arm-linux-gnueabihf-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 SMP PREEMPT Tue Mar 9 14:42:57 MSK 2021
Debian 11.7
Tue May 30 08:58:13 PDT 2023 up 11 hours, 29 minutes
root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.11.5-mvebu-tld-1 (root@osaserver) (arm-linux-gnueabihf-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 SMP PREEMPT Tue Mar 9 14:41
[    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 MyCloud Ex2 Ultra
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000] On node 0 totalpages: 262144
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 20 pages/cpu s53004 r8192 d20724 u81920
[    0.000000] pcpu-alloc: s53004 r8192 d20724 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: root=/dev/ram console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 1017520K/1048576K available (10240K kernel code, 1421K rwdata, 2904K rodata, 1024K init, 313K bss, 31056K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] random: get_random_u32 called from ____cache_alloc+0x404/0x788 with crng_init=0
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
[    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, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000002] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.000026] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.000049] Switching to timer-based delay loop, resolution 1ns
[    0.000272] Ignoring duplicate/late registration of read_current_timer delay
[    0.000284] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000842] Console: colour dummy device 80x30
[    0.000871] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.000885] pid_max: default: 32768 minimum: 301
[    0.001022] LSM: Security Framework initializing
[    0.001080] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001094] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001690] CPU: Testing write buffer coherency: ok
[    0.001716] CPU0: Spectre v2: using BPIALL workaround
[    0.001853] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002327] Setting up static identity map for 0x100000 - 0x100060
[    0.002433] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.002544] mvebu-pmsu: Initializing Power Management Service Unit
[    0.002659] rcu: Hierarchical SRCU implementation.
[    0.003153] smp: Bringing up secondary CPUs ...
[    0.003558] Booting CPU 1
[    0.003754] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.003764] CPU1: Spectre v2: using BPIALL workaround
[    0.003871] smp: Brought up 1 node, 2 CPUs
[    0.003883] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.003893] CPU: All CPU(s) started in SVC mode.
[    0.004343] devtmpfs: initialized
[    0.007002] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.007337] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007371] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.029694] prandom32: self test passed (less than 6 bits correlated)
[    0.029708] prandom: seed boundary self test passed
[    0.031237] prandom: 100 self tests passed
[    0.031246] pinctrl core: initialized pinctrl subsystem
[    0.032322] NET: Registered protocol family 16
[    0.032988] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.033598] audit: initializing netlink subsys (disabled)
[    0.034101] thermal_sys: Registered thermal governor 'step_wise'
[    0.034225] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
[    0.034581] cpuidle: using governor ladder
[    0.034622] cpuidle: using governor menu
[    0.034718] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.034730] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.034878] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.034890] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.240135] raid6: int32x8  gen()   244 MB/s
[    0.410153] raid6: int32x8  xor()   166 MB/s
[    0.580129] raid6: int32x4  gen()   258 MB/s
[    0.750169] raid6: int32x4  xor()   177 MB/s
[    0.920115] raid6: int32x2  gen()   448 MB/s
[    1.090139] raid6: int32x2  xor()   264 MB/s
[    1.260165] raid6: int32x1  gen()   532 MB/s
[    1.430109] raid6: int32x1  xor()   211 MB/s
[    1.430119] raid6: using algorithm int32x1 gen() 532 MB/s
[    1.430127] raid6: .... xor() 211 MB/s, rmw enabled
[    1.430133] raid6: using intx1 recovery algorithm
[    1.431336] SCSI subsystem initialized
[    1.431603] libata version 3.00 loaded.
[    1.431769] usbcore: registered new interface driver usbfs
[    1.431809] usbcore: registered new interface driver hub
[    1.431842] usbcore: registered new device driver usb
[    1.432206] pps_core: LinuxPPS API ver. 1 registered
[    1.432217] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.432235] PTP clock support registered
[    1.434959] clocksource: Switched to clocksource arm_global_timer
[    1.475234] VFS: Disk quotas dquot_6.6.0
[    1.475310] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.481102] NET: Registered protocol family 2
[    1.481700] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.481738] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.481808] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.481890] TCP: Hash tables configured (established 8192 bind 8192)
[    1.481992] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.482027] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.482176] NET: Registered protocol family 1
[    1.485889] RPC: Registered named UNIX socket transport module.
[    1.485906] RPC: Registered udp transport module.
[    1.485913] RPC: Registered tcp transport module.
[    1.485919] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.485930] PCI: CLS 0 bytes, default 64
[    1.486064] Trying to unpack rootfs image as initramfs...
[    3.608981] Freeing initrd memory: 4720K
[    3.609055] NetWinder Floating Point Emulator V0.97 (double precision)
[    3.609287] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    3.611000] Initialise system trusted keyrings
[    3.611048] Key type blacklist registered
[    3.611787] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    3.611893] zbud: loaded
[    3.612799] NFS: Registering the id_resolver key type
[    3.612823] Key type id_resolver registered
[    3.612831] Key type id_legacy registered
[    3.612854] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.612867] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    3.613049] jffs2: version 2.2. (NAND) (SUMMARY)  \xc2\xa9 2001-2006 Red Hat, Inc.
[    3.613580] orangefs_debugfs_init: called with debug mask: :none: :0:
[    3.613709] orangefs_init: module version upstream loaded
[    3.672611] NET: Registered protocol family 38
[    3.672634] xor: measuring software checksum speed
[    3.677184]    arm4regs        :  2172 MB/sec
[    3.683196]    8regs           :  1637 MB/sec
[    3.688889]    32regs          :  1733 MB/sec
[    3.688897] xor: using function: arm4regs (2172 MB/sec)
[    3.688910] async_tx: api initialized (async)
[    3.688919] Key type asymmetric registered
[    3.688926] Asymmetric key parser 'x509' registered
[    3.689017] bounce: pool size: 64 pages
[    3.689076] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    3.690606] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    3.691447] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    3.691946] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    3.692826] mv_xor f1060800.xor: Marvell shared XOR driver
[    3.745555] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.747061] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.805557] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.864634] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.867585] printk: console [ttyS0] disabled
[    3.888447] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
[    4.888070] printk: console [ttyS0] enabled
[    4.913809] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
[    4.924510] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    4.932960] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    4.941255] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    4.949859] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    4.959675] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    4.970187] scsi host0: ahci-mvebu
[    4.974738] scsi host1: ahci-mvebu
[    4.979062] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
[    4.987744] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
[    4.997737] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    5.004833] nand: Macronix MX30LF2G18AC
[    5.009412] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    5.018187] Bad block table found at page 131008, version 0x01
[    5.025400] Bad block table found at page 130944, version 0x01
[    5.032355] 8 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    5.040088] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    5.046305] 0x000000000000-0x000000500000 : "U-Boot"
[    5.053162] 0x000000500000-0x000000a00000 : "uImage"
[    5.059933] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    5.066849] 0x000000f00000-0x00000c800000 : "image.cfs"
[    5.074167] 0x00000c800000-0x00000d700000 : "rescue fw"
[    5.081199] 0x00000d700000-0x00000eb00000 : "config"
[    5.087985] 0x00000eb00000-0x00000f500000 : "reserve1"
[    5.094893] 0x00000f500000-0x00000ff00000 : "reserve2"
[    5.104208] libphy: Fixed MDIO Bus: probed
[    5.110800] libphy: orion_mdio_bus: probed
[    5.118752] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    5.131584] mvneta f1034000.ethernet eth0: Using random mac address 5e:ac:41:67:f9:11
[    5.140682] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.147987] ehci-pci: EHCI PCI platform driver
[    5.153257] ehci-orion: EHCI orion driver
[    5.158181] orion-ehci f1058000.usb: EHCI Host Controller
[    5.164327] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    5.172741] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    5.214952] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    5.221784] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.11
[    5.230828] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.238814] usb usb1: Product: EHCI Host Controller
[    5.244433] usb usb1: Manufacturer: Linux 5.11.5-mvebu-tld-1 ehci_hcd
[    5.251634] usb usb1: SerialNumber: f1058000.usb
[    5.257489] hub 1-0:1.0: USB hub found
[    5.261988] hub 1-0:1.0: 1 port detected
[    5.268139] usbcore: registered new interface driver usblp
[    5.274477] usbcore: registered new interface driver usb-storage
[    5.281607] mousedev: PS/2 mouse device common for all mice
[    5.289297] armada38x-rtc f10a3800.rtc: registered as rtc0
[    5.295638] armada38x-rtc f10a3800.rtc: setting system clock to 2023-05-30T04:29:28 UTC (1685420968)
[    5.306069] i2c /dev entries driver
[    5.310496] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    5.319384] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    5.330852] orion_wdt: Initial timeout 171 sec
[    5.336510] device-mapper: uevent: version 1.0.3
[    5.342047] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[    5.351454] device-mapper: multipath round-robin: version 1.2.0 loaded
[    5.358736] device-mapper: multipath queue-length: version 0.2.0 loaded
[    5.366096] device-mapper: multipath service-time: version 0.3.0 loaded
[    5.373474] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.380822] device-mapper: raid: Loading target version 1.15.1
[    5.390099] marvell-cesa f1090000.crypto: CESA device successfully registered
[    5.398404] usbcore: registered new interface driver usbhid
[    5.404712] usbhid: USB HID core driver
[    5.409679] drop_monitor: Initializing network drop monitor service
[    5.416929] NET: Registered protocol family 17
[    5.422208] 8021q: 802.1Q VLAN Support v1.8
[    5.427180] Key type dns_resolver registered
[    5.432228] ThumbEE CPU extension supported.
[    5.437238] Registering SWP/SWPB emulation handler
[    5.442989] registered taskstats version 1
[    5.447847] Loading compiled-in X.509 certificates
[    5.453727] zswap: loaded using pool lzo/zbud
[    5.459040] Key type ._fscrypt registered
[    5.463776] Key type .fscrypt registered
[    5.468440] Key type fscrypt-provisioning registered
[    5.477632] Key type encrypted registered
[    5.485301] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    5.491368] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    5.494959] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    5.499704] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    5.506590] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    5.516539] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    5.523533] ata2.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDMA/133
[    5.530156] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.11
[    5.537481] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 32)
[    5.546485] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.553929] ata1.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDMA/133
[    5.561797] usb usb2: Product: xHCI Host Controller
[    5.561803] usb usb2: Manufacturer: Linux 5.11.5-mvebu-tld-1 xhci-hcd
[    5.561808] usb usb2: SerialNumber: f10f0000.usb3
[    5.562185] hub 2-0:1.0: USB hub found
[    5.569461] ata1.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 32)
[    5.575306] hub 2-0:1.0: 1 port detected
[    5.582296] ata2.00: configured for UDMA/133
[    5.587914] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    5.592300] ata1.00: configured for UDMA/133
[    5.599637] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    5.614616] scsi 0:0:0:0: Direct-Access     ATA      WDC WD40EFAX-68J 0A83 PQ: 0 ANSI: 5
[    5.615236] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    5.620934] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[    5.628678] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.637583] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    5.644711] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.11
[    5.653139] scsi 1:0:0:0: Direct-Access     ATA      WDC WD40EFAX-68J 0A83 PQ: 0 ANSI: 5
[    5.661839] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.668107] sd 0:0:0:0: [sda] Write Protect is off
[    5.677125] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[    5.686038] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    5.693749] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    5.699121] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.707553] usb usb3: Product: xHCI Host Controller
[    5.728971] sd 1:0:0:0: [sdb] Write Protect is off
[    5.734495] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    5.734551] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.744577] usb usb3: Manufacturer: Linux 5.11.5-mvebu-tld-1 xhci-hcd
[    5.751926] usb usb3: SerialNumber: f10f0000.usb3
[    5.757802] hub 3-0:1.0: USB hub found
[    5.762301] hub 3-0:1.0: 1 port detected
[    5.767862] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    5.771647]  sda: sda1 sda2 sda3
[    5.773928] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    5.779239] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.786485] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    5.802461] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    5.809206] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.11
[    5.818292] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.826323] usb usb4: Product: xHCI Host Controller
[    5.831987] usb usb4: Manufacturer: Linux 5.11.5-mvebu-tld-1 xhci-hcd
[    5.839313]  sdb: sdb1 sdb2 sdb3
[    5.843383] usb usb4: SerialNumber: f10f8000.usb3
[    5.849362] hub 4-0:1.0: USB hub found
[    5.849944] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    5.853860] hub 4-0:1.0: 1 port detected
[    5.865019] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    5.871073] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    5.879335] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    5.886485] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.895421] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.11
[    5.904435] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.912432] usb usb5: Product: xHCI Host Controller
[    5.918048] usb usb5: Manufacturer: Linux 5.11.5-mvebu-tld-1 xhci-hcd
[    5.925231] usb usb5: SerialNumber: f10f8000.usb3
[    5.931062] hub 5-0:1.0: USB hub found
[    5.935577] hub 5-0:1.0: 1 port detected
[    5.941135] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    5.951672] Freeing unused kernel memory: 1024K
[    5.985619] Checked W+X mappings: passed, no W+X pages found
[    5.992022] Run /init as init process
[    5.996423]   with arguments:
[    5.996430]     /init
[    5.996434]   with environment:
[    5.996438]     HOME=/
[    5.996442]     TERM=linux
[    6.475170] md: md2 stopped.
[    6.481483] md/raid1:md2: active with 2 out of 2 mirrors
[    6.532815] md2: detected capacity change from 0 to 7805773824
[    6.553127] md: md1 stopped.
[    6.559274] md/raid1:md1: active with 2 out of 2 mirrors
[    6.565390] md1: detected capacity change from 0 to 6995968
[    6.603309] md: md0 stopped.
[    6.609445] md/raid1:md0: active with 2 out of 2 mirrors
[    6.615566] md0: detected capacity change from 0 to 996736
[    6.675094] random: fast init done
[    6.688940] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[    6.700205] mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
[   10.885350] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   54.656767] EXT4-fs (md1): recovery complete
[   54.667679] EXT4-fs (md1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   57.608464] random: crng init done
[   58.538675] EXT4-fs (md1): re-mounted. Opts: (null). Quota mode: none.
[   58.761147] EXT4-fs (md1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
root@debian:~#

Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 30, 2023 02:22PM
BTW,
I have 2 HDD in RAID.
I need to select from where it should start.
md0 is swap
md1 is where the kernel/linux is installed
md2 is data

Avalaible boot options:
1. From encrypted rootfs
2. From custom device
(You have 15 seconds for input)
Choose boot option (1/2): 2
Enter your device path (i.e. /dev/sdc1): /dev/md1

Trying to boot from /dev/md1...


BR Chris



Edited 1 time(s). Last edit at 05/30/2023 02:23PM by Chris.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 30, 2023 02:45PM
Chris,

> So here the serial output of dmesg right?

No. The serial boot log starts from the u-boot banner, and ends at the Debian login prompt.

It's my shortcut way of asking how do you boot the system. Are the kernel files stored on flash, or are they stored on USB drive? So if you post the entire serial boot log, I don't have to ask, and you answer, .... the quickest and best way for me to see what you should do is to see the entire boot activities.

From what you've just posted above. I'm not sure what you did. Did you just install the kernel while inside stock OS? or did you follow the first 6 posts of this thread to install new rootfs and u-boot? (I know, the way the instructions were organized by i5Js, it is a bit confusing)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 31, 2023 12:51AM
I don't realy remember how I did it.
At the begining I booted from USB, then I've found a way to write the boot procces in the NAND so that I don't need the USB.

Here is boot log:

BootROM - 1.73
Booting from NAND flash

General initialization - Version: 1.0.0
Detected Device ID 6820
High speed PHY - Version: 2.0

Load WD GrandTeton Serdes Config:
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0      |
 |   1    |  05   |  PCIe0      |
 |   2    |  06   |  SATA1      |
 |   3    |  05   |  USB3 HOST1 |
 |   4    |  05   |  USB3 HOST0 |
 |   5    |  00   |  SGMII2     |
 --------------------------------
PCIe, Idx 0: detected no link
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
DDR3 Training Sequence - Ended Successfully
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_
        | | | |___|  _ \ / _ \ / _ \| __|
        | |_| |___| |_) | (_) | (_) | |_
         \___/    |____/ \___/ \___/ \__|
 ** LOADER **


U-Boot 2013.01_v1.04 (Apr 19 2020 - 23:10:38) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

Map:   Code:                    0x3fece000:0x3ff96000
       BSS:                     0x3ffef654
       Stack:                   0x3f9cdf20
       Heap:                    0x3f9ce000:0x3fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

NAND:  ID: dac2 ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 2/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x500000, size 0x500000
 5242880 bytes read: OK

NAND read: device 0 offset 0xa00000, size 0x500000
 5242880 bytes read: OK
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Kernel-v5.11.5
   Created:      2021-03-09  13:50:46 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5159603 Bytes = 4.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
   Image Name:   BusyBox v1.31
   Created:      2020-04-21  13:35:00 UTC
   Image Type:   ARM Linux RAMDisk Image (lzma compressed)
   Data Size:    4830050 Bytes = 4.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

DTB:0x004EF338 (0x0000477B)
C:0x000080C0-0x004F3B40->0x01164200-0x0164FC80
DTB:0x0164B478 (0x000047F8)
Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.11.5-mvebu-tld-1 (root@osaserver) (arm-l1
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=1d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing ie
[    0.000000][    T0] OF: fdt: Machine model: WD MyCloud Ex2 Ultra
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000003]
[    0.000000][    T0] percpu: Embedded 20 pages/cpu s53004 r8192 d20724 u81920
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 28
[    0.000000][    T0] Kernel command line: root=/dev/ram console=ttyS0,115200
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 52428)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 )
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 1017520K/1048576K available (10240K kernel code,)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x4040
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_i.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay .
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_i2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x0607000
[    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 enabld
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024B
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x5607001
[    0.000001][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps evs
[    0.000025][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff s
[    0.000049][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.000272][    T0] Ignoring duplicate/late registration of read_current_timy
[    0.000284][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffffs
[    0.000843][    T0] Console: colour dummy device 80x30
[    0.000870][    T0] Calibrating delay loop (skipped), value calculated using)
[    0.000885][    T0] pid_max: default: 32768 minimum: 301
[    0.001023][    T0] LSM: Security Framework initializing
[    0.001081][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 byt)
[    0.001094][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 819)
[    0.001687][    T0] CPU: Testing write buffer coherency: ok
[    0.001713][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.001850][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002322][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.002430][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.002541][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.002654][    T1] rcu: Hierarchical SRCU implementation.
[    0.003150][    T1] smp: Bringing up secondary CPUs ...
[    0.003554][    T1] Booting CPU 1
[    0.003752][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.003762][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.003870][    T1] smp: Brought up 1 node, 2 CPUs
[    0.003881][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.003891][    T1] CPU: All CPU(s) started in SVC mode.
[    0.004340][    T1] devtmpfs: initialized
[    0.007010][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 4
[    0.007346][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xfffs
[    0.007378][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, li)
[    0.029701][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.029717][    T1] prandom: seed boundary self test passed
[    0.031246][    T1] prandom: 100 self tests passed
[    0.031255][    T1] pinctrl core: initialized pinctrl subsystem
[    0.032339][    T1] NET: Registered protocol family 16
[    0.033002][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocs
[    0.033611][    T1] audit: initializing netlink subsys (disabled)
[    0.034116][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.034236][   T35] audit: type=2000 audit(0.030:1): state=initialized audit1
[    0.034593][    T1] cpuidle: using governor ladder
[    0.034643][    T1] cpuidle: using governor menu
[    0.034745][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 wa.
[    0.034757][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.034904][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Ag
[    0.034916][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: g
[    0.240137][    T1] raid6: int32x8  gen()   244 MB/s
[    0.410176][    T1] raid6: int32x8  xor()   165 MB/s
[    0.580145][    T1] raid6: int32x4  gen()   258 MB/s
[    0.750156][    T1] raid6: int32x4  xor()   176 MB/s
[    0.920146][    T1] raid6: int32x2  gen()   448 MB/s
[    1.090156][    T1] raid6: int32x2  xor()   244 MB/s
[    1.260142][    T1] raid6: int32x1  gen()   533 MB/s
[    1.430150][    T1] raid6: int32x1  xor()   194 MB/s
[    1.430160][    T1] raid6: using algorithm int32x1 gen() 533 MB/s
[    1.430168][    T1] raid6: .... xor() 194 MB/s, rmw enabled
[    1.430174][    T1] raid6: using intx1 recovery algorithm
[    1.431392][    T1] SCSI subsystem initialized
[    1.432084][    T1] usbcore: registered new interface driver usbfs
[    1.432170][    T1] usbcore: registered new interface driver hub
[    1.432247][    T1] usbcore: registered new device driver usb
[    1.433089][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.433102][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodo>
[    1.433162][    T1] PTP clock support registered
[    1.434982][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.475305][    T1] VFS: Disk quotas dquot_6.6.0
[    1.475384][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096)
[    1.484500][    T1] NET: Registered protocol family 2
[    1.489751][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order:)
[    1.489793][    T1] TCP established hash table entries: 8192 (order: 3, 3276)
[    1.489861][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    1.489942][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.490031][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, line)
[    1.490065][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes,)
[    1.490207][    T1] NET: Registered protocol family 1
[    1.491022][    T1] RPC: Registered named UNIX socket transport module.
[    1.491035][    T1] RPC: Registered udp transport module.
[    1.491042][    T1] RPC: Registered tcp transport module.
[    1.491048][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.491058][    T1] PCI: CLS 0 bytes, default 64
[    1.491192][    T1] Trying to unpack rootfs image as initramfs...
[    3.606957][    T1] Freeing initrd memory: 4720K
[    3.607030][    T1] NetWinder Floating Point Emulator V0.97 (double precisio)
[    3.607261][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, e
[    3.609522][    T1] Initialise system trusted keyrings
[    3.609563][    T1] Key type blacklist registered
[    3.609802][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    3.609899][    T1] zbud: loaded
[    3.610796][    T1] NFS: Registering the id_resolver key type
[    3.610818][    T1] Key type id_resolver registered
[    3.610826][    T1] Key type id_legacy registered
[    3.610850][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registerin.
[    3.610862][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    3.611038][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red H.
[    3.611627][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    3.611752][    T1] orangefs_init: module version upstream loaded
[    3.670786][    T1] NET: Registered protocol family 38
[    3.670810][    T1] xor: measuring software checksum speed
[    3.675362][    T1]    arm4regs        :  2172 MB/sec
[    3.681375][    T1]    8regs           :  1637 MB/sec
[    3.687067][    T1]    32regs          :  1733 MB/sec
[    3.687075][    T1] xor: using function: arm4regs (2172 MB/sec)
[    3.687088][    T1] async_tx: api initialized (async)
[    3.687098][    T1] Key type asymmetric registered
[    3.687105][    T1] Asymmetric key parser 'x509' registered
[    3.687197][    T1] bounce: pool size: 64 pages
[    3.687321][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded)
[    3.689366][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl r
[    3.690462][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' !
[    3.691148][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' !
[    3.692519][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    3.745630][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xo)
[    3.747215][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.805626][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xo)
[    3.863435][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.865504][    T1] printk: console [ttyS0] disabled
[    3.885635][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, basA
[    4.885090][    T1] printk: console [ttyS0] enabled
[    4.911030][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, basA
[    4.922157][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dr
[    4.930665][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dur
[    4.938960][    T1] ahci-mvebu f10a8000.sata: supply target not found, usingr
[    4.947555][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 porte
[    4.957369][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only
[    4.967964][    T1] scsi host0: ahci-mvebu
[    4.972610][    T1] scsi host1: ahci-mvebu
[    4.977028][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff]2
[    4.985714][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff]2
[    4.995618][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    5.002717][    T1] nand: Macronix MX30LF2G18AC
[    5.007297][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 20484
[    5.016074][    T1] Bad block table found at page 131008, version 0x01
[    5.023286][    T1] Bad block table found at page 130944, version 0x01
[    5.030261][    T1] 8 fixed-partitions partitions found on MTD device pxa3xx0
[    5.037984][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    5.044114][    T1] 0x000000000000-0x000000500000 : "U-Boot"
[    5.050806][    T1] 0x000000500000-0x000000a00000 : "uImage"
[    5.057350][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    5.064015][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    5.071149][    T1] 0x00000c800000-0x00000d700000 : "rescue fw"
[    5.077948][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    5.084464][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    5.091160][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    5.099089][    T1] libphy: Fixed MDIO Bus: probed
[    5.104845][    T1] libphy: orion_mdio_bus: probed
[    5.112481][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controd
[    5.124389][    T1] mvneta f1034000.ethernet eth0: Using random mac address 2
[    5.133338][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drivr
[    5.140635][    T1] ehci-pci: EHCI PCI platform driver
[    5.145856][    T1] ehci-orion: EHCI orion driver
[    5.150748][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    5.156904][    T1] orion-ehci f1058000.usb: new USB bus registered, assigne1
[    5.165301][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    5.204993][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    5.211816][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct1
[    5.220849][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seri1
[    5.228823][    T1] usb usb1: Product: EHCI Host Controller
[    5.234429][    T1] usb usb1: Manufacturer: Linux 5.11.5-mvebu-tld-1 ehci_hcd
[    5.241610][    T1] usb usb1: SerialNumber: f1058000.usb
[    5.247369][    T1] hub 1-0:1.0: USB hub found
[    5.251867][    T1] hub 1-0:1.0: 1 port detected
[    5.257584][    T1] usbcore: registered new interface driver usblp
[    5.263856][    T1] usbcore: registered new interface driver usb-storage
[    5.270858][    T1] mousedev: PS/2 mouse device common for all mice
[    5.278166][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    5.284481][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2023)
[    5.294615][    T1] i2c /dev entries driver
[    5.299002][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recoverd
[    5.307747][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recoverd
[    5.318642][    T1] orion_wdt: Initial timeout 171 sec
[    5.324184][    T1] device-mapper: uevent: version 1.0.3
[    5.329697][    T1] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialim
[    5.339086][    T1] device-mapper: multipath round-robin: version 1.2.0 loadd
[    5.346368][    T1] device-mapper: multipath queue-length: version 0.2.0 load
[    5.353719][    T1] device-mapper: multipath service-time: version 0.3.0 load
[    5.361104][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.368378][    T1] device-mapper: raid: Loading target version 1.15.1
[    5.377590][    T1] marvell-cesa f1090000.crypto: CESA device successfully rd
[    5.385745][    T1] usbcore: registered new interface driver usbhid
[    5.392052][    T1] usbhid: USB HID core driver
[    5.396874][    T1] drop_monitor: Initializing network drop monitor service
[    5.404113][    T1] NET: Registered protocol family 17
[    5.409414][    T1] 8021q: 802.1Q VLAN Support v1.8
[    5.414353][    T1] Key type dns_resolver registered
[    5.419432][    T1] ThumbEE CPU extension supported.
[    5.424430][    T1] Registering SWP/SWPB emulation handler
[    5.430155][    T1] registered taskstats version 1
[    5.435012][    T1] Loading compiled-in X.509 certificates
[    5.440902][    T1] zswap: loaded using pool lzo/zbud
[    5.446229][    T1] Key type ._fscrypt registered
[    5.450966][    T1] Key type .fscrypt registered
[    5.455630][    T1] Key type fscrypt-provisioning registered
[    5.464801][    T1] Key type encrypted registered
[    5.472489][   T25] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    5.478591][   T25] xhci-hcd f10f0000.usb3: new USB bus registered, assigned2
[    5.486923][   T25] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci versio0
[    5.495011][ T1186] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    5.496953][   T25] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    5.503834][ T1181] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    5.510537][   T25] usb usb2: New USB device found, idVendor=1d6b, idProduct1
[    5.517352][ T1186] ata2.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDM3
[    5.526264][   T25] usb usb2: New USB device strings: Mfr=3, Product=2, Seri1
[    5.526272][   T25] usb usb2: Product: xHCI Host Controller
[    5.526277][   T25] usb usb2: Manufacturer: Linux 5.11.5-mvebu-tld-1 xhci-hcd
[    5.526281][   T25] usb usb2: SerialNumber: f10f0000.usb3
[    5.526676][   T25] hub 2-0:1.0: USB hub found
[    5.533977][ T1186] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth )
[    5.542143][   T25] hub 2-0:1.0: 1 port detected
[    5.547525][ T1181] ata1.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDM3
[    5.554837][   T25] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    5.560142][ T1181] ata1.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth )
[    5.564507][   T25] xhci-hcd f10f0000.usb3: new USB bus registered, assigned3
[    5.571969][ T1186] ata2.00: configured for UDMA/133
[    5.576683][   T25] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    5.584556][ T1181] ata1.00: configured for UDMA/133
[    5.590158][   T25] usb usb3: We don't know the algorithms for LPM for this .
[    5.615257][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD40EFAX-685
[    5.617894][   T25] usb usb3: New USB device found, idVendor=1d6b, idProduct1
[    5.623532][ T1196] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4)
[    5.631942][   T25] usb usb3: New USB device strings: Mfr=3, Product=2, Seri1
[    5.640609][ T1196] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    5.649655][   T25] usb usb3: Product: xHCI Host Controller
[    5.658281][   T23] scsi 1:0:0:0: Direct-Access     ATA      WDC WD40EFAX-685
[    5.666109][   T25] usb usb3: Manufacturer: Linux 5.11.5-mvebu-tld-1 xhci-hcd
[    5.671960][ T1196] sd 0:0:0:0: [sda] Write Protect is off
[    5.677568][   T25] usb usb3: SerialNumber: f10f0000.usb3
[    5.687124][  T478] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4)
[    5.693905][   T25] hub 3-0:1.0: USB hub found
[    5.699652][  T478] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    5.704924][   T25] hub 3-0:1.0: 1 port detected
[    5.718131][   T25] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    5.723630][ T1196] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabA
[    5.728415][   T25] xhci-hcd f10f8000.usb3: new USB bus registered, assigned4
[    5.734333][  T478] sd 1:0:0:0: [sdb] Write Protect is off
[    5.744052][   T25] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci versio0
[    5.757921][   T25] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    5.767958][  T478] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabA
[    5.774467][   T25] usb usb4: New USB device found, idVendor=1d6b, idProduct1
[    5.793074][   T25] usb usb4: New USB device strings: Mfr=3, Product=2, Seri1
[    5.801055][   T25] usb usb4: Product: xHCI Host Controller
[    5.806685][   T25] usb usb4: Manufacturer: Linux 5.11.5-mvebu-tld-1 xhci-hcd
[    5.807696][ T1196]  sda: sda1 sda2 sda3
[    5.813862][   T25] usb usb4: SerialNumber: f10f8000.usb3
[    5.814227][   T25] hub 4-0:1.0: USB hub found
[    5.826170][ T1196] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.827799][   T25] hub 4-0:1.0: 1 port detected
[    5.838875][   T25] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    5.842825][  T478]  sdb: sdb1 sdb2 sdb3
[    5.844928][   T25] xhci-hcd f10f8000.usb3: new USB bus registered, assigned5
[    5.850135][  T478] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    5.857143][   T25] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    5.870494][   T25] usb usb5: We don't know the algorithms for LPM for this .
[    5.879437][   T25] usb usb5: New USB device found, idVendor=1d6b, idProduct1
[    5.888462][   T25] usb usb5: New USB device strings: Mfr=3, Product=2, Seri1
[    5.896432][   T25] usb usb5: Product: xHCI Host Controller
[    5.902038][   T25] usb usb5: Manufacturer: Linux 5.11.5-mvebu-tld-1 xhci-hcd
[    5.909223][   T25] usb usb5: SerialNumber: f10f8000.usb3
[    5.915269][   T25] hub 5-0:1.0: USB hub found
[    5.919767][   T25] hub 5-0:1.0: 1 port detected
[    5.925287][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/in0
[    5.935533][    T1] Freeing unused kernel memory: 1024K
[    5.955743][    T1] Checked W+X mappings: passed, no W+X pages found
[    5.962146][    T1] Run /init as init process
mdadm: No brief listing for mbr on /dev/sda
mdadm: No brief listing for mbr on /dev/sdb
[    6.421177][ T1485] md: md2 stopped.
[    6.427532][ T1485] md/raid1:md2: active with 2 out of 2 mirrors
[    6.472888][ T1485] md2: detected capacity change from 0 to 7805773824
mdadm: /dev/md/2 has been started with 2 drives.
[    6.489362][ T1485] md: md1 stopped.
[    6.495497][ T1485] md/raid1:md1: active with 2 out of 2 mirrors
[    6.501586][ T1485] md1: detected capacity change from 0 to 6995968
mdadm: /dev/md/1 has been started with 2 drives.
[    6.525439][ T1485] md: md0 stopped.
[    6.531527][ T1485] md/raid1:md0: active with 2 out of 2 mirrors
[    6.537683][ T1485] md0: detected capacity change from 0 to 996736
mdadm: /dev/md/0 has been started with 2 drives.
mdadm: Cannot op[    6.600037][    C0] random: fast init done
en /dev/sdb: Device or resource busy
udhcpc: started, v1.31.1
Setting IP address 0.0.0.0 on eth0
[    6.614172][ T1506] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00)
[    6.625391][ T1506] mvneta f1034000.ethernet eth0: configuring for phy/sgmiie
udhcpc: sending discover
udhcpc: sending discover
[   10.805396][   T54] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full -f
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending select for 192.168.1.183
udhcpc: lease of 192.168.1.183 obtained, lease time 1814400
Setting IP address 192.168.1.183 on eth0
Deleting routers
route: SIOCDELRT: No such process
Adding router 192.168.1.10
Recreating /etc/resolv.conf
 Adding DNS server 192.168.1.10

Avalaible boot options:
1. From encrypted rootfs
2. From custom device
(You have 15 seconds for input)
Choose boot option (1/2): 2
Enter your device path (i.e. /dev/sdc1): /dev/md1

Trying to boot from /dev/md1...

[   58.386104][ T1518] EXT4-fs (md1): recovery complete
[   58.397007][ T1518] EXT4-fs (md1): mounted filesystem with ordered data mode.

 Unmounting and Switch to OS

INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
findfs: unable to resolve 'LABEL=rootfs'
Files under mount point '/run' will be hidden. ... (warning).
[   59.465160][    C1] random: crng init done
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...done.
Setting hostname to 'debian'...done.
Not activating swap on swapfile. ... (warning).
[   62.034488][ T1799] EXT4-fs (md1): re-mounted. Opts: (null). Quota mode: non.
Will now check root file system:[/sbin/fsck.ext4 (1) -- /] fsck.ext4 -y -C0 /de
e2fsck 1.46.2 (28-Feb-2021)
rootfs: clean, 29150/219024 files, 527552/874496 blocks
.
[   62.256962][ T1811] EXT4-fs (md1): re-mounted. Opts: errors=remount-ro. Quot.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...
Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:swapon: /swapfile1: inaccessible -- ignd
done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Skip starting firewall: ufw (not enabled)...
done.
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/c2:0d:88:00:80:08
Sending on   LPF/eth0/c2:0d:88:00:80:08
Sending on   Socket/fallback
DHCPREQUEST for 192.168.1.175 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.175 from 192.168.1.10
bound to 192.168.1.175 -- renewal in 894450 seconds.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2386 (syslogd)
.
Starting NTP server: ntpd.
Starting periodic command scheduler: cron.
Starting system message bus: dbus.
Starting OpenBSD Secure Shell server: sshd.
Starting Docker: docker.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2453 (klogd)
.
Running local boot scripts (/etc/rc.local)
Cannot read environment, using default
Cannot read default environment from file
<13>May 30 12:20:36 root[2624]: Cannot read u-boot env ethaddr
.

Debian GNU/Linux 11 debian ttyS0


Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 31, 2023 03:25PM
Chris,

NAND read: device 0 offset 0x500000, size 0x500000
 5242880 bytes read: OK

NAND read: device 0 offset 0xa00000, size 0x500000
 5242880 bytes read: OK
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Kernel-v5.11.5
   Created:      2021-03-09  13:50:46 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5159603 Bytes = 4.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
   Image Name:   BusyBox v1.31
   Created:      2020-04-21  13:35:00 UTC
   Image Type:   ARM Linux RAMDisk Image (lzma compressed)
   Data Size:    4830050 Bytes = 4.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

I see. What you did was after you installed the new kernel on the rootfs, you flashed the uImage and uInird to NAND.

During booting, the kernel files were loaded to 0xa00000 and 0x2000000 locatiion. And your bootm is

bootm 0x00a00000 0x2000000

Now the problem is the uInitrd for the new kernel won't fit into the currently defined the partition for initramfs. It is defined as 5MB.
[    5.057350][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"

And the new initramfs is about 9MB

-rw-r--r--  1 root root 10165849 May 29 13:34 uInitrd


======

I suggest you read the first 6 posts of this thread. See if you want to follow how i5Js install new u-boot so you can boot from USB drive. I know it's a bit intimidating to read you have to do all that. But as of now, you cannot upgrade kernel so you're stuck with 5.11.5.

======

Since many WD MyCloud NAS boxes have this same problem, I might think about shrinking the initramfs (but I cannot promise I will do that).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 31, 2023 03:31PM
Dear Bodhi,
Unfortunately, I can't shrink the initrams because I'm definitely no expert.
I'm a beginner and this is no option for me.
I wanted only to not boot from USB.

But if it's not possible then I will use a Stick no problem.

Thank you very much for your help!

Is there a way to uninstall the kernel 6 ? Because I have problems installing omv, and I think it is because the kernel 6 is there.

BR
Chris



Edited 1 time(s). Last edit at 05/31/2023 03:33PM by Chris.
I tried to boot with

./kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.2048 -p

|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2013.01-g7c1da33-dirty_v1.04 (Jul 17 2017 - 18:43:06) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  512 MiB

Map:   Code:			0x1fece000:0x1ff96010
       BSS:			0x1ffef654
       Stack:			0x1f9cdf20
       Heap:			0x1f9ce000:0x1fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:	0x00000000:0x00080000 (NAND)

NAND:  ID: dac2 ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 2/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  0
U-boot see
DRAM: 512 MiB
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 11:30AM
Dear Bodhi
>
> I suggest you read the first 6 posts of this
> thread. See if you want to follow how i5Js install
> new u-boot so you can boot from USB drive. I know
> it's a bit intimidating to read you have to do all
> that. But as of now, you cannot upgrade kernel so
> you're stuck with 5.11.5.
>
there are some problems with this description:
1. I can't download the uImage and uInitrd form
https://hackers.cx/wdnas/WDMyCloud-Mirror-Gen2/Original/
maybe I don't know how, or I don't understand.
if I click on one of them, then it only opens in the browser.
no download will happen.

2. from CyberPK the rootfs and the kernel are also not downloadable, one doesn't exist and the other one is maybe old?

if I manage to boot from USB is it possible to install the Dbian on the HDD and only let the boot image on the USB?
how?

Thanks
BR Chris
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 01:23PM
gennnarino,

> U-Boot 2013.01-g7c1da33-dirty_v1.04 (Jul 17 2017 -
> 18:43:06) Marvell version: 2014_T3.0p6

> DRAM: 512 MiB

If U-Boot sees 512MB RAM like this, there is no way to make kernel recognize 1GB. Either this is a bad u-boot, or one of the RAM chip is faulty (but was not reported in the boot log). Did you buy this box used or brand new? you can open the box and see if there are 2 DRAM chips or just 1.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 01:27PM
Chris,

> if I manage to boot from USB is it possible to
> install the Dbian on the HDD and only let the boot
> image on the USB?

Yes. You can boot with the kernel files on USB, and the rootfs on HDD.

> how?

Have you read the first 6 posts in this thread? take your time to read these instruction to see if you inderstand them.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 01:31PM
Chris,

And yes, you can uninstall kernel 6.

> Is there a way to uninstall the kernel 6 ? Because
> I have problems installing omv, and I think it is
> because the kernel 6 is there.

Log in and do this to see exactly which kernel you are running. And get the list of kernels that have been installed.

uname -a
dpkg -l | grep linux-image
Once you got the list you can uninstall each one with dpkg (post back and I'll help).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 01:32PM
I've tried this but I use RAID and it does not see md0
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/md0 does not exist.  Dropping to a shell!


BusyBox v1.30.1 (Debian 1:1.30.1-6+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.
post 6 is about OMV no ?
i'm trying now with Linux-5.13.8-mvebu-tld-1

I have no more ideeas
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 01:50PM
I've missed the last part.
Now it booted.
Thanks a lot Bodhi.

BR
Chris
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 02:16PM
>
> Yes. You can boot with the kernel files on USB,
> and the rootfs on HDD.
>
so he doesn't boot from HDD RAID md0 only from stick

here is the bootlog, maybe you see something what I am missing

U-Boot 2013.01_v1.04 (Apr 19 2020 - 23:10:38) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

Map:   Code:                    0x3fece000:0x3ff96000
       BSS:                     0x3ffef654
       Stack:                   0x3f9cdf20
       Heap:                    0x3f9ce000:0x3fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

NAND:  ID: dac2 ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
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... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
reading /boot/uImage
5236595 bytes read in 206 ms (24.2 MiB/s)
reading /boot/uRamdisk
9649885 bytes read in 350 ms (26.3 MiB/s)
## Booting image at 00800000 ...
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2023-06-01  17:34:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5236531 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.13.8-mvebu-tld-1
   Created:      2021-09-24   7:54:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9649821 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.8-mvebu-tld-1 (root@tldDebian) (gcc (D
ebian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 SMP PREEMPT
Sat Aug 7 14:58:41 PDT 2021
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10
c5387d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing in
struction cache
[    0.000000][    T0] OF: fdt: Machine model: WD MyCloud Ex2 Ultra
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000003f
ffffff]
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s54668 r8192 d23156 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 26
0608
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=root
fs mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(ima
ge.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve
2) earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288
 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 b
ytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 1011704K/1048576K available (11264K kernel code,
1483K rwdata, 3112K rodata, 1024K init, 325K bss, 36872K reserved, 0K cma-reserv
ed, 262144K highmem)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x404/
0x78c with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_id
s=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 i
s 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_id
s=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x0607000
0 -> 0x16070000
[    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 enable
d
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024
kB
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x5607000
1
[    0.000001][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps eve
ry 4398046511103ns
[    0.008682][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff m
ax_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.020390][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027198][    T0] Ignoring duplicate/late registration of read_current_time
r delay
[    0.034915][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff
max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.047026][    T0] Console: colour dummy device 80x30
[    0.052173][    T0] Calibrating delay loop (skipped), value calculated using
timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.063444][    T0] pid_max: default: 32768 minimum: 301
[    0.068867][    T0] LSM: Security Framework initializing
[    0.074212][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 byte
s, linear)
[    0.082196][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192
 bytes, linear)
[    0.091198][    T0] CPU: Testing write buffer coherency: ok
[    0.096768][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.102633][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.109443][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.116389][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.122338][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.129294][    T1] rcu: Hierarchical SRCU implementation.
[    0.135298][    T1] smp: Bringing up secondary CPUs ...
[    0.140923][    T1] Booting CPU 1
[    0.144381][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.144390][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.156535][    T1] smp: Brought up 1 node, 2 CPUs
[    0.161335][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.168369][    T1] CPU: All CPU(s) started in SVC mode.
[    0.174040][    T1] devtmpfs: initialized
[    0.180848][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 v
ariant 9 rev 4
[    0.189366][   T24] wait_for_initramfs() called before rootfs_initcalls
[    0.189509][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffff
ffff, max_idle_ns: 19112604462750000 ns
[    0.206487][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, lin
ear)
[    0.236312][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.243448][    T1] prandom: seed boundary self test passed
[    0.250568][    T1] prandom: 100 self tests passed
[    0.255354][    T1] pinctrl core: initialized pinctrl subsystem
[    0.262421][    T1] NET: Registered protocol family 16
[    0.268298][    T1] DMA: preallocated 256 KiB pool for atomic coherent alloca
tions
[    0.276439][    T1] audit: initializing netlink subsys (disabled)
[    0.282645][   T36] audit: type=2000 audit(0.250:1): state=initialized audit_
enabled=0 res=1
[    0.283816][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.291350][    T1] cpuidle: using governor ladder
[    0.302833][    T1] cpuidle: using governor menu
[    0.307597][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 wat
chpoint registers.
[    0.316267][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.322921][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Ar
mada 38x: disabling
[    0.331705][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: d
isabling
[    0.547070][    T1] raid6: int32x8  gen()   244 MB/s
[    0.717058][    T1] raid6: int32x8  xor()   168 MB/s
[    0.887104][    T1] raid6: int32x4  gen()   280 MB/s
[    1.057118][    T1] raid6: int32x4  xor()   176 MB/s
[    1.227067][    T1] raid6: int32x2  gen()   447 MB/s
[    1.397071][    T1] raid6: int32x2  xor()   256 MB/s
[    1.567087][    T1] raid6: int32x1  gen()   497 MB/s
[    1.737077][    T1] raid6: int32x1  xor()   198 MB/s
[    1.742023][    T1] raid6: using algorithm int32x1 gen() 497 MB/s
[    1.748101][    T1] raid6: .... xor() 198 MB/s, rmw enabled
[    1.753652][    T1] raid6: using intx1 recovery algorithm
[    1.759816][    T1] vgaarb: loaded
[    1.763528][    T1] SCSI subsystem initialized
[    1.768301][    T1] usbcore: registered new interface driver usbfs
[    1.774502][    T1] usbcore: registered new interface driver hub
[    1.780539][    T1] usbcore: registered new device driver usb
[    1.786480][    T1] mc: Linux media interface: v0.10
[    1.791479][    T1] videodev: Linux video capture interface: v2.00
[    1.797733][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.803372][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodol
fo Giometti <giometti@linux.it>
[    1.813187][    T1] PTP clock support registered
[    1.819114][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.853471][    T1] VFS: Disk quotas dquot_6.6.0
[    1.858143][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[    1.872750][    T1] NET: Registered protocol family 2
[    1.877909][    T1] IP idents hash table entries: 16384 (order: 5, 131072 byt
es, linear)
[    1.889133][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order:
0, 6144 bytes, linear)
[    1.898178][    T1] TCP established hash table entries: 8192 (order: 3, 32768
 bytes, linear)
[    1.906797][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes,
 linear)
[    1.914908][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.922086][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 byt
es, linear)
[    1.930228][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linea
r)
[    1.937534][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes,
linear)
[    1.945400][    T1] NET: Registered protocol family 1
[    1.950835][    T1] RPC: Registered named UNIX socket transport module.
[    1.957429][    T1] RPC: Registered udp transport module.
[    1.962859][    T1] RPC: Registered tcp transport module.
[    1.968238][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.975414][    T1] PCI: CLS 0 bytes, default 64
[    1.980140][    T1] NetWinder Floating Point Emulator V0.97 (double precision
)
[    1.980198][    T7] Trying to unpack rootfs image as initramfs...
[    1.993457][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7
 counters available
[    2.384089][    T7] Freeing initrd memory: 9424K
[    2.666047][    T1] Initialise system trusted keyrings
[    2.671224][    T1] Key type blacklist registered
[    2.676024][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.683250][    T1] zbud: loaded
[    2.687421][    T1] NFS: Registering the id_resolver key type
[    2.693186][    T1] Key type id_resolver registered
[    2.698047][    T1] Key type id_legacy registered
[    2.702761][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering
...
[    2.710143][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Reg
istering...
[    2.718204][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.786306][    T1] xor: measuring software checksum speed
[    2.796320][    T1]    arm4regs        :  2172 MB/sec
[    2.807386][    T1]    8regs           :  1637 MB/sec
[    2.818104][    T1]    32regs          :  1733 MB/sec
[    2.823144][    T1] xor: using function: arm4regs (2172 MB/sec)
[    2.829047][    T1] async_tx: api initialized (async)
[    2.834089][    T1] Key type asymmetric registered
[    2.838861][    T1] Asymmetric key parser 'x509' registered
[    2.844507][    T1] bounce: pool size: 64 pages
[    2.849167][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 244)
[    2.857297][    T1] io scheduler bfq registered
[    2.863885][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl d
river
[    2.872610][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' a
lready present!
[    2.881734][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' a
lready present!
[    2.891512][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.959682][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor
 cpy intr )
[    2.969438][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.029680][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor
 cpy intr )
[    3.102330][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.111309][    T1] printk: console [ttyS0] disabled
[    3.136680][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base
_baud = 12500000) is a 16550A
[    3.146403][    T1] printk: console [ttyS0] enabled
[    3.146403][    T1] printk: console [ttyS0] enabled
[    3.156221][    T1] printk: bootconsole [earlycon0] disabled
[    3.156221][    T1] printk: bootconsole [earlycon0] disabled
[    3.188381][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base
_baud = 12500000) is a 16550A
[    3.199182][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using du
mmy regulator
[    3.207612][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dum
my regulator
[    3.215897][    T1] ahci-mvebu f10a8000.sata: supply target not found, using
dummy regulator
[    3.224500][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports
 6 Gbps 0x3 impl platform mode
[    3.234314][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only
pmp fbs pio slum part sxs
[    3.244859][    T1] scsi host0: ahci-mvebu
[    3.249475][    T1] scsi host1: ahci-mvebu
[    3.253768][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff]
port 0x100 irq 52
[    3.262450][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff]
port 0x180 irq 52
[    3.272131][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    3.279266][    T1] nand: Macronix MX30LF2G18AC
[    3.283824][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048,
 OOB size: 64
[    3.292734][    T1] Bad block table found at page 131008, version 0x01
[    3.299965][    T1] Bad block table found at page 130944, version 0x01
[    3.306901][    T1] 8 cmdlinepart partitions found on MTD device pxa3xx_nand-
0
[    3.314180][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    3.320317][    T1] 0x000000000000-0x000000500000 : "u-boot"
[    3.326893][    T1] 0x000000500000-0x000000a00000 : "kernel"
[    3.333398][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    3.340076][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    3.347156][    T1] 0x00000c800000-0x00000d700000 : "rescue_fw"
[    3.353976][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    3.360488][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    3.367152][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    3.374372][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com
for information.
[    3.382968][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Ja
son@zx2c4.com>. All Rights Reserved.
[    3.393997][    T1] libphy: Fixed MDIO Bus: probed
[    3.399855][    T1] libphy: orion_mdio_bus: probed
[    3.414212][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network control
ler enabled
[    3.426094][    T1] mvneta f1034000.ethernet eth0: Using random mac address 4
6:d2:c3:a0:4a:58
[    3.435042][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drive
r
[    3.442338][    T1] ehci-pci: EHCI PCI platform driver
[    3.447554][    T1] ehci-orion: EHCI orion driver
[    3.452450][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    3.458602][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned
 bus number 1
[    3.467011][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    3.509164][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.515998][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=
0002, bcdDevice= 5.13
[    3.525039][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seria
lNumber=1
[    3.533026][    T1] usb usb1: Product: EHCI Host Controller
[    3.538645][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    3.545838][    T1] usb usb1: SerialNumber: f1058000.usb
[    3.551601][    T1] hub 1-0:1.0: USB hub found
[    3.556101][    T1] hub 1-0:1.0: 1 port detected
[    3.561865][    T1] usbcore: registered new interface driver usblp
[    3.568135][    T1] usbcore: registered new interface driver usb-storage
[    3.575134][    T1] mousedev: PS/2 mouse device common for all mice
[    3.582462][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    3.588773][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2023-
06-01T19:13:35 UTC (1685646815)
[    3.599285][    T1] i2c /dev entries driver
[    3.603652][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery
 not supported
[    3.612469][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery
 not supported
[    3.623490][    T1] orion_wdt: Initial timeout 171 sec
[    3.629056][    T1] device-mapper: uevent: version 1.0.3
[    3.634626][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialis
ed: dm-devel@redhat.com
[    3.644026][    T1] device-mapper: multipath round-robin: version 1.2.0 loade
d
[    3.651311][    T1] device-mapper: multipath queue-length: version 0.2.0 load
ed
[    3.658662][    T1] device-mapper: multipath service-time: version 0.3.0 load
ed
[    3.666046][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.672882][    T1] device-mapper: raid: Loading target version 1.15.1
[    3.682178][    T1] marvell-cesa f1090000.crypto: CESA device successfully re
gistered
[    3.690288][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.696380][    T1] usbcore: registered new interface driver usbhid
[    3.702713][    T1] usbhid: USB HID core driver
[    3.707520][    T1] drop_monitor: Initializing network drop monitor service
[    3.714855][    T1] NET: Registered protocol family 10
[    3.720774][    T1] Segment Routing with IPv6
[    3.725159][    T1] RPL Segment Routing with IPv6
[    3.729968][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.737481][    T1] NET: Registered protocol family 17
[    3.742854][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.747795][    T1] Key type dns_resolver registered
[    3.752918][    T1] ThumbEE CPU extension supported.
[    3.757916][    T1] Registering SWP/SWPB emulation handler
[    3.763774][    T1] registered taskstats version 1
[    3.768598][    T1] Loading compiled-in X.509 certificates
[    3.774545][    T1] zswap: loaded using pool lzo/zbud
[    3.779175][ T1245] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.786744][    T1] Key type ._fscrypt registered
[    3.791540][    T1] Key type .fscrypt registered
[    3.796193][    T1] Key type fscrypt-provisioning registered
[    3.796204][ T1245] ata2.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDMA
/133
[    3.803088][    T1] Key type big_key registered
[    3.809557][ T1245] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 3
2)
[    3.821588][ T1240] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.829025][ T1245] ata2.00: configured for UDMA/133
[    3.834115][ T1240] ata1.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDMA
/133
[    3.841686][ T1240] ata1.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 3
2)
[    3.849403][    T1] Key type encrypted registered
[    3.854239][ T1240] ata1.00: configured for UDMA/133
[    3.860405][  T622] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.866466][  T622] xhci-hcd f10f0000.usb3: new USB bus registered, assigned
bus number 2
[    3.875028][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD40EFAX-68J
 0A83 PQ: 0 ANSI: 5
[    3.879225][  T622] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version
 0x100 quirks 0x0000000000010010
[    3.894270][   T23] scsi 1:0:0:0: Direct-Access     ATA      WDC WD40EFAX-68J
 0A83 PQ: 0 ANSI: 5
[    3.894411][  T535] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.
00 TB/3.64 TiB)
[    3.904521][    T7] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.
00 TB/3.64 TiB)
[    3.911785][  T622] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    3.920168][    T7] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    3.927368][  T622] usb usb2: New USB device found, idVendor=1d6b, idProduct=
0002, bcdDevice= 5.13
[    3.932723][    T7] sd 1:0:0:0: [sdb] Write Protect is off
[    3.941748][  T535] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    3.953117][  T622] usb usb2: New USB device strings: Mfr=3, Product=2, Seria
lNumber=1
[    3.953188][    T7] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabl
ed, doesn't support DPO or FUA
[    3.961148][  T535] sd 0:0:0:0: [sda] Write Protect is off
[    3.976467][  T622] usb usb2: Product: xHCI Host Controller
[    3.982095][  T622] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.989367][  T535] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabl
ed, doesn't support DPO or FUA
[    3.999142][  T622] usb usb2: SerialNumber: f10f0000.usb3
[    4.005244][  T622] hub 2-0:1.0: USB hub found
[    4.009766][  T622] hub 2-0:1.0: 1 port detected
[    4.014780][  T622] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    4.020989][  T622] xhci-hcd f10f0000.usb3: new USB bus registered, assigned
bus number 3
[    4.029428][  T622] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    4.036575][  T622] usb usb3: We don't know the algorithms for LPM for this h
ost, disabling LPM.
[    4.045570][  T622] usb usb3: New USB device found, idVendor=1d6b, idProduct=
0003, bcdDevice= 5.13
[    4.054663][  T622] usb usb3: New USB device strings: Mfr=3, Product=2, Seria
lNumber=1
[    4.062640][  T622] usb usb3: Product: xHCI Host Controller
[    4.068287][  T622] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.071481][  T535]  sda: sda1 sda2 sda3
[    4.075531][  T622] usb usb3: SerialNumber: f10f0000.usb3
[    4.085084][    T7]  sdb: sdb1 sdb2 sdb3
[    4.090248][  T535] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    4.090356][    T7] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    4.103228][  T622] hub 3-0:1.0: USB hub found
[    4.107741][  T622] hub 3-0:1.0: 1 port detected
[    4.113096][  T622] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.119175][  T622] xhci-hcd f10f8000.usb3: new USB bus registered, assigned
bus number 4
[    4.127483][  T622] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version
 0x100 quirks 0x0000000000010010
[    4.137511][  T622] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    4.144328][  T622] usb usb4: New USB device found, idVendor=1d6b, idProduct=
0002, bcdDevice= 5.13
[    4.153419][  T622] usb usb4: New USB device strings: Mfr=3, Product=2, Seria
lNumber=1
[    4.161514][  T622] usb usb4: Product: xHCI Host Controller
[    4.167120][  T622] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.174303][  T622] usb usb4: SerialNumber: f10f8000.usb3
[    4.180228][  T622] hub 4-0:1.0: USB hub found
[    4.184727][  T622] hub 4-0:1.0: 1 port detected
[    4.189774][  T622] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.195825][  T622] xhci-hcd f10f8000.usb3: new USB bus registered, assigned
bus number 5
[    4.204081][  T622] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    4.211236][  T622] usb usb5: We don't know the algorithms for LPM for this h
ost, disabling LPM.
[    4.220239][  T622] usb usb5: New USB device found, idVendor=1d6b, idProduct=
0003, bcdDevice= 5.13
[    4.229317][  T622] usb usb5: New USB device strings: Mfr=3, Product=2, Seria
lNumber=1
[    4.237281][  T622] usb usb5: Product: xHCI Host Controller
[    4.242897][  T622] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.250080][  T622] usb usb5: SerialNumber: f10f8000.usb3
[    4.255953][  T622] hub 5-0:1.0: USB hub found
[    4.260460][  T622] hub 5-0:1.0: 1 port detected
[    4.266124][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/inp
ut0
[    4.275952][    T1] Freeing unused kernel memory: 1024K
[    4.299185][   T25] usb 2-1: new high-speed USB device number 2 using xhci-hc
d
[    4.309639][    T1] Checked W+X mappings: passed, no W+X pages found
[    4.316042][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[    4.480862][   T25] usb 2-1: New USB device found, idVendor=090c, idProduct=1
000, bcdDevice=11.00
[    4.489831][   T25] usb 2-1: New USB device strings: Mfr=1, Product=2, Serial
Number=3
[    4.498052][   T25] usb 2-1: Product: USB Flash Disk
[    4.503410][   T25] usb 2-1: Manufacturer: General
[    4.508237][   T25] usb 2-1: SerialNumber: FBK1510272200005
[    4.514913][   T25] usb-storage 2-1:1.0: USB Mass Storage device detected
[    4.522368][   T25] usb-storage 2-1:1.0: Quirks match for vid 090c pid 1000:
400
[    4.530251][   T25] scsi host2: usb-storage 2-1:1.0
[    4.670662][ T1580] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    5.657068][  T622] scsi 2:0:0:0: Direct-Access     General  USB Flash Disk
 1100 PQ: 0 ANSI: 4
[    5.667693][ T1499] sd 2:0:0:0: [sdc] 3932160 512-byte logical blocks: (2.01
GB/1.88 GiB)
[    5.677651][ T1499] sd 2:0:0:0: [sdc] Write Protect is off
[    5.683889][ T1499] sd 2:0:0:0: [sdc] No Caching mode page found
[    5.689975][ T1499] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[    5.699880][ T1499]  sdc: sdc1 sdc2
[    5.706290][ T1499] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[    5.715446][    C0] random: fast init done
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ...
done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
[   13.462530][    C0] random: crng init done
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  LABEL=rootfs does not exist.  Dropping to a shell!


BusyBox v1.30.1 (Debian 1:1.30.1-6+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) e2label /dev/md0
sh: e2label: not found
(initramfs)

the label and the mount point are ok yes?
root@debian:/mnt/root/etc# lsblk /dev/md1
NAME MAJ:MIN RM SIZE RO TYPE  MOUNTPOINT
md1    9:1    0  20G  0 raid1 /mnt/root
root@debian:/mnt/root/etc# e2label /dev/md1
rootfs



Edited 1 time(s). Last edit at 06/01/2023 02:19PM by Chris.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 02:43PM
Chris,

Excellent, you're very close, almost there!

You are booting with the kernel on USB:
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
reading /boot/uImage
5236595 bytes read in 206 ms (24.2 MiB/s)
reading /boot/uRamdisk
9649885 bytes read in 350 ms (26.3 MiB/s)
## Booting image at 00800000 ...
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2023-06-01  17:34:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5236531 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.13.8-mvebu-tld-1
   Created:      2021-09-24   7:54:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9649821 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Now your bootargs is

Quote

[ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs mtdparts=pxa3xx_nand-0:5m(uboot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(ima

So you want to boot into Debian rootfs on USB first. Later you can boot with RAID rootfs with a small change in evns.

Assuming you have created the USB rootfs with Debian-5.13.8-mvebu-tld-1-rootfs-bodhi.tar.bz2 following the instruction. But perhaps you had missed a step somewhere.

Set the USB rootfs label. Mount the USB drive on another Linux box. Assuming it is mounted at /media/sdb1.

e2label /dev/sdb1 rootfs
sync
And umount the USB drive, take it back to this box and try booting again.

I also notice you used a generic USB brand. I would use a better brand such as SanDisk, Transcend, or Kingston.

=========

After you can boot into Debian on USB, switching to boot RAID rootfs is simple.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 02:44PM
that's exactly what I did.
it boots from the stick but not from the hdd
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 02:48PM
>
> So you want to boot into Debian rootfs on USB
> first. Later you can boot with RAID rootfs with a
> small change in evns.

>
> After you can boot into Debian on USB, switching
> to boot RAID rootfs is simple.

Maybe you could please tell me what are those changes?
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 02:57PM
this is the bootlog with the usb
U-Boot 2013.01_v1.04 (Apr 19 2020 - 23:10:38) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

Map:   Code:                    0x3fece000:0x3ff96000
       BSS:                     0x3ffef654
       Stack:                   0x3f9cdf20
       Heap:                    0x3f9ce000:0x3fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

NAND:  ID: dac2 ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
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... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
reading /boot/uImage
5236595 bytes read in 206 ms (24.2 MiB/s)
reading /boot/uRamdisk
9649885 bytes read in 351 ms (26.2 MiB/s)
## Booting image at 00800000 ...
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2023-06-01  17:34:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5236531 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.13.8-mvebu-tld-1
   Created:      2021-09-24   7:54:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9649821 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.8-mvebu-tld-1 (root@tldDebian) (gcc (D
ebian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 SMP PREEMPT
Sat Aug 7 14:58:41 PDT 2021
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10
c5387d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing in
struction cache
[    0.000000][    T0] OF: fdt: Machine model: WD MyCloud Ex2 Ultra
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000003f
ffffff]
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s54668 r8192 d23156 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 26
0608
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=root
fs mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(ima
ge.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve
2) earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288
 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 b
ytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 1011704K/1048576K available (11264K kernel code,
1483K rwdata, 3112K rodata, 1024K init, 325K bss, 36872K reserved, 0K cma-reserv
ed, 262144K highmem)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x404/
0x78c with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_id
s=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 i
s 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_id
s=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x0607000
0 -> 0x16070000
[    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 enable
d
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024
kB
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x5607000
1
[    0.000001][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps eve
ry 4398046511103ns
[    0.008682][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff m
ax_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.020390][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027196][    T0] Ignoring duplicate/late registration of read_current_time
r delay
[    0.034913][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff
max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.047024][    T0] Console: colour dummy device 80x30
[    0.052171][    T0] Calibrating delay loop (skipped), value calculated using
timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.063442][    T0] pid_max: default: 32768 minimum: 301
[    0.068864][    T0] LSM: Security Framework initializing
[    0.074208][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 byte
s, linear)
[    0.082193][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192
 bytes, linear)
[    0.091199][    T0] CPU: Testing write buffer coherency: ok
[    0.096769][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.102634][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.109445][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.116391][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.122340][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.129297][    T1] rcu: Hierarchical SRCU implementation.
[    0.135299][    T1] smp: Bringing up secondary CPUs ...
[    0.140927][    T1] Booting CPU 1
[    0.144384][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.144393][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.156540][    T1] smp: Brought up 1 node, 2 CPUs
[    0.161342][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.168376][    T1] CPU: All CPU(s) started in SVC mode.
[    0.174046][    T1] devtmpfs: initialized
[    0.180850][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 v
ariant 9 rev 4
[    0.189370][   T24] wait_for_initramfs() called before rootfs_initcalls
[    0.189514][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffff
ffff, max_idle_ns: 19112604462750000 ns
[    0.206488][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, lin
ear)
[    0.236306][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.243442][    T1] prandom: seed boundary self test passed
[    0.250561][    T1] prandom: 100 self tests passed
[    0.255346][    T1] pinctrl core: initialized pinctrl subsystem
[    0.262408][    T1] NET: Registered protocol family 16
[    0.268280][    T1] DMA: preallocated 256 KiB pool for atomic coherent alloca
tions
[    0.276420][    T1] audit: initializing netlink subsys (disabled)
[    0.282625][   T36] audit: type=2000 audit(0.250:1): state=initialized audit_
enabled=0 res=1
[    0.283807][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.291334][    T1] cpuidle: using governor ladder
[    0.302818][    T1] cpuidle: using governor menu
[    0.307581][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 wat
chpoint registers.
[    0.316251][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.322906][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Ar
mada 38x: disabling
[    0.331689][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: d
isabling
[    0.547096][    T1] raid6: int32x8  gen()   243 MB/s
[    0.717058][    T1] raid6: int32x8  xor()   168 MB/s
[    0.887102][    T1] raid6: int32x4  gen()   280 MB/s
[    1.057124][    T1] raid6: int32x4  xor()   178 MB/s
[    1.227083][    T1] raid6: int32x2  gen()   448 MB/s
[    1.397044][    T1] raid6: int32x2  xor()   258 MB/s
[    1.567050][    T1] raid6: int32x1  gen()   497 MB/s
[    1.737078][    T1] raid6: int32x1  xor()   195 MB/s
[    1.742024][    T1] raid6: using algorithm int32x1 gen() 497 MB/s
[    1.748103][    T1] raid6: .... xor() 195 MB/s, rmw enabled
[    1.753654][    T1] raid6: using intx1 recovery algorithm
[    1.759814][    T1] vgaarb: loaded
[    1.763526][    T1] SCSI subsystem initialized
[    1.768291][    T1] usbcore: registered new interface driver usbfs
[    1.774494][    T1] usbcore: registered new interface driver hub
[    1.780532][    T1] usbcore: registered new device driver usb
[    1.786474][    T1] mc: Linux media interface: v0.10
[    1.791477][    T1] videodev: Linux video capture interface: v2.00
[    1.797734][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.803373][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodol
fo Giometti <giometti@linux.it>
[    1.813187][    T1] PTP clock support registered
[    1.819116][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.853529][    T1] VFS: Disk quotas dquot_6.6.0
[    1.858200][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[    1.872794][    T1] NET: Registered protocol family 2
[    1.877954][    T1] IP idents hash table entries: 16384 (order: 5, 131072 byt
es, linear)
[    1.889325][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order:
0, 6144 bytes, linear)
[    1.898368][    T1] TCP established hash table entries: 8192 (order: 3, 32768
 bytes, linear)
[    1.906992][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes,
 linear)
[    1.915101][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.922290][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 byt
es, linear)
[    1.930418][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linea
r)
[    1.937722][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes,
linear)
[    1.945586][    T1] NET: Registered protocol family 1
[    1.951026][    T1] RPC: Registered named UNIX socket transport module.
[    1.957619][    T1] RPC: Registered udp transport module.
[    1.963048][    T1] RPC: Registered tcp transport module.
[    1.968428][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.975617][    T1] PCI: CLS 0 bytes, default 64
[    1.980345][    T1] NetWinder Floating Point Emulator V0.97 (double precision
)
[    1.980403][    T7] Trying to unpack rootfs image as initramfs...
[    1.993663][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7
 counters available
[    2.374775][    T7] Freeing initrd memory: 9424K
[    2.645294][    T1] Initialise system trusted keyrings
[    2.650473][    T1] Key type blacklist registered
[    2.655269][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.662495][    T1] zbud: loaded
[    2.666716][    T1] NFS: Registering the id_resolver key type
[    2.672481][    T1] Key type id_resolver registered
[    2.677341][    T1] Key type id_legacy registered
[    2.682054][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering
...
[    2.689437][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Reg
istering...
[    2.697497][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.764008][    T1] xor: measuring software checksum speed
[    2.774025][    T1]    arm4regs        :  2172 MB/sec
[    2.785091][    T1]    8regs           :  1637 MB/sec
[    2.795805][    T1]    32regs          :  1733 MB/sec
[    2.800845][    T1] xor: using function: arm4regs (2172 MB/sec)
[    2.806749][    T1] async_tx: api initialized (async)
[    2.811790][    T1] Key type asymmetric registered
[    2.816563][    T1] Asymmetric key parser 'x509' registered
[    2.822209][    T1] bounce: pool size: 64 pages
[    2.826849][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 244)
[    2.835003][    T1] io scheduler bfq registered
[    2.841585][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl d
river
[    2.850302][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' a
lready present!
[    2.859444][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' a
lready present!
[    2.869248][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.929682][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor
 cpy intr )
[    2.939434][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    2.999682][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor
 cpy intr )
[    3.067177][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.076179][    T1] printk: console [ttyS0] disabled
[    3.101297][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base
_baud = 12500000) is a 16550A
[    3.110970][    T1] printk: console [ttyS0] enabled
[    3.110970][    T1] printk: console [ttyS0] enabled
[    3.120790][    T1] printk: bootconsole [earlycon0] disabled
[    3.120790][    T1] printk: bootconsole [earlycon0] disabled
[    3.153269][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base
_baud = 12500000) is a 16550A
[    3.164440][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using du
mmy regulator
[    3.172943][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dum
my regulator
[    3.181229][    T1] ahci-mvebu f10a8000.sata: supply target not found, using
dummy regulator
[    3.189836][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports
 6 Gbps 0x3 impl platform mode
[    3.199649][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only
pmp fbs pio slum part sxs
[    3.210291][    T1] scsi host0: ahci-mvebu
[    3.214950][    T1] scsi host1: ahci-mvebu
[    3.219390][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff]
port 0x100 irq 52
[    3.228059][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff]
port 0x180 irq 52
[    3.237782][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    3.244922][    T1] nand: Macronix MX30LF2G18AC
[    3.249495][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048,
 OOB size: 64
[    3.258376][    T1] Bad block table found at page 131008, version 0x01
[    3.265606][    T1] Bad block table found at page 130944, version 0x01
[    3.272552][    T1] 8 cmdlinepart partitions found on MTD device pxa3xx_nand-
0
[    3.279831][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    3.285960][    T1] 0x000000000000-0x000000500000 : "u-boot"
[    3.292545][    T1] 0x000000500000-0x000000a00000 : "kernel"
[    3.299022][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    3.305700][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    3.312854][    T1] 0x00000c800000-0x00000d700000 : "rescue_fw"
[    3.319685][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    3.326192][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    3.332879][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    3.340097][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com
for information.
[    3.348677][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Ja
son@zx2c4.com>. All Rights Reserved.
[    3.359762][    T1] libphy: Fixed MDIO Bus: probed
[    3.365532][    T1] libphy: orion_mdio_bus: probed
[    3.380005][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network control
ler enabled
[    3.392599][    T1] mvneta f1034000.ethernet eth0: Using random mac address a
2:57:7d:bd:c9:c4
[    3.401593][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drive
r
[    3.408878][    T1] ehci-pci: EHCI PCI platform driver
[    3.414130][    T1] ehci-orion: EHCI orion driver
[    3.419020][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    3.425178][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned
 bus number 1
[    3.433600][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    3.469125][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.475958][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=
0002, bcdDevice= 5.13
[    3.485015][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seria
lNumber=1
[    3.493006][    T1] usb usb1: Product: EHCI Host Controller
[    3.498630][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    3.505831][    T1] usb usb1: SerialNumber: f1058000.usb
[    3.511594][    T1] hub 1-0:1.0: USB hub found
[    3.516098][    T1] hub 1-0:1.0: 1 port detected
[    3.521843][    T1] usbcore: registered new interface driver usblp
[    3.528141][    T1] usbcore: registered new interface driver usb-storage
[    3.535149][    T1] mousedev: PS/2 mouse device common for all mice
[    3.542482][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    3.548815][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2023-
06-01T19:55:54 UTC (1685649354)
[    3.559845][    T1] i2c /dev entries driver
[    3.564232][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery
 not supported
[    3.573070][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery
 not supported
[    3.584088][    T1] orion_wdt: Initial timeout 171 sec
[    3.589687][    T1] device-mapper: uevent: version 1.0.3
[    3.595227][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialis
ed: dm-devel@redhat.com
[    3.604625][    T1] device-mapper: multipath round-robin: version 1.2.0 loade
d
[    3.611912][    T1] device-mapper: multipath queue-length: version 0.2.0 load
ed
[    3.619299][    T1] device-mapper: multipath service-time: version 0.3.0 load
ed
[    3.626677][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.633516][    T1] device-mapper: raid: Loading target version 1.15.1
[    3.642810][    T1] marvell-cesa f1090000.crypto: CESA device successfully re
gistered
[    3.650908][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.656997][    T1] usbcore: registered new interface driver usbhid
[    3.663326][    T1] usbhid: USB HID core driver
[    3.668127][    T1] drop_monitor: Initializing network drop monitor service
[    3.675460][    T1] NET: Registered protocol family 10
[    3.681389][    T1] Segment Routing with IPv6
[    3.685774][    T1] RPL Segment Routing with IPv6
[    3.690584][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.698089][    T1] NET: Registered protocol family 17
[    3.703465][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.708406][    T1] Key type dns_resolver registered
[    3.713528][    T1] ThumbEE CPU extension supported.
[    3.718526][    T1] Registering SWP/SWPB emulation handler
[    3.724383][    T1] registered taskstats version 1
[    3.729247][    T1] Loading compiled-in X.509 certificates
[    3.735166][    T1] zswap: loaded using pool lzo/zbud
[    3.740516][    T1] Key type ._fscrypt registered
[    3.745252][    T1] Key type .fscrypt registered
[    3.749152][ T1245] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.749935][    T1] Key type fscrypt-provisioning registered
[    3.759143][ T1240] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.763716][    T1] Key type big_key registered
[    3.774075][ T1245] ata2.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDMA
/133
[    3.781707][ T1245] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 3
2)
[    3.789366][ T1240] ata1.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDMA
/133
[    3.796907][ T1240] ata1.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 3
2)
[    3.804829][ T1240] ata1.00: configured for UDMA/133
[    3.810782][ T1245] ata2.00: configured for UDMA/133
[    3.815971][    T1] Key type encrypted registered
[    3.821031][   T23] scsi 0:0:0:0: Direct-Access     ATA      WDC WD40EFAX-68J
 0A83 PQ: 0 ANSI: 5
[    3.828564][  T625] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.831013][   T23] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.
00 TB/3.64 TiB)
[    3.836343][    T7] scsi 1:0:0:0: Direct-Access     ATA      WDC WD40EFAX-68J
 0A83 PQ: 0 ANSI: 5
[    3.845566][   T23] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    3.853674][  T625] xhci-hcd f10f0000.usb3: new USB bus registered, assigned
bus number 2
[    3.859358][   T23] sd 0:0:0:0: [sda] Write Protect is off
[    3.868117][  T625] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version
 0x100 quirks 0x0000000000010010
[    3.873500][  T535] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.
00 TB/3.64 TiB)
[    3.883089][  T625] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    3.898509][   T23] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabl
ed, doesn't support DPO or FUA
[    3.898546][  T625] usb usb2: New USB device found, idVendor=1d6b, idProduct=
0002, bcdDevice= 5.13
[    3.908394][  T535] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    3.917380][  T625] usb usb2: New USB device strings: Mfr=3, Product=2, Seria
lNumber=1
[    3.917388][  T625] usb usb2: Product: xHCI Host Controller
[    3.917393][  T625] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.917397][  T625] usb usb2: SerialNumber: f10f0000.usb3
[    3.924145][  T535] sd 1:0:0:0: [sdb] Write Protect is off
[    3.949387][  T625] hub 2-0:1.0: USB hub found
[    3.955276][  T625] hub 2-0:1.0: 1 port detected
[    3.960046][  T535] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabl
ed, doesn't support DPO or FUA
[    3.964669][  T625] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.980341][  T625] xhci-hcd f10f0000.usb3: new USB bus registered, assigned
bus number 3
[    3.988595][  T625] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    3.995843][  T625] usb usb3: We don't know the algorithms for LPM for this h
ost, disabling LPM.
[    3.996666][   T23]  sda: sda1 sda2 sda3
[    4.004781][  T625] usb usb3: New USB device found, idVendor=1d6b, idProduct=
0003, bcdDevice= 5.13
[    4.017709][  T625] usb usb3: New USB device strings: Mfr=3, Product=2, Seria
lNumber=1
[    4.025715][  T625] usb usb3: Product: xHCI Host Controller
[    4.031360][  T625] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.032213][   T23] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    4.038681][  T625] usb usb3: SerialNumber: f10f0000.usb3
[    4.045158][  T535]  sdb: sdb1 sdb2 sdb3
[    4.050871][  T625] hub 3-0:1.0: USB hub found
[    4.058693][  T625] hub 3-0:1.0: 1 port detected
[    4.064245][  T625] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.064394][  T535] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    4.070882][  T625] xhci-hcd f10f8000.usb3: new USB bus registered, assigned
bus number 4
[    4.084879][  T625] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version
 0x100 quirks 0x0000000000010010
[    4.095047][  T625] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    4.102000][  T625] usb usb4: New USB device found, idVendor=1d6b, idProduct=
0002, bcdDevice= 5.13
[    4.111033][  T625] usb usb4: New USB device strings: Mfr=3, Product=2, Seria
lNumber=1
[    4.118998][  T625] usb usb4: Product: xHCI Host Controller
[    4.124617][  T625] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.131803][  T625] usb usb4: SerialNumber: f10f8000.usb3
[    4.137722][  T625] hub 4-0:1.0: USB hub found
[    4.142247][  T625] hub 4-0:1.0: 1 port detected
[    4.147286][  T625] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.153363][  T625] xhci-hcd f10f8000.usb3: new USB bus registered, assigned
bus number 5
[    4.161622][  T625] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    4.168763][  T625] usb usb5: We don't know the algorithms for LPM for this h
ost, disabling LPM.
[    4.177768][  T625] usb usb5: New USB device found, idVendor=1d6b, idProduct=
0003, bcdDevice= 5.13
[    4.186852][  T625] usb usb5: New USB device strings: Mfr=3, Product=2, Seria
lNumber=1
[    4.194830][  T625] usb usb5: Product: xHCI Host Controller
[    4.200445][  T625] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.207621][  T625] usb usb5: SerialNumber: f10f8000.usb3
[    4.213500][  T625] hub 5-0:1.0: USB hub found
[    4.217996][  T625] hub 5-0:1.0: 1 port detected
[    4.223667][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/inp
ut0
[    4.233882][    T1] Freeing unused kernel memory: 1024K
[    4.249175][   T25] usb 2-1: new high-speed USB device number 2 using xhci-hc
d
[    4.269693][    T1] Checked W+X mappings: passed, no W+X pages found
[    4.276097][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[    4.430904][   T25] usb 2-1: New USB device found, idVendor=090c, idProduct=1
000, bcdDevice=11.00
[    4.443379][   T25] usb 2-1: New USB device strings: Mfr=1, Product=2, Serial
Number=3
[    4.456819][   T25] usb 2-1: Product: USB Flash Disk
[    4.461863][   T25] usb 2-1: Manufacturer: General
[    4.466687][   T25] usb 2-1: SerialNumber: FBK1510272200005
[    4.483824][   T25] usb-storage 2-1:1.0: USB Mass Storage device detected
[    4.503289][   T25] usb-storage 2-1:1.0: Quirks match for vid 090c pid 1000:
400
[    4.519402][   T25] scsi host2: usb-storage 2-1:1.0
[    4.613856][ T1574] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    5.662201][  T535] scsi 2:0:0:0: Direct-Access     General  USB Flash Disk
 1100 PQ: 0 ANSI: 4
[    5.674065][  T625] sd 2:0:0:0: [sdc] 3932160 512-byte logical blocks: (2.01
GB/1.88 GiB)
[    5.689740][  T625] sd 2:0:0:0: [sdc] Write Protect is off
[    5.695835][  T625] sd 2:0:0:0: [sdc] No Caching mode page found
[    5.701917][  T625] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[    5.711944][  T625]  sdc: sdc1 sdc2
[    5.717087][    C0] random: fast init done
[    5.722556][  T625] sd 2:0:0:0: [sdc] Attached SCSI removable disk
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sdc2] fsck.ext3 -a -C0 /dev/sdc2
rootfs: clean, 30023/110208 files, 403768/440064 blocks
done.
[    6.174744][ T1604] EXT4-fs (sdc2): mounting ext3 file system using the ext4
subsystem
[    6.206957][ T1604] EXT4-fs (sdc2): mounted filesystem with ordered data mode
. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[    8.007451][ T1795] sd 0:0:0:0: Atta
ched scsi generic sg0 type 0
[    8.016199][ T1795] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    8.024401][ T1795] sd 2:0:0:0: Attached scsi generic sg2 type 0
[    8.301036][ T1837] md/raid1:md0: active with 2 out of 2 mirrors
[    8.312330][ T1837] md0: detected capacity change from 0 to 2240512
[    8.319475][ T1834] md/raid1:md1: active with 2 out of 2 mirrors
[    8.329636][ T1834] md1: detected capacity change from 0 to 41908224
[    8.339997][ T1838] md/raid1:md2: not clean -- starting background reconstruc
tion
[    8.347549][ T1838] md/raid1:md2: active with 2 out of 2 mirrors
[    8.468076][ T1838] md2: detected capacity change from 0 to 7769583232
[    8.482945][ T1845] md: resync of RAID array md2
[    8.597268][    C0] random: crng init done
done.
Activating swap:.
[   10.040852][ T1958] EXT4-fs (sdc2): re-mounted. Opts: errors=remount-ro. Quot
a mode: none.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Starting early crypto disks...done.
Setting up LVM Volume Groups...done.
Starting remaining crypto disks...done.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is not mounted
[/sbin/fsck.ext4 (1) -- /] fsck.ext4 -y -C0 /dev/md1
e2fsck 1.46.2 (28-Feb-2021)
rootfs: clean, 39311/1310720 files, 537559/5238528 blocks
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Initializing random number generator...done.
Starting Setting kernel variables: sysctl.
[   12.720057][ T2392] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00]
 driver [Marvell 88E1510] (irq=POLL)
[   12.731778][ T2392] mvneta f1034000.ethernet eth0: configuring for phy/sgmii
link mode
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/c2:90:9a:b0:fd:d6
Sending on   LPF/eth0/c2:90:9a:b0:fd:d6
Sending on   Socket/fallback
DHCPREQUEST for 192.168.1.210 on eth0 to 255.255.255.255 port 67
[   16.899654][   T25] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full -
flow control off
[   16.908811][   T25] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST for 192.168.1.210 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPOFFER of 192.168.1.210 from 192.168.1.10
DHCPREQUEST for 192.168.1.210 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.210 from 192.168.1.10
bound to 192.168.1.210 -- renewal in 758784 seconds.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting LVM2 poll daemon: lvmpolld.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2558 (syslogd)
.
Starting MD monitoring service: mdadm --monitor.
Starting periodic command scheduler: cron
.
Starting system message bus: dbus.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2631 (klogd)
.
Running local boot scripts (/etc/rc.local)
Cannot read environment, using default
Cannot read default environment from file
<13>Jun  1 12:57:05 root[2698]: Cannot read u-boot env ethaddr
.

Debian GNU/Linux 11 debian ttyS0

debian login: root
Password:
Linux debian 5.13.8-mvebu-tld-1 #1.0 SMP PREEMPT Sat Aug 7 14:58:41 PDT 2021 arm
v7l

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jun  1 12:09:26 PDT 2023 on ttyS0
debian
192.168.1.210
WD MyCloud Ex2 Ultra
Linux version 5.13.8-mvebu-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, G
NU ld (GNU Binutils for Debian) 2.31.1) #1.0 SMP PREEMPT Sat Aug 7 14:58:41 PDT
2021
Debian 11.7
Thu Jun 1 12:57:16 PDT 2023 up 1 minute
root@debian:~#
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 03:09PM
> this is the bootlog with the usb

> debian
> 192.168.1.210
> WD MyCloud Ex2 Ultra
> Linux version 5.13.8-mvebu-tld-1 (root@tldDebian)
> (gcc (Debian 8.3.0-6) 8.3.0, G
> NU ld (GNU Binutils for Debian) 2.31.1) #1.0 SMP
> PREEMPT Sat Aug 7 14:58:41 PDT
> 2021
> Debian 11.7
> Thu Jun 1 12:57:16 PDT 2023 up 1 minute
> root@debian:~#
> [/code]

Cool!

So now to try booting with the RAID rootfs. The bootargs should be set back to the way your stock bootargs was.

[    0.000000][    T0] Kernel command line: root=/dev/ram console=ttyS0,115200

So at serial console prompt:

setenv bootargs root=/dev/ram console=ttyS0,115200 earlyprintk=serial
Unplug the USB rootfs, and
boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 03:16PM
still not working.
no need to
saveenv
?

Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  LABEL=rootfs does not exist.  Dropping to a shell!


BusyBox v1.30.1 (Debian 1:1.30.1-6+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)
he is still looking for rootfs label
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 03:42PM
Chris,

Please post the entire boot log (don't post excerpt).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 01, 2023 10:36PM
I'm sorry,
here you go

U-Boot 2013.01_v1.04 (Apr 19 2020 - 23:10:38) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

Map:   Code:                    0x3fece000:0x3ff96000
       BSS:                     0x3ffef654
       Stack:                   0x3f9cdf20
       Heap:                    0x3f9ce000:0x3fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

NAND:  ID: dac2 ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
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... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
reading /boot/uImage
5236595 bytes read in 206 ms (24.2 MiB/s)
reading /boot/uRamdisk
9649885 bytes read in 351 ms (26.2 MiB/s)
## Booting image at 00800000 ...
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2023-06-01  17:34:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5236531 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.13.8-mvebu-tld-1
   Created:      2021-09-24   7:54:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9649821 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.8-mvebu-tld-1 (root@tldDebian) (gcc (1
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=1d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing ie
[    0.000000][    T0] OF: fdt: Machine model: WD MyCloud Ex2 Ultra
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000003]
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s54668 r8192 d23156 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 28
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rool
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 52428)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 )
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 1011704K/1048576K available (11264K kernel code,)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x4040
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_i.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay .
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_i2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x0607000
[    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 enabld
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024B
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x5607001
[    0.000001][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps evs
[    0.008681][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff s
[    0.020389][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027192][    T0] Ignoring duplicate/late registration of read_current_timy
[    0.034910][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffffs
[    0.047021][    T0] Console: colour dummy device 80x30
[    0.052168][    T0] Calibrating delay loop (skipped), value calculated using)
[    0.063439][    T0] pid_max: default: 32768 minimum: 301
[    0.068861][    T0] LSM: Security Framework initializing
[    0.074205][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 byt)
[    0.082190][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 819)
[    0.091192][    T0] CPU: Testing write buffer coherency: ok
[    0.096761][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.102626][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.109437][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.116385][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.122333][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.129291][    T1] rcu: Hierarchical SRCU implementation.
[    0.135292][    T1] smp: Bringing up secondary CPUs ...
[    0.140915][    T1] Booting CPU 1
[    0.144373][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.144382][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.156526][    T1] smp: Brought up 1 node, 2 CPUs
[    0.161326][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.168359][    T1] CPU: All CPU(s) started in SVC mode.
[    0.174032][    T1] devtmpfs: initialized
[    0.180838][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 4
[    0.189356][   T24] wait_for_initramfs() called before rootfs_initcalls
[    0.189498][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xfffs
[    0.206474][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, li)
[    0.236289][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.243426][    T1] prandom: seed boundary self test passed
[    0.250546][    T1] prandom: 100 self tests passed
[    0.255331][    T1] pinctrl core: initialized pinctrl subsystem
[    0.262388][    T1] NET: Registered protocol family 16
[    0.268258][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocs
[    0.276396][    T1] audit: initializing netlink subsys (disabled)
[    0.282601][   T36] audit: type=2000 audit(0.250:1): state=initialized audit1
[    0.283778][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.291307][    T1] cpuidle: using governor ladder
[    0.302791][    T1] cpuidle: using governor menu
[    0.307553][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 wa.
[    0.316223][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.322876][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Ag
[    0.331661][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: g
[    0.547093][    T1] raid6: int32x8  gen()   244 MB/s
[    0.717057][    T1] raid6: int32x8  xor()   168 MB/s
[    0.887087][    T1] raid6: int32x4  gen()   280 MB/s
[    1.057115][    T1] raid6: int32x4  xor()   176 MB/s
[    1.227089][    T1] raid6: int32x2  gen()   448 MB/s
[    1.397035][    T1] raid6: int32x2  xor()   257 MB/s
[    1.567068][    T1] raid6: int32x1  gen()   497 MB/s
[    1.737038][    T1] raid6: int32x1  xor()   208 MB/s
[    1.741984][    T1] raid6: using algorithm int32x1 gen() 497 MB/s
[    1.748062][    T1] raid6: .... xor() 208 MB/s, rmw enabled
[    1.753613][    T1] raid6: using intx1 recovery algorithm
[    1.759783][    T1] vgaarb: loaded
[    1.763494][    T1] SCSI subsystem initialized
[    1.768258][    T1] usbcore: registered new interface driver usbfs
[    1.774461][    T1] usbcore: registered new interface driver hub
[    1.780500][    T1] usbcore: registered new device driver usb
[    1.786442][    T1] mc: Linux media interface: v0.10
[    1.791441][    T1] videodev: Linux video capture interface: v2.00
[    1.797694][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.803334][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodo>
[    1.813150][    T1] PTP clock support registered
[    1.819080][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.853473][    T1] VFS: Disk quotas dquot_6.6.0
[    1.858153][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096)
[    1.872804][    T1] NET: Registered protocol family 2
[    1.877964][    T1] IP idents hash table entries: 16384 (order: 5, 131072 by)
[    1.888133][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order:)
[    1.897220][    T1] TCP established hash table entries: 8192 (order: 3, 3276)
[    1.905949][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    1.913858][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.921046][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 by)
[    1.929168][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, line)
[    1.936474][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes,)
[    1.944340][    T1] NET: Registered protocol family 1
[    1.949790][    T1] RPC: Registered named UNIX socket transport module.
[    1.956383][    T1] RPC: Registered udp transport module.
[    1.961813][    T1] RPC: Registered tcp transport module.
[    1.967192][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.974315][    T1] PCI: CLS 0 bytes, default 64
[    1.979032][    T1] NetWinder Floating Point Emulator V0.97 (double precisio)
[    1.979112][   T23] Trying to unpack rootfs image as initramfs...
[    1.992345][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, e
[    2.383160][   T23] Freeing initrd memory: 9424K
[    2.666952][    T1] Initialise system trusted keyrings
[    2.672125][    T1] Key type blacklist registered
[    2.676924][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.684152][    T1] zbud: loaded
[    2.688320][    T1] NFS: Registering the id_resolver key type
[    2.694087][    T1] Key type id_resolver registered
[    2.698948][    T1] Key type id_legacy registered
[    2.703662][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registerin.
[    2.711045][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Re.
[    2.719113][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.786549][    T1] xor: measuring software checksum speed
[    2.796562][    T1]    arm4regs        :  2172 MB/sec
[    2.807609][    T1]    8regs           :  1637 MB/sec
[    2.818327][    T1]    32regs          :  1733 MB/sec
[    2.823367][    T1] xor: using function: arm4regs (2172 MB/sec)
[    2.829277][    T1] async_tx: api initialized (async)
[    2.834311][    T1] Key type asymmetric registered
[    2.839090][    T1] Asymmetric key parser 'x509' registered
[    2.844723][    T1] bounce: pool size: 64 pages
[    2.849373][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded)
[    2.857501][    T1] io scheduler bfq registered
[    2.864061][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl r
[    2.872794][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' !
[    2.881935][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' !
[    2.891716][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.959648][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xo)
[    2.969380][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.029644][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xo)
[    3.103264][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.112057][    T1] printk: console [ttyS0] disabled
[    3.137142][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, basA
[    3.146939][    T1] printk: console [ttyS0] enabled
[    3.146939][    T1] printk: console [ttyS0] enabled
[    3.156774][    T1] printk: bootconsole [earlycon0] disabled
[    3.156774][    T1] printk: bootconsole [earlycon0] disabled
[    3.189020][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, basA
[    3.199750][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dr
[    3.208181][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dur
[    3.216465][    T1] ahci-mvebu f10a8000.sata: supply target not found, usingr
[    3.225068][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 porte
[    3.234880][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only
[    3.245434][    T1] scsi host0: ahci-mvebu
[    3.250039][    T1] scsi host1: ahci-mvebu
[    3.254335][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff]2
[    3.263020][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff]2
[    3.272712][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    3.279842][    T1] nand: Macronix MX30LF2G18AC
[    3.284401][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 20484
[    3.293311][    T1] Bad block table found at page 131008, version 0x01
[    3.300543][    T1] Bad block table found at page 130944, version 0x01
[    3.307481][    T1] 8 cmdlinepart partitions found on MTD device pxa3xx_nand0
[    3.314759][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    3.320896][    T1] 0x000000000000-0x000000500000 : "u-boot"
[    3.327473][    T1] 0x000000500000-0x000000a00000 : "kernel"
[    3.333967][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    3.340637][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    3.347750][    T1] 0x00000c800000-0x00000d700000 : "rescue_fw"
[    3.354563][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    3.361102][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    3.367731][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    3.374956][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com.
[    3.383552][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <J.
[    3.394577][    T1] libphy: Fixed MDIO Bus: probed
[    3.400383][    T1] libphy: orion_mdio_bus: probed
[    3.414798][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controd
[    3.426683][    T1] mvneta f1034000.ethernet eth0: Using random mac address c
[    3.435628][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drivr
[    3.442923][    T1] ehci-pci: EHCI PCI platform driver
[    3.448138][    T1] ehci-orion: EHCI orion driver
[    3.453041][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    3.459196][    T1] orion-ehci f1058000.usb: new USB bus registered, assigne1
[    3.467591][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    3.499098][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.505917][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct3
[    3.514948][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seri1
[    3.522933][    T1] usb usb1: Product: EHCI Host Controller
[    3.528539][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    3.535721][    T1] usb usb1: SerialNumber: f1058000.usb
[    3.541474][    T1] hub 1-0:1.0: USB hub found
[    3.545973][    T1] hub 1-0:1.0: 1 port detected
[    3.551710][    T1] usbcore: registered new interface driver usblp
[    3.557981][    T1] usbcore: registered new interface driver usb-storage
[    3.564977][    T1] mousedev: PS/2 mouse device common for all mice
[    3.572303][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    3.578614][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2023)
[    3.588875][    T1] i2c /dev entries driver
[    3.593265][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recoverd
[    3.602084][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recoverd
[    3.613104][    T1] orion_wdt: Initial timeout 171 sec
[    3.618673][    T1] device-mapper: uevent: version 1.0.3
[    3.624168][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialim
[    3.633563][    T1] device-mapper: multipath round-robin: version 1.2.0 loadd
[    3.640844][    T1] device-mapper: multipath queue-length: version 0.2.0 load
[    3.648194][    T1] device-mapper: multipath service-time: version 0.3.0 load
[    3.655575][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.662408][    T1] device-mapper: raid: Loading target version 1.15.1
[    3.671732][    T1] marvell-cesa f1090000.crypto: CESA device successfully rd
[    3.679817][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.685913][    T1] usbcore: registered new interface driver usbhid
[    3.692261][    T1] usbhid: USB HID core driver
[    3.697069][    T1] drop_monitor: Initializing network drop monitor service
[    3.704397][    T1] NET: Registered protocol family 10
[    3.710321][    T1] Segment Routing with IPv6
[    3.714707][    T1] RPL Segment Routing with IPv6
[    3.719513][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.727015][    T1] NET: Registered protocol family 17
[    3.732389][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.737330][    T1] Key type dns_resolver registered
[    3.742454][    T1] ThumbEE CPU extension supported.
[    3.747453][    T1] Registering SWP/SWPB emulation handler
[    3.753305][    T1] registered taskstats version 1
[    3.758130][    T1] Loading compiled-in X.509 certificates
[    3.764068][    T1] zswap: loaded using pool lzo/zbud
[    3.769162][ T1245] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.776216][ T1245] ata2.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDM3
[    3.779237][    T1] Key type ._fscrypt registered
[    3.783794][ T1245] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth )
[    3.788475][    T1] Key type .fscrypt registered
[    3.795897][ T1240] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.800528][    T1] Key type fscrypt-provisioning registered
[    3.813229][ T1240] ata1.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDM3
[    3.814327][    T1] Key type big_key registered
[    3.820835][ T1240] ata1.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth )
[    3.832895][ T1245] ata2.00: configured for UDMA/133
[    3.838413][ T1240] ata1.00: configured for UDMA/133
[    3.850264][    T1] Key type encrypted registered
[    3.853869][    T7] scsi 0:0:0:0: Direct-Access     ATA      WDC WD40EFAX-685
[    3.865017][  T622] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.870220][    T7] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4)
[    3.871517][   T23] scsi 1:0:0:0: Direct-Access     ATA      WDC WD40EFAX-685
[    3.880114][    T7] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    3.888431][  T622] xhci-hcd f10f0000.usb3: new USB bus registered, assigned2
[    3.896187][  T535] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4)
[    3.903001][  T622] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci versio0
[    3.911178][  T535] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    3.921218][  T622] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    3.927659][    T7] sd 0:0:0:0: [sda] Write Protect is off
[    3.933975][  T622] usb usb2: New USB device found, idVendor=1d6b, idProduct3
[    3.939189][  T535] sd 1:0:0:0: [sdb] Write Protect is off
[    3.948139][  T622] usb usb2: New USB device strings: Mfr=3, Product=2, Seri1
[    3.961660][  T622] usb usb2: Product: xHCI Host Controller
[    3.961720][  T535] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabA
[    3.967266][  T622] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.977135][    T7] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabA
[    3.984256][  T622] usb usb2: SerialNumber: f10f0000.usb3
[    3.999450][  T622] hub 2-0:1.0: USB hub found
[    4.004130][  T622] hub 2-0:1.0: 1 port detected
[    4.009209][  T622] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    4.015263][  T622] xhci-hcd f10f0000.usb3: new USB bus registered, assigned3
[    4.023531][  T622] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    4.030760][  T622] usb usb3: We don't know the algorithms for LPM for this .
[    4.039704][  T622] usb usb3: New USB device found, idVendor=1d6b, idProduct3
[    4.048717][  T622] usb usb3: New USB device strings: Mfr=3, Product=2, Seri1
[    4.056696][  T622] usb usb3: Product: xHCI Host Controller
[    4.062310][  T622] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.066889][    T7]  sda: sda1 sda2 sda3
[    4.069502][  T622] usb usb3: SerialNumber: f10f0000.usb3
[    4.069977][  T622] hub 3-0:1.0: USB hub found
[    4.075015][  T535]  sdb: sdb1 sdb2 sdb3
[    4.078935][  T622] hub 3-0:1.0: 1 port detected
[    4.090092][    T7] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    4.092814][  T622] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.099297][  T535] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    4.105228][  T622] xhci-hcd f10f8000.usb3: new USB bus registered, assigned4
[    4.118757][  T622] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci versio0
[    4.128915][  T622] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    4.135641][  T622] usb usb4: New USB device found, idVendor=1d6b, idProduct3
[    4.144724][  T622] usb usb4: New USB device strings: Mfr=3, Product=2, Seri1
[    4.152823][  T622] usb usb4: Product: xHCI Host Controller
[    4.158430][  T622] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.165656][  T622] usb usb4: SerialNumber: f10f8000.usb3
[    4.171486][  T622] hub 4-0:1.0: USB hub found
[    4.175984][  T622] hub 4-0:1.0: 1 port detected
[    4.180995][  T622] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.187048][  T622] xhci-hcd f10f8000.usb3: new USB bus registered, assigned5
[    4.195306][  T622] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    4.202458][  T622] usb usb5: We don't know the algorithms for LPM for this .
[    4.211469][  T622] usb usb5: New USB device found, idVendor=1d6b, idProduct3
[    4.220573][  T622] usb usb5: New USB device strings: Mfr=3, Product=2, Seri1
[    4.228538][  T622] usb usb5: Product: xHCI Host Controller
[    4.234154][  T622] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.241339][  T622] usb usb5: SerialNumber: f10f8000.usb3
[    4.247124][  T622] hub 5-0:1.0: USB hub found
[    4.251635][  T622] hub 5-0:1.0: 1 port detected
[    4.257150][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/in0
[    4.266975][    T1] Freeing unused kernel memory: 1024K
[    4.289150][   T25] usb 2-1: new high-speed USB device number 2 using xhci-hd
[    4.329615][    T1] Checked W+X mappings: passed, no W+X pages found
[    4.336020][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[    4.470785][   T25] usb 2-1: New USB device found, idVendor=090c, idProduct=0
[    4.489238][   T25] usb 2-1: New USB device strings: Mfr=1, Product=2, Seria3
[    4.497140][   T25] usb 2-1: Product: USB Flash Disk
[    4.505262][   T25] usb 2-1: Manufacturer: General
[    4.510136][   T25] usb 2-1: SerialNumber: FBK1510272200005
[    4.516509][   T25] usb-storage 2-1:1.0: USB Mass Storage device detected
[    4.529322][   T25] usb-storage 2-1:1.0: Quirks match for vid 090c pid 1000:0
[    4.536877][   T25] scsi host2: usb-storage 2-1:1.0
[    4.699320][ T1570] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    5.736746][  T622] scsi 2:0:0:0: Direct-Access     General  USB Flash Disk 4
[    5.747282][  T535] sd 2:0:0:0: [sdc] 3932160 512-byte logical blocks: (2.01)
[    5.756937][  T535] sd 2:0:0:0: [sdc] Write Protect is off
[    5.763076][  T535] sd 2:0:0:0: [sdc] No Caching mode page found
[    5.769139][  T535] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[    5.779183][  T535]  sdc: sdc1 sdc2
[    5.788794][    C0] random: fast init done
[    5.812264][  T535] sd 2:0:0:0: [sdc] Attached SCSI removable disk
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ....
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
[   16.666019][    C0] random: crng init done
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  LABEL=rootfs does not exist.  Dropping to a shell!


BusyBox v1.30.1 (Debian 1:1.30.1-6+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

here is also the printenv

Marvell>> printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_debian_usb=usb start; sleep 5; fatload usb 0:1 0x00800000 /boot/uImage; fa0
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=root=/dev/ram console=ttyS0,115200
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rool
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=run set_bootargs_debian; run boot_debian_usb; reset
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bo;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nand;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd t
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bo
bootcmd_stock=echo Booting from stock ... ; run\
et_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;na0
bootcmd_usb=echo Booting from USB ...; usb start; run usb_set_bootargs; if run p
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:00:1b:51
eth1mtu=1500
eth2addr=00:50:43:00:29:51
eth2mtu=1500
eth3addr=00:50:43:1b:29:00
eth3mtu=1500
ethact=egiga2
ethaddr=00:50:43:29:1b:51
ethmtu=1500
ethprime=egiga2
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=12
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
load_image=echo loading Image ...; fatload $bootdev $device $load_image_addr /be
load_image_addr=0x02000020
load_initrd=echo loading uInitrd ...; fatload $bootdev $device $load_initrd_addd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:51:29:00
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
sata_init=mw.l f1018100 20420000; mw.l f1018140 003ca800; sleep 3; scsi init
script_addr_r=3000000
script_name=boot.scr
scsidevs=0
serverip=192.168.11.114
set_bootargs_debian=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs mtdpl
set_bootargs_stock=setenv bootargs root=/dev/ram console=ttyS0,115200
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdp;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=0
usbType=3
usb_set_bootargs=setenv bootargs "console=ttyS0,115200 root=LABEL=rootfs rootde"
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 4541/524284 bytes
Marvell>>

is it loading the fstab before booting?

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
LABEL=rootfs    /               ext4    noatime,errors=remount-ro 0 1
tmpfs          /tmp            tmpfs   defaults          0       0



Edited 2 time(s). Last edit at 06/02/2023 01:32PM by Chris.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 02, 2023 01:58PM
Ah,

Try again. You don't need to do saveenv. Only use saveenv when you're sure that it is working and you want to commit the change.

setenv set_bootargs_debian 'setenv bootargs root=/dev/ram console=ttyS0,115200 earlyprintk=serial'
and then
boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 02, 2023 02:57PM
no, he only waited longer till he gave up
but as i see the mdadm (RAID) is not started?

U-Boot 2013.01_v1.04 (Apr 19 2020 - 23:10:38) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

Map:   Code:                    0x3fece000:0x3ff96000
       BSS:                     0x3ffef654
       Stack:                   0x3f9cdf20
       Heap:                    0x3f9ce000:0x3fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

NAND:  ID: dac2 ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  0
Marvell>> 1111111111111111111<INTERRUPT>
Marvell>> setenv set_bootargs_debian 'setenv bootargs root=/dev/ram console=tty'
Marvell>> boot
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
reading /boot/uImage
5236595 bytes read in 207 ms (24.1 MiB/s)
reading /boot/uRamdisk
9649885 bytes read in 353 ms (26.1 MiB/s)
## Booting image at 00800000 ...
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2023-06-01  17:34:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5236531 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.13.8-mvebu-tld-1
   Created:      2021-09-24   7:54:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9649821 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.8-mvebu-tld-1 (root@tldDebian) (gcc (1
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=1d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing ie
[    0.000000][    T0] OF: fdt: Machine model: WD MyCloud Ex2 Ultra
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000003]
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s54668 r8192 d23156 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 28
[    0.000000][    T0] Kernel command line: root=/dev/ram console=ttyS0,115200 l
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 52428)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 )
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 1011704K/1048576K available (11264K kernel code,)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x4040
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_i.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay .
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_i2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x0607000
[    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 enabld
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024B
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x5607001
[    0.000001][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps evs
[    0.008682][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff s
[    0.020390][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027194][    T0] Ignoring duplicate/late registration of read_current_timy
[    0.034912][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffffs
[    0.047022][    T0] Console: colour dummy device 80x30
[    0.052169][    T0] Calibrating delay loop (skipped), value calculated using)
[    0.063441][    T0] pid_max: default: 32768 minimum: 301
[    0.068862][    T0] LSM: Security Framework initializing
[    0.074206][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 byt)
[    0.082191][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 819)
[    0.091194][    T0] CPU: Testing write buffer coherency: ok
[    0.096763][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.102626][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.109439][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.116385][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.122335][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.129292][    T1] rcu: Hierarchical SRCU implementation.
[    0.135293][    T1] smp: Bringing up secondary CPUs ...
[    0.140920][    T1] Booting CPU 1
[    0.144378][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.144388][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.156533][    T1] smp: Brought up 1 node, 2 CPUs
[    0.161333][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.168366][    T1] CPU: All CPU(s) started in SVC mode.
[    0.174040][    T1] devtmpfs: initialized
[    0.180810][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 4
[    0.189329][   T24] wait_for_initramfs() called before rootfs_initcalls
[    0.189472][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xfffs
[    0.206446][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, li)
[    0.236262][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.243397][    T1] prandom: seed boundary self test passed
[    0.250516][    T1] prandom: 100 self tests passed
[    0.255301][    T1] pinctrl core: initialized pinctrl subsystem
[    0.262372][    T1] NET: Registered protocol family 16
[    0.268222][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocs
[    0.276357][    T1] audit: initializing netlink subsys (disabled)
[    0.282564][   T36] audit: type=2000 audit(0.250:1): state=initialized audit1
[    0.283751][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.291272][    T1] cpuidle: using governor ladder
[    0.302757][    T1] cpuidle: using governor menu
[    0.307499][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 wa.
[    0.316169][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.322823][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Ag
[    0.331607][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: g
[    0.547316][    T1] raid6: int32x8  gen()   243 MB/s
[    0.717043][    T1] raid6: int32x8  xor()   168 MB/s
[    0.887121][    T1] raid6: int32x4  gen()   280 MB/s
[    1.057040][    T1] raid6: int32x4  xor()   174 MB/s
[    1.227102][    T1] raid6: int32x2  gen()   447 MB/s
[    1.397058][    T1] raid6: int32x2  xor()   255 MB/s
[    1.567096][    T1] raid6: int32x1  gen()   497 MB/s
[    1.737041][    T1] raid6: int32x1  xor()   208 MB/s
[    1.741987][    T1] raid6: using algorithm int32x1 gen() 497 MB/s
[    1.748065][    T1] raid6: .... xor() 208 MB/s, rmw enabled
[    1.753615][    T1] raid6: using intx1 recovery algorithm
[    1.759797][    T1] vgaarb: loaded
[    1.763698][    T1] SCSI subsystem initialized
[    1.768818][    T1] usbcore: registered new interface driver usbfs
[    1.775065][    T1] usbcore: registered new interface driver hub
[    1.781144][    T1] usbcore: registered new device driver usb
[    1.787435][    T1] mc: Linux media interface: v0.10
[    1.792454][    T1] videodev: Linux video capture interface: v2.00
[    1.798915][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.804556][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodo>
[    1.814421][    T1] PTP clock support registered
[    1.820617][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.860936][    T1] VFS: Disk quotas dquot_6.6.0
[    1.865602][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096)
[    1.896323][    T1] NET: Registered protocol family 2
[    1.901569][    T1] IP idents hash table entries: 16384 (order: 5, 131072 by)
[    1.915433][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order:)
[    1.924549][    T1] TCP established hash table entries: 8192 (order: 3, 3276)
[    1.933034][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    1.940965][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.948128][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 by)
[    1.956499][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, line)
[    1.963833][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes,)
[    1.971694][    T1] NET: Registered protocol family 1
[    1.990848][    T1] RPC: Registered named UNIX socket transport module.
[    1.997442][    T1] RPC: Registered udp transport module.
[    2.002871][    T1] RPC: Registered tcp transport module.
[    2.008251][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.015384][    T1] PCI: CLS 0 bytes, default 64
[    2.020083][    T1] NetWinder Floating Point Emulator V0.97 (double precisio)
[    2.020161][  T535] Trying to unpack rootfs image as initramfs...
[    2.033425][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, e
[    2.432527][  T535] Freeing initrd memory: 9424K
[    2.670486][    T1] Initialise system trusted keyrings
[    2.675674][    T1] Key type blacklist registered
[    2.680820][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.688037][    T1] zbud: loaded
[    2.692226][    T1] NFS: Registering the id_resolver key type
[    2.697966][    T1] Key type id_resolver registered
[    2.702861][    T1] Key type id_legacy registered
[    2.707568][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registerin.
[    2.714973][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Re.
[    2.723064][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.790988][    T1] xor: measuring software checksum speed
[    2.801016][    T1]    arm4regs        :  2172 MB/sec
[    2.812063][    T1]    8regs           :  1637 MB/sec
[    2.822791][    T1]    32regs          :  1733 MB/sec
[    2.827824][    T1] xor: using function: arm4regs (2172 MB/sec)
[    2.833734][    T1] async_tx: api initialized (async)
[    2.838768][    T1] Key type asymmetric registered
[    2.843559][    T1] Asymmetric key parser 'x509' registered
[    2.849198][    T1] bounce: pool size: 64 pages
[    2.853850][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded)
[    2.862010][    T1] io scheduler bfq registered
[    2.868575][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl r
[    2.877268][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' !
[    2.886430][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' !
[    2.896194][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.961207][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xo)
[    2.970937][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.031172][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xo)
[    3.098614][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.107626][    T1] printk: console [ttyS0] disabled
[    3.132747][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, basA
[    3.142444][    T1] printk: console [ttyS0] enabled
[    3.142444][    T1] printk: console [ttyS0] enabled
[    3.152263][    T1] printk: bootconsole [earlycon0] disabled
[    3.152263][    T1] printk: bootconsole [earlycon0] disabled
[    3.184726][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, basA
[    3.195875][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dr
[    3.204374][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dur
[    3.212672][    T1] ahci-mvebu f10a8000.sata: supply target not found, usingr
[    3.221267][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 porte
[    3.231080][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only
[    3.241725][    T1] scsi host0: ahci-mvebu
[    3.246375][    T1] scsi host1: ahci-mvebu
[    3.250813][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff]2
[    3.259481][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff]2
[    3.269513][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    3.276622][    T1] nand: Macronix MX30LF2G18AC
[    3.281189][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 20484
[    3.290068][    T1] Bad block table found at page 131008, version 0x01
[    3.297302][    T1] Bad block table found at page 130944, version 0x01
[    3.304273][    T1] 8 fixed-partitions partitions found on MTD device pxa3xx0
[    3.311989][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    3.318119][    T1] 0x000000000000-0x000000500000 : "U-Boot"
[    3.324974][    T1] 0x000000500000-0x000000a00000 : "uImage"
[    3.331735][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    3.338616][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    3.346037][    T1] 0x00000c800000-0x00000d700000 : "rescue fw"
[    3.353137][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    3.359900][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    3.366863][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    3.374590][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com.
[    3.383187][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <J.
[    3.395125][    T1] libphy: Fixed MDIO Bus: probed
[    3.401880][    T1] libphy: orion_mdio_bus: probed
[    3.416733][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controd
[    3.429538][    T1] mvneta f1034000.ethernet eth0: Using random mac address c
[    3.438673][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drivr
[    3.445990][    T1] ehci-pci: EHCI PCI platform driver
[    3.451289][    T1] ehci-orion: EHCI orion driver
[    3.456186][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    3.462347][    T1] orion-ehci f1058000.usb: new USB bus registered, assigne1
[    3.470769][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    3.500624][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.507451][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct3
[    3.516507][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seri1
[    3.524498][    T1] usb usb1: Product: EHCI Host Controller
[    3.530121][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    3.537325][    T1] usb usb1: SerialNumber: f1058000.usb
[    3.543195][    T1] hub 1-0:1.0: USB hub found
[    3.547693][    T1] hub 1-0:1.0: 1 port detected
[    3.553863][    T1] usbcore: registered new interface driver usblp
[    3.560211][    T1] usbcore: registered new interface driver usb-storage
[    3.567349][    T1] mousedev: PS/2 mouse device common for all mice
[    3.575057][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    3.581844][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2023)
[    3.592350][    T1] i2c /dev entries driver
[    3.596794][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recoverd
[    3.605741][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recoverd
[    3.617360][    T1] orion_wdt: Initial timeout 171 sec
[    3.623023][    T1] device-mapper: uevent: version 1.0.3
[    3.628559][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialim
[    3.637965][    T1] device-mapper: multipath round-robin: version 1.2.0 loadd
[    3.645247][    T1] device-mapper: multipath queue-length: version 0.2.0 load
[    3.652609][    T1] device-mapper: multipath service-time: version 0.3.0 load
[    3.659987][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.666821][    T1] device-mapper: raid: Loading target version 1.15.1
[    3.676256][    T1] marvell-cesa f1090000.crypto: CESA device successfully rd
[    3.684530][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.690837][    T1] usbcore: registered new interface driver usbhid
[    3.697146][    T1] usbhid: USB HID core driver
[    3.702088][    T1] drop_monitor: Initializing network drop monitor service
[    3.709403][    T1] NET: Registered protocol family 10
[    3.715369][    T1] Segment Routing with IPv6
[    3.719756][    T1] RPL Segment Routing with IPv6
[    3.724560][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.732378][    T1] NET: Registered protocol family 17
[    3.737671][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.742632][    T1] Key type dns_resolver registered
[    3.747712][    T1] ThumbEE CPU extension supported.
[    3.752722][    T1] Registering SWP/SWPB emulation handler
[    3.758618][    T1] registered taskstats version 1
[    3.760654][ T1245] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.763488][    T1] Loading compiled-in X.509 certificates
[    3.775916][ T1240] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.783265][    T1] zswap: loaded using pool lzo/zbud
[    3.788483][ T1245] ata2.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDM3
[    3.788600][    T1] Key type ._fscrypt registered
[    3.796058][ T1245] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth )
[    3.800832][ T1240] ata1.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDM3
[    3.808182][    T1] Key type .fscrypt registered
[    3.815724][ T1240] ata1.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth )
[    3.820336][    T1] Key type fscrypt-provisioning registered
[    3.833473][ T1245] ata2.00: configured for UDMA/133
[    3.834589][    T1] Key type big_key registered
[    3.843088][ T1240] ata1.00: configured for UDMA/133
[    3.848505][  T535] scsi 0:0:0:0: Direct-Access     ATA      WDC WD40EFAX-685
[    3.858687][  T626] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4)
[    3.867397][  T626] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    3.867682][    T7] scsi 1:0:0:0: Direct-Access     ATA      WDC WD40EFAX-685
[    3.873431][  T626] sd 0:0:0:0: [sda] Write Protect is off
[    3.883238][    T7] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4)
[    3.896557][    T1] Key type encrypted registered
[    3.896561][    T7] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    3.896625][    T7] sd 1:0:0:0: [sdb] Write Protect is off
[    3.902942][  T626] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabA
[    3.908401][  T535] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.928835][    T7] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabA
[    3.929237][  T535] xhci-hcd f10f0000.usb3: new USB bus registered, assigned2
[    3.947139][  T535] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci versio0
[    3.957339][  T535] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    3.964279][  T535] usb usb2: New USB device found, idVendor=1d6b, idProduct3
[    3.973318][  T535] usb usb2: New USB device strings: Mfr=3, Product=2, Seri1
[    3.981296][  T535] usb usb2: Product: xHCI Host Controller
[    3.986905][  T535] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.994151][  T535] usb usb2: SerialNumber: f10f0000.usb3
[    3.999974][  T626]  sda: sda1 sda2 sda3
[    4.004454][  T535] hub 2-0:1.0: USB hub found
[    4.009902][  T626] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    4.010644][  T535] hub 2-0:1.0: 1 port detected
[    4.021169][  T535] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    4.027289][  T535] xhci-hcd f10f0000.usb3: new USB bus registered, assigned3
[    4.035660][  T535] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    4.042899][    T7]  sdb: sdb1 sdb2 sdb3
[    4.047984][    T7] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    4.054332][  T535] usb usb3: We don't know the algorithms for LPM for this .
[    4.063282][  T535] usb usb3: New USB device found, idVendor=1d6b, idProduct3
[    4.072309][  T535] usb usb3: New USB device strings: Mfr=3, Product=2, Seri1
[    4.080272][  T535] usb usb3: Product: xHCI Host Controller
[    4.085885][  T535] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.093069][  T535] usb usb3: SerialNumber: f10f0000.usb3
[    4.098859][  T535] hub 3-0:1.0: USB hub found
[    4.103443][  T535] hub 3-0:1.0: 1 port detected
[    4.108643][  T535] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.114732][  T535] xhci-hcd f10f8000.usb3: new USB bus registered, assigned4
[    4.123044][  T535] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci versio0
[    4.133172][  T535] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    4.139874][  T535] usb usb4: New USB device found, idVendor=1d6b, idProduct3
[    4.148907][  T535] usb usb4: New USB device strings: Mfr=3, Product=2, Seri1
[    4.156882][  T535] usb usb4: Product: xHCI Host Controller
[    4.162553][  T535] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.169847][  T535] usb usb4: SerialNumber: f10f8000.usb3
[    4.175673][  T535] hub 4-0:1.0: USB hub found
[    4.180170][  T535] hub 4-0:1.0: 1 port detected
[    4.185121][  T535] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.191201][  T535] xhci-hcd f10f8000.usb3: new USB bus registered, assigned5
[    4.199444][  T535] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    4.206596][  T535] usb usb5: We don't know the algorithms for LPM for this .
[    4.215597][  T535] usb usb5: New USB device found, idVendor=1d6b, idProduct3
[    4.224630][  T535] usb usb5: New USB device strings: Mfr=3, Product=2, Seri1
[    4.232603][  T535] usb usb5: Product: xHCI Host Controller
[    4.238208][  T535] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.245442][  T535] usb usb5: SerialNumber: f10f8000.usb3
[    4.251215][  T535] hub 5-0:1.0: USB hub found
[    4.255710][  T535] hub 5-0:1.0: 1 port detected
[    4.261259][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/in0
[    4.271191][    T1] Freeing unused kernel memory: 1024K
[    4.310632][   T25] usb 2-1: new high-speed USB device number 2 using xhci-hd
[    4.321181][    T1] Checked W+X mappings: passed, no W+X pages found
[    4.327582][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[    4.492361][   T25] usb 2-1: New USB device found, idVendor=090c, idProduct=0
[    4.504925][   T25] usb 2-1: New USB device strings: Mfr=1, Product=2, Seria3
[    4.513162][   T25] usb 2-1: Product: USB Flash Disk
[    4.518457][   T25] usb 2-1: Manufacturer: General
[    4.523632][   T25] usb 2-1: SerialNumber: FBK1510272200005
[    4.529950][   T25] usb-storage 2-1:1.0: USB Mass Storage device detected
[    4.537477][   T25] usb-storage 2-1:1.0: Quirks match for vid 090c pid 1000:0
[    4.545413][   T25] scsi host2: usb-storage 2-1:1.0
[    4.672398][ T1574] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... [    5.743790][    T7] scsi 2:0:0:0: Di4
[    5.754999][  T535] sd 2:0:0:0: [sdc] 3932160 512-byte logical blocks: (2.01)
[    5.763865][  T535] sd 2:0:0:0: [sdc] Write Protect is off
[    5.769957][  T535] sd 2:0:0:0: [sdc] No Caching mode page found
[    5.776021][  T535] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[    5.785503][  T535]  sdc: sdc1 sdc2
[    5.791193][  T535] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[    5.799262][    C0] random: fast init done
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/ram does not exist.  Dropping to a shell!


BusyBox v1.30.1 (Debian 1:1.30.1-6+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) blkid
/dev/mtdblock5: UUID="264942749" TYPE="ubi"
/dev/mtdblock6: UUID="1151978628" TYPE="ubi"
/dev/mtdblock7: TYPE="ubi"
/dev/sda1: UUID="f642aeac-331e-09dd-8ab5-912a97570362" UUID_SUB="e8b81f81-23de-"
/dev/sda2: UUID="2f7360a0-e309-7e58-1070-0f04870cda9d" UUID_SUB="68169067-ca22-"
/dev/sda3: UUID="12a0f95c-1ff7-9050-ee66-309ff2d8287f" UUID_SUB="fee87f1b-eec7-"
/dev/sdb1: UUID="f642aeac-331e-09dd-8ab5-912a97570362" UUID_SUB="e7d56356-1ddd-"
/dev/sdb2: UUID="2f7360a0-e309-7e58-1070-0f04870cda9d" UUID_SUB="8742b507-c547-"
/dev/sdb3: UUID="12a0f95c-1ff7-9050-ee66-309ff2d8287f" UUID_SUB="0d3415ed-e122-"
/dev/sdc1: SEC_TYPE="msdos" UUID="77A5-B2C3" BLOCK_SIZE="512" TYPE="vfat" PARTU"
/dev/sdc2: LABEL="newroot" UUID="1d5f0ff1-bf14-4643-85d7-44f4fc26f3c3" SEC_TYPE"
(initramfs)
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: