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