Welcome! Log In Create A New Profile

Advanced

Debian on WD MyCloud EX2 Ultra

Posted by vzhilov 
Re: Debian on WD MyCloud EX2 Ultra
December 21, 2020 04:12AM
Yodaxy,

First, you are booting with systemd so it made it a bit more difficult to see the problem.

The real problem why you cannot see the mtds in Debian is the lack of bootargs. So I need to see the u-boot envs to show you how to change the bootargs.

Interrupt serial console at countdown
Hit any key to stop autoboot:  0

and

printenv

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX2 Ultra
December 21, 2020 02:02PM
Hey Bodhi,


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


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

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

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

NAND:  ID: daad ,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: 4/1
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>> 11111111
Unknown command '11111111' - try 'help'
Marvell>> printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=root=/dev/ram console=ttyS0,115200
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$root             path ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_para             ms clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=nand read.e 0x02000020 0x0500000 0x0500000; nand read.e 0x2900000 0x0a00             000 0x0500000; bootm 0x02000020 0x2900000
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv boo             targs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=             $ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.             lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandE             cc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$boo             targs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_ena             ble clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $             bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; boo             tm 0x2000000;
bootdelay=1
cacheShare=no
console=console=ttyS0,115200
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:8a:2d:1c
eth1mtu=1500
eth2addr=00:50:43:8a:24:1c
eth2mtu=1500
eth3addr=00:50:43:2d:24:8a
eth3mtu=1500
ethact=egiga2
ethaddr=00:50:43:24:2d:1c
ethmtu=1500
ethprime=egiga2
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=12
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@1             5m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(r             eserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:1c:24:8a
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
prepboot_from_hdd=echo TRY OVERRIDE FROM HDD; ide reset; run hdd_load_uImage; ru             n hdd_load_uInitramfs
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdpa             rts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
uImageAddr=0xa00000
uInitramfsAddr=0xf00000
usb0Mode=host
usbActive=1
usbType=3
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3373/524284 bytes
Marvell>>

Re: Debian on WD MyCloud EX2 Ultra
December 21, 2020 04:40PM
Powr up, interrupt serial console.

If your rootfs is on RAID, then
setenv bootargs 'root=/dev/ram console=ttyS0,115200 $mtdpart'

If your rootfs is on a regular rootfs partition (you used my rootfs) then,
setenv bootargs 'root=LABEL=rootfs console=ttyS0,115200 $mtdpart'

and then set mtdparts:
setenv mtdparts 'mtdparts=pxa3xx_nand-0:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'

And boot
boot

After to booted into Debian, do

mount
cat /proc/mtd

Please post the serial console log here (from the u-boot banner until the last output).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX2 Ultra
December 22, 2020 02:32AM
hm i tested it with both commands, no effect :/

saveenv ?

I hope that is the right log??

|  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>> 1111
BootROM - 1.73
Booting from NAND flash

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

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

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


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

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

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

NAND:  ID: daad ,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:
invalid mtd device 'pxa3xx_nand-0'
Error initializing mtdparts!
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:reserve2", error -19
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:reserve2' errno=-19!

ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload <addr> <filename> [bytes]
    - load file 'filename' to address 'addr'
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>>
Marvell>> Net:
Unknown command 'Net:' - try 'help'
Marvell>> setenv bootargs 'root=LABEL=rootfs console=ttyS0,115200 $mtdpart'
Marvell>> setenv mtdparts 'mtdparts=pxa3xx_nand-0:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> boot

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

NAND read: device 0 offset 0xa00000, size 0x500000
 5242880 bytes read: OK
## Booting image at 02000020 ...
## Booting kernel from Legacy Image at 02000020 ...
   Image Name:   Kernel-v5.10.1-newdts
   Created:      2020-12-19  22:04:36 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3896134 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   Initrd
   Created:      2017-03-14  19:05:31 UTC
   Image Type:   ARM Linux RAMDisk Image (lzma compressed)
   Data Size:    3344286 Bytes = 3.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

DTB:0x003BACF0 (0x00004656)
C:0x000080C0-0x003BF3E0->0x00D7F200-0x01136520
DTB:0x01131E30 (0x000046DF)
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 5.10.1 (root@NAS-MediaServer.fritz.box) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1 SMP Thu Dec 17 18:06:52 CET 2020
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: WD MyCloud Ex2 Ultra: Marvell Armada 385
Memory policy: Data cache writealloc
Zone ranges:
  Normal   [mem 0x0000000000000000-0x000000002fffffff]
  HighMem  [mem 0x0000000030000000-0x000000003fffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000000000-0x000000003fffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
percpu: Embedded 15 pages/cpu s30220 r8192 d23028 u61440
Built 1 zonelists, mobility grouping on.  Total pages: 260608
Kernel command line: root=LABEL=rootfs console=ttyS0,115200 $mtdpart
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 1022952K/1048576K available (8192K kernel code, 505K rwdata, 2112K rodata, 1024K init, 366K bss, 25624K reserved, 0K cma-reserved, 262144K highmem)
rcu: Hierarchical RCU implementation.
rcu:    RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
        Tracing variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 D prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
random: get_random_bytes called from start_kernel+0x2bc/0x4bc with crng_init=0
sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
Switching to timer-based delay loop, resolution 1ns
Ignoring duplicate/late registration of read_current_timer delay
clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
CPU: Testing write buffer coherency: ok
CPU0: Spectre v2: using BPIALL workaround
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100060
mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
mvebu-pmsu: Initializing Power Management Service Unit
rcu: Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
Booting CPU 1
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU1: Spectre v2: using BPIALL workaround
smp: Brought up 1 node, 2 CPUs
SMP: Total of 2 processors activated (2664.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
thermal_sys: Registered thermal governor 'step_wise'
cpuidle: using governor ladder
mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
cryptd: max_cpu_qlen set to 1000
raid6: neonx8   gen()   592 MB/s
raid6: neonx8   xor()   502 MB/s
raid6: neonx4   gen()  1694 MB/s
raid6: neonx4   xor()  1122 MB/s
raid6: neonx2   gen()  2071 MB/s
raid6: neonx2   xor()  1328 MB/s
raid6: neonx1   gen()  1749 MB/s
raid6: neonx1   xor()  1163 MB/s
raid6: int32x8  gen()   244 MB/s
raid6: int32x8  xor()   170 MB/s
raid6: int32x4  gen()   280 MB/s
raid6: int32x4  xor()   177 MB/s
raid6: int32x2  gen()   448 MB/s
raid6: int32x2  xor()   256 MB/s
raid6: int32x1  gen()   513 MB/s
raid6: int32x1  xor()   217 MB/s
raid6: using algorithm neonx2 gen() 2071 MB/s
raid6: .... xor() 1328 MB/s, rmw enabled
raid6: using neon recovery algorithm
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Bluetooth: Core ver 2.22
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
clocksource: Switched to clocksource arm_global_timer
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
FS-Cache: Loaded
CacheFiles: Loaded
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 64
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 3268K
Initialise system trusted keyrings
workingset: timestamp_bits=30 max_order=18 bucket_order=0
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
FS-Cache: Netfs 'cifs' registered for caching
Key type cifs.idmap registered
xor: measuring software checksum speed
   arm4regs        :  2172 MB/sec
   8regs           :  1637 MB/sec
   32regs          :  1733 MB/sec
   neon            :  1599 MB/sec
xor: using function: arm4regs (2172 MB/sec)
async_tx: api initialized (async)
Key type asymmetric registered
Asymmetric key parser 'x509' registered
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
io scheduler kyber registered
armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
mv_xor f1060800.xor: Marvell shared XOR driver
mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
mv_xor f1060900.xor: Marvell shared XOR driver
mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
printk: console [ttyS0] disabled
f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
printk: console [ttyS0] enabled
f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
brd: module loaded
loop: module loaded
ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
scsi host0: ahci-mvebu
scsi host1: ahci-mvebu
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
libphy: Fixed MDIO Bus: probed
libphy: orion_mdio_bus: probed
mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
mvneta f1034000.ethernet eth0: Using random mac address ba:90:1b:13:3a:9f
usbcore: registered new interface driver lan78xx
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-orion: EHCI orion driver
orion-ehci f1058000.usb: EHCI Host Controller
orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 5.10.1 ehci_hcd
usb usb1: SerialNumber: f1058000.usb
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
xhci-hcd f10f0000.usb3: irq 53, io mem 0xf10f0000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: xHCI Host Controller
usb usb2: Manufacturer: Linux 5.10.1 xhci-hcd
usb usb2: SerialNumber: f10f0000.usb3
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: xHCI Host Controller
usb usb3: Manufacturer: Linux 5.10.1 xhci-hcd
usb usb3: SerialNumber: f10f0000.usb3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
xhci-hcd f10f8000.usb3: irq 54, io mem 0xf10f8000
usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: xHCI Host Controller
usb usb4: Manufacturer: Linux 5.10.1 xhci-hcd
usb usb4: SerialNumber: f10f8000.usb3
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: xHCI Host Controller
usb usb5: Manufacturer: Linux 5.10.1 xhci-hcd
usb usb5: SerialNumber: f10f8000.usb3
hub 5-0:1.0: USB hub found
ata2: SATA link down (SStatus 0 SControl 300)
hub 5-0:1.0: 1 port detected
ata1: SATA link down (SStatus 0 SControl 300)
usbcore: registered new interface driver usb-storage
armada38x-rtc f10a3800.rtc: registered as rtc0
armada38x-rtc f10a3800.rtc: setting system clock to 2020-12-22T10:30:00 UTC (1608633000)
i2c /dev entries driver
device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
ledtrig-cpu: registered to indicate activity on CPUs
marvell-cesa f1090000.crypto: CESA device successfully registered
hid: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 10
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
Bridge firewalling registered
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
ThumbEE CPU extension supported.
Registering SWP/SWPB emulation handler
registered taskstats version 1
Loading compiled-in X.509 certificates
Key type ._fscrypt registered
Key type .fscrypt registered
Key type fscrypt-provisioning registered
input: gpio-keys as /devices/platform/gpio-keys/input/input0
Freeing unused kernel memory: 1024K
Run /init as init process
mdadm: cannot open /dev/sd??*: No such file or directory
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
ubiattach: UBI_IOCATT: No such device
mount: mounting ubi0:config on /mnt/config failed: No such device
cp: can't stat '/mnt/config/initrd/shadow': No such file or directory
random: lvm: uninitialized urandom read (4 bytes read)
  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
random: lvm: uninitialized urandom read (4 bytes read)
  No volume groups found
random: lvm: uninitialized urandom read (4 bytes read)
  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
ash: write error: Device or resource busy
/init: line 146: can't create /sys/class/gpio/gpio50/active_low: nonexistent directory
 Press any key or reset key to stop and run shell...usb 5-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
usb 5-1: New USB device found, idVendor=0781, idProduct=5581, bcdDevice= 1.00
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 5-1: Product:  SanDisk 3.2Gen1
usb 5-1: Manufacturer:  USB
usb 5-1: SerialNumber: 0501c7e871816fc2a478ecb4d0b21e6aa823c104de0a59f9dca8c8e1775b6d0ee0d000000000000000000000ccc5bf4a0091131081558107912948b0
usb-storage 5-1:1.0: USB Mass Storage device detected
scsi host2: usb-storage 5-1:1.0
cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
5..scsi 2:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
sd 2:0:0:0: [sda] 120127488 512-byte logical blocks: (61.5 GB/57.3 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 2:0:0:0: [sda] Attached SCSI removable disk
cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
4..cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
3..cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
2..cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
1..

random: fast init done
EXT4-fs (sda1): recovery complete
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

 Unmounting and Switch to OS

cp: can't stat '/mnt/config/mac_addr': No such file or directory
cat: can't open '/run/dropbear.pid': No such file or directory
ash: you need to specify whom to kill
cat: can't open '/run/udhcpc.pid': No such file or directory
ash: you need to specify whom to kill
umount: can't unmount /mnt/config: Invalid argument
systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 10 (buster)!

systemd[1]: Set hostname to <NAS-MediaServer.fritz.box>.
random: lvmconfig: uninitialized urandom read (4 bytes read)
systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly.
systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
systemd[1]: /lib/systemd/system/fail2ban.service:12: PIDFile= references path below legacy directory /var/run/, updating /var/run/fail2ban/fail2ban.pid → /run/fail2ban/fail2ban.pid; please update the unit file accordingly.
random: systemd: uninitialized urandom read (16 bytes read)
random: systemd: uninitialized urandom read (16 bytes read)
systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on LVM2 poll daemon socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Created slice system-postfix.slice.
[  OK  ] Reached target Swap.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Listening on Network Service Netlink Socket.
[  OK  ] Listening on Journal Socket.
         Starting Journal Service...
         Starting udev Coldplug all Devices...
         Mounting RPC Pipe File System...
         Starting Load Kernel Modules...
         Starting Remount Root and Kernel File Systems...
         Starting Restore / save the current clock...
         Starting Availability of block devices...
EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=60
         Mounting Kernel Debug File System...
         Mounting NFSD configuration filesystem...
[  OK  ] Listening on Device-mapper event daemon FIFOs.
         Starting Monitoring of LVM…meventd or progress polling...
[  OK  ] Reached target Slices.
[  OK  ] Started Journal Service.
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Availability of block devices.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted NFSD configuration filesystem.
         Starting Load/Save Random Seed...
         Starting Create System Users...
         Starting Apply Kernel Variables...
         Starting pNFS block layout mapping daemon...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create System Users.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started pNFS block layout mapping daemon.
         Starting Create Static Device Nodes in /dev...
         Starting Helper to synchronize boot up for ifupdown...
systemd-journald[1498]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
         Starting Network Service...
[  OK  ] Started Network Service.
[  OK  ] Found device /dev/ttyS0.
         Starting Wait for Network to be Configured...
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Started Helper to synchronize boot up for ifupdown.
[  OK  ] Started Monitoring of LVM2… dmeventd or progress polling.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting Mount /tmp as tmp…e access to the root device...
[  OK  ] Mounted Mount /tmp as tmpf…ite access to the root device.
[  OK  ] Reached target Local File Systems.
         Starting Cleanup monit state file...
[  OK  ] Started ifup for eth0.
         Starting folder2ram systemd service...
         Starting Preprocess NFS configuration...
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
         Starting Cleanup PHP session files...
[  OK  ] Started Cleanup monit state file.
[  OK  ] Started Preprocess NFS configuration.
[  OK  ] Started Cleanup PHP session files.
[  OK  ] Started Create Volatile Files and Directories.
mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
         Starting Network Name Resolution...
         Starting Update UTMP about System Boot/Shutdown...
         Starting RPC bind portmap service...
[  OK  ] Reached target System Time Synchronized.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Reached target NFS client services.
[  OK  ] Started RPC bind portmap service.
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
random: crng init done
random: 4 urandom warning(s) missed due to ratelimiting
[  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Clean PHP session files every 30 mins.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Started folder2ram systemd service.
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
         Starting System Logging Service...
         Starting Initialize hardware monitoring sensors...
         Starting Login Service...
         Starting controls configuration of serial ports...
[  OK  ] Started D-Bus System Message Bus.
         Starting WPA supplicant...
         Starting controls configuration of serial ports...
[  OK  ] Started System Logging Service.
[  OK  ] Started Initialize hardware monitoring sensors.
[  OK  ] Started Login Service.
[  OK  ] Started WPA supplicant.
[  OK  ] Started controls configuration of serial ports.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started controls configuration of serial ports.
[  OK  ] Created slice system-getty.slice.
mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Started Wait for Network to be Configured.
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
[  OK  ] Started Web Services Dynamic Discovery host daemon.
         Starting Generate the prelogin message...
         Starting Postfix Mail Transport Agent (instance -)...
         Starting A high performanc… and a reverse proxy server...
         Starting /etc/rc.local Compatibility...
         Starting The PHP 7.3 FastCGI Process Manager...
         Starting Samba NMB Daemon...
         Starting The OpenMediaVaul…t processes the RPC request...
         Starting Fail2Ban Service...
         Starting NFS Mount Daemon...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Fail2Ban Service.
[  OK  ] Started NFS Mount Daemon.
         Starting NFS server and services...
[  OK  ] Started OpenBSD Secure Shell server.
NFSD: Using UMH upcall client tracking operations.
NFSD: starting 90-second grace period (net f0000079)
[  OK  ] Started A high performance…er and a reverse proxy server.
[  OK  ] Started NFS server and services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Run anacron jobs...
         Starting LSB: DLNA/UPnP-AV media server...
         Starting LSB: Load kernel …d to enable cpufreq scaling...
         Starting Permit User Sessions...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started The OpenMediaVault…hat processes the RPC request.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Started The PHP 7.3 FastCGI Process Manager.
[  OK  ] Started Samba NMB Daemon.
[  OK  ] Started LSB: Run anacron jobs.
         Starting Samba SMB Daemon...
[  OK  ] Started LSB: Load kernel m…ded to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Postfix Mail Transport Agent (instance -).
         Starting Postfix Mail Transport Agent...
[  OK  ] Started Postfix Mail Transport Agent.
[  OK  ] Started LSB: DLNA/UPnP-AV media server.
[  OK  ] Started Samba SMB Daemon.

openmediavault 5.5.19-1 (Usul) NAS-MediaServer.fritz.box ttyS0
Copyright (C) 2009-2020 by Volker Theile. All rights reserved.

To manage the system visit the openmediavault web control panel:

eth0: 192.168.178.100
eth0: fe80::200:c0ff:fe1c:acca

By default the web control panel administrator account has the
username 'admin' and password 'openmediavault'.
It is recommended that you change the password for this account
within the web control panel or using the 'omv-firstaid' CLI
command.

For more information regarding this appliance, please visit the
web site: https://www.openmediavault.org

NAS-MediaServer login: root
Password:
Last login: Tue Dec 22 11:22:39 CET 2020 from 192.168.178.166 on pts/0
Linux NAS-MediaServer.fritz.box 5.10.1 #1 SMP Thu Dec 17 18:06:52 CET 2020 armv7l
Willkommen am Debian CS-Server IPC :-)
   IPC Befehle   : ipc    : i
   OScam Befehle : oscam  : o
root@NAS-MediaServer ~ >
root@NAS-MediaServer ~ > mount
/dev/sda1 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=60)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=511476k,nr_inodes=127869,mode=755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/debug type cgroup (rw,nosuid,nodev,noexec,relatime,debug)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
/dev/sda1 on /var/folder2ram/var/tmp type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=60)
folder2ram on /var/tmp type tmpfs (rw,relatime)
/dev/sda1 on /var/folder2ram/var/spool type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=60)
folder2ram on /var/spool type tmpfs (rw,relatime)
/dev/sda1 on /var/folder2ram/var/lib/rrdcached type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=60)
folder2ram on /var/lib/rrdcached type tmpfs (rw,relatime)
/dev/sda1 on /var/folder2ram/var/lib/monit type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=60)
folder2ram on /var/lib/monit type tmpfs (rw,relatime)
/dev/sda1 on /var/folder2ram/var/cache/samba type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=60)
folder2ram on /var/cache/samba type tmpfs (rw,relatime)
/dev/sda1 on /var/folder2ram/var/cache/sambafolder2ram type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=60)
folder2ram on /var/cache/sambafolder2ram type tmpfs (rw,relatime)
/dev/sda1 on /var/folder2ram/var/emu/oscam type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=60)
folder2ram on /var/emu/oscam type tmpfs (rw,relatime)
/dev/sda1 on /var/folder2ram/etc/minidlna type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=60)
folder2ram on /etc/minidlna type tmpfs (rw,relatime)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=102724k,mode=700)
root@NAS-MediaServer ~ > cat /proc/mtd
dev:    size   erasesize  name
root@NAS-MediaServer ~ >



Edited 5 time(s). Last edit at 12/22/2020 04:30AM by Yodaxy.
Re: Debian on WD MyCloud EX2 Ultra
December 22, 2020 05:47AM
Ah! I had a typo.

setenv bootargs 'root=LABEL=rootfs console=ttyS0,115200 $mtdparts'
setenv mtdparts 'mtdparts=pxa3xx_nand-0:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'


and then
boot

After to booted into Debian, do

cat /proc/mtd

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX2 Ultra
December 22, 2020 06:41AM
no effect with both commands :/

I changed only this ram adresses in the uboot..

For kernel 5.x (current)
New for Kernel 5.x.x
setenv bootcmd 'nand read.e 0x02000020 0x0500000 0x0500000; nand read.e 0x2900000 0x0a00000 0x0500000; bootm 0x02000020 0x2900000'
saveenv


Stock adresses
Stock;

setenv bootcmd 'nand read.e 0x02000020 0x0500000 0x0500000; nand read.e0x2900000 0x0a00000 0x0500000; bootm 0xa00000 0xf00000'
saveenv


Whats this??


invalid mtd device 'pxa3xx_nand-0'




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


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

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

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

NAND:  ID: daad ,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:
invalid mtd device 'pxa3xx_nand-0'
Error initializing mtdparts!
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:reserve2", error -19
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:reserve2' errno=-19!

ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload <addr> <filename> [bytes]
    - load file 'filename' to address 'addr'
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>> 1111111111111111
Unknown command '1111111111111111' - try 'help'
Marvell>>
Unknown command '1111111111111111' - try 'help'
Marvell>> setenv bootargs 'root=LABEL=rootfs console=ttyS0,115200 $mtdparts'
Marvell>> setenv mtdparts 'mtdparts=pxa3xx_nand-0:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> boot

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

NAND read: device 0 offset 0xa00000, size 0x500000
 5242880 bytes read: OK
## Booting image at 02000020 ...
## Booting kernel from Legacy Image at 02000020 ...
   Image Name:   Kernel-v5.10.1-newdts
   Created:      2020-12-19  22:04:36 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3896134 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   Initrd
   Created:      2017-03-14  19:05:31 UTC
   Image Type:   ARM Linux RAMDisk Image (lzma compressed)
   Data Size:    3344286 Bytes = 3.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

DTB:0x003BACF0 (0x00004656)
C:0x000080C0-0x003BF3E0->0x00D7F200-0x01136520
DTB:0x01131E30 (0x000046E3)
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 5.10.1 (root@NAS-MediaServer.fritz.box) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1 SMP Thu Dec 17 18:06:52 CET 2020
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: WD MyCloud Ex2 Ultra: Marvell Armada 385
Memory policy: Data cache writealloc
Zone ranges:
  Normal   [mem 0x0000000000000000-0x000000002fffffff]
  HighMem  [mem 0x0000000030000000-0x000000003fffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000000000-0x000000003fffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
percpu: Embedded 15 pages/cpu s30220 r8192 d23028 u61440
Built 1 zonelists, mobility grouping on.  Total pages: 260608
Kernel command line: root=LABEL=rootfs console=ttyS0,115200 $mtdparts
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 1022952K/1048576K available (8192K kernel code, 505K rwdata, 2112K rodata, 1024K init, 366K bss, 25624K reserved, 0K cma-reserved, 262144K highmem)
rcu: Hierarchical RCU implementation.
rcu:    RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
        Tracing variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 D prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
random: get_random_bytes called from start_kernel+0x2bc/0x4bc with crng_init=0
sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
Switching to timer-based delay loop, resolution 1ns
Ignoring duplicate/late registration of read_current_timer delay
clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
CPU: Testing write buffer coherency: ok
CPU0: Spectre v2: using BPIALL workaround
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100060
mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
mvebu-pmsu: Initializing Power Management Service Unit
rcu: Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
Booting CPU 1
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU1: Spectre v2: using BPIALL workaround
smp: Brought up 1 node, 2 CPUs
SMP: Total of 2 processors activated (2664.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
thermal_sys: Registered thermal governor 'step_wise'
cpuidle: using governor ladder
mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
cryptd: max_cpu_qlen set to 1000
raid6: neonx8   gen()   592 MB/s
raid6: neonx8   xor()   502 MB/s
raid6: neonx4   gen()  1694 MB/s
raid6: neonx4   xor()  1122 MB/s
raid6: neonx2   gen()  2071 MB/s
raid6: neonx2   xor()  1328 MB/s
raid6: neonx1   gen()  1749 MB/s
raid6: neonx1   xor()  1163 MB/s
raid6: int32x8  gen()   244 MB/s
raid6: int32x8  xor()   170 MB/s
raid6: int32x4  gen()   280 MB/s
raid6: int32x4  xor()   171 MB/s
raid6: int32x2  gen()   449 MB/s
raid6: int32x2  xor()   258 MB/s
raid6: int32x1  gen()   513 MB/s
raid6: int32x1  xor()   217 MB/s
raid6: using algorithm neonx2 gen() 2071 MB/s
raid6: .... xor() 1328 MB/s, rmw enabled
raid6: using neon recovery algorithm
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Bluetooth: Core ver 2.22
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
clocksource: Switched to clocksource arm_global_timer
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
FS-Cache: Loaded
CacheFiles: Loaded
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 64
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 3268K
Initialise system trusted keyrings
workingset: timestamp_bits=30 max_order=18 bucket_order=0
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
FS-Cache: Netfs 'cifs' registered for caching
Key type cifs.idmap registered
xor: measuring software checksum speed
   arm4regs        :  2172 MB/sec
   8regs           :  1637 MB/sec
   32regs          :  1733 MB/sec
   neon            :  1599 MB/sec
xor: using function: arm4regs (2172 MB/sec)
async_tx: api initialized (async)
Key type asymmetric registered
Asymmetric key parser 'x509' registered
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
io scheduler kyber registered
armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
mv_xor f1060800.xor: Marvell shared XOR driver
mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
mv_xor f1060900.xor: Marvell shared XOR driver
mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
printk: console [ttyS0] disabled
f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
printk: console [ttyS0] enabled
f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
brd: module loaded
loop: module loaded
ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
scsi host0: ahci-mvebu
scsi host1: ahci-mvebu
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
libphy: Fixed MDIO Bus: probed
libphy: orion_mdio_bus: probed
mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
mvneta f1034000.ethernet eth0: Using random mac address fa:8e:5d:72:2f:24
usbcore: registered new interface driver lan78xx
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-orion: EHCI orion driver
orion-ehci f1058000.usb: EHCI Host Controller
orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 5.10.1 ehci_hcd
usb usb1: SerialNumber: f1058000.usb
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
xhci-hcd f10f0000.usb3: irq 53, io mem 0xf10f0000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: xHCI Host Controller
usb usb2: Manufacturer: Linux 5.10.1 xhci-hcd
usb usb2: SerialNumber: f10f0000.usb3
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: xHCI Host Controller
usb usb3: Manufacturer: Linux 5.10.1 xhci-hcd
usb usb3: SerialNumber: f10f0000.usb3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
xhci-hcd f10f8000.usb3: irq 54, io mem 0xf10f8000
usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: xHCI Host Controller
usb usb4: Manufacturer: Linux 5.10.1 xhci-hcd
usb usb4: SerialNumber: f10f8000.usb3
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: xHCI Host Controller
usb usb5: Manufacturer: Linux 5.10.1 xhci-hcd
usb usb5: SerialNumber: f10f8000.usb3
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
armada38x-rtc f10a3800.rtc: registered as rtc0
ata2: SATA link down (SStatus 0 SControl 300)
armada38x-rtc f10a3800.rtc: setting system clock to 2020-12-22T12:37:01 UTC (1608640621)
ata1: SATA link down (SStatus 0 SControl 300)
i2c /dev entries driver
device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
ledtrig-cpu: registered to indicate activity on CPUs
marvell-cesa f1090000.crypto: CESA device successfully registered
hid: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 10
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
Bridge firewalling registered
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
ThumbEE CPU extension supported.
Registering SWP/SWPB emulation handler
registered taskstats version 1
Loading compiled-in X.509 certificates
Key type ._fscrypt registered
Key type .fscrypt registered
Key type fscrypt-provisioning registered
input: gpio-keys as /devices/platform/gpio-keys/input/input0
Freeing unused kernel memory: 1024K
Run /init as init process
mdadm: cannot open /dev/sd??*: No such file or directory
mdadm: No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
ubiattach: UBI_IOCATT: No such device
mount: mounting ubi0:config on /mnt/config failed: No such device
cp: can't stat '/mnt/config/initrd/shadow': No such file or directory
random: lvm: uninitialized urandom read (4 bytes read)
  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
random: lvm: uninitialized urandom read (4 bytes read)
  No volume groups found
random: lvm: uninitialized urandom read (4 bytes read)
  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
ash: write error: Device or resource busy
/init: line 146: can't create /sys/class/gpio/gpio50/active_low: nonexistent directory
 Press any key or reset key to stop and run shell...usb 5-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
usb 5-1: New USB device found, idVendor=0781, idProduct=5581, bcdDevice= 1.00
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 5-1: Product:  SanDisk 3.2Gen1
usb 5-1: Manufacturer:  USB
usb 5-1: SerialNumber: 0501c7e871816fc2a478ecb4d0b21e6aa823c104de0a59f9dca8c8e1775b6d0ee0d000000000000000000000ccc5bf4a0091131081558107912948b0
usb-storage 5-1:1.0: USB Mass Storage device detected
scsi host2: usb-storage 5-1:1.0
cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
5..scsi 2:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
sd 2:0:0:0: [sda] 120127488 512-byte logical blocks: (61.5 GB/57.3 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 2:0:0:0: [sda] Attached SCSI removable disk
cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
4..cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
3..cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
2..cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
1..

random: fast init done
EXT4-fs (sda1): recovery complete
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

 Unmounting and Switch to OS

cp: can't stat '/mnt/config/mac_addr': No such file or directory
cat: can't open '/run/dropbear.pid': No such file or directory
ash: you need to specify whom to kill
cat: can't open '/run/udhcpc.pid': No such file or directory
ash: you need to specify whom to kill
umount: can't unmount /mnt/config: Invalid argument
systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 10 (buster)!

systemd[1]: Set hostname to <NAS-MediaServer.fritz.box>.
random: lvmconfig: uninitialized urandom read (4 bytes read)
systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly.
systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
systemd[1]: /lib/systemd/system/fail2ban.service:12: PIDFile= references path below legacy directory /var/run/, updating /var/run/fail2ban/fail2ban.pid → /run/fail2ban/fail2ban.pid; please update the unit file accordingly.
random: systemd: uninitialized urandom read (16 bytes read)
systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
random: systemd: uninitialized urandom read (16 bytes read)
[  OK  ] Listening on Journal Socket.
         Mounting Kernel Debug File System...
[  OK  ] Listening on Network Service Netlink Socket.
         Starting Load Kernel Modules...
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on LVM2 poll daemon socket.
[  OK  ] Listening on Syslog Socket.
         Starting Restore / save the current clock...
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[  OK  ] Reached target Swap.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Local Encrypted Volumes.
         Starting Remount Root and Kernel File Systems...
         Mounting RPC Pipe File System...
EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=60
         Starting Availability of block devices...
         Starting Monitoring of LVM…meventd or progress polling...
         Mounting NFSD configuration filesystem...
         Starting udev Coldplug all Devices...
[  OK  ] Created slice system-postfix.slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
         Starting Journal Service...
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Journal Service.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Started Availability of block devices.
[  OK  ] Mounted NFSD configuration filesystem.
         Starting pNFS block layout mapping daemon...
         Starting Load/Save Random Seed...
         Starting Create System Users...
         Starting Flush Journal to Persistent Storage...
         Starting Apply Kernel Variables...
[  OK  ] Started pNFS block layout mapping daemon.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create System Users.
[  OK  ] Started Apply Kernel Variables.
systemd-journald[1697]: Received request to flush runtime journal from PID 1
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Started udev Kernel Device Manager.
         Starting Network Service...
[  OK  ] Started Network Service.
[  OK  ] Found device /dev/ttyS0.
         Starting Wait for Network to be Configured...
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Started Monitoring of LVM2… dmeventd or progress polling.
[  OK  ] Started Helper to synchronize boot up for ifupdown.
random: crng init done
random: 4 urandom warning(s) missed due to ratelimiting
[  OK  ] Reached target Local File Systems (Pre).
         Mounting Mount /tmp as tmp…e access to the root device...
[  OK  ] Mounted Mount /tmp as tmpf…ite access to the root device.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Cleanup monit state file...
         Starting Raise network interfaces...
         Starting folder2ram systemd service...
         Starting Cleanup PHP session files...
         Starting Preprocess NFS configuration...
[  OK  ] Started ifup for eth0.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Cleanup monit state file.
[  OK  ] Started Cleanup PHP session files.
[  OK  ] Started Preprocess NFS configuration.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Reached target NFS client services.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
         Starting Network Name Resolution...
mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
         Starting RPC bind portmap service...
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Started RPC bind portmap service.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Clean PHP session files every 30 mins.
[  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Started folder2ram systemd service.
[  OK  ] Reached target Basic System.
         Starting System Logging Service...
         Starting Initialize hardware monitoring sensors...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started D-Bus System Message Bus.
         Starting controls configuration of serial ports...
         Starting controls configuration of serial ports...
         Starting Login Service...
         Starting WPA supplicant...
[  OK  ] Started System Logging Service.
[  OK  ] Started Initialize hardware monitoring sensors.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Login Service.
[  OK  ] Started Network Name Resolution.
[  OK  ] Started controls configuration of serial ports.
[  OK  ] Started controls configuration of serial ports.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Reached target Host and Network Name Lookups.
mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Started Wait for Network to be Configured.
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
         Starting The OpenMediaVaul…t processes the RPC request...
         Starting NFS Mount Daemon...
         Starting Fail2Ban Service...
         Starting A high performanc… and a reverse proxy server...
         Starting The PHP 7.3 FastCGI Process Manager...
         Starting OpenBSD Secure Shell server...
[  OK  ] Reached target Network is Online.
         Starting Generate the prelogin message...
         Starting Postfix Mail Transport Agent (instance -)...
[  OK  ] Started Web Services Dynamic Discovery host daemon.
         Starting /etc/rc.local Compatibility...
         Starting Samba NMB Daemon...
[  OK  ] Started NFS Mount Daemon.
[  OK  ] Started Fail2Ban Service.
[  OK  ] Started /etc/rc.local Compatibility.
         Starting NFS server and services...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started A high performance…er and a reverse proxy server.
[  OK  ] Started The OpenMediaVault…hat processes the RPC request.
[  OK  ] Started The PHP 7.3 FastCGI Process Manager.
NFSD: Using UMH upcall client tracking operations.
NFSD: starting 90-second grace period (net f0000079)
[  OK  ] Started NFS server and services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting LSB: Load kernel …d to enable cpufreq scaling...
         Starting LSB: Run anacron jobs...
[  OK  ] Started Regular background program processing daemon.
         Starting Permit User Sessions...
         Starting LSB: DLNA/UPnP-AV media server...
[  OK  ] Started Samba NMB Daemon.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Run anacron jobs.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
         Starting Samba SMB Daemon...
[  OK  ] Started LSB: Load kernel m…ded to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Postfix Mail Transport Agent (instance -).
         Starting Postfix Mail Transport Agent...
[  OK  ] Started Postfix Mail Transport Agent.
[  OK  ] Started Samba SMB Daemon.
[  OK  ] Started LSB: DLNA/UPnP-AV media server.

openmediavault 5.5.19-1 (Usul) NAS-MediaServer.fritz.box ttyS0
Copyright (C) 2009-2020 by Volker Theile. All rights reserved.

To manage the system visit the openmediavault web control panel:

eth0: 192.168.178.100
eth0: fe80::200:c0ff:fe1c:acca

By default the web control panel administrator account has the
username 'admin' and password 'openmediavault'.
It is recommended that you change the password for this account
within the web control panel or using the 'omv-firstaid' CLI
command.

For more information regarding this appliance, please visit the
web site: https://www.openmediavault.org

NAS-MediaServer login: root
Password:
Last login: Tue Dec 22 13:06:49 CET 2020 from 192.168.178.50 on pts/1
Linux NAS-MediaServer.fritz.box 5.10.1 #1 SMP Thu Dec 17 18:06:52 CET 2020 armv7l
Willkommen am Debian CS-Server IPC :-)
   IPC Befehle   : ipc    : i
   OScam Befehle : oscam  : o
root@NAS-MediaServer ~ > cat /proc/mtd
dev:    size   erasesize  name
root@NAS-MediaServer ~ > fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sda: 57.3 GiB, 61505273856 bytes, 120127488 sectors
Disk model:  SanDisk 3.2Gen1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4f2e459b

Device     Boot Start       End   Sectors  Size Id Type
/dev/sda1        2048 120117247 120115200 57.3G 83 Linux
root@NAS-MediaServer ~ > reboot -f



Edited 4 time(s). Last edit at 12/22/2020 09:51AM by Yodaxy.
Re: Debian on WD MyCloud EX2 Ultra
December 22, 2020 02:48PM
Ok i think i handled the problem with an old kernel image. I think the dts is the problem. i will test it thanks!!!!!!!
Re: Debian on WD MyCloud EX2 Ultra
December 22, 2020 05:23PM
Try this

setenv bootargs 'root=LABEL=rootfs console=ttyS0,115200 mtdparts=pxa3xx_nand-0:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'

Quote

invalid mtd device 'pxa3xx_nand-0'

pxa3xx_nand-0 is the correct mtd device if your kernel was built correctly.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX2 Ultra
December 23, 2020 02:34AM
sorry no effect.

Strange i build an new kernel with the old dts and the mtd parts are Not detected.
If i flash the old kernel 4.15.12 it works!



Edited 3 time(s). Last edit at 12/23/2020 03:22AM by Yodaxy.
Re: Debian on WD MyCloud EX2 Ultra
December 23, 2020 03:07AM
Yodaxy,

> Strange i build an new kernel with the old dts and
> the mtd parrts are Not detected.

It does make sense! The NAND driver was armada-nand in previous kernel. But in the later MVBEU kernel we .have to use pxa3xx_nand-0.

> If i flash the old kernel 4.15.12 it works!

It was still armada-nand in that version, IIRC.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX2 Ultra
December 23, 2020 03:09AM
Quote

sorry no effect.

As usual, please post serial boot log so I can see why.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX2 Ultra
December 23, 2020 05:09AM
Ahh ok thanks for the explanation! Can the error also be in the kernel config because I have taken over the old kernel 4.15.12?



BootROM - 1.73
Booting from NAND flash

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

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

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


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

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

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

NAND:  ID: daad ,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:
invalid mtd device 'pxa3xx_nand-0'
Error initializing mtdparts!
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:reserve2", error -19
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:reserve2' errno=-19!

ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload <addr> <filename> [bytes]
    - load file 'filename' to address 'addr'
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>> setenv bootargs 'root=LABEL=rootfs console=ttyS0,115200 mtdparts=pxa3xx_nand-0:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> boot

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

NAND read: device 0 offset 0xa00000, size 0x500000
 5242880 bytes read: OK
## Booting image at 02000020 ...
## Booting kernel from Legacy Image at 02000020 ...
   Image Name:   Kernel-v5.10.2.test
   Created:      2020-12-23   8:39:04 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4249564 Bytes = 4.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   Initrd
   Created:      2017-03-14  19:05:31 UTC
   Image Type:   ARM Linux RAMDisk Image (lzma compressed)
   Data Size:    3344286 Bytes = 3.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

DTB:0x004111B0 (0x0000462C)
C:0x000080C0-0x00415920->0x00D7C000-0x01189860
DTB:0x011850F0 (0x00004751)
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 5.10.2 (root@NAS-MediaServer.fritz.box) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1 SMP Tue Dec 22 21:14:48 CET 2020
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: WD MyCloud Ex2 Ultra: Marvell Armada 385
Memory policy: Data cache writealloc
Zone ranges:
  Normal   [mem 0x0000000000000000-0x000000002fffffff]
  HighMem  [mem 0x0000000030000000-0x000000003fffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000000000-0x000000003fffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
percpu: Embedded 15 pages/cpu s30092 r8192 d23156 u61440
Built 1 zonelists, mobility grouping on.  Total pages: 260416
Kernel command line: root=LABEL=rootfs console=ttyS0,115200 mtdparts=pxa3xx_nand-0:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 1021940K/1048576K available (8594K kernel code, 493K rwdata, 2024K rodata, 1024K init, 365K bss, 26636K reserved, 0K cma-reserved, 262144K highmem)
rcu: Hierarchical RCU implementation.
rcu:    RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 D prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
random: get_random_bytes called from start_kernel+0x324/0x4dc with crng_init=0
sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
Switching to timer-based delay loop, resolution 1ns
Ignoring duplicate/late registration of read_current_timer delay
clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
CPU: Testing write buffer coherency: ok
CPU0: Spectre v2: using BPIALL workaround
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100060
mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
mvebu-pmsu: Initializing Power Management Service Unit
rcu: Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
Booting CPU 1
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU1: Spectre v2: using BPIALL workaround
smp: Brought up 1 node, 2 CPUs
SMP: Total of 2 processors activated (2664.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
thermal_sys: Registered thermal governor 'step_wise'
cpuidle: using governor ladder
mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
cryptd: max_cpu_qlen set to 1000
raid6: neonx8   gen()  1364 MB/s
raid6: neonx8   xor()   908 MB/s
raid6: neonx4   gen()  1647 MB/s
raid6: neonx4   xor()  1154 MB/s
raid6: neonx2   gen()  2053 MB/s
raid6: neonx2   xor()  1373 MB/s
raid6: neonx1   gen()  1596 MB/s
raid6: neonx1   xor()  1121 MB/s
raid6: int32x8  gen()   447 MB/s
raid6: int32x8  xor()   278 MB/s
raid6: int32x4  gen()   491 MB/s
raid6: int32x4  xor()   298 MB/s
raid6: int32x2  gen()   623 MB/s
raid6: int32x2  xor()   317 MB/s
raid6: int32x1  gen()   578 MB/s
raid6: int32x1  xor()   262 MB/s
raid6: using algorithm neonx2 gen() 2053 MB/s
raid6: .... xor() 1373 MB/s, rmw enabled
raid6: using neon recovery algorithm
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Bluetooth: Core ver 2.22
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
clocksource: Switched to clocksource arm_global_timer
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
FS-Cache: Loaded
CacheFiles: Loaded
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 64
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 3268K
Initialise system trusted keyrings
workingset: timestamp_bits=14 max_order=18 bucket_order=4
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
FS-Cache: Netfs 'cifs' registered for caching
Key type cifs.idmap registered
xor: measuring software checksum speed
   arm4regs        :  2172 MB/sec
   8regs           :  1668 MB/sec
   32regs          :  1734 MB/sec
   neon            :  1579 MB/sec
xor: using function: arm4regs (2172 MB/sec)
async_tx: api initialized (async)
Key type asymmetric registered
Asymmetric key parser 'x509' registered
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
io scheduler kyber registered
armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
mv_xor f1060800.xor: Marvell shared XOR driver
mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
mv_xor f1060900.xor: Marvell shared XOR driver
mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
printk: console [ttyS0] disabled
f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
printk: console [ttyS0] enabled
f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
brd: module loaded
loop: module loaded
ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
scsi host0: ahci-mvebu
scsi host1: ahci-mvebu
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
libphy: Fixed MDIO Bus: probed
libphy: orion_mdio_bus: probed
mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
mvneta f1034000.ethernet eth0: Using random mac address 46:6b:8a:02:37:90
usbcore: registered new interface driver lan78xx
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-orion: EHCI orion driver
orion-ehci f1058000.usb: EHCI Host Controller
orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 5.10.2 ehci_hcd
usb usb1: SerialNumber: f1058000.usb
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
xhci-hcd f10f0000.usb3: irq 53, io mem 0xf10f0000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: xHCI Host Controller
usb usb2: Manufacturer: Linux 5.10.2 xhci-hcd
usb usb2: SerialNumber: f10f0000.usb3
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: xHCI Host Controller
usb usb3: Manufacturer: Linux 5.10.2 xhci-hcd
usb usb3: SerialNumber: f10f0000.usb3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
xhci-hcd f10f8000.usb3: irq 54, io mem 0xf10f8000
usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: xHCI Host Controller
usb usb4: Manufacturer: Linux 5.10.2 xhci-hcd
usb usb4: SerialNumber: f10f8000.usb3
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: xHCI Host Controller
usb usb5: Manufacturer: Linux 5.10.2 xhci-hcd
usb usb5: SerialNumber: f10f8000.usb3
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
i2c /dev entries driver
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
ledtrig-cpu: registered to indicate activity on CPUs
marvell-cesa f1090000.crypto: CESA device successfully registered
hid: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 10
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
Bridge firewalling registered
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
registered taskstats version 1
Loading compiled-in X.509 certificates
Key type ._fscrypt registered
Key type .fscrypt registered
Key type fscrypt-provisioning registered
input: gpio-keys as /devices/platform/gpio-keys/input/input0
Freeing unused kernel memory: 1024K
Run /init as init process
mdadm: cannot open /dev/sd??*: No such file or directory
mdadm:usb 4-1: new high-speed USB device number 2 using xhci-hcd
 No devices listed in conf file were found.
mdadm: No devices listed in conf file were found.
ubiattach: UBI_IOCATT: No such device
mount: mounting ubi0:config on /mnt/config failed: No such device
cp: can't stat '/mnt/config/initrd/shadow': No such file or directory
random: lvm: uninitialized urandom read (4 bytes read)
  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
random: lvm: uninitialized urandom read (4 bytes read)
  No volume groups found
random: lvm: uninitialized urandom read (4 bytes read)
  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
ash: write error: Device or resource busy
/init: line 146: can't create /sys/class/gpio/gpio50/active_low: nonexistent directory
 Press any key or reset key to stop and run shell...usb 4-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice= 6.55
usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 4-1: Product: USB2.1 Hub
usb 4-1: Manufacturer: GenesysLogic
hub 4-1:1.0: USB hub found
hub 4-1:1.0: 4 ports detected
usb 5-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
usb 5-1: New USB device found, idVendor=05e3, idProduct=0626, bcdDevice= 6.55
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-1: Product: USB3.1 Hub
usb 5-1: Manufacturer: GenesysLogic
hub 5-1:1.0: USB hub found
hub 5-1:1.0: 4 ports detected
usb 5-1.1: new SuperSpeed Gen 1 USB device number 3 using xhci-hcd
usb 5-1.1: New USB device found, idVendor=0781, idProduct=5581, bcdDevice= 1.00
usb 5-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 5-1.1: Product:  SanDisk 3.2Gen1
usb 5-1.1: Manufacturer:  USB
usb 5-1.1: SerialNumber: 0501c7e871816fc2a478ecb4d0b21e6aa823c104de0a59f9dca8c8e1775b6d0ee0d000000000000000000000ccc5bf4a0091131081558107912948b0
usb-storage 5-1.1:1.0: USB Mass Storage device detected
scsi host2: usb-storage 5-1.1:1.0
cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
5..scsi 2:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
sd 2:0:0:0: [sda] 120127488 512-byte logical blocks: (61.5 GB/57.3 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 2:0:0:0: [sda] Attached SCSI removable disk
cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
4..cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operarandom: fast init done
nd
3..cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
2..cat: can't open '/sys/class/gpio/gpio50/value': No such file or directory
ash: 1: unknown operand
1..

EXT4-fs (sda1): recovery complete
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

 Unmounting and Switch to OS

cp: can't stat '/mnt/config/mac_addr': No such file or directory
cat: can't open '/run/dropbear.pid': No such file or directory
ash: you need to specify whom to kill
cat: can't open '/run/udhcpc.pid': No such file or directory
ash: you need to specify whom to kill
umount: can't unmount /mnt/config: Invalid argument
systemd[1]: System time before build time, advancing clock.
systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 10 (buster)!

systemd[1]: Set hostname to <NAS-MediaServer.fritz.box>.
random: lvmconfig: uninitialized urandom read (4 bytes read)
systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly.
systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
systemd[1]: Configuration file /etc/systemd/system/mcm-daemon.service is marked executable. Please remove executable permission bits. Proceeding anyway.
systemd[1]: /lib/systemd/system/fail2ban.service:12: PIDFile= references path below legacy directory /var/run/, updating /var/run/fail2ban/fail2ban.pid → /run/fail2ban/fail2ban.pid; please update the unit file accordingly.
random: systemd: uninitialized urandom read (16 bytes read)
random: systemd: uninitialized urandom read (16 bytes read)
[  OK  ] Listening on LVM2 poll daemon socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on Journal Socket.
         Starting Load Kernel Modules...
         Starting Monitoring of LVM…meventd or progress polling...
         Starting Create list of re…odes for the current kernel...
         Starting Availability of block devices...
         Mounting Kernel Debug File System...
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Network Service Netlink Socket.
         Starting Restore / save the current clock...
         Mounting RPC Pipe File System...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Reached target Swap
XT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=60
[0m.
         Mounting NFSD configuration filesystem...
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Local Encrypted Volumes.
         Starting Journal Service...
[  OK  ] Listening on udev Control Socket.
         Starting udev Coldplug all Devices...
[  OK  ] Created slice system-postfix.slice.
[  OK  ] Started Journal Service.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of req… nodes for the current kernel.
[  OK  ] Started Availability of block devices.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Mounted NFSD configuration filesystem.
         Starting Load/Save Random Seed...
         Starting Create System Users...
         Starting pNFS block layout mapping daemon...
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create System Users.
[  OK  ] Started pNFS block layout mapping daemon.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started udev Coldplug all Devices.
         Starting Helper to synchronize boot up for ifupdown...
         Starting Create Static Device Nodes in /dev...
systemd-journald[1497]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
         Starting Network Service...
[  OK  ] Started Network Service.
[  OK  ] Found device /dev/ttyS0.
sd 2:0:0:0: Attached scsi generic sg0 type 0
[  OK  ] Started Monitoring of LVM2… dmeventd or progress polling.
[  OK  ] Started Helper to synchronize boot up for ifupdown.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting Mount /tmp as tmp…e access to the root device...
         Starting Wait for Network to be Configured...
[  OK  ] Mounted Mount /tmp as tmpf…ite access to the root device.
[  OK  ] Reached target Local File Systems.
         Starting Preprocess NFS configuration...
         Starting Create Volatile Files and Directories...
         Starting Raise network interfaces...
         Starting folder2ram systemd service...
[  OK  ] Started ifup for eth0.
         Starting Cleanup monit state file...
         Starting Cleanup PHP session files...
[  OK  ] Started Preprocess NFS configuration.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Cleanup monit state file.
mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
[  OK  ] Started Cleanup PHP session files.
[  OK  ] Reached target System Time Synchronized.
         Starting RPC bind portmap service...
         Starting Network Name Resolution...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Reached target NFS client services.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Started RPC bind portmap service.
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Clean PHP session files every 30 mins.
[  OK  ] Reached target Timers.
random: crng init done
random: 4 urandom warning(s) missed due to ratelimiting
[  OK  ] Started folder2ram systemd service.
[  OK  ] Reached target Basic System.
         Starting Login Service...
         Starting controls configuration of serial ports...
         Starting MCM System Daemon...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting System Logging Service...
         Starting controls configuration of serial ports...
[  OK  ] Started D-Bus System Message Bus.
         Starting WPA supplicant...
         Starting Initialize hardware monitoring sensors...
[  OK  ] Started System Logging Service.
[  OK  ] Started MCM System Daemon.
[  OK  ] Started Initialize hardware monitoring sensors.
[  OK  ] Started controls configuration of serial ports.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started controls configuration of serial ports.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Login Service.
mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Started Wait for Network to be Configured.
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
         Starting The PHP 7.3 FastCGI Process Manager...
         Starting A high performanc… and a reverse proxy server...
         Starting The OpenMediaVaul…t processes the RPC request...
         Starting Fail2Ban Service...
         Starting OpenBSD Secure Shell server...
         Starting NFS Mount Daemon...
[  OK  ] Reached target Network is Online.
         Starting /etc/rc.local Compatibility...
         Starting Samba NMB Daemon...
         Starting Postfix Mail Transport Agent (instance -)...
[  OK  ] Started Web Services Dynamic Discovery host daemon.
         Starting Generate the prelogin message...
[  OK  ] Started Fail2Ban Service.
[  OK  ] Started NFS Mount Daemon.
         Starting NFS server and services...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started A high performance…er and a reverse proxy server.
[  OK  ] Started The OpenMediaVault…hat processes the RPC request.
[  OK  ] Started The PHP 7.3 FastCGI Process Manager.
rc.local[3063]: OScam : gestartet
[  OK  ] Started Samba NMB Daemon.
         Starting Samba SMB Daemon...
NFSD: Using UMH upcall client tracking operations.
NFSD: starting 90-second grace period (net f0000079)
[  OK  ] Started NFS server and services.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting Permit User Sessions...
         Starting LSB: Load kernel …d to enable cpufreq scaling...
         Starting LSB: DLNA/UPnP-AV media server...
[  OK  ] Started Regular background program processing daemon.
         Starting LSB: Run anacron jobs...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Run anacron jobs.
[  OK  ] Started LSB: Load kernel m…ded to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Samba SMB Daemon.
[  OK  ] Started LSB: DLNA/UPnP-AV media server.
[  OK  ] Started Postfix Mail Transport Agent (instance -).
         Starting Postfix Mail Transport Agent...
[  OK  ] Started Postfix Mail Transport Agent.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.

openmediavault 5.5.19-1 (Usul) NAS-MediaServer.fritz.box ttyS0
Copyright (C) 2009-2020 by Volker Theile. All rights reserved.

To manage the system visit the openmediavault web control panel:

eth0: 192.168.178.100
eth0: fe80::200:c0ff:fe1c:acca

By default the web control panel administrator account has the
username 'admin' and password 'openmediavault'.
It is recommended that you change the password for this account
within the web control panel or using the 'omv-firstaid' CLI
command.

For more information regarding this appliance, please visit the
web site: https://www.openmediavault.org

NAS-MediaServer login: root
Password:
Last login: Wed Dec 23 09:34:22 CET 2020 on ttyS0
Linux NAS-MediaServer.fritz.box 5.10.2 #1 SMP Tue Dec 22 21:14:48 CET 2020 armv7l
Willkommen am Debian CS-Server IPC :-)
   IPC Befehle   : ipc    : i
   OScam Befehle : oscam  : o
root@NAS-MediaServer ~ > cat /proc/mtd
dev:    size   erasesize  name
root@NAS-MediaServer ~ > fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sda: 57.3 GiB, 61505273856 bytes, 120127488 sectors
Disk model:  SanDisk 3.2Gen1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4f2e459b

Device     Boot Start       End   Sectors  Size Id Type
/dev/sda1        2048 120117247 120115200 57.3G 83 Linux
root@NAS-MediaServer ~ >

Attachments:
open | download - .config (126.5 KB)
Re: Debian on WD MyCloud EX2 Ultra
December 23, 2020 03:22PM
> Can the error
> also be in the kernel config because I have taken
> over the old kernel 4.15.12?

Yes.

It is best that you use my kernel 5.9.3 config as starter. And if a smaller kernel image is desired, take out things you dont want or need.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX2 Ultra
December 23, 2020 03:39PM
Thanks i will test it in a few days!

Edit;

Bodhi thanks a lot now it works perfect!



Edited 1 time(s). Last edit at 12/26/2020 04:25PM by Yodaxy.
Re: Debian on WD MyCloud EX2 Ultra
January 02, 2021 04:11PM
I have WD EX2 Ultra and I'm considering whether I should replace the original firmware with very minimal Debian with ZFS.

I would like to avoid opening the device and soldering serial cable to the board. Is it possible to use netconsole with WD EX2 Ultra?

If I have understood correctly, u-boot in the device doesn't support it. I assume that it's possible to update u-boot from the linux (because I have root access etc) and it might be possible to set u-boot configuration in Linux. Does anyone have any experience in this?

Is it easier just open the box and have serial console?
Re: Debian on WD MyCloud EX2 Ultra
January 02, 2021 06:17PM
pjaakko,

> If I have understood correctly, u-boot in the
> device doesn't support it. I assume that it's
> possible to update u-boot from the linux (because
> I have root access etc) and it might be possible
> to set u-boot configuration in Linux. Does anyone
> have any experience in this?

You might be able just do the minimum works inside stock OS to change envs to boot with a USB/HDD rootfs. But not sure if ZFS is supported on Armv7 box yet. Have you done any research about ZFS?


> Is it easier just open the box and have serial
> console?

It is safer and quicker to connect serial console and set it up. Because it is non destructive when you test with serial console. OTOH, updating envs in Linux will be permanent and that has a bit of risk bricking the box (and then you'll need serial console to unbrick it).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX2 Ultra
March 05, 2021 02:32AM
hello is it possible to enable real AES on armv7 cpu? Since I have a massive CPU load on the Jdownloader when I download over https - ssl and the data transfer is only 7mb/s . Thanks!



Edited 1 time(s). Last edit at 03/05/2021 02:39AM by Yodaxy.
Re: Debian on WD MyCloud EX2 Ultra
March 05, 2021 03:48AM
Yodaxy,

> hello is it possible to enable real AES on armv7
> cpu?

Yes it should work.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX2 Ultra
March 05, 2021 04:13AM
The Ex2 Ultra has a Processor: Marvell ARMADA 385 Dual-Core at 1.3GHz
I used your kernel config and the aes is enable in this config i checkt it. But i think it doesnst work.

do you know how i check if aes is on and working?



Edited 4 time(s). Last edit at 03/05/2021 04:17AM by Yodaxy.
Re: Debian on WD MyCloud EX2 Ultra
March 05, 2021 04:57AM
Yodaxy,

> do you know how i check if aes is on and working?

Do a simple openssl test, like this:

(plain.txt is a normal text file)
openssl aes-256-cbc -in plain.txt -out plain.enc
See that it is encrypted (print out the first few lines):
head plain.enc
and then decrypt it
openssl aes-256-cbc -d -in plain.enc -out plain2.txt

Compare the 2 plain text files:
diff plain.txt plain2.txt

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX2 Ultra
March 05, 2021 05:07AM
And

cat /proc/crypto

Also you will need the cryptodev HW accelerator to get the true performance. I don't believe it is in mainline Debian yet (last time I looked). So in the past, usually people download and compile it.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX2 Ultra
March 05, 2021 05:16AM
Thanks for your help bodhi again. The output;

Both txt files are empty After the commands. I used a random password right?


root@NAS-MediaServer ~ >
root@NAS-MediaServer ~ > openssl aes-256-cbc -in plain.txt -out plain.enc
enter aes-256-cbc encryption password:
Verifying - enter aes-256-cbc encryption password:
root@NAS-MediaServer ~ > openssl aes-256-cbc -in plain.txt -out plain.enc
enter aes-256-cbc encryption password:
Verifying - enter aes-256-cbc encryption password:
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
root@NAS-MediaServer ~ > head plain.enc
Salted__�OP��l�i5f�������Troot@NAS-MediaServer ~ >
root@NAS-MediaServer ~ > openssl aes-256-cbc -d -in plain.enc -out plain2.txt
enter aes-256-cbc decryption password:
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
root@NAS-MediaServer ~ > diff plain.txt plain2.txt
root@NAS-MediaServer ~ > cat /proc/crypto
name         : cbc(aes)
driver       : cbc(aes-generic)
module       : kernel
priority     : 100
refcnt       : 1
selftest     : passed
internal     : no
type         : skcipher
async        : no
blocksize    : 16
min keysize  : 16
max keysize  : 32
ivsize       : 16
chunksize    : 16
walksize     : 16

name         : hmac(sha256)
driver       : mv-hmac-sha256
module       : kernel
priority     : 300
refcnt       : 1
selftest     : passed
internal     : no
type         : ahash
async        : yes
blocksize    : 64
digestsize   : 32

name         : hmac(sha1)
driver       : mv-hmac-sha1
module       : kernel
priority     : 300
refcnt       : 1
selftest     : passed
internal     : no
type         : ahash
async        : yes
blocksize    : 64
digestsize   : 20

name         : hmac(md5)
driver       : mv-hmac-md5
module       : kernel
priority     : 300
refcnt       : 1
selftest     : passed
internal     : no
type         : ahash
async        : yes
blocksize    : 64
digestsize   : 16

name         : sha256
driver       : mv-sha256
module       : kernel
priority     : 300
refcnt       : 1
selftest     : passed
internal     : no
type         : ahash
async        : yes
blocksize    : 64
digestsize   : 32

name         : sha1
driver       : mv-sha1
module       : kernel
priority     : 300
refcnt       : 1
selftest     : passed
internal     : no
type         : ahash
async        : yes
blocksize    : 64
digestsize   : 20

name         : md5
driver       : mv-md5
module       : kernel
priority     : 300
refcnt       : 1
selftest     : passed
internal     : no
type         : ahash
async        : yes
blocksize    : 64
digestsize   : 16

name         : cbc(aes)
driver       : mv-cbc-aes
module       : kernel
priority     : 300
refcnt       : 1
selftest     : passed
internal     : no
type         : skcipher
async        : yes
blocksize    : 16
min keysize  : 16
max keysize  : 32
ivsize       : 16
chunksize    : 16
walksize     : 16

name         : ecb(aes)
driver       : mv-ecb-aes
module       : kernel
priority     : 300
refcnt       : 1
selftest     : passed
internal     : no
type         : skcipher
async        : yes
blocksize    : 16
min keysize  : 16
max keysize  : 32
ivsize       : 0
chunksize    : 16
walksize     : 16

name         : cbc(des3_ede)
driver       : mv-cbc-des3-ede
module       : kernel
priority     : 300
refcnt       : 1
selftest     : passed
internal     : no
type         : skcipher
async        : yes
blocksize    : 8
min keysize  : 24
max keysize  : 24
ivsize       : 8
chunksize    : 8
walksize     : 8

name         : ecb(des3_ede)
driver       : mv-ecb-des3-ede
module       : kernel
priority     : 300
refcnt       : 1
selftest     : passed
internal     : no
type         : skcipher
async        : yes
blocksize    : 8
min keysize  : 24
max keysize  : 24
ivsize       : 8
chunksize    : 8
walksize     : 8

name         : cbc(des)
driver       : mv-cbc-des
module       : kernel
priority     : 300
refcnt       : 1
selftest     : passed
internal     : no
type         : skcipher
async        : yes
blocksize    : 8
min keysize  : 8
max keysize  : 8
ivsize       : 8
chunksize    : 8
walksize     : 8

name         : ecb(des)
driver       : mv-ecb-des
module       : kernel
priority     : 300
refcnt       : 1
selftest     : passed
internal     : no
type         : skcipher
async        : yes
blocksize    : 8
min keysize  : 8
max keysize  : 8
ivsize       : 0
chunksize    : 8
walksize     : 8

name         : jitterentropy_rng
driver       : jitterentropy_rng
module       : kernel
priority     : 100
refcnt       : 1
selftest     : passed
internal     : no
type         : rng
seedsize     : 0

name         : poly1305
driver       : poly1305-arm
module       : kernel
priority     : 150
refcnt       : 1
selftest     : passed
internal     : no
type         : shash
blocksize    : 16
digestsize   : 16

name         : xchacha12
driver       : xchacha12-arm
module       : kernel
priority     : 200
refcnt       : 1
selftest     : passed
internal     : no
type         : skcipher
async        : no
blocksize    : 1
min keysize  : 32
max keysize  : 32
ivsize       : 32
chunksize    : 64
walksize     : 64

name         : xchacha20
driver       : xchacha20-arm
module       : kernel
priority     : 200
refcnt       : 1
selftest     : passed
internal     : no
type         : skcipher
async        : no
blocksize    : 1
min keysize  : 32
max keysize  : 32
ivsize       : 32
chunksize    : 64
walksize     : 64

name         : chacha20
driver       : chacha20-arm
module       : kernel
priority     : 200
refcnt       : 1
selftest     : passed
internal     : no
type         : skcipher
async        : no
blocksize    : 1
min keysize  : 32
max keysize  : 32
ivsize       : 16
chunksize    : 64
walksize     : 64

name         : zstd
driver       : zstd-scomp
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
internal     : no
type         : scomp

name         : zstd
driver       : zstd-generic
module       : kernel
priority     : 0
refcnt       : 2
selftest     : passed
internal     : no
type         : compression

name         : ghash
driver       : ghash-generic
module       : kernel
priority     : 100
refcnt       : 1
selftest     : passed
internal     : no
type         : shash
blocksize    : 16
digestsize   : 16

name         : stdrng
driver       : drbg_nopr_hmac_sha256
module       : kernel
priority     : 207
refcnt       : 1
selftest     : passed
internal     : no
type         : rng
seedsize     : 0

name         : stdrng
driver       : drbg_nopr_hmac_sha512
module       : kernel
priority     : 206
refcnt       : 1
selftest     : passed
internal     : no
type         : rng
seedsize     : 0

name         : stdrng
driver       : drbg_nopr_hmac_sha384
module       : kernel
priority     : 205
refcnt       : 1
selftest     : passed
internal     : no
type         : rng
seedsize     : 0

name         : stdrng
driver       : drbg_nopr_hmac_sha1
module       : kernel
priority     : 204
refcnt       : 1
selftest     : passed
internal     : no
type         : rng
seedsize     : 0

name         : stdrng
driver       : drbg_pr_hmac_sha256
module       : kernel
priority     : 203
refcnt       : 1
selftest     : passed
internal     : no
type         : rng
seedsize     : 0

name         : stdrng
driver       : drbg_pr_hmac_sha512
module       : kernel
priority     : 202
refcnt       : 1
selftest     : passed
internal     : no
type         : rng
seedsize     : 0

name         : stdrng
driver       : drbg_pr_hmac_sha384
module       : kernel
priority     : 201
refcnt       : 1
selftest     : passed
internal     : no
type         : rng
seedsize     : 0

name         : stdrng
driver       : drbg_pr_hmac_sha1
module       : kernel
priority     : 200
refcnt       : 1
selftest     : passed
internal     : no
type         : rng
seedsize     : 0

name         : lzo-rle
driver       : lzo-rle-scomp
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
internal     : no
type         : scomp

name         : lzo-rle
driver       : lzo-rle-generic
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
internal     : no
type         : compression

name         : lzo
driver       : lzo-scomp
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
internal     : no
type         : scomp

name         : lzo
driver       : lzo-generic
module       : kernel
priority     : 0
refcnt       : 4
selftest     : passed
internal     : no
type         : compression

name         : crct10dif
driver       : crct10dif-generic
module       : kernel
priority     : 100
refcnt       : 2
selftest     : passed
internal     : no
type         : shash
blocksize    : 1
digestsize   : 2

name         : crc32
driver       : crc32-generic
module       : kernel
priority     : 100
refcnt       : 1
selftest     : passed
internal     : no
type         : shash
blocksize    : 1
digestsize   : 4

name         : crc32c
driver       : crc32c-generic
module       : kernel
priority     : 100
refcnt       : 7
selftest     : passed
internal     : no
type         : shash
blocksize    : 1
digestsize   : 4

name         : zlib-deflate
driver       : zlib-deflate-scomp
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
internal     : no
type         : scomp

name         : deflate
driver       : deflate-scomp
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
internal     : no
type         : scomp

name         : deflate
driver       : deflate-generic
module       : kernel
priority     : 0
refcnt       : 2
selftest     : passed
internal     : no
type         : compression

name         : aes
driver       : aes-generic
module       : kernel
priority     : 100
refcnt       : 1
selftest     : passed
internal     : no
type         : cipher
blocksize    : 16
min keysize  : 16
max keysize  : 32

name         : des3_ede
driver       : des3_ede-generic
module       : kernel
priority     : 100
refcnt       : 1
selftest     : passed
internal     : no
type         : cipher
blocksize    : 8
min keysize  : 24
max keysize  : 24

name         : des
driver       : des-generic
module       : kernel
priority     : 100
refcnt       : 1
selftest     : passed
internal     : no
type         : cipher
blocksize    : 8
min keysize  : 8
max keysize  : 8

name         : sha384
driver       : sha384-generic
module       : kernel
priority     : 100
refcnt       : 1
selftest     : passed
internal     : no
type         : shash
blocksize    : 128
digestsize   : 48

name         : sha512
driver       : sha512-generic
module       : kernel
priority     : 100
refcnt       : 1
selftest     : passed
internal     : no
type         : shash
blocksize    : 128
digestsize   : 64

name         : sha224
driver       : sha224-generic
module       : kernel
priority     : 100
refcnt       : 1
selftest     : passed
internal     : no
type         : shash
blocksize    : 64
digestsize   : 28

name         : sha256
driver       : sha256-generic
module       : kernel
priority     : 100
refcnt       : 2
selftest     : passed
internal     : no
type         : shash
blocksize    : 64
digestsize   : 32

name         : sha1
driver       : sha1-generic
module       : kernel
priority     : 100
refcnt       : 2
selftest     : passed
internal     : no
type         : shash
blocksize    : 64
digestsize   : 20

name         : md5
driver       : md5-generic
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
internal     : no
type         : shash
blocksize    : 64
digestsize   : 16

name         : ecb(cipher_null)
driver       : ecb-cipher_null
module       : kernel
priority     : 100
refcnt       : 1
selftest     : passed
internal     : no
type         : skcipher
async        : no
blocksize    : 1
min keysize  : 0
max keysize  : 0
ivsize       : 0
chunksize    : 1
walksize     : 1

name         : digest_null
driver       : digest_null-generic
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
internal     : no
type         : shash
blocksize    : 1
digestsize   : 0

name         : compress_null
driver       : compress_null-generic
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
internal     : no
type         : compression

name         : cipher_null
driver       : cipher_null-generic
module       : kernel
priority     : 0
refcnt       : 1
selftest     : passed
internal     : no
type         : cipher
blocksize    : 1
min keysize  : 0
max keysize  : 0

name         : rsa
driver       : rsa-generic
module       : kernel
priority     : 100
refcnt       : 1
selftest     : passed
internal     : no
type         : akcipher

name         : dh
driver       : dh-generic
module       : kernel
priority     : 100
refcnt       : 1
selftest     : passed
internal     : no
type         : kpp

root@NAS-MediaServer ~ >

[code/]
Re: Debian on WD MyCloud EX2 Ultra
March 05, 2021 05:22AM
> Both txt files are empty After the commands. I
> used a random password right?

Any password would be fine.

How about make it clear that the text was encrypted and decrypted correctly.

echo "This is a test of aes-cbc" > plain.txt

and then encrypt/decrypt it.

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



Edited 1 time(s). Last edit at 03/05/2021 05:24AM by bodhi.
Re: Debian on WD MyCloud EX2 Ultra
March 05, 2021 05:26AM
The HW accelerator is in the kernel.

# dmesg | grep -i cesa
[   29.656575] marvell-cesa f1030000.crypto: CESA device successfully registered

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX2 Ultra
March 05, 2021 05:43AM
Hm now your test is working both txt files has the same text in it. i cant understand why only ssl und https Downloads has so many Cpu usage I tested it in 3 different hosters. .Ftp downloads uses the full bandwidth in jownloader.



Edited 2 time(s). Last edit at 03/05/2021 06:07AM by Yodaxy.
Re: Debian on WD MyCloud EX2 Ultra
March 05, 2021 04:06PM
Ok the error is AES-NI which probably does not run on my hardware, armv7 ?
Re: Debian on WD MyCloud EX2 Ultra
March 05, 2021 05:40PM
Yodaxy,


> Ok the error is AES-NI which probably does not run
> on my hardware, armv7 ?

As I wrote above, HW accelerator should work in this SoC (Marvell has this in Armv5 and Armv7). Lack of HW accelerator is the cause for the high CPU usage.

See the Wiki thread:

Quote

Hardware Cryptography

Marvell CESA (also see correction post in this thread)
Marvell CESA in kernel 4.4 performance
Hardware Cryptography cryptodev/openssl On arm5/Debian (build circa 2019)

Regarding AES-NI, that's something you should verify with the SW developers for jdownloader. Is that a show stopper?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX2 Ultra
March 06, 2021 02:36AM
Sorry i'm afraid I don't understand what you mean with show stopper. Exactly I wrote with a moderator in the Jdownloader forum he said AES-NI must be supported. The installed java version must support it, I tried java 8 and the latest and the cpu must run in arm v8 mode. Which is not possible with the armada 385 or?
Re: Debian on WD MyCloud EX2 Ultra
March 06, 2021 02:19PM
ive tested it again if aes-ni is on and it doesn't look like.
i have tried it with wget and speedtest files https links only up to 7mb/s , cpu usage by 60%
ftp download is up to 60mb/s
so it can't be the jdownloader after all.



root@NAS-MediaServer ~ > wget -O /dev/null https://www.speedtestx.de/testfiles/d                                                            ata_1gb.test
--2021-03-06 23:13:51--  https://www.speedtestx.de/testfiles/data_1gb.test
Resolving www.speedtestx.de (www.speedtestx.de)... 136.243.134.31
Connecting to www.speedtestx.de (www.speedtestx.de)|136.243.134.31|:443... conne                                                            cted.
HTTP request sent, awaiting response... 200 OK
Length: 1073741824 (1.0G) [application/octet-stream]
Saving to: '/dev/null'

/dev/null                   22%[=======>                               ] 225.87M  6.93MB/s    eta 2m 18s ^                                  C
root@NAS-MediaServer ~ > wget -O /dev/null https://speed.hetzner.de/1GB.bin
--2021-03-06 23:15:46--  https://speed.hetzner.de/1GB.bin
Resolving speed.hetzner.de (speed.hetzner.de)... 88.198.248.254, 2a01:4f8:0:59ed::2
Connecting to speed.hetzner.de (speed.hetzner.de)|88.198.248.254|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1048576000 (1000M) [application/octet-stream]
Saving to: '/dev/null'

/dev/null                   24%[========>                              ] 241.52M  5.11MB/s    eta 1m 53s ^                                  C



root@NAS-MediaServer ~ > wget -O /dev/null http://speedtest.belwue.net/1G
--2021-03-06 23:38:02--  http://speedtest.belwue.net/1G
Resolving speedtest.belwue.net (speedtest.belwue.net)... 129.143.4.238, 2001:7c0                                                                               :0:1002::b
Connecting to speedtest.belwue.net (speedtest.belwue.net)|129.143.4.238|:80... c                                                                               onnected.
HTTP request sent, awaiting response... 200 OK
Length: 1073741824 (1.0G)
Saving to: '/dev/null'

/dev/null                        49%[==========================>                             ] 510.29M  54.0MB/s    eta 14s    ^   


root@NAS-MediaServer ~ > grep aes /proc/cpuinfo
root@NAS-MediaServer ~ > openssl speed -elapsed -evp aes-128-cbc
You have chosen to measure elapsed time instead of user CPU time.
Doing aes-128-cbc for 3s on 16 size blocks: 6660188 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 64 size blocks: 2059001 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 256 size blocks: 552481 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 1024 size blocks: 140335 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 8192 size blocks: 17517 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 16384 size blocks: 8758 aes-128-cbc's in 3.00s
OpenSSL 1.1.1d  10 Sep 2019
built on: Tue Feb 16 22:08:43 2021 UTC
options:bn(64,32) rc4(char) des(long) aes(partial) blowfish(ptr)
compiler: gcc -fPIC -pthread -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -f                              debug-prefix-map=/build/openssl-nU05XT/openssl-1.1.1d=. -fstack-protector-strong                               -Wformat -Werror=format-security -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL                              _CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -                              DSHA512_ASM -DKECCAK1600_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_AS                              M -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  1                              6384 bytes
aes-128-cbc      35521.00k    43925.35k    47145.05k    47901.01k    47833.09k                                  47830.36k



Edited 6 time(s). Last edit at 03/06/2021 04:04PM by Yodaxy.
Re: Debian on WD MyCloud EX2 Ultra
March 06, 2021 03:51PM
Yodaxy,

Since I don't use Jdownloader, my opinion might not be informed. But I'll tell you what I think and you need to research to see if others have used this on NAS boxes similar to this one.

- Java is cross-platform so when someone say it must be run on Armv8, I don't think that statement is correct. May be something specific to Jdownloader. But I'd doubt it.
- AES-NI is for Intel boxes. So it is not confugred in any ARM kernel such as this Armada 385. Then again, I don't know Jdownloader, so don't know why it is a requirement for a tool that is supposed to be cross-platform.
- Hardware accelerator is supported by Marvell Kirkwood and Armada. But one must use cryotodev driver to activate it.
- If the program is running using crypto, and gets high CPU usage, then it is an indicator that the CPU spedning all the time doing that. One must use HW accelerator to achieve real throughput (as I mentioned, we have a few threads in the Wiki about this subject).

Good luck!

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

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: