Welcome! Log In Create A New Profile

Advanced

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

Posted by i5Js 
How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 26, 2022 04:10AM
bodhi's notes: The installation procedure by i5Js should not be used as is. There are improvements needed, which I've tried to annotate.

The guide is the result of two months of work, testing, and failures. There were a lot of thanks during those days, all of this wouldn't be possible without their help, so they deserve credit too.

Disclaimer. I'm not responsible if you lose your data, and neither are all the guys in this guide. We're voiding the warranty.

What do we need?
** USB key. Always MBR, do not format it as GPT because the box will not recognize it. Thank you to Storm for his discovery

** Console: It's a must; you need an FT23RL USB UART converted. There are a lot on amazon. You can check this blog for more details (Thanks Nico)

** Minicom for Linux or putty for windows. I have always used minicom.

I will split this guide into six sections: Serial console, boot from the USB, Debian recovery firmware, u-boot, kernel and file system, Open Media Vault.

Let's play!



Edited 2 time(s). Last edit at 07/26/2024 04:54PM by bodhi.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 26, 2022 04:23AM
1.- Serial Console.

It's a must. You will need it to debug everything. It was my first pain because I had no skills to solder the wires. Here you can find the pinouts.

There are some lessons learned here:

1.- Thanks to Gisab, I realized that a MacBook Pro isn't the best option for working. The noise was a problem, so use a raspberry or a plastic laptop if you're on the same page. Below are some examples:

b}?g{??ɕ?>{yz_??<?= 12304 Kbytes                                                                                                                                 
percentage = 1                                                                                                                                                                       
                                                                                                                                                                                     
/usr/local/config fr_Y??镁i{ 1359?2?6                                                                                                                                                
?** co|y>{n??fmog{??current vw ver1 = 2.42.115                                                                                                                                       
                                                                                                                                                                                     
curren׻???r??=?2?72??5??185.2022

2.- Almost every guide on the internet says you don't need 3.3v, and probably it is true, you don’t need it. However, and thanks to Gisab, I had to connect it to get a clear signal. After that, everything started to happen. So FIRST do not connect it and try it, if it works, go ahead, if it doesn’t and you want troubleshoot first, check here and here:

> For most serial module
> converters
in the market (CP2xxx and
> PL3xxx chip), if you connect 3.3v you will
> risk frying the serial
> port


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


U-Boot 2013.01_v1.04 (Jul 05 2017 - 16:59:05) 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:0x3ff95f50
       BSS:			0x3ffef254
       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: 9/4
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>>



Edited 6 time(s). Last edit at 12/27/2022 11:58AM by i5Js.
Attachments:
open | download - 23C6E138-4258-4AA2-A68F-F98AB99C1790.jpeg (213.9 KB)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 26, 2022 04:51AM
2.- Boot from USB

The box can be booted with a USB key. Make sure it's in FAT32 [bodhi edit: I don't think it is correct here, the format should be Ext3, and this is where the entire rootfs should be], and copy these files to the root folder. Connect it to port 2 (very important because using the stock u-boot, port 1 is disabled) and hold the reset button while you turn on the NAS. The console port will show you the boot process.

Bonus: If your box is bricked, you can always fix it using this method, but now you just keep the uImage file on your USB key. You'll be able to flash any WD firmware after the NAS boots in stock recovery mode.



Edited 3 time(s). Last edit at 07/26/2024 04:46PM by bodhi.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 26, 2022 05:04AM
3.- Debian Recovery Mode.

You don't have to do it, but it's useful if you need to recover your data. You only need to flash this firmware. The stock firmware will be rewritten, so it won't be available. But you'll get a busbox with md tools, telnet, and everything you need to troubleshoot.



Edited 1 time(s). Last edit at 12/26/2022 05:06AM by i5Js.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 26, 2022 05:13AM
4.- U-Boot.

bodhi's note on 12 Apr 2024: While CyberPK's modded u-boot is a good build, this part of the installation need to be a bit more elaborate in the instruction. Please post question if you are installing this box.


CyberPK did an incredible job, you can find all the details and the patched version here
Basically, the stock u-boot disables saving environment settings, and we need to change the memory address to boot the new kernel and ramdisk, so we'll need a new u-boot.

Now that we've downloaded the files, let's test them. Thanks a lot, Bodhi! Kwboot is required. If you are using an arm board, you can download from here. If you use x86, it should be included or you can install it using your package manager.

Lesson learned here: You need a very stable connection or you will have problems:

pi@raspi:~ $ sudo ./kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -p
kwboot version 2022.07-00607-g36b661dc91
Sending boot message. Please reboot the target...-
Sending boot image header (70528 bytes)...
  0 % [.++++++++++.+.++.+++++++++++++++EE
xmodem: Bad message

pi@raspi:~ $ ./kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -p
kwboot version 2022.07-00607-g36b661dc91
Sending boot message. Please reboot the target.../
Sending boot image header (70528 bytes)...
  0 % [.+++++++++++++.++++++++++++.++++++++++.+++++++++++++++EE
xmodem: Bad message

I fixed it using a VM in my ESXi lab. Check it here

Once we see that it works, we can flash it. Connect the device to the serial adapter, power on the device and start pressing '1' (one) during the boot until you can see the 'Marvell>> then:

usb start
bubt u-boot-a38x-GrandTeton_2014T3_PQ-nand.bin nand usb
reset

Now that we have the u-boot patched keep in mind that the USB port that will be active will be the 1. However, it can't read ext2 partitions or boot kernels:

Marvell>> usb start                                                                                                                                                                           
(Re)start USB...                                                                                                                                                                              
USB0:   Port (usbActive) : 1    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                                                                                                                        
Marvell>> setenv fdt_skip_update yes                                                                                                                                                          
Marvell>> setenv bootargs root=/dev/sda2 console=ttyS0,115200 earlyprintk=serial                                                                                                              
Marvell>> fatload usb 0:1 0x02000000 uimage                                                                                                                                                   
reading uimage                                                                                                                                                                                
5236606 bytes read in 226 ms (22.1 MiB/s)                                                                                                                                                     
Marvell>> bootm 0x02000000                                                                                                                                                                    
## Booting image at 02000000 ...                                                                                                                                                              
## Booting kernel from Legacy Image at 02000000 ...                                                                                                                                           
   Image Name:   Linux-5.13.8-mvebu-tld-1                                                                                                                                                     
   Created:      2022-11-25   9:49:59 UTC                                                                                                                                                     
   Image Type:   ARM Linux Kernel Image (uncompressed)                                                                                                                                        
   Data Size:    5236542 Bytes = 5 MiB                                                                                                                                                        
   Load Address: 00008000                                                                                                                                                                     
   Entry Point:  00008000                                                                                                                                                                     
   Verifying Checksum ... OK

Marvell>> usb start                                                             
(Re)start USB...                                                                
USB0:   Port (usbActive) : 1    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          
Marvell>> sleep 5                                                               
Marvell>> ext2ls usb 0:1 /

So we will need to enable port 2 to get back everything. Thanks to bodhi and mcmg2.

Marvell>> setenv usbActive 0                                                                                                                                                                                                                                                                                                                                                                                                                
Marvell>> setenv usbType 3                                                                                                                                                                                                                                                                                                                                                                                                                  
(Re)start USB...art                                                                                                                                                                                                                                                                                                                                                                                                                         
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                                                                                                                                                                                                                                                                                                                                                                      
Marvell>> setenv set_bootargs_debian "setenv bootargs console=ttyS0,115200 root=LABEL=rootfs mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) earlyprintk=serial"                                                                                                                                                            
Marvell>> ext2load usb 0:1 0x00800000 boot/uImage                                                                                                                                                                                                                                                                                                                                                                                           
5236595 bytes read in 576 ms (8.7 MiB/s)                                                                                                                                                                                                                                                                                                                                                                                                    
Marvell>> ext2load usb 0:1 0x02100000 boot/uRamdisk                                                                                                                                                                                                                                                                                                                                                                                         
9649885 bytes read in 736 ms (12.5 MiB/s)                                                                                                                                                                                                                                                                                                                                                                                                   
Marvell>> bootm 0x00800000 0x02100000                                                                                                                                                                                                                                                                                                                                                                                                       
## Booting image at 00800000 ...                                                                                                                                                                                                                                                                                                                                                                                                            
## Booting kernel from Legacy Image at 00800000 ...                                                                                                                                                                                                                                                                                                                                                                                         
   Image Name:   Linux-5.13.8-mvebu-tld-1                                                                                                                                                                                                                                                                                                                                                                                                   
   Created:      2022-12-16  13:41:58 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 ...



Edited 11 time(s). Last edit at 04/12/2024 02:56PM by bodhi.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 26, 2022 06:14AM
5.- Kernel and rootfs

We are almost there. You only need to follow this bodhi's post Linux Kernel 6.0.7 MVEBU package and Debian armhf rootfs Make the USB key like he says, once it's ready, we can change some envs (Credits to bodhi)

setenv usbActive 0
setenv usbType 3

Then let it boot automatically:

Marvell>> setenv bootargs "console=ttyS0,115200 root=/dev/sda2 $(mtdparts) earlyprintk=serial"
Marvell>> setenv initrd_high 0xffffffff
Marvell>> setenv fdt_skip_update yes
Marvell>> ext2load usb 0:2 0x00800000 boot/boot.b/uImageK5
5236595 bytes read in 578 ms (8.6 MiB/s)
Marvell>> ext2load usb 0:2 0x02100000 boot/boot.b/uRamdiskK5
9649885 bytes read in 777 ms (11.8 MiB/s)


Marvell>> bootm 0x00800000 0x02100000
## Booting image at 00800000 ...
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2022-12-04  18:15:34 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 (Debian 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=10c5387d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction 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-0x000000003fffffff]
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s54668 r8192 d23156 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=/dev/sda2 $(mtdparts) 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 bytes, 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-reserved, 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_ids=2.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x06070000 -> 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 enabled
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000001][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008682][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.020390][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027195][    T0] Ignoring duplicate/late registration of read_current_timer delay
[    0.034912][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.047022][    T0] Console: colour dummy device 80x30
[    0.052169][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.063440][    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 bytes, linear)
[    0.082191][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.091196][    T0] CPU: Testing write buffer coherency: ok
[    0.096765][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.102630][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.109443][    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.129299][    T1] rcu: Hierarchical SRCU implementation.
[    0.135302][    T1] smp: Bringing up secondary CPUs ...
[    0.140929][    T1] Booting CPU 1
[    0.144387][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.144397][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.156543][    T1] smp: Brought up 1 node, 2 CPUs
[    0.161345][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.168378][    T1] CPU: All CPU(s) started in SVC mode.
[    0.174046][    T1] devtmpfs: initialized
[    0.180849][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.189372][   T24] wait_for_initramfs() called before rootfs_initcalls
[    0.189514][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.206490][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.236307][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.243442][    T1] prandom: seed boundary self test passed
[    0.250563][    T1] prandom: 100 self tests passed
[    0.255347][    T1] pinctrl core: initialized pinctrl subsystem
[    0.262427][    T1] NET: Registered protocol family 16
[    0.268300][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.276439][    T1] audit: initializing netlink subsys (disabled)
[    0.282649][   T36] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.283834][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.291354][    T1] cpuidle: using governor ladder
[    0.302843][    T1] cpuidle: using governor menu
[    0.307609][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.316278][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.322934][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.331717][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.547101][    T1] raid6: int32x8  gen()   243 MB/s
[    0.717040][    T1] raid6: int32x8  xor()   168 MB/s
[    0.887113][    T1] raid6: int32x4  gen()   280 MB/s
[    1.057113][    T1] raid6: int32x4  xor()   180 MB/s
[    1.227112][    T1] raid6: int32x2  gen()   448 MB/s
[    1.397072][    T1] raid6: int32x2  xor()   262 MB/s
[    1.567089][    T1] raid6: int32x1  gen()   498 MB/s
[    1.737053][    T1] raid6: int32x1  xor()   185 MB/s
[    1.741998][    T1] raid6: using algorithm int32x1 gen() 498 MB/s
[    1.748077][    T1] raid6: .... xor() 185 MB/s, rmw enabled
[    1.753627][    T1] raid6: using intx1 recovery algorithm
[    1.759791][    T1] vgaarb: loaded
[    1.763505][    T1] SCSI subsystem initialized
[    1.768273][    T1] usbcore: registered new interface driver usbfs
[    1.774472][    T1] usbcore: registered new interface driver hub
[    1.780509][    T1] usbcore: registered new device driver usb
[    1.786450][    T1] mc: Linux media interface: v0.10
[    1.791448][    T1] videodev: Linux video capture interface: v2.00
[    1.797704][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.803343][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.813156][    T1] PTP clock support registered
[    1.819240][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.853599][    T1] VFS: Disk quotas dquot_6.6.0
[    1.858266][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.873679][    T1] NET: Registered protocol family 2
[    1.878836][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.892391][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.901547][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.910034][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.917910][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.925365][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.933518][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.940843][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.948699][    T1] NET: Registered protocol family 1
[    1.954159][    T1] RPC: Registered named UNIX socket transport module.
[    1.960805][    T1] RPC: Registered udp transport module.
[    1.966184][    T1] RPC: Registered tcp transport module.
[    1.971601][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.978713][    T1] PCI: CLS 0 bytes, default 64
[    1.983583][  T538] Trying to unpack rootfs image as initramfs...
[    1.989681][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.009391][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.386619][  T538] Freeing initrd memory: 9424K
[    2.626384][    T1] Initialise system trusted keyrings
[    2.631561][    T1] Key type blacklist registered
[    2.636359][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.643580][    T1] zbud: loaded
[    2.647737][    T1] NFS: Registering the id_resolver key type
[    2.653502][    T1] Key type id_resolver registered
[    2.658363][    T1] Key type id_legacy registered
[    2.663075][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.670459][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.678519][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.745080][    T1] xor: measuring software checksum speed
[    2.755096][    T1]    arm4regs        :  2172 MB/sec
[    2.766142][    T1]    8regs           :  1637 MB/sec
[    2.776861][    T1]    32regs          :  1733 MB/sec
[    2.781902][    T1] xor: using function: arm4regs (2172 MB/sec)
[    2.787806][    T1] async_tx: api initialized (async)
[    2.792848][    T1] Key type asymmetric registered
[    2.797620][    T1] Asymmetric key parser 'x509' registered
[    2.803259][    T1] bounce: pool size: 64 pages
[    2.807900][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.816052][    T1] io scheduler bfq registered
[    2.822635][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    2.831328][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    2.840440][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    2.850239][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.909806][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.919535][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    2.979807][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.047261][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.056265][    T1] printk: console [ttyS0] disabled
[    3.081394][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
[    3.091096][    T1] printk: console [ttyS0] enabled
[    3.091096][    T1] printk: console [ttyS0] enabled
[    3.100923][    T1] printk: bootconsole [earlycon0] disabled
[    3.100923][    T1] printk: bootconsole [earlycon0] disabled
[    3.133370][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
[    3.144523][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    3.153025][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    3.161316][    T1] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    3.169916][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    3.179728][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    3.190364][    T1] scsi host0: ahci-mvebu
[    3.195031][    T1] scsi host1: ahci-mvebu
[    3.199371][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
[    3.208036][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
[    3.217873][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    3.224985][    T1] nand: Macronix MX30LF2G18AC
[    3.229555][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.238445][    T1] Bad block table found at page 131008, version 0x01
[    3.245681][    T1] Bad block table found at page 130944, version 0x01
[    3.252586][    T1] nand_read_bbt: bad block at 0x000002020000
[    3.258458][    T1] nand_read_bbt: bad block at 0x0000062e0000
[    3.264335][    T1] nand_read_bbt: bad block at 0x00000bac0000
[    3.270206][    T1] nand_read_bbt: bad block at 0x00000d300000
[    3.276071][    T1] nand_read_bbt: bad block at 0x00000dc60000
[    3.281994][    T1] 8 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    3.289707][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    3.295836][    T1] 0x000000000000-0x000000500000 : "U-Boot"
[    3.302482][    T1] 0x000000500000-0x000000a00000 : "uImage"
[    3.308983][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    3.315668][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    3.322846][    T1] 0x00000c800000-0x00000d700000 : "rescue fw"
[    3.329704][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    3.336256][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    3.342977][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    3.350214][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    3.358794][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    3.369856][    T1] libphy: Fixed MDIO Bus: probed
[    3.375620][    T1] libphy: orion_mdio_bus: probed
[    3.390139][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    3.402101][    T1] mvneta f1034000.ethernet eth0: Using random mac address 52:16:69:5d:d6:b4
[    3.411070][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.418356][    T1] ehci-pci: EHCI PCI platform driver
[    3.423603][    T1] ehci-orion: EHCI orion driver
[    3.428492][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    3.434669][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    3.443097][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    3.479250][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.486077][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.495117][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.503099][    T1] usb usb1: Product: EHCI Host Controller
[    3.508717][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    3.515909][    T1] usb usb1: SerialNumber: f1058000.usb
[    3.521657][    T1] hub 1-0:1.0: USB hub found
[    3.526154][    T1] hub 1-0:1.0: 1 port detected
[    3.531920][    T1] usbcore: registered new interface driver usblp
[    3.538218][    T1] usbcore: registered new interface driver usb-storage
[    3.545001][ T1240] ata1: SATA link down (SStatus 0 SControl 300)
[    3.551385][    T1] mousedev: PS/2 mouse device common for all mice
[    3.551695][ T1245] ata2: SATA link down (SStatus 0 SControl 300)
[    3.558669][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    3.570261][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2022-12-15T09:23:29 UTC (1671096209)
[    3.580436][    T1] i2c /dev entries driver
[    3.584796][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    3.593619][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    3.604636][    T1] orion_wdt: Initial timeout 171 sec
[    3.610318][    T1] device-mapper: uevent: version 1.0.3
[    3.615788][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    3.625187][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    3.632474][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    3.639833][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    3.647209][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.654044][    T1] device-mapper: raid: Loading target version 1.15.1
[    3.663304][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    3.671414][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.677527][    T1] usbcore: registered new interface driver usbhid
[    3.683858][    T1] usbhid: USB HID core driver
[    3.688660][    T1] drop_monitor: Initializing network drop monitor service
[    3.695994][    T1] NET: Registered protocol family 10
[    3.701921][    T1] Segment Routing with IPv6
[    3.706308][    T1] RPL Segment Routing with IPv6
[    3.711114][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.718619][    T1] NET: Registered protocol family 17
[    3.723991][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.728932][    T1] Key type dns_resolver registered
[    3.734056][    T1] ThumbEE CPU extension supported.
[    3.739055][    T1] Registering SWP/SWPB emulation handler
[    3.744907][    T1] registered taskstats version 1
[    3.749766][    T1] Loading compiled-in X.509 certificates
[    3.755673][    T1] zswap: loaded using pool lzo/zbud
[    3.761016][    T1] Key type ._fscrypt registered
[    3.765752][    T1] Key type .fscrypt registered
[    3.770417][    T1] Key type fscrypt-provisioning registered
[    3.777291][    T1] Key type big_key registered
[    3.795396][    T1] Key type encrypted registered
[    3.802870][   T23] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.808931][   T23] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    3.817306][   T23] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.827341][   T23] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    3.834084][   T23] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.843114][   T23] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.851093][   T23] usb usb2: Product: xHCI Host Controller
[    3.856698][   T23] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.863881][   T23] usb usb2: SerialNumber: f10f0000.usb3
[    3.869825][   T23] hub 2-0:1.0: USB hub found
[    3.874325][   T23] hub 2-0:1.0: 1 port detected
[    3.879346][   T23] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.885399][   T23] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    3.893656][   T23] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    3.900872][   T23] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.909813][   T23] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    3.918827][   T23] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.926800][   T23] usb usb3: Product: xHCI Host Controller
[    3.932411][   T23] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.939592][   T23] usb usb3: SerialNumber: f10f0000.usb3
[    3.945462][   T23] hub 3-0:1.0: USB hub found
[    3.949972][   T23] hub 3-0:1.0: 1 port detected
[    3.955275][   T23] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    3.961353][   T23] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    3.969675][   T23] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.979792][   T23] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    3.986488][   T23] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.995517][   T23] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.003489][   T23] usb usb4: Product: xHCI Host Controller
[    4.009093][   T23] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.016438][   T23] usb usb4: SerialNumber: f10f8000.usb3
[    4.022351][   T23] hub 4-0:1.0: USB hub found
[    4.026848][   T23] hub 4-0:1.0: 1 port detected
[    4.031908][   T23] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.037960][   T23] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    4.046218][   T23] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    4.053369][   T23] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.062371][   T23] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    4.071394][   T23] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.079376][   T23] usb usb5: Product: xHCI Host Controller
[    4.084981][   T23] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.092220][   T23] usb usb5: SerialNumber: f10f8000.usb3
[    4.098098][   T23] hub 5-0:1.0: USB hub found
[    4.102663][   T23] hub 5-0:1.0: 1 port detected
[    4.108326][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    4.118143][    T1] Freeing unused kernel memory: 1024K
[    4.159270][   T55] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    4.167091][    T1] Checked W+X mappings: passed, no W+X pages found
[    4.173512][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[    4.341297][   T55] usb 2-1: New USB device found, idVendor=0951, idProduct=1665, bcdDevice= 1.00
[    4.359618][   T55] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.367507][   T55] usb 2-1: Product: DataTraveler 2.0
[    4.372703][   T55] usb 2-1: Manufacturer: Kingston
[    4.377614][   T55] usb 2-1: SerialNumber: 00241D8CE480FE10B97245FE
[    4.384673][   T55] usb-storage 2-1:1.0: USB Mass Storage device detected
[    4.416745][   T55] scsi host2: usb-storage 2-1:1.0
[    4.485089][ T1552] 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.476955][   T23] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
[    5.488683][  T535] sd 2:0:0:0: [sda] 15131636 512-byte logical blocks: (7.75 GB/7.21 GiB)
[    5.497290][  T535] sd 2:0:0:0: [sda] Write Protect is off
[    5.503049][  T535] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.515709][  T535]  sda: sda1 sda2
[    5.521364][  T535] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    5.575411][    C0] random: fast init done
Begin: Running /scripts/local-block ... done.
done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sda2] fsck.ext3 -a -C0 /dev/sda2 
rootfs: clean, 26694/470496 files, 272004/1878398 blocks
done.
[    6.195775][ T1581] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[    6.247460][ T1581] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    6.923911][    T1] systemd[1]: systemd 247.3-7+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[    6.948183][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 11 (bullseye)!

[    6.990280][    T1] systemd[1]: Set hostname to <wdmycloud>.
[    7.558675][    T1] systemd[1]: Queued start job for default target Graphical Interface.
[    7.567766][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.575270][    T1] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    7.588412][    T1] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    7.598719][    T1] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    7.639378][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.647282][    T1] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[    7.689349][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.697219][    T1] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    7.739757][    T1] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    7.779577][    T1] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    7.819529][    T1] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    7.859962][    T1] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[    7.899500][    T1] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[    7.939571][    T1] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    7.969427][    T1] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    8.009371][    T1] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    8.039514][    T1] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    8.069825][    T1] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    8.109727][    T1] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[    8.149549][    T1] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    8.189847][    T1] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    8.229702][    T1] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    8.269807][    T1] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    8.316853][    T1] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    8.349740][    T1] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    8.389711][    T1] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    8.401133][    T1] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    8.441874][    T1] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    8.481918][    T1] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[    8.522507][    T1] systemd[1]: Starting Set the console keyboard layout...
         Starting Set the console keyboard layout...
[    8.559527][    T1] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
[    8.575346][    T1] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    8.612770][    T1] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    8.630225][    T1] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    8.649660][    T1] systemd[1]: Started Nameserver information manager.
[  OK  ] Started Nameserver information manager.
[    8.689901][    T1] systemd[1]: Reached target Network (Pre).
[  OK  ] Reached target Network (Pre).
[    8.732848][    T1] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    8.742988][    T1] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.755908][    T1] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    8.795422][    T1] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    8.832278][    T1] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    8.873198][    T1] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    8.925630][ T1655] EXT4-fs (sda2): re-mounted. Opts: commit=600,errors=remount-ro. Quota mode: none.
[    8.951578][    T1] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Trace File System.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
[    9.314480][ T1643] systemd-journald[1643]: Received client request to flush runtime journal.
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Finished Coldplug All udev Devices.
         Starting Helper to synchronize boot up for ifupdown...
[   10.246828][ T1643] systemd-journald[1643]: File /var/log/journal/8425379b321b4df9957e2a4ab3974d43/system.journal corrupted or uncleanly shut down, renaming and replacing.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[   12.219268][    C0] random: crng init done
[   12.223408][    C0] random: 7 urandom warning(s) missed due to ratelimiting
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Found device DataTraveler_2.0 1.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
         Mounting /boot...
[   20.913518][ T1730] FAT-fs (sda1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[   20.938007][ T1730] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Armbian ZRAM config...
         Starting Set console font and keymap...
[  OK  ] Started ifup for eth0.
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[FAILED] Failed to start Armbian ZRAM config.
See 'systemctl status armbian-zram-config.service' for details.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Set.
[   21.720176][ T1829] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[   21.733368][ T1829] mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
[  OK  ] Reached target System Time Synchronized.
         Starting Armbian memory supported logging...
[FAILED] Failed to start Set console font and keymap.
See 'systemctl status console-setup.service' for details.
[   25.939670][ T1664] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   25.948451][ T1664] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Finished Armbian memory supported logging.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Run system activit…ounting tool every 10 minutes.
[  OK  ] Started Generate summary o…esterday's process accounting.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting System Logging Service...
         Starting Resets System Activity Logs...
         Starting User Login Management...
[  OK  ] Started System Logging Service.
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Finished Resets System Activity Logs.
[  OK  ] Started User Login Management.
         Starting Rotate log files...
         Starting Daily man-db regeneration...
[  OK  ] Finished Rotate log files.
[  OK  ] Finished Daily man-db regeneration.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: simple distributed compiler server...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: simple distributed compiler server.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.
[   33.583032][ T1979] fbcon: Taking over console

Debian GNU/Linux 11 wdmycloud ttyS0

wdmycloud login: root
Password: 
Linux wdmycloud 5.13.8-mvebu-tld-1 #1.0 SMP PREEMPT Sat Aug 7 14:58:41 PDT 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: Tue Dec 13 21:12:51 CET 2022 on ttyS0
root@wdmycloud:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "U-Boot"
mtd1: 00500000 00020000 "uImage"
mtd2: 00500000 00020000 "uRamdisk"
mtd3: 0b900000 00020000 "image.cfs"
mtd4: 00f00000 00020000 "rescue fw"
mtd5: 01400000 00020000 "config"
mtd6: 00a00000 00020000 "reserve1"
mtd7: 00a00000 00020000 "reserve2"
root@wdmycloud:~# cat /proc/cmdline
console=ttyS0,115200 root=/dev/sda2 $(mtdparts) earlyprintk=serial
root@wdmycloud:~#

Now we can see the box can boot; let's make the changes permanent:

setenv usbActive 0
setenv usbType 3
setenv set_bootargs_debian "setenv bootargs console=ttyS0,115200 root=LABEL=rootfs mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) earlyprintk=serial"
setenv boot_debian_usb "usb start; sleep 5; ext2load usb 0:1 0x00800000 /boot/uImage; ext2load usb 0:1 0x02100000 /boot/uRamdisk; bootm 0x00800000 0x02100000"
setenv bootcmd "run set_bootargs_debian; run boot_debian_usb; reset"
saveenv
boot

Let's boot it, and reboot it, one more time when it is up.



Edited 2 time(s). Last edit at 12/26/2022 06:17AM by i5Js.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 26, 2022 06:19AM
6.- Open Media Vault.

The easy one, follow their instructions
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 26, 2022 06:25AM
Final words.

As I said, it took me over two months to figure it out. While it was frustrating at times, and sometimes I wanted to give up, it's great to see it work.

My big thanks go out to Bodhi and Gisab for helping me and teaching me everything to fix my issues.

I hope this guide helps, you don't need two months,

Let's party!
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 26, 2022 03:39PM
Hi i5Js,

Thanks for writing this up! I will review it for you.

But it is annoying to read and quite hard to follow because the Steps are not in the same post! There is no good reason for each step to be in a separate post.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 26, 2022 03:56PM
Quote

** Console: It's a must; you need an FT23RL USB UART converted. There are a lot on amazon. You can check this blog for more details (Thanks Nico)

** Minicom for Linux or putty for windows. I have always used minicom.

This is really not accurate. You can use any serial module converter. We discussed it in this Wiki thread:

Quote
Wiki thread

Unbricking with Serial Console & JTAG console

How to unbrick your box using serial console with kwboot
Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD
Serial Port connector - what are people using to make it work

And minicom or picocom on Linux. picocom is a bit better.

Quote

2.- Almost every guide on the internet says you don't need 3.3v. Thanks to Gisab, I had to connect it to get a clear signal. After that, everything started to happen:

A giant disclaimer is needed here. I would like you to disconnect the 3.3v wire and try again to see if serial consle is still working.

For most serial module converters in the market (CP2xxx and PL3xxx chip), if you connect 3.3v you will risk frying the serial port.

Perhaps it has something to do with your FT23RL that you need 3.3v?

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



Edited 1 time(s). Last edit at 12/26/2022 04:07PM by bodhi.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 26, 2022 05:22PM
bodhi Wrote:
-------------------------------------------------------
> Hi i5Js,
>
> Thanks for writing this up! I will review it for
> you.
>
> But it is annoying to read and quite hard to
> follow because the Steps are not in the same post!
> There is no good reason for each step to be in a
> separate post.

No problem, I found the time, so I wrote it. To me it’s ok to write it this way, but of course, feel free to modify it.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 26, 2022 05:26PM
bodhi Wrote:
-------------------------------------------------------
>
Quote

** Console: It's a must; you need an FT23RL
> USB UART converted. There are a lot on amazon. You
> can check this blog for more details (Thanks Nico)
>
>
> ** Minicom for Linux or putty for windows. I have
> always used minicom.
>
> This is really not accurate. You can use any
> serial module converter. We discussed it in this
> Wiki thread:
>
>
Quote
Wiki thread
>
> Unbricking with Serial Console & JTAG console
>
> How to unbrick your box using serial console with
> kwboot
> Repair Pogo E02 with Raspberry PI (JTAG) and
> OpenOCD
> Serial Port connector - what are people using
> to make it work

>
>
> And minicom or picocom on Linux. picocom is a bit
> better.
>
>
Quote

2.- Almost every guide on the internet says
> you don't need 3.3v. Thanks to Gisab, I had to
> connect it to get a clear signal. After that,
> everything started to happen:
>
> A giant disclaimer is
> needed here. I would like you to disconnect the
> 3.3v wire and try again to see if serial consle is
> still working.
>
> For most serial module
> converters
in the market (CP2xxx and
> PL3xxx chip), if you connect 3.3v you will
> risk frying the serial
> port
.
>
> Perhaps it has something to do with your FT23RL
> that you need 3.3v?


About the serial converter. Sure you are right, but I didn’t find this forum till I started to have problems, so I didn’t know there were more options.

About the 3.3v trust me, I have tried everything, all the combinations,and without the 3.3v it didn’t work I could see, badly the serial output, but I could not type anything. With it, everything worked fine.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 26, 2022 09:11PM
> About the 3.3v trust me, I have tried everything,
> all the combinations,and without the 3.3v it
> didn’t work I could see, badly the serial
> output, but I could not type anything. With it,
> everything worked fine.

Don't get me wrong, I don't doubt what Gisab and you found! just may be the particular serial module converter you are using does not have 3.3v at its USB connector. So the 3.3v you are using is at the board header.

For most serial module converters people use (typically cheap 2-3 USD from China), the 3.3v power source comes from the USB connector at the server end. So it is wrong and dangerous that we recommend people connecting 3.3v wire. That should never be connected unless we know for a fact that it has problem with power, and needs further investigation.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 27, 2022 12:02PM
I have added some changes.

BTW, I bought this and this and both needed the 3.3v connected, without it, I could see the boot process, but I could not type.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 27, 2022 03:28PM
> BTW, I bought
> this
> and
> this
> and both needed the 3.3v connected, without it, I
> could see the boot process, but I could not type.

Strange, the 2nd one is a typical CP2102 converter. I never connect 3.3V using this type of converter (I have several of these). I also have a couple of PL3xxx converters, and same rule applied.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 27, 2022 03:40PM
i5Js,

Do you have another low power ARM board, such as the rPi?

I'm curious to know what'll happen if you connect the serial converter to that ARM board and wired only GND+RXD+TXD to this EX2 Ultra NAS.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 27, 2022 04:10PM
bodhi Wrote:
-------------------------------------------------------
> i5Js,
>
> Do you have another low power ARM board, such as
> the rPi?
>
> I'm curious to know what'll happen if you connect
> the serial converter to that ARM board and wired
> only GND+RXD+TXD to this EX2 Ultra NAS.

I did it: I have used a rPi2, rPi2, MacBook Pro (aluminum) and a MacMini, using an USB extender cable (and with out it), using an usb-c to usb-a converter. Nothing worked, with all of them I have had to connect the 3.3v cable. I could read the boot messages, but I could not type.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 27, 2022 04:17PM
> I did it: I have used a rPi2, rPi2, MacBook Pro
> (aluminum) and a MacMini, using an USB extender
> cable (and with out it), using an usb-c to usb-a
> converter. Nothing worked, with all of them I have
> had to connect the 3.3v cable. I could read the
> boot messages, but I could not type.

Ok cool. Something seems to be particular about this NAS.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 27, 2022 04:19PM
Trust me, it was a nightmare
After this guide we must USB key connected to boot, right?Can install on NAS?
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
February 04, 2023 06:20AM
Yes, you could flash the nand,perhaps @bodhi could help here.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
February 04, 2023 05:53PM
i5Js,

> Yes, you could flash the nand,perhaps @bodhi could
> help here.

There is more works to be done to make this possible. Are you willing to do more testing?

Basically we need to redefine the NAND partitions, and in the process will wipe stock FW, so after that it might not be possible to run rescue FW again. The worst case is you are going to boot with Debian on USB or HDD roofs only, i.e. no going back to the rescue mechanism.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
February 05, 2023 04:09AM
I don’t care, but, I remember too, in other threads, you didn’t recommend to flash the nand, and that is the reason I am using an USB key.

Right now, there is no stock FW in the nand, just the rescue partition to flash it, but even, there is a chance to boot from usb with a rescue firmware and reflash the nand.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
February 06, 2023 12:19AM
> I don’t care, but, I remember too, in other
> threads, you didn’t recommend to flash the nand,
> and that is the reason I am using an USB key.

For me, I do care about other's opinion :) So I don't discount other's idea that kernel should be be booted a certain way.

I just hope people realize that they are running a NAS. And the old approach of booting kernel from flash is kind of obsolete. With a NAS, you'd only need a u-boot on flash and everything else can and should be on a storage device, i.e USB, HDD, or NFS.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
i succefully installated debian but don't use all ram

Mem: 490Mi 69Mi 92Mi 11Mi 328Mi 216Mi
Swap: 511Mi 49Mi 462Mi

how i can fix?
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
April 25, 2023 06:57PM
gennnarino,

> i succefully installated debian but don't use all
> ram
>
> Mem: 490Mi 69Mi 92Mi
> 11Mi 328Mi 216Mi
> Swap: 511Mi 49Mi 462Mi
>

If you have serial console, please post the entire serial boot log (from u-boot banner until the Debian login prompt).

If you don't have serial console, then post dmesg log.
dmesg

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Sorry to delay
Here is dmesg

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.13.8-mvebu-tld-1 (root@tldDebian) (gcc (Debian 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] 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] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 21 pages/cpu s54668 r8192 d23156 u86016
[    0.000000] pcpu-alloc: s54668 r8192 d23156 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) earlyprintk=serial init=/bin/systemd
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 491896K/524288K available (11264K kernel code, 1483K rwdata, 3112K rodata, 1024K init, 325K bss, 32392K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] random: get_random_u32 called from ____cache_alloc+0x404/0x78c with crng_init=0
[    0.000000] trace event string verifier disabled
[    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.000001] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008682] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.020390] Switching to timer-based delay loop, resolution 1ns
[    0.027194] Ignoring duplicate/late registration of read_current_timer delay
[    0.034911] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.047021] Console: colour dummy device 80x30
[    0.052166] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.063437] pid_max: default: 32768 minimum: 301
[    0.068856] LSM: Security Framework initializing
[    0.074199] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.082182] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.091173] CPU: Testing write buffer coherency: ok
[    0.096742] CPU0: Spectre v2: using BPIALL workaround
[    0.102604] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.109422] Setting up static identity map for 0x100000 - 0x100060
[    0.116368] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.122317] mvebu-pmsu: Initializing Power Management Service Unit
[    0.129274] rcu: Hierarchical SRCU implementation.
[    0.135274] smp: Bringing up secondary CPUs ...
[    0.140895] Booting CPU 1
[    0.144353] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.144363] CPU1: Spectre v2: using BPIALL workaround
[    0.156508] smp: Brought up 1 node, 2 CPUs
[    0.161309] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.168343] CPU: All CPU(s) started in SVC mode.
[    0.173969] devtmpfs: initialized
[    0.180820] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.189333] wait_for_initramfs() called before rootfs_initcalls
[    0.189474] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.206454] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.236269] prandom32: self test passed (less than 6 bits correlated)
[    0.243403] prandom: seed boundary self test passed
[    0.250523] prandom: 100 self tests passed
[    0.255309] pinctrl core: initialized pinctrl subsystem
[    0.262369] NET: Registered protocol family 16
[    0.268260] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.276397] audit: initializing netlink subsys (disabled)
[    0.282604] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.283777] thermal_sys: Registered thermal governor 'step_wise'
[    0.291308] cpuidle: using governor ladder
[    0.302801] cpuidle: using governor menu
[    0.307581] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.316251] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.322906] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.331689] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.547238] raid6: int32x8  gen()   244 MB/s
[    0.717052] raid6: int32x8  xor()   166 MB/s
[    0.887114] raid6: int32x4  gen()   280 MB/s
[    1.057099] raid6: int32x4  xor()   171 MB/s
[    1.227080] raid6: int32x2  gen()   448 MB/s
[    1.397069] raid6: int32x2  xor()   254 MB/s
[    1.567092] raid6: int32x1  gen()   497 MB/s
[    1.737039] raid6: int32x1  xor()   208 MB/s
[    1.741985] raid6: using algorithm int32x1 gen() 497 MB/s
[    1.748063] raid6: .... xor() 208 MB/s, rmw enabled
[    1.753614] raid6: using intx1 recovery algorithm
[    1.759796] vgaarb: loaded
[    1.763701] SCSI subsystem initialized
[    1.768392] libata version 3.00 loaded.
[    1.768821] usbcore: registered new interface driver usbfs
[    1.775066] usbcore: registered new interface driver hub
[    1.781144] usbcore: registered new device driver usb
[    1.787438] mc: Linux media interface: v0.10
[    1.792453] videodev: Linux video capture interface: v2.00
[    1.798910] pps_core: LinuxPPS API ver. 1 registered
[    1.804551] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.814416] PTP clock support registered
[    1.820575] clocksource: Switched to clocksource arm_global_timer
[    1.860904] VFS: Disk quotas dquot_6.6.0
[    1.865574] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.896378] NET: Registered protocol family 2
[    1.905299] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.913918] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.923032] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.931728] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.939569] TCP: Hash tables configured (established 4096 bind 4096)
[    1.946742] MPTCP token hash table entries: 512 (order: 1, 8192 bytes, linear)
[    1.954684] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.961905] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.969655] NET: Registered protocol family 1
[    1.980884] RPC: Registered named UNIX socket transport module.
[    1.987477] RPC: Registered udp transport module.
[    1.992901] RPC: Registered tcp transport module.
[    1.998280] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.005399] PCI: CLS 0 bytes, default 64
[    2.010129] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.010173] Trying to unpack rootfs image as initramfs...
[    2.023471] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.408801] Freeing initrd memory: 9424K
[    2.659563] Initialise system trusted keyrings
[    2.664738] Key type blacklist registered
[    2.669785] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    2.677005] zbud: loaded
[    2.681157] NFS: Registering the id_resolver key type
[    2.686905] Key type id_resolver registered
[    2.691780] Key type id_legacy registered
[    2.696485] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.703866] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.711933] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.779502] xor: measuring software checksum speed
[    2.789519]    arm4regs        :  2172 MB/sec
[    2.800594]    8regs           :  1637 MB/sec
[    2.811309]    32regs          :  1733 MB/sec
[    2.816342] xor: using function: arm4regs (2172 MB/sec)
[    2.822251] async_tx: api initialized (async)
[    2.827285] Key type asymmetric registered
[    2.832064] Asymmetric key parser 'x509' registered
[    2.837692] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.845836] io scheduler bfq registered
[    2.852385] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    2.861074] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    2.870188] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    2.879962] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.941148] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.950851] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.011148] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.076973] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.085627] printk: console [ttyS0] disabled
[    3.110868] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
[    3.120535] printk: console [ttyS0] enabled
[    3.130356] printk: bootconsole [earlycon0] disabled
[    3.162648] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
[    3.173363] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    3.181817] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    3.190090] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    3.198694] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    3.208506] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    3.218966] scsi host0: ahci-mvebu
[    3.223615] scsi host1: ahci-mvebu
[    3.227905] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
[    3.236657] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
[    3.246582] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    3.253696] nand: Macronix MX30LF2G18AC
[    3.258253] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.267123] Bad block table found at page 131008, version 0x01
[    3.274355] Bad block table found at page 130944, version 0x01
[    3.281313] 8 cmdlinepart partitions found on MTD device pxa3xx_nand-0
[    3.288578] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    3.294714] 0x000000000000-0x000000500000 : "u-boot"
[    3.301571] 0x000000500000-0x000000a00000 : "kernel"
[    3.308282] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    3.315205] 0x000000f00000-0x00000c800000 : "image.cfs"
[    3.322566] 0x00000c800000-0x00000d700000 : "rescue_fw"
[    3.329620] 0x00000d700000-0x00000eb00000 : "config"
[    3.336404] 0x00000eb00000-0x00000f500000 : "reserve1"
[    3.343352] 0x00000f500000-0x00000ff00000 : "reserve2"
[    3.351096] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    3.359676] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    3.371645] libphy: Fixed MDIO Bus: probed
[    3.378348] libphy: orion_mdio_bus: probed
[    3.391962] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    3.404781] mvneta f1034000.ethernet eth0: Using random mac address 7e:f3:e3:42:4b:45
[    3.413925] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.421255] ehci-pci: EHCI PCI platform driver
[    3.426523] ehci-orion: EHCI orion driver
[    3.431443] orion-ehci f1058000.usb: EHCI Host Controller
[    3.437589] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    3.445999] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    3.480583] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.487390] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.496420] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.504390] usb usb1: Product: EHCI Host Controller
[    3.509994] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    3.517175] usb usb1: SerialNumber: f1058000.usb
[    3.523032] hub 1-0:1.0: USB hub found
[    3.527531] hub 1-0:1.0: 1 port detected
[    3.533661] usbcore: registered new interface driver usblp
[    3.539979] usbcore: registered new interface driver usb-storage
[    3.547111] mousedev: PS/2 mouse device common for all mice
[    3.554821] armada38x-rtc f10a3800.rtc: registered as rtc0
[    3.561952] armada38x-rtc f10a3800.rtc: setting system clock to 2023-05-21T08:11:36 UTC (1684656696)
[    3.572235] i2c /dev entries driver
[    3.576641] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    3.585576] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    3.596654] orion_wdt: Initial timeout 171 sec
[    3.602280] device-mapper: uevent: version 1.0.3
[    3.607755] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    3.617155] device-mapper: multipath round-robin: version 1.2.0 loaded
[    3.624443] device-mapper: multipath queue-length: version 0.2.0 loaded
[    3.631827] device-mapper: multipath service-time: version 0.3.0 loaded
[    3.639204] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.646041] device-mapper: raid: Loading target version 1.15.1
[    3.655266] marvell-cesa f1090000.crypto: CESA device successfully registered
[    3.663351] hid: raw HID events driver (C) Jiri Kosina
[    3.669447] usbcore: registered new interface driver usbhid
[    3.675773] usbhid: USB HID core driver
[    3.680599] drop_monitor: Initializing network drop monitor service
[    3.688031] NET: Registered protocol family 10
[    3.693965] Segment Routing with IPv6
[    3.698351] RPL Segment Routing with IPv6
[    3.703155] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.710712] NET: Registered protocol family 17
[    3.716008] 8021q: 802.1Q VLAN Support v1.8
[    3.720974] Key type dns_resolver registered
[    3.726091] ThumbEE CPU extension supported.
[    3.731102] Registering SWP/SWPB emulation handler
[    3.736940] registered taskstats version 1
[    3.741789] Loading compiled-in X.509 certificates
[    3.747565] zswap: loaded using pool lzo/zbud
[    3.752731] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.759678] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.760810] Key type ._fscrypt registered
[    3.771379] Key type .fscrypt registered
[    3.776035] Key type fscrypt-provisioning registered
[    3.776058] ata1.00: ATA-10: ST4000VN008-2DR166, SC60, max UDMA/133
[    3.782523] Key type big_key registered
[    3.788788] ata1.00: 7814037168 sectors, multi 0: LBA48 NCQ (depth 32)
[    3.800710] ata2.00: ATA-10: ST4000VN008-2DR166, SC60, max UDMA/133
[    3.805943] Key type encrypted registered
[    3.807722] ata2.00: 7814037168 sectors, multi 0: LBA48 NCQ (depth 32)
[    3.815228] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.825869] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    3.834257] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.834260] ata1.00: configured for UDMA/133
[    3.834569] scsi 0:0:0:0: Direct-Access     ATA      ST4000VN008-2DR1 SC60 PQ: 0 ANSI: 5
[    3.844332] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    3.850005] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[    3.858418] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.864672] ata2.00: configured for UDMA/133
[    3.873421] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    3.892775] scsi 1:0:0:0: Direct-Access     ATA      ST4000VN008-2DR1 SC60 PQ: 0 ANSI: 5
[    3.893098] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.902654] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.64 TiB)
[    3.909920] sd 0:0:0:0: [sda] Write Protect is off
[    3.918797] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    3.923943] usb usb2: Product: xHCI Host Controller
[    3.930012] sd 1:0:0:0: [sdb] Write Protect is off
[    3.935676] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.941044] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.941086] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    3.948239] usb usb2: SerialNumber: f10f0000.usb3
[    3.948297] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.953752] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.973716] hub 2-0:1.0: USB hub found
[    3.978218] hub 2-0:1.0: 1 port detected
[    3.983854] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.989909] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    3.998170] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    4.005343] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.014369] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    4.023401] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.031456] usb usb3: Product: xHCI Host Controller
[    4.037114] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.044361] usb usb3: SerialNumber: f10f0000.usb3
[    4.050337] hub 3-0:1.0: USB hub found
[    4.054846] hub 3-0:1.0: 1 port detected
[    4.060038] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.066115] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    4.074449] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    4.084579] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    4.091317] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    4.100339] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.100464]  sdb: sdb1
[    4.108390] usb usb4: Product: xHCI Host Controller
[    4.117167] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.117957] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    4.124420] usb usb4: SerialNumber: f10f8000.usb3
[    4.136327]  sda: sda1
[    4.136436] hub 4-0:1.0: USB hub found
[    4.143952] hub 4-0:1.0: 1 port detected
[    4.144785] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    4.148853] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.160894] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    4.169144] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    4.176369] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.185310] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    4.194534] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.202530] usb usb5: Product: xHCI Host Controller
[    4.208135] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.215319] usb usb5: SerialNumber: f10f8000.usb3
[    4.221115] hub 5-0:1.0: USB hub found
[    4.225612] hub 5-0:1.0: 1 port detected
[    4.231230] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    4.241417] Freeing unused kernel memory: 1024K
[    4.291136] Checked W+X mappings: passed, no W+X pages found
[    4.297540] Run /init as init process
[    4.301936]   with arguments:
[    4.301942]     /init
[    4.301946]   with environment:
[    4.301950]     HOME=/
[    4.301954]     TERM=linux
[    4.340698] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    4.371640] usb 3-1: New USB device found, idVendor=152d, idProduct=0583, bcdDevice=12.14
[    4.380625] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.388528] usb 3-1: Product: SABRENT
[    4.394351] usb 3-1: Manufacturer: JMicron
[    4.400010] usb 3-1: SerialNumber: 000000000000A
[    4.406244] usb 3-1: USB controller f10f0000.usb3 does not support streams, which are required by the UAS driver.
[    4.417333] usb 3-1: Please try an other USB controller if you wish to use UAS.
[    4.425420] usb-storage 3-1:1.0: USB Mass Storage device detected
[    4.432696] scsi host2: usb-storage 3-1:1.0
[    4.450730] usbcore: registered new interface driver uas
[    5.461135] scsi 2:0:0:0: Direct-Access     SABRENT                   1214 PQ: 0 ANSI: 6
[    5.473198] sd 2:0:0:0: [sdc] 234441648 512-byte logical blocks: (120 GB/112 GiB)
[    5.482876] sd 2:0:0:0: [sdc] Write Protect is off
[    5.488402] sd 2:0:0:0: [sdc] Mode Sense: 47 00 00 08
[    5.488705] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.500731]  sdc: sdc1
[    5.510596] random: fast init done
[    5.520062] sd 2:0:0:0: [sdc] Attached SCSI disk
[    6.279713] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[    6.332488] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    6.571408] systemd[1]: systemd 247.3-7+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[    6.598643] systemd[1]: Detected architecture arm.
[    6.631132] systemd[1]: Set hostname to <nas>.
[    6.646695] systemd[1]: Using hardware watchdog 'Orion Watchdog', version 0, device /dev/watchdog
[    6.659381] systemd[1]: Set hardware watchdog to 15s.
[    6.925831] random: lvmconfig: uninitialized urandom read (4 bytes read)
[    7.364021] random: crng init done
[    7.400236] systemd[1]: Queued start job for default target Graphical Interface.
[    7.410335] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    7.423539] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    7.482586] systemd[1]: Created slice system-getty.slice.
[    7.522101] systemd[1]: Created slice system-modprobe.slice.
[    7.562105] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    7.602068] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    7.641798] systemd[1]: Created slice User and Session Slice.
[    7.681008] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    7.720898] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.761307] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    7.800913] systemd[1]: Reached target Local Encrypted Volumes.
[    7.840910] systemd[1]: Reached target Paths.
[    7.870795] systemd[1]: Reached target Slices.
[    7.900823] systemd[1]: Reached target System Time Set.
[    7.940992] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    7.981043] systemd[1]: Listening on LVM2 poll daemon socket.
[    8.021129] systemd[1]: Listening on RPCbind Server Activation Socket.
[    8.062346] systemd[1]: Listening on Syslog Socket.
[    8.101179] systemd[1]: Listening on fsck to fsckd communication Socket.
[    8.140869] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    8.181171] systemd[1]: Listening on Journal Audit Socket.
[    8.221014] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.261076] systemd[1]: Listening on Journal Socket.
[    8.301164] systemd[1]: Listening on Network Service Netlink Socket.
[    8.341098] systemd[1]: Listening on udev Control Socket.
[    8.381004] systemd[1]: Listening on udev Kernel Socket.
[    8.421023] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    8.462591] systemd[1]: Mounting POSIX Message Queue File System...
[    8.503299] systemd[1]: Mounting RPC Pipe File System...
[    8.543509] systemd[1]: Mounting Kernel Debug File System...
[    8.583313] systemd[1]: Mounting Kernel Trace File System...
[    8.620910] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[    8.631489] systemd[1]: Finished Availability of block devices.
[    8.712955] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    8.753581] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[    8.803407] systemd[1]: Starting Load Kernel Module configfs...
[    8.845165] systemd[1]: Starting Load Kernel Module drm...
[    8.883499] systemd[1]: Starting Load Kernel Module fuse...
[    8.897610] fuse: init (API version 7.34)
[    8.921207] systemd[1]: Condition check resulted in OpenVSwitch configuration for cleanup being skipped.
[    8.935407] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    8.945474] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.993088] systemd[1]: Starting Journal Service...
[    9.034765] systemd[1]: Starting Load Kernel Modules...
[    9.053583] systemd[1]: Starting Remount Root and Kernel File Systems...
[    9.092386] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    9.101665] softdog:              soft_reboot_cmd=<not set> soft_active_on_boot=0
[    9.120144] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[    9.132795] systemd[1]: Starting Coldplug All udev Devices...
[    9.154156] systemd[1]: Started Journal Service.
[    9.720803] Adding 524284k swap on /swapfile1.  Priority:-2 extents:13 across:39470144k FS
[    9.738226] systemd-journald[1646]: Received client request to flush runtime journal.
[    9.756587] systemd-journald[1646]: File /var/log/journal/50b0e021e74b403c9865b8f1b7b764ad/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   10.971045] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   11.020831] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   11.090392] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   11.301722] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[   11.314643] mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
[   13.381051] mvneta f1034000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   13.390005] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   17.744414] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl. Quota mode: journalled.
[   17.868161] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl. Quota mode: journalled.
[   18.916545] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   18.933000] Bridge firewalling registered
[   19.279681] Initializing XFRM netlink socket
[  100.064464] fbcon: Taking over console

Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 21, 2023 01:37PM
gennnarino,

This problem occured before the kernel booting. Likely somehow u-boot determined that there are only 512M available (could be one out of 2 RAM chips is faulty).

You need to connect serial console, boot and post the entire serial console log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
May 23, 2023 03:41AM
Hi guys, i want to move from debian to the original os on my ex2 ultra, does anyone has the original uImage und uRamdisk so i can flash it?
Dear comunity,
I've managed to install a fresh kernel 4.15.0-rc6 on my WDMCEX2U.
I would like to upgrade the kernel to 6... using Linux Kernel 6.2.8 MVEBU package and Debian armhf rootfs from Bodhi
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".

Maybe I'm doing something wrong.

Thank you in advance.
BR
Cristian
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: