Welcome! Log In Create A New Profile

Advanced

WDmycloudex4100 instructions

Posted by Johnei 
Johnei
WDmycloudex4100 instructions
June 08, 2019 10:24PM
Have the instructions been posted to get full Debian working on this machine? All these threads make it hard to follow.
Johnei
Re: WDmycloudex4100 instructions
June 08, 2019 10:27PM
It looks like it possible just that the instructions on how to update it is not up.
Re: WDmycloudex4100 instructions
June 08, 2019 10:40PM
Johnei,

We don't have a clean installation instruction for this box yet, but you only to read this working thread:

https://forum.doozan.com/read.php?2,34103

It migth help to go to the last post and read backward until you see the current settings that allow you to install Debian on this box.

-bodhi
===========================
Forum Wiki
bodhi's corner
Johnei
Re: WDmycloudex4100 instructions
June 09, 2019 10:15AM
do I have this right I need to use rootfs Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2 on USB and that will give me Debian? if I wanted to update to your latest kernel release I I would then have to follow these extra steps:


Quote

Download at Dropbox

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

md5:
049259a2761769d0f14641f045ef8a48
sha256:
2a68beab3f662cd7bbb3412644e247b0ad8746fbedc54173fe7360b323209a69

As always, please check the hash of your download!

There are 6 files in this tarball:

Quote

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

Installation

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


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

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


3. And install it with dpkg. Remove flash-kernel first to avoid potential problem:

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


4. Create zImage and uInitrd (kernel file initrd.img-5.1.2-mvebu-tld-1 was generated by dpkg in step 3).

cd /boot
cp -a zImage-5.1.2-mvebu-tld-1 zImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-5.1.2-mvebu-tld-1 -d initrd.img-5.1.2-mvebu-tld-1 uInitrd

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

-----
Mod edit: Please use quote tags or code tags



Edited 1 time(s). Last edit at 06/09/2019 05:03PM by bodhi.
Re: WDmycloudex4100 instructions
June 09, 2019 05:07PM
Johnei,

> do I have this right I need to use rootfs
> Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2 on
> USB and that will give me Debian?

That's correct.

> if I wanted to
> update to your latest kernel release I I would
> then have to follow these extra steps

For now, boot with Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2, which has kernel 4.12.4-mvebu-tld-1 in it. After you've got it running OK, then you can upgrade to the latest kernel linux-5.1.2-mvebu-tld-1 using the above kernel installation instruction.

-bodhi
===========================
Forum Wiki
bodhi's corner
Johnei
Re: WDmycloudex4100 instructions
June 09, 2019 09:36PM
Thanks, I am assuming I will need to mess with the environment variables or will this be taken care of when upgrading the kernel

Also, I might sound like a noob here but will I need to reinstall docker and everything else will my wdmycloud dashboard still show up? what are some of the benefits that I should look into when I have debian running?

The reason I started looking into this was because the docker I had installed under the stock os was giving me out of space error when running more than 5 containers but I couldn't change the root directory as described in a tutorial for more space for some reason. when I did try to change the root path I got this error

"overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded. storage-driver=overlay2"

So I guess I am hoping to be able to have more control over the system which I believe I will have with this box on debian.
Johnei
Re: WDmycloudex4100 instructions
June 09, 2019 10:37PM
I tried to follow the UBS rootfs Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2 instructions but when I boot and ssh I'm still seeing busy box.

Also, I noticed I formatted the disk ext4 does that matter?
Johnei
Re: WDmycloudex4100 instructions
June 09, 2019 10:46PM
also what am I suppose to do with this file (armada-388-wd-ex4100.dtb ) you said it was not included in the release Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2
Re: WDmycloudex4100 instructions
June 10, 2019 12:58AM
Quote

Also, I might sound like a noob here but will I need to reinstall docker and everything else will my wdmycloud dashboard still show up? what are some of the benefits that I should look into when I have debian running?

The reason I started looking into this was because the docker I had installed under the stock os was giving me out of space error when running more than 5 containers but I couldn't change the root directory as described in a tutorial for more space for some reason. when I did try to change the root path I got this error

"overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded. storage-driver=overlay2"

So I guess I am hoping to be able to have more control over the system which I believe I will have with this box on debian.

Yes. The rootfs Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2 is a very basic rootfs. The instruction description for what extra packages have been installed after it was created by Debian debootstrap:

Quote
https://forum.doozan.com/read.php?2,32146

- Installed packages: openssh-server, nano, avahi, libnss-mdns, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, locales, dialog, bzip2, nfs-kernel-server, nfs-common, iperf, ethtool, sysvinit-core, sysvinit, and sysvinit-utils, mtd-utils, u-boot-tools, rsync, pmount, i2c-tools, qemu-arm-static.

So basically you would have to install packages that you need.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: WDmycloudex4100 instructions
June 10, 2019 01:00AM
Quote

also what am I suppose to do with this file (armada-388-wd-ex4100.dtb ) you said it was not included in the release Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2

After you've created the rootfs on USB, you need to copy that DTB file to the rootfs /boot/dts/.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: WDmycloudex4100 instructions
June 10, 2019 01:03AM
Quote

I tried to follow the UBS rootfs Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2 instructions but when I boot and ssh I'm still seeing busy box.

Also, I noticed I formatted the disk ext4 does that matter?

As the instruction stated, you need to use EXT3.

Please post the entire serial console log of your attemp of booting with the new rootfs here, so I can see what steps were wrong.

-bodhi
===========================
Forum Wiki
bodhi's corner
johnei
Re: WDmycloudex4100 instructions
June 10, 2019 10:08AM
Will I also need BTD file what is the difference between the two bts and dtb?
Johneri
Re: WDmycloudex4100 instructions
June 10, 2019 10:10AM
serial console log? I am assuming I would need to open up the box and connect to the pins that I have seen in some pictures floating around, is this correct?
Re: WDmycloudex4100 instructions
June 10, 2019 04:29PM
Johnei,

Quote

serial console log? I am assuming I would need to open up the box and connect to the pins that I have seen in some pictures floating around, is this correct?

Yes.

See the Wiki thread:
https://forum.doozan.com/read.php?2,23630


Quote

Serial Console & JTAG console

Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD
Serial Port connector - what are people using to make it work
Serial Console hookup - GoFlex Net (external link)
Serial Console hookup - Pogoplug E02 and Pogoplug Pro V3 (external link)
OSX Serial/Net Console
Use Phone Jack - Phone Jack Serial Console Pics
Adding serial connector to Pogoplug Mobile (external link)
WD Mycloud EX2100/4100 Serial Console pic1, also pic2, pic3
Dreamplug Serial Console
How to unbrick your box using serial console with kwboot
kwboot on Mac OSX 10
Unbrick a Pogoplug Pro v3 OXNAS by flashing u-boot in serial console

-bodhi
===========================
Forum Wiki
bodhi's corner
Johnei
Re: WDmycloudex4100 instructions
June 13, 2019 09:27PM
So I finally got the cable and convertor for serial connection heres is the output with the usb connected to the front port.

"BootROM - 1.73
Booting from NAND flash

mvBoardIdGet: TWSI Read for Marvell Board ID failed (57) 
        Using default board ID



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

Initialize DB-88F6820-BP board topology
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0      |
 |   1    |  00   |  SGMII1     |
 |   2    |  06   |  SATA1      |
 |   3    |  06   |  SATA3      |
 |   4    |  05   |  USB3 HOST0 |
 |   5    |  06   |  SATA2      |
 --------------------------------
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 1 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.06 (Jan 08 2015 - 10:04:46) Marvell version: 2014_T3.0p6

mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
Board: DB-88F6820-BP
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  2 GiB

Map:   Code:                    0x7fece000:0x7ff95d44
       BSS:                     0x7ffef254
       Stack:                   0x7f9cdf20
       Heap:                    0x7f9ce000:0x7fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

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

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

NAND read: device 0 offset 0xa00000, size 0x500000
 5242880 bytes read: OK
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Linux-388
   Created:      2018-11-16   6:11:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4093524 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   Ramdisk
   Created:      2019-05-15   2:26:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2220263 Bytes = 2.1 MiB
   Load Address: 00e00000
   Entry Point:  00e00000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
stopping USB..

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.10.39 (kman@kmachine) (gcc version 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) ) #1 SMP Fri Nov 16 14:11:47 CST 2018 2014T30p5 Build-git0451941
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Marvell Armada 380/381/382/385/388 (Device Tree), model: Marvell Armada 385 Development Board
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 1 pages/cpu @c0b10000 s8320 r8192 d16256 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65505
Kernel command line: root=/dev/ram console=ttyS0,115200
PID hash table entries: 4096 (order: -1, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 4, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 3, 262144 bytes)
allocated 524288 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 2048MB = 2048MB total
Memory: 2081984k/2081984k available, 15168k reserved, 1303552K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff8000   (  32 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xfff00000   ( 247 MB)
    lowmem  : 0xc0000000 - 0xf0700000   ( 775 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0714270   (7217 kB)
      .init : 0xc0718000 - 0xc075a080   ( 265 kB)
      .data : 0xc075c000 - 0xc07a7e40   ( 304 kB)
       .bss : 0xc07a7e40 - 0xc0871570   ( 806 kB)
Hierarchical RCU implementation.
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:16 nr_irqs:16 16

  LSP version: linux-3.10.39-2014_T3.0p5

sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
Console: colour dummy device 80x30
Calibrating delay loop... 3188.32 BogoMIPS (lpj=15941632)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0xc056c250 - 0xc056c2a8
mvebu-pmsu: Initializing Power Management Service Unit
Initializing CPU Reset module
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (6376.65 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
xor: measuring software checksum speed
   arm4regs  :  1708.800 MB/sec
   8regs     :  1129.600 MB/sec
   32regs    :  1107.200 MB/sec
xor: using function: arm4regs (1708.800 MB/sec)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
irq: Cannot allocate irq_descs @ IRQ195, assuming pre-allocated
irq: Cannot allocate irq_descs @ IRQ227, assuming pre-allocated
bio: create slab <bio-0> at 0
raid6: int32x1    427 MB/s
raid6: int32x2    417 MB/s
raid6: int32x4    536 MB/s
raid6: int32x8    461 MB/s
raid6: using algorithm int32x4 (536 MB/s)
raid6: using intx1 recovery algorithm
mvebu-pcie pcie-controller.3: PCIe0.0: link down
mvebu-pcie pcie-controller.3: PCIe1.0: link down
mvebu-pcie pcie-controller.3: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe8000000]
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus1: Fast back to back transfers enabled
PCI: bus2: Fast back to back transfers enabled
pci 0000:00:01.0: PCI bridge to [bus 01]
pci 0000:00:02.0: PCI bridge to [bus 02]
PCI: enabling device 0000:00:01.0 (0140 -> 0143)
PCI: enabling device 0000:00:02.0 (0140 -> 0143)
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
Switching to clocksource armada_370_xp_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 1, 65536 bytes)
TCP bind hash table entries: 8192 (order: 1, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 1024 (order: 0, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 0, 32768 bytes)
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.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 2112K (c0f08000 - c1118000)
bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 8192 (order 0, 32768 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
fuse init (API version 7.22)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 1524
async_tx: api initialized (async)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
mv_xor f1060800.xor: Marvell shared XOR driver
mv_xor f1060800.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060800.xor: freeing 1 in use descriptors!
mv_xor f1060800.xor: Marvell XOR: ( crc32c )
mv_xor f1060900.xor: Marvell shared XOR driver
mv_xor f1060900.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060900.xor: freeing 1 in use descriptors!
mv_xor f1060900.xor: Marvell XOR: ( crc32c )
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
console [ttyS0] enabled
f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 45) is a 16550A
brd: module loaded
loop: module loaded
ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi0 : ahci_mv_platform
scsi1 : ahci_mv_platform
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
ahci_mv f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi2 : ahci_mv_platform
scsi3 : ahci_mv_platform
ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 60
ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 60
armada-nand f10d0000.nand: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit), 512MiB, page size: 2048, OOB size: 64
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
nand_read_bbt: bad block at 0x000006960000
8 ofpart partitions found on MTD device armada-nand
Creating 8 MTD partitions on "armada-nand":
0x000000000000-0x000000500000 : "U-Boot"
0x000000500000-0x000000a00000 : "uImage"
0x000000a00000-0x000000f00000 : "uRamdisk"
0x000000f00000-0x00001c800000 : "image.cfs"
0x00001c800000-0x00001d700000 : "rescue fw"
0x00001d700000-0x00001eb00000 : "config"
0x00001eb00000-0x00001f500000 : "reserve1"
0x00001f500000-0x00001ff00000 : "reserve2"
SoC: model = 0x6828, revision = 0x4
mvPncVirtBase = 0xf0e00000, pncTcamSize = 1024
  o 3 Giga ports supported
  o SKB recycle supported (Disabled)
  o NETA acceleration mode 4
  o BM supported for CPU: 4 BM pools
  o PnC supported (Enabled)
  o RX Queue support: 8 Queues * 256 Descriptors
  o TX Queue support: 8 Queues * 532 Descriptors
  o GSO supported
  o GRO supported
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Driver DEBUG statistics enabled

port #0: is_sgmii=0, is_rgmii=1, phy_addr=0
  o Loading network interface(s) for port #0: cpu_mask=0x3, tx_csum_limit=9800

  o Port 0 is connected to Linux netdevice
    o egiga0, ifindex = 2, GbE port = 0
        giga p=0: mtu=1500, mac=00:50:43:02:02:01 (platform)

port #1: is_sgmii=1, is_rgmii=0, phy_addr=1
  o Loading network interface(s) for port #1: cpu_mask=0x3, tx_csum_limit=2048

  o Port 1 is connected to Linux netdevice
    o egiga1, ifindex = 3, GbE port = 1
        giga p=1: mtu=1500, mac=00:50:43:02:02:02 (platform)

libphy: orion_mdio_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform 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 50, io mem 0xf1058000
orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
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: irq 48, io mem 0xf10f0000
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
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
ata2: SATA link down (SStatus 0 SControl 300)
ata1: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
hub 3-1:1.0: USB hub found
hub 3-1:1.0: 4 ports detected
mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
i2c /dev entries driver
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
usb 2-1: new high-speed USB device number 2 using xhci-hcd
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
cpuidle: using governor ladder
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: chain(0)
mvCesaInit: channels=2, session=640, queue=256
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
cesadev_init(c0734f0c)
TCP: cubic registered
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
registered taskstats version 1
mvebu-rtc f10a3800.rtc: setting system clock to 2019-06-14 01:29:07 UTC (1560475747)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 256K (c0718000 - c0758000)
init started: BusyBox v1.20.2 (2014-10-30 15:28:01 CST)
starting pid 1256, tty '': '/etc/rc.sh'
** Mounting /etc/fstab
umount: can't umount /proc: Invalid argument
umount: can't umount /usr/local/modules: Invalid argument
offset_flag=1,vaule_flag=1,bit_fUBI: attaching mtd5 to ubi0
lag=1
reg f1018140 : 00700000
UBI: scanning is finished
UBI: attached mtd5 (name "config", size 20 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 160, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 40/24, WL threshold: 4096, image sequence number: 1237890639
UBI: available PEBs: 12, total reserved PEBs: 148, PEBs reserved for bad PEB handling: 20
UBI: background thread "ubi_bgt0d" started, PID 1271
UBI device number 0, total 160 LEBs (20316160 bytes, 19.4 MiB), available 12 LEBs (1523712 bytes, 1.5 MiB), LEB size 126976 bytes (124.0 KiB)
usb 3-1.3: new SuperSpeed USB device number 3 using xhci-hcd
usb 3-1.3: Parent hub missing LPM exit latency info.  Power management will be impacted.
usb-storage 3-1.3:1.0: USB Mass Storage device detected
scsi4 : usb-storage 3-1.3:1.0
UBIFS: background thread "ubifs_bgt0_0" started, PID 1282
UBIFS: mounted UBI device 0, volume 0, name "config"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 14475264 bytes (13 MiB, 114 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 683702 bytes (667 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 761978AF-C5F8-4E6F-893E-5B2783EE2E98, small LPT model
umount: can't umount /usr/local/tmp/image.cfs: No such file or directory
rm: can't remove '/usr/local/tmp/image.cfs': No such file or directory
umount: can't umount /usr/local/tmp: Invalid argument
first good block is 0
image len = 98234368 , image checksum = 578057a0
umount: can't umount /usr/local/tmp: Invalid argument
scsi 4:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
sd 4:0:0:0: [sda] 60062500 512-byte logical blocks: (30.7 GB/28.6 GiB)
sd 4:0:0:0: Attached scsi generic sg0 type 0
sd 4:0:0:0: [sda] Write Protect is off
sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 4:0:0:0: [sda] Attached SCSI removable disk
dump image checksum=578057a0
mount cmd:busybox mount -t squashfs -o loop /usr/local/tmp/image.cfs /usr/local/modules
cp: can't stat '/tmp1/*': No such file or directory
ln: /lib/./liblber-2.4.so.2.5.6: File exists
ln: /lib/./libminiupnpc.so: File exists
ln: /lib/./libnatpmp.so: File exists
ln: /lib/./libpam.so.0.81.6: File exists
ln: /usr/local/sbin/alert_email_config.sh: File exists
ln: /usr/sbin/language.sh: File exists
ln: /lib/libnss_winbind.so.2: File exists
dev.raid.speed_limit_max = 1000
egiga0    Link encap:Ethernet  HWaddr xxxxxxxxx
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:193 
egiga0: mac address changed

egiga1    Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:194 

Do Lan Port Switch
egiga1: mac address changed
not_egiga0: mac address changed
jnl: driver (lke_9.2.0 lke_9.2.0_r256412_b49, LBD=ON) loaded at bf000000
ufsd: module license 'Commercial product' taints kernel.
Disabling lock debugging due to kernel taint
ufsd:: trace mask set to 0000000f
ufsd: driver (lke_9.2.0 lke_9.2.0_r256412_b49, build_host("fsd-linux-bs06b"), acl, ioctl, bdi, sd2(0), fua, bz, tr, rsrc) loaded at bf020000
NTFS support included
exFAT support included
Hfs+/HfsJ support included
optimized: speed
Build_for__WD_Yellowstone_k3.10.39_2015-07-06_lke_9.2.0_r256412_b49

bio: create slab <bio-1> at 1
Btrfs loaded
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
lrwxrwxrwx    1 root     0               17 Jun 14 01:29 /usr/sbin//raid_config -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 Jun 14 01:29 /usr/sbin//raid_expand -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 Jun 14 01:29 /usr/sbin//raid_expand_disks -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 Jun 14 01:29 /usr/sbin//raid_update_info -> /usr/sbin/diskmgr
hardware init
Read PCI register offset 0x18140 = 701000
Read PCI register offset 0x18140 = 701000
Read PCI register offset 0x18140 = 701000
Resetting USB deusb 3-1.3: USB disconnect, device number 3
vice /dev/bus/usb/003/002
hotPlug.sh begin(seq=1213)...
hotPlug.sh end(seq=1213).
usb 3-1: reset SuperSpeed USB device number 2 using xhci-hcd
usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
xhci-hcd f10f0000.usb3: xHCI xhci_drop_endpoint called with disabled ep eed57cc0
Reset successful
usb 3-1.3: new SuperSpeed USB device number 4 using xhci-hcd
usb 3-1.3: Parent hub missing LPM exit latency info.  Power management will be impacted.
usb-storage 3-1.3:1.0: USB Mass Storage device detected
scsi5 : usb-storage 3-1.3:1.0
mode nmae: -->WDMyCloudEX4100<--
Set 802.3az
scsi 5:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
sd 5:0:0:0: [sda] 60062500 512-byte logical blocks: (30.7 GB/28.6 GiB)
sd 5:0:0:0: Attached scsi generic sg0 type 0
sd 5:0:0:0: [sda] Write Protect is off
sd 5:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 5:0:0:0: [sda] Attached SCSI removable disk
hotPlug.sh begin(seq=1231)...
hotPlug.sh end(seq=1231).
mtd check v1.06.06032015
config mtd type is UBIFS
device = /usr/local/config
Total size     = 12384 Kbytes
Used size     = 256 Kbytes
Free size     = 12128 Kbytes
percentage = 2
/usr/local/config free size is 12419072
** copy config files
*** Copy orion.db from flash ****
cp: can't stat '/usr/local/modules/files/fan_temperature.txt': No such file or directory
*** symlink onbrd.ini from flash ****
/etc/sysinit.d/wdlog: line 13: /etc/system.conf: No such file or directory
** set loopback interface
UBI: attaching mtd6 to ubi1
UBI: scanning is finished
UBI: attached mtd6 (name "reserve1", size 10 MiB) to ubi1
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 2557296595
UBI: available PEBs: 18, total reserved PEBs: 62, PEBs reserved for bad PEB handling: 24
UBI device numbeUBI: background thread "ubi_bgt1d" started, PID 3334
r 1, total 80 LEBs (10158080 bytes, 9.7 MiB), available 18 LEBs (2285568 bytes, 2.2 MiB), LEB size 126976 bytes (124.0 KiB)
UBIFS: background thread "ubifs_bgt1_0" started, PID 3352
UBIFS: mounted UBI device 1, volume 0, name "reserve"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 3047424 bytes (2 MiB, 24 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 143937 bytes (140 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 2AF1DBDC-311B-44DB-82D0-0BB16F030BA5, small LPT model
UBIFS: un-mount UBI device 1, volume 0
UBIFS: background thread "ubifs_bgt1_0" stops
UBI: attaching mtd7 to ubi2
UBI: scanning is finished
UBI: attached mtd7 (name "reserve2", size 10 MiB) to ubi2
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 540768837
UBI: available PEBs: 6, total reserved PEBs: 74, PEBs reserved for bad PEB handling: 28
UBI: background thread "ubi_bgt2d" started, PID 3367
UBI device number 2, total 80 LEBs (10158080 bytes, 9.7 MiB), available 6 LEBs (761856 bytes, 744.0 KiB), LEB size 126976 bytes (124.0 KiB)
mknod: /dev/mtd7: File exists
UBIFS: background thread "ubifs_bgt2_0" started, PID 3380
UBIFS: mounted UBI device 2, volume 0, name "reserve2"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 4063232 bytes (3 MiB, 32 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 191915 bytes (187 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID DA06F613-BDF8-4D03-A522-E6A18E2007CF, small LPT model
/dev/mtd7 mount ok(ubi)
UBIFS: un-mount UBI device 2, volume 0
UBIFS: background thread "ubifs_bgt2_0" stops
mac1 = xxxxxxxxxxxxxxxx
mac2 =egiga0: mac address changed
xxxxxxxxxxxxx
lan0:ifconfiegiga1: mac address changed
g egiga0 hw ether 00:xx:xx:xx:xx:xx
lan0:ifconfig egiga1 hw ether xxxxxxx  pool #1: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
9:35
egiga0: started
pool #0: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
egiga1: started
set lan0 speed
set lan1 speed
[wd_read_serial.c:621] Read serial number from flash.
[wd_read_serial.c:160] serial number : WNAG29070174
hidden encryption: 0
old firmware ver:2.31.183.0514.2019
new firmware ver:2.31.183.0514.2019
rm: can't remove '/tmp/fix_wd_config': No such file or directory
NET: Registered protocol family 10
IPv6: ADDRCONF(NETDEV_UP): egiga1: link is not ready
IPv6: ADDRCONF(NETDEV_UP): egiga0: link is not ready
sit: Unknown symbol ip_tunnel_get_stats64 (err 0)
insmod: error inserting '/usr/local/modules/driver/sit.ko': -1 Unknown symbol in module
rm: can't remove '/bin/sysctl': No such file or directory
net.ipv6.conf.default.accept_dad = 2
net.ipv6.conf.egiga0.accept_dad = 2
net.ipv6.conf.default.dad_transmits = 1
net.ipv6.conf.egiga0.dad_transmits = 1
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.default.accept_redirects = 1
mkdir: can't create directory '/usr/local/etc': File exists
*** execute rc.init.sh
ip.sh bonding {1 restart}
bonding starting ...
insmod /usr/local/modules/driver/bonding.ko mode=1 miimon=500 use_carrier=1 downdelay=1000 updelay=1000
bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
bonding: MII link monitoring set to 500 ms
8021q: adding VLAN 0 to HW filter on device bond0
IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
egiga0: stopped
egiga0: mac address changed
egiga0: started
bonding: bond0: enslaving egiga0 as a backup interface with a down link.
egiga1: stopped
egiga1: mac address changed
egiga1: started
bonding: bond0: enslaving egiga1 as a backup interface with a down link.
udhcpc (v1.20.2) started
cat: can't open '/tmp/setip.0': No such file or directory
Sending discover...
killall: crond: no process killed
crond[3632]: crond: crond (busybox 1.20.2) started, log level 8
--2019-06-14 01:29:38--  http://download.wdc.com/nas/WDMyCloudEX4100_HDD_Blacklist.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
[upnp_nas_xml.c() 348] Can't get IP of bond0
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 0.0.0.0 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://0.0.0.0:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
sh: you need to specify whom to kill
Advertisements Sent
*** Copy CacheVolume data from flash ****
*** set Time Zone ****
$Usage: apache {start|stop|restart} {web/dav}
Fri Jun 14 01:29:39 PDT 2019
*** get Time from rtc and set it into system ****
rtc: RTC time = 2019/6/14 Fri 1:29:41
Thu Jun 13 18:29:41 PDT 2019
Set Date & time : sntp -K /dev/null -S -r time.windows.com
sntp 4.2.8@1.3265 Fri Jan  9 06:42:54 UTC 2015 (8)
time.windows.com lookup error Name or service not known

Module IPC SERVER Version:(1.00.20090706)

ads=0
created mail daemon thread 0
Sending discover...
POWER ON DEVICE!!
sh: can't create /sys/module/gpio/parameters/hdd_status: nonexistent directory
cp: can't stat '/usr/local/config/user.log.*': No such file or directory
cp: can't stat '/usr/local/config/wdmcserver.log.*': No such file or directory
cp: can't stat '/usr/local/config/orion_cm.log.*': No such file or directory
cp: can't stat '/usr/local/config/mycloud.log.*': No such file or directory
cp: can't stat '/usr/local/config/wdhwlib.log.*': No such file or directory
mount: mount point /proc/bus/usb does not exist
WD hwlib start..............
Starting system message bus
Starting wdtms
wdtms started
Loading x_tables.ko
Loading nf_conntrack.ko
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Loading xt_conntrack.ko
Loading xt_state.ko
Loading xt_tcpudp.ko
Loading xt_recent.ko
Loading xt_LOG.ko
Loading xt_limit.ko
Loading ip_tables.ko
ip_tables: (C) 2000-2006 Netfilter Core Team
Loading iptable_filter.ko
Loading nf_defrag_ipv4.ko
Loading nf_conntrack_ipv4.ko
Loading ip6_tables.ko
ip6_tables: (C) 2000-2006 Netfilter Core Team
Loading ip6table_filter.ko
Loading nf_defrag_ipv6.ko
Loading nf_conntrack_ipv6.ko
PHY_LAN_NUMBER=2
BOND_ENABLE=1
VLAN0_ENABLE=0
VLAN1_ENABLE=0
--2019-06-13 18:29:44--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
I/O warning : failed to load external entity "/var/www/xml/internal_backup.xml"
--2019-06-13 18:29:44--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
cat: can't open '/var/run/traceroute_wd.pid': No such file or directory
ash: you need to specify whom to kill
killall: traceroute: no process killed
traceroute: bad address 'www.wd2go.com'
traceroute: bad address 'www.wdc.com'

 -------------use hwlib instead of fan_control b c------------- 
Sending discover...
 3880 root      8640 S    avahi-daemon: running [WDMyCloudEX4100.local]
[ERROR] Unable to open (null)
Set Date & time : sntp -K /dev/null -S -r pool.ntp.org
sntp 4.2.8@1.3265 Fri Jan  9 06:42:54 UTC 2015 (8)
pool.ntp.org lookup error Name or service not known
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda1): using internal journal
EXT3-fs (sda1): recovery complete
EXT3-fs (sda1): mounted filesystem with ordered data mode
restart sysinfod...
sysinfod: full update begin...
sysinfod: disk connected: previous=0xffffffff, now=0x0
--2019-06-13 18:29:46--  http://download.wdc.com/nas/WDMyCloudEX4100_HDD_Blacklist.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
No lease, forking to background
init bond0
waiting : [10]
Failed to restart apache, ret = 1
country=0
lang_path=/usr/local/modules/language
chk_io v1.04.20141112
system daemon v1.04.20141211
PIP is disabled, exiting.
Thu Jun 13 18:29:52 PDT 2019 - %I - Communication Manager - Start
connect: Connection refused

dev.raid.speed_limit_max = 200000

Please press Enter to activate this console. killall: chk_hotplug: no process killed
call load_module
### create systemfile ###
### sata_reload_application start ###
Loading iSCSI transport class v2.0-870.
iscsi: registered transport (tcp)
Failed to restart apache, ret = 1
New interface iface0 added
iface0 updated.
New interface iface1 added
iface1 updated.
New interface ifbond added
ifbond updated.
[upnp_nas_xml.c() 348] Can't get IP of bond0
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 0.0.0.0 port = 49153
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://0.0.0.0:49153/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
Starting atopacctd
cannot switch on process accounting: Function not implemented
Starting atop system monitor  atop
atop started
Advertisements Sent
Rename is FAILE
USE 2nd Rename 
*** APKG Daemon is starting ... ***
sh: you need to specify whom to kill
sh: you need to specify whom to kill
Rename is FAILE
USE 2nd Rename 
killall: smbd: no process killed
Starting wdnotifier
wdnotifier started
Starting wdmcserver
Starting wdphotodbmerger
WDPhotodbmerger started  0
sh: /etc/scripts/getip.sh: not found
config bond0 169.254.2.212
RTNETLINK answers: File exists
call load_module network
killall: smbd: no process killed
killall: chk_blockip: no process killed
killall: chk_blockip: no process killed
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 169.254.2.212 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://169.254.2.212:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
Advertisements Sent
sh: syntax error: unexpected "("
Starting AFP services:
$Shutting down SMBD services: I/O warning : failed to load external entity "/mnt/USB/USB3_a1/.timeMachine.xml"
Document parsed unsuccessfully. 
sysinfod: full update begin...
sh: can't kill pid 5428: No such process
sh: can't kill pid 5426: No such process

$Shutting down NMBD services:  3880 root      8640 S    avahi-daemon: running [WDMyCloudEX4100.local]

$Starting SMBD services: 
$Starting NMBD services: 
PHY_LAN_NUMBER=2
BOND_ENABLE=1
VLAN0_ENABLE=0
VLAN1_ENABLE=0
--2019-06-13 18:30:07--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... Rename is FAILE
USE 2nd Rename 
Thu Jun 13 18:30:07 PDT 2019 - %I - Communication Manager - Stop
Thu Jun 13 18:30:07 PDT 2019 - %W - Communication Manager - process is not running
CM pid : [4773]  Count : [0]
CM pid : [4773]  Count : [1]
killall: elephantdriveDaemon: no process killed
CM pid : [4773]  Count : [2]
Setting up docker
mkdir: can't create directory '/mnt/HD/HD_a2/Nas_Prog/_docker': No such file or directory
Loading drivers
Loading /usr/local/modules/driver/nf_conntrack.ko
insmod: error inserting '/usr/local/modules/driver/nf_conntrack.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_conntrack.ko
CM pid : [4773]  Count : [3]
Loading /usr/local/modules/driver/nf_nat.ko
CM pid : [4773]  Count : [4]
Loading /usr/local/modules/driver/nf_defrag_ipv4.ko
insmod: error inserting '/usr/local/modules/driver/nf_defrag_ipv4.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_defrag_ipv4.ko
failed: Connection timed out.
wget: unable to resolve host address 'download.wdc.com'
--2019-06-13 18:30:12--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... CM pid : [4773]  Count : [5]
Loading /usr/local/modules/driver/nf_conntrack_ipv4.ko
insmod: error inserting '/usr/local/modules/driver/nf_conntrack_ipv4.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_conntrack_ipv4.ko
CM pid : [4773]  Count : [6]
Loading /usr/local/modules/driver/nf_nat_ipv4.ko
CM pid : [4773]  Count : [7]
Loading /usr/local/modules/driver/x_tables.ko
insmod: error inserting '/usr/local/modules/driver/x_tables.ko': -1 File exists
failed to load /usr/local/modules/driver/x_tables.ko
CM pid : [4773]  Count : [8]
Loading /usr/local/modules/driver/xt_conntrack.ko
insmod: error inserting '/usr/local/modules/driver/xt_conntrack.ko': -1 File exists
failed to load /usr/local/modules/driver/xt_conntrack.ko
CM pid : [4773]  Count : [9]
Loading /usr/local/modules/driver/xt_addrtype.ko
failed: Connection timed out.
wget: unable to resolve host address 'download.wdc.com'
CM pid : [4773]  Count : [10]
Loading /usr/local/modules/driver/xt_tcpudp.ko
insmod: error inserting '/usr/local/modules/driver/xt_tcpudp.ko': -1 File exists
failed to load /usr/local/modules/driver/xt_tcpudp.ko
CM pid : [4773]  Count : [11]
Loading /usr/local/modules/driver/xt_nat.ko
CM pid : [4773]  Count : [12]
Loading /usr/local/modules/driver/nf_nat_masquerade_ipv4.ko
insmod: can't read '/usr/local/modules/driver/nf_nat_masquerade_ipv4.ko': No such file or directory
failed to load /usr/local/modules/driver/nf_nat_masquerade_ipv4.ko
CM pid : [4773]  Count : [13]
Loading /usr/local/modules/driver/ipt_MASQUERADE.ko
CM pid : [4773]  Count : [14]
Loading /usr/local/modules/driver/ip_tables.ko
insmod: error inserting '/usr/local/modules/driver/ip_tables.ko': -1 File exists
failed to load /usr/local/modules/driver/ip_tables.ko
CM pid : [4773]  Count : [15]
Loading /usr/local/modules/driver/iptable_filter.ko
insmod: error inserting '/usr/local/modules/driver/iptable_filter.ko': -1 File exists
failed to load /usr/local/modules/driver/iptable_filter.ko
CM pid : [4773]  Count : [16]
Loading /usr/local/modules/driver/iptable_nat.ko
CM pid : [4773]  Count : [17]
Loading /usr/local/modules/driver/llc.ko
CM pid : [4773]  Count : [18]
Loading /usr/local/modules/driver/stp.ko
CM pid : [4773]  Count : [19]
Loading /usr/local/modules/driver/bridge.ko
Bridge firewalling registered
CM pid : [4773]  Count : [20]
Loading /usr/local/modules/driver/br_netfilter.ko
insmod: can't read '/usr/local/modules/driver/br_netfilter.ko': No such file or directory
failed to load /usr/local/modules/driver/br_netfilter.ko
CM pid : [4773]  Count : [21]
Setting up cgroup
CM pid : [4773]  Count : [22]
Get http:///var/run/docker.sock/v1.19/containers/json: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
wdappmgr_auto_start finished modifying wd apps exit code
Starting Docker
Docker is not setup! Run docker_daemon.sh setup
umount: /mnt/HD/HD_a2/Nas_Prog/_docker/devicemapper: not found
Total RAM: 2084352 KB
Creating /sys/fs/cgroup/memory/docker
Docker quota: 1042176 KB
Set memory quota for docker: 1067188224
/usr/sbin/docker_daemon.sh: line 198: /var/lib/docker/docker.log: No such file or directory
Docker pid 6141
Stopping wdappmgr
wdappmgr is already stopped
Starting wdappmgr
CM pid : [4773]  Count : [23]
parent exiting!
wdappmgr started
curl: (7) Couldn't connect to server
CM pid : [4773]  Count : [24]
curl: (7) Couldn't connect to server
CM pid : [4773]  Count : [25]
curl: (7) Couldn't connect to server
CM pid : [4773]  Count : [26]
curl: (7) Couldn't connect to server
CM pid : [4773]  Count : [27]
curl: (7) Couldn't connect to server
CM pid : [4773]  Count : [28]
country=0
lang_path=/usr/local/modules/language
### sata_reload_application end ###
rm: /shares/Volume_1: is a directory
Create USB dev node
rm: can't remove '/tmp/disk_uuid': No such file or directory
sysinfod: full update begin...
sysinfod: inform: all drives status=No Drives.
dry_total_size:9780
dry_total_size:2711
dry_total_size:12083
dry_total_size:5515
dry_total_size:10992
CM pid : [4773]  Count : [29]
LED_POWER_ON
Thu Jun 13 18:30:37 PDT 2019 - %W - Communication Manager - already running, use 'shutdown' to stop process
Command line is not complete. Try option "help"
zcip: script /usr/share/udhcpc/zcip.script config failed, exitcode=1"



Edited 2 time(s). Last edit at 06/14/2019 01:50AM by bodhi.
Johnei
Re: WDmycloudex4100 instructions
June 13, 2019 09:28PM
BootROM - 1.73
Booting from NAND flash

mvBoardIdGet: TWSI Read for Marvell Board ID failed (57) 
        Using default board ID



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

Initialize DB-88F6820-BP board topology
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0      |
 |   1    |  00   |  SGMII1     |
 |   2    |  06   |  SATA1      |
 |   3    |  06   |  SATA3      |
 |   4    |  05   |  USB3 HOST0 |
 |   5    |  06   |  SATA2      |
 --------------------------------
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 1 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.06 (Jan 08 2015 - 10:04:46) Marvell version: 2014_T3.0p6

mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
Board: DB-88F6820-BP
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  2 GiB

Map:   Code:                    0x7fece000:0x7ff95d44
       BSS:                     0x7ffef254
       Stack:                   0x7f9cdf20
       Heap:                    0x7f9ce000:0x7fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

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

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

NAND read: device 0 offset 0xa00000, size 0x500000
 5242880 bytes read: OK
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Linux-388
   Created:      2018-11-16   6:11:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4093524 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   Ramdisk
   Created:      2019-05-15   2:26:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2220263 Bytes = 2.1 MiB
   Load Address: 00e00000
   Entry Point:  00e00000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
stopping USB..

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.10.39 (kman@kmachine) (gcc version 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) ) #1 SMP Fri Nov 16 14:11:47 CST 2018 2014T30p5 Build-git0451941
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Marvell Armada 380/381/382/385/388 (Device Tree), model: Marvell Armada 385 Development Board
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 1 pages/cpu @c0b10000 s8320 r8192 d16256 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65505
Kernel command line: root=/dev/ram console=ttyS0,115200
PID hash table entries: 4096 (order: -1, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 4, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 3, 262144 bytes)
allocated 524288 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 2048MB = 2048MB total
Memory: 2081984k/2081984k available, 15168k reserved, 1303552K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff8000   (  32 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xfff00000   ( 247 MB)
    lowmem  : 0xc0000000 - 0xf0700000   ( 775 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0714270   (7217 kB)
      .init : 0xc0718000 - 0xc075a080   ( 265 kB)
      .data : 0xc075c000 - 0xc07a7e40   ( 304 kB)
       .bss : 0xc07a7e40 - 0xc0871570   ( 806 kB)
Hierarchical RCU implementation.
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:16 nr_irqs:16 16

  LSP version: linux-3.10.39-2014_T3.0p5

sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
Console: colour dummy device 80x30
Calibrating delay loop... 3188.32 BogoMIPS (lpj=15941632)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0xc056c250 - 0xc056c2a8
mvebu-pmsu: Initializing Power Management Service Unit
Initializing CPU Reset module
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (6376.65 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
xor: measuring software checksum speed
   arm4regs  :  1708.800 MB/sec
   8regs     :  1129.600 MB/sec
   32regs    :  1107.200 MB/sec
xor: using function: arm4regs (1708.800 MB/sec)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
irq: Cannot allocate irq_descs @ IRQ195, assuming pre-allocated
irq: Cannot allocate irq_descs @ IRQ227, assuming pre-allocated
bio: create slab <bio-0> at 0
raid6: int32x1    427 MB/s
raid6: int32x2    417 MB/s
raid6: int32x4    536 MB/s
raid6: int32x8    461 MB/s
raid6: using algorithm int32x4 (536 MB/s)
raid6: using intx1 recovery algorithm
mvebu-pcie pcie-controller.3: PCIe0.0: link down
mvebu-pcie pcie-controller.3: PCIe1.0: link down
mvebu-pcie pcie-controller.3: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe8000000]
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus1: Fast back to back transfers enabled
PCI: bus2: Fast back to back transfers enabled
pci 0000:00:01.0: PCI bridge to [bus 01]
pci 0000:00:02.0: PCI bridge to [bus 02]
PCI: enabling device 0000:00:01.0 (0140 -> 0143)
PCI: enabling device 0000:00:02.0 (0140 -> 0143)
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
Switching to clocksource armada_370_xp_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 1, 65536 bytes)
TCP bind hash table entries: 8192 (order: 1, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 1024 (order: 0, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 0, 32768 bytes)
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.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 2112K (c0f08000 - c1118000)
bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 8192 (order 0, 32768 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
fuse init (API version 7.22)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 1524
async_tx: api initialized (async)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
mv_xor f1060800.xor: Marvell shared XOR driver
mv_xor f1060800.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060800.xor: freeing 1 in use descriptors!
mv_xor f1060800.xor: Marvell XOR: ( crc32c )
mv_xor f1060900.xor: Marvell shared XOR driver
mv_xor f1060900.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060900.xor: freeing 1 in use descriptors!
mv_xor f1060900.xor: Marvell XOR: ( crc32c )
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
console [ttyS0] enabled
f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 45) is a 16550A
brd: module loaded
loop: module loaded
ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi0 : ahci_mv_platform
scsi1 : ahci_mv_platform
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
ahci_mv f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi2 : ahci_mv_platform
scsi3 : ahci_mv_platform
ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 60
ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 60
armada-nand f10d0000.nand: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit), 512MiB, page size: 2048, OOB size: 64
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
nand_read_bbt: bad block at 0x000006960000
8 ofpart partitions found on MTD device armada-nand
Creating 8 MTD partitions on "armada-nand":
0x000000000000-0x000000500000 : "U-Boot"
0x000000500000-0x000000a00000 : "uImage"
0x000000a00000-0x000000f00000 : "uRamdisk"
0x000000f00000-0x00001c800000 : "image.cfs"
0x00001c800000-0x00001d700000 : "rescue fw"
0x00001d700000-0x00001eb00000 : "config"
0x00001eb00000-0x00001f500000 : "reserve1"
0x00001f500000-0x00001ff00000 : "reserve2"
SoC: model = 0x6828, revision = 0x4
mvPncVirtBase = 0xf0e00000, pncTcamSize = 1024
  o 3 Giga ports supported
  o SKB recycle supported (Disabled)
  o NETA acceleration mode 4
  o BM supported for CPU: 4 BM pools
  o PnC supported (Enabled)
  o RX Queue support: 8 Queues * 256 Descriptors
  o TX Queue support: 8 Queues * 532 Descriptors
  o GSO supported
  o GRO supported
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Driver DEBUG statistics enabled

port #0: is_sgmii=0, is_rgmii=1, phy_addr=0
  o Loading network interface(s) for port #0: cpu_mask=0x3, tx_csum_limit=9800

  o Port 0 is connected to Linux netdevice
    o egiga0, ifindex = 2, GbE port = 0
        giga p=0: mtu=1500, mac=00:50:43:02:02:01 (platform)

port #1: is_sgmii=1, is_rgmii=0, phy_addr=1
  o Loading network interface(s) for port #1: cpu_mask=0x3, tx_csum_limit=2048

  o Port 1 is connected to Linux netdevice
    o egiga1, ifindex = 3, GbE port = 1
        giga p=1: mtu=1500, mac=00:50:43:02:02:02 (platform)

libphy: orion_mdio_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform 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 50, io mem 0xf1058000
orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
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: irq 48, io mem 0xf10f0000
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
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
ata2: SATA link down (SStatus 0 SControl 300)
ata1: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
hub 3-1:1.0: USB hub found
hub 3-1:1.0: 4 ports detected
mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
i2c /dev entries driver
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
usb 2-1: new high-speed USB device number 2 using xhci-hcd
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
cpuidle: using governor ladder
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: chain(0)
mvCesaInit: channels=2, session=640, queue=256
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
cesadev_init(c0734f0c)
TCP: cubic registered
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
registered taskstats version 1
mvebu-rtc f10a3800.rtc: setting system clock to 2019-06-14 01:29:07 UTC (1560475747)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 256K (c0718000 - c0758000)
init started: BusyBox v1.20.2 (2014-10-30 15:28:01 CST)
starting pid 1256, tty '': '/etc/rc.sh'
** Mounting /etc/fstab
umount: can't umount /proc: Invalid argument
umount: can't umount /usr/local/modules: Invalid argument
offset_flag=1,vaule_flag=1,bit_fUBI: attaching mtd5 to ubi0
lag=1
reg f1018140 : 00700000
UBI: scanning is finished
UBI: attached mtd5 (name "config", size 20 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 160, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 40/24, WL threshold: 4096, image sequence number: 1237890639
UBI: available PEBs: 12, total reserved PEBs: 148, PEBs reserved for bad PEB handling: 20
UBI: background thread "ubi_bgt0d" started, PID 1271
UBI device number 0, total 160 LEBs (20316160 bytes, 19.4 MiB), available 12 LEBs (1523712 bytes, 1.5 MiB), LEB size 126976 bytes (124.0 KiB)
usb 3-1.3: new SuperSpeed USB device number 3 using xhci-hcd
usb 3-1.3: Parent hub missing LPM exit latency info.  Power management will be impacted.
usb-storage 3-1.3:1.0: USB Mass Storage device detected
scsi4 : usb-storage 3-1.3:1.0
UBIFS: background thread "ubifs_bgt0_0" started, PID 1282
UBIFS: mounted UBI device 0, volume 0, name "config"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 14475264 bytes (13 MiB, 114 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 683702 bytes (667 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 761978AF-C5F8-4E6F-893E-5B2783EE2E98, small LPT model
umount: can't umount /usr/local/tmp/image.cfs: No such file or directory
rm: can't remove '/usr/local/tmp/image.cfs': No such file or directory
umount: can't umount /usr/local/tmp: Invalid argument
first good block is 0
image len = 98234368 , image checksum = 578057a0
umount: can't umount /usr/local/tmp: Invalid argument
scsi 4:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
sd 4:0:0:0: [sda] 60062500 512-byte logical blocks: (30.7 GB/28.6 GiB)
sd 4:0:0:0: Attached scsi generic sg0 type 0
sd 4:0:0:0: [sda] Write Protect is off
sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 4:0:0:0: [sda] Attached SCSI removable disk
dump image checksum=578057a0
mount cmd:busybox mount -t squashfs -o loop /usr/local/tmp/image.cfs /usr/local/modules
cp: can't stat '/tmp1/*': No such file or directory
ln: /lib/./liblber-2.4.so.2.5.6: File exists
ln: /lib/./libminiupnpc.so: File exists
ln: /lib/./libnatpmp.so: File exists
ln: /lib/./libpam.so.0.81.6: File exists
ln: /usr/local/sbin/alert_email_config.sh: File exists
ln: /usr/sbin/language.sh: File exists
ln: /lib/libnss_winbind.so.2: File exists
dev.raid.speed_limit_max = 1000
egiga0    Link encap:Ethernet  HWaddr xxxxxxxxxxxxx  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:193 
egiga0: mac address changed

egiga1    Link encap:Ethernet  HWaddr xxxxxxxxxxxxxx  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:194 

Do Lan Port Switch
egiga1: mac address changed
not_egiga0: mac address changed
jnl: driver (lke_9.2.0 lke_9.2.0_r256412_b49, LBD=ON) loaded at bf000000
ufsd: module license 'Commercial product' taints kernel.
Disabling lock debugging due to kernel taint
ufsd:: trace mask set to 0000000f
ufsd: driver (lke_9.2.0 lke_9.2.0_r256412_b49, build_host("fsd-linux-bs06b"), acl, ioctl, bdi, sd2(0), fua, bz, tr, rsrc) loaded at bf020000
NTFS support included
exFAT support included
Hfs+/HfsJ support included
optimized: speed
Build_for__WD_Yellowstone_k3.10.39_2015-07-06_lke_9.2.0_r256412_b49

bio: create slab <bio-1> at 1
Btrfs loaded
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
lrwxrwxrwx    1 root     0               17 Jun 14 01:29 /usr/sbin//raid_config -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 Jun 14 01:29 /usr/sbin//raid_expand -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 Jun 14 01:29 /usr/sbin//raid_expand_disks -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 Jun 14 01:29 /usr/sbin//raid_update_info -> /usr/sbin/diskmgr
hardware init
Read PCI register offset 0x18140 = 701000
Read PCI register offset 0x18140 = 701000
Read PCI register offset 0x18140 = 701000
Resetting USB deusb 3-1.3: USB disconnect, device number 3
vice /dev/bus/usb/003/002
hotPlug.sh begin(seq=1213)...
hotPlug.sh end(seq=1213).
usb 3-1: reset SuperSpeed USB device number 2 using xhci-hcd
usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
xhci-hcd f10f0000.usb3: xHCI xhci_drop_endpoint called with disabled ep eed57cc0
Reset successful
usb 3-1.3: new SuperSpeed USB device number 4 using xhci-hcd
usb 3-1.3: Parent hub missing LPM exit latency info.  Power management will be impacted.
usb-storage 3-1.3:1.0: USB Mass Storage device detected
scsi5 : usb-storage 3-1.3:1.0
mode nmae: -->WDMyCloudEX4100<--
Set 802.3az
scsi 5:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
sd 5:0:0:0: [sda] 60062500 512-byte logical blocks: (30.7 GB/28.6 GiB)
sd 5:0:0:0: Attached scsi generic sg0 type 0
sd 5:0:0:0: [sda] Write Protect is off
sd 5:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 5:0:0:0: [sda] Attached SCSI removable disk
hotPlug.sh begin(seq=1231)...
hotPlug.sh end(seq=1231).
mtd check v1.06.06032015
config mtd type is UBIFS
device = /usr/local/config
Total size     = 12384 Kbytes
Used size     = 256 Kbytes
Free size     = 12128 Kbytes
percentage = 2
/usr/local/config free size is 12419072
** copy config files
*** Copy orion.db from flash ****
cp: can't stat '/usr/local/modules/files/fan_temperature.txt': No such file or directory
*** symlink onbrd.ini from flash ****
/etc/sysinit.d/wdlog: line 13: /etc/system.conf: No such file or directory
** set loopback interface
UBI: attaching mtd6 to ubi1
UBI: scanning is finished
UBI: attached mtd6 (name "reserve1", size 10 MiB) to ubi1
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 2557296595
UBI: available PEBs: 18, total reserved PEBs: 62, PEBs reserved for bad PEB handling: 24
UBI device numbeUBI: background thread "ubi_bgt1d" started, PID 3334
r 1, total 80 LEBs (10158080 bytes, 9.7 MiB), available 18 LEBs (2285568 bytes, 2.2 MiB), LEB size 126976 bytes (124.0 KiB)
UBIFS: background thread "ubifs_bgt1_0" started, PID 3352
UBIFS: mounted UBI device 1, volume 0, name "reserve"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 3047424 bytes (2 MiB, 24 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 143937 bytes (140 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 2AF1DBDC-311B-44DB-82D0-0BB16F030BA5, small LPT model
UBIFS: un-mount UBI device 1, volume 0
UBIFS: background thread "ubifs_bgt1_0" stops
UBI: attaching mtd7 to ubi2
UBI: scanning is finished
UBI: attached mtd7 (name "reserve2", size 10 MiB) to ubi2
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 540768837
UBI: available PEBs: 6, total reserved PEBs: 74, PEBs reserved for bad PEB handling: 28
UBI: background thread "ubi_bgt2d" started, PID 3367
UBI device number 2, total 80 LEBs (10158080 bytes, 9.7 MiB), available 6 LEBs (761856 bytes, 744.0 KiB), LEB size 126976 bytes (124.0 KiB)
mknod: /dev/mtd7: File exists
UBIFS: background thread "ubifs_bgt2_0" started, PID 3380
UBIFS: mounted UBI device 2, volume 0, name "reserve2"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 4063232 bytes (3 MiB, 32 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 191915 bytes (187 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID DA06F613-BDF8-4D03-A522-E6A18E2007CF, small LPT model
/dev/mtd7 mount ok(ubi)
UBIFS: un-mount UBI device 2, volume 0
UBIFS: background thread "ubifs_bgt2_0" stops
mac1 = 00:90:A9:E4:89:34
mac2 =egiga0: mac address changed
 00:90:A9:E4:89:35
lan0:ifconfiegiga1: mac address changed
g egiga0 hw ether xxxxxxxxxxxx
lan0:ifconfig egiga1 hw ether xxxxxxxxxx pool #1: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
9:35
egiga0: started
pool #0: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
egiga1: started
set lan0 speed
set lan1 speed
[wd_read_serial.c:621] Read serial number from flash.
[wd_read_serial.c:160] serial number : WNAG29070174
hidden encryption: 0
old firmware ver:2.31.183.0514.2019
new firmware ver:2.31.183.0514.2019
rm: can't remove '/tmp/fix_wd_config': No such file or directory
NET: Registered protocol family 10
IPv6: ADDRCONF(NETDEV_UP): egiga1: link is not ready
IPv6: ADDRCONF(NETDEV_UP): egiga0: link is not ready
sit: Unknown symbol ip_tunnel_get_stats64 (err 0)
insmod: error inserting '/usr/local/modules/driver/sit.ko': -1 Unknown symbol in module
rm: can't remove '/bin/sysctl': No such file or directory
net.ipv6.conf.default.accept_dad = 2
net.ipv6.conf.egiga0.accept_dad = 2
net.ipv6.conf.default.dad_transmits = 1
net.ipv6.conf.egiga0.dad_transmits = 1
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.default.accept_redirects = 1
mkdir: can't create directory '/usr/local/etc': File exists
*** execute rc.init.sh
ip.sh bonding {1 restart}
bonding starting ...
insmod /usr/local/modules/driver/bonding.ko mode=1 miimon=500 use_carrier=1 downdelay=1000 updelay=1000
bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
bonding: MII link monitoring set to 500 ms
8021q: adding VLAN 0 to HW filter on device bond0
IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
egiga0: stopped
egiga0: mac address changed
egiga0: started
bonding: bond0: enslaving egiga0 as a backup interface with a down link.
egiga1: stopped
egiga1: mac address changed
egiga1: started
bonding: bond0: enslaving egiga1 as a backup interface with a down link.
udhcpc (v1.20.2) started
cat: can't open '/tmp/setip.0': No such file or directory
Sending discover...
killall: crond: no process killed
crond[3632]: crond: crond (busybox 1.20.2) started, log level 8
--2019-06-14 01:29:38--  http://download.wdc.com/nas/WDMyCloudEX4100_HDD_Blacklist.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
[upnp_nas_xml.c() 348] Can't get IP of bond0
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 0.0.0.0 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://0.0.0.0:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
sh: you need to specify whom to kill
Advertisements Sent
*** Copy CacheVolume data from flash ****
*** set Time Zone ****
$Usage: apache {start|stop|restart} {web/dav}
Fri Jun 14 01:29:39 PDT 2019
*** get Time from rtc and set it into system ****
rtc: RTC time = 2019/6/14 Fri 1:29:41
Thu Jun 13 18:29:41 PDT 2019
Set Date & time : sntp -K /dev/null -S -r time.windows.com
sntp 4.2.8@1.3265 Fri Jan  9 06:42:54 UTC 2015 (8)
time.windows.com lookup error Name or service not known

Module IPC SERVER Version:(1.00.20090706)

ads=0
created mail daemon thread 0
Sending discover...
POWER ON DEVICE!!
sh: can't create /sys/module/gpio/parameters/hdd_status: nonexistent directory
cp: can't stat '/usr/local/config/user.log.*': No such file or directory
cp: can't stat '/usr/local/config/wdmcserver.log.*': No such file or directory
cp: can't stat '/usr/local/config/orion_cm.log.*': No such file or directory
cp: can't stat '/usr/local/config/mycloud.log.*': No such file or directory
cp: can't stat '/usr/local/config/wdhwlib.log.*': No such file or directory
mount: mount point /proc/bus/usb does not exist
WD hwlib start..............
Starting system message bus
Starting wdtms
wdtms started
Loading x_tables.ko
Loading nf_conntrack.ko
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Loading xt_conntrack.ko
Loading xt_state.ko
Loading xt_tcpudp.ko
Loading xt_recent.ko
Loading xt_LOG.ko
Loading xt_limit.ko
Loading ip_tables.ko
ip_tables: (C) 2000-2006 Netfilter Core Team
Loading iptable_filter.ko
Loading nf_defrag_ipv4.ko
Loading nf_conntrack_ipv4.ko
Loading ip6_tables.ko
ip6_tables: (C) 2000-2006 Netfilter Core Team
Loading ip6table_filter.ko
Loading nf_defrag_ipv6.ko
Loading nf_conntrack_ipv6.ko
PHY_LAN_NUMBER=2
BOND_ENABLE=1
VLAN0_ENABLE=0
VLAN1_ENABLE=0
--2019-06-13 18:29:44--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
I/O warning : failed to load external entity "/var/www/xml/internal_backup.xml"
--2019-06-13 18:29:44--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
cat: can't open '/var/run/traceroute_wd.pid': No such file or directory
ash: you need to specify whom to kill
killall: traceroute: no process killed
traceroute: bad address 'www.wd2go.com'
traceroute: bad address 'www.wdc.com'

 -------------use hwlib instead of fan_control b c------------- 
Sending discover...
 3880 root      8640 S    avahi-daemon: running [WDMyCloudEX4100.local]
[ERROR] Unable to open (null)
Set Date & time : sntp -K /dev/null -S -r pool.ntp.org
sntp 4.2.8@1.3265 Fri Jan  9 06:42:54 UTC 2015 (8)
pool.ntp.org lookup error Name or service not known
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda1): using internal journal
EXT3-fs (sda1): recovery complete
EXT3-fs (sda1): mounted filesystem with ordered data mode
restart sysinfod...
sysinfod: full update begin...
sysinfod: disk connected: previous=0xffffffff, now=0x0
--2019-06-13 18:29:46--  http://download.wdc.com/nas/WDMyCloudEX4100_HDD_Blacklist.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
No lease, forking to background
init bond0
waiting : [10]
Failed to restart apache, ret = 1
country=0
lang_path=/usr/local/modules/language
chk_io v1.04.20141112
system daemon v1.04.20141211
PIP is disabled, exiting.
Thu Jun 13 18:29:52 PDT 2019 - %I - Communication Manager - Start
connect: Connection refused

dev.raid.speed_limit_max = 200000

Please press Enter to activate this console. killall: chk_hotplug: no process killed
call load_module
### create systemfile ###
### sata_reload_application start ###
Loading iSCSI transport class v2.0-870.
iscsi: registered transport (tcp)
Failed to restart apache, ret = 1
New interface iface0 added
iface0 updated.
New interface iface1 added
iface1 updated.
New interface ifbond added
ifbond updated.
[upnp_nas_xml.c() 348] Can't get IP of bond0
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 0.0.0.0 port = 49153
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://0.0.0.0:49153/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
Starting atopacctd
cannot switch on process accounting: Function not implemented
Starting atop system monitor  atop
atop started
Advertisements Sent
Rename is FAILE
USE 2nd Rename 
*** APKG Daemon is starting ... ***
sh: you need to specify whom to kill
sh: you need to specify whom to kill
Rename is FAILE
USE 2nd Rename 
killall: smbd: no process killed
Starting wdnotifier
wdnotifier started
Starting wdmcserver
Starting wdphotodbmerger
WDPhotodbmerger started  0
sh: /etc/scripts/getip.sh: not found
config bond0 169.254.2.212
RTNETLINK answers: File exists
call load_module network
killall: smbd: no process killed
killall: chk_blockip: no process killed
killall: chk_blockip: no process killed
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 169.254.2.212 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://169.254.2.212:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
Advertisements Sent
sh: syntax error: unexpected "("
Starting AFP services:
$Shutting down SMBD services: I/O warning : failed to load external entity "/mnt/USB/USB3_a1/.timeMachine.xml"
Document parsed unsuccessfully. 
sysinfod: full update begin...
sh: can't kill pid 5428: No such process
sh: can't kill pid 5426: No such process

$Shutting down NMBD services:  3880 root      8640 S    avahi-daemon: running [WDMyCloudEX4100.local]

$Starting SMBD services: 
$Starting NMBD services: 
PHY_LAN_NUMBER=2
BOND_ENABLE=1
VLAN0_ENABLE=0
VLAN1_ENABLE=0
--2019-06-13 18:30:07--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... Rename is FAILE
USE 2nd Rename 
Thu Jun 13 18:30:07 PDT 2019 - %I - Communication Manager - Stop
Thu Jun 13 18:30:07 PDT 2019 - %W - Communication Manager - process is not running
CM pid : [4773]  Count : [0]
CM pid : [4773]  Count : [1]
killall: elephantdriveDaemon: no process killed
CM pid : [4773]  Count : [2]
Setting up docker
mkdir: can't create directory '/mnt/HD/HD_a2/Nas_Prog/_docker': No such file or directory
Loading drivers
Loading /usr/local/modules/driver/nf_conntrack.ko
insmod: error inserting '/usr/local/modules/driver/nf_conntrack.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_conntrack.ko
CM pid : [4773]  Count : [3]
Loading /usr/local/modules/driver/nf_nat.ko
CM pid : [4773]  Count : [4]
Loading /usr/local/modules/driver/nf_defrag_ipv4.ko
insmod: error inserting '/usr/local/modules/driver/nf_defrag_ipv4.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_defrag_ipv4.ko
failed: Connection timed out.
wget: unable to resolve host address 'download.wdc.com'
--2019-06-13 18:30:12--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... CM pid : [4773]  Count : [5]
Loading /usr/local/modules/driver/nf_conntrack_ipv4.ko
insmod: error inserting '/usr/local/modules/driver/nf_conntrack_ipv4.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_conntrack_ipv4.ko
CM pid : [4773]  Count : [6]
Loading /usr/local/modules/driver/nf_nat_ipv4.ko
CM pid : [4773]  Count : [7]
Loading /usr/local/modules/driver/x_tables.ko
insmod: error inserting '/usr/local/modules/driver/x_tables.ko': -1 File exists
failed to load /usr/local/modules/driver/x_tables.ko
CM pid : [4773]  Count : [8]
Loading /usr/local/modules/driver/xt_conntrack.ko
insmod: error inserting '/usr/local/modules/driver/xt_conntrack.ko': -1 File exists
failed to load /usr/local/modules/driver/xt_conntrack.ko
CM pid : [4773]  Count : [9]
Loading /usr/local/modules/driver/xt_addrtype.ko
failed: Connection timed out.
wget: unable to resolve host address 'download.wdc.com'
CM pid : [4773]  Count : [10]
Loading /usr/local/modules/driver/xt_tcpudp.ko
insmod: error inserting '/usr/local/modules/driver/xt_tcpudp.ko': -1 File exists
failed to load /usr/local/modules/driver/xt_tcpudp.ko
CM pid : [4773]  Count : [11]
Loading /usr/local/modules/driver/xt_nat.ko
CM pid : [4773]  Count : [12]
Loading /usr/local/modules/driver/nf_nat_masquerade_ipv4.ko
insmod: can't read '/usr/local/modules/driver/nf_nat_masquerade_ipv4.ko': No such file or directory
failed to load /usr/local/modules/driver/nf_nat_masquerade_ipv4.ko
CM pid : [4773]  Count : [13]
Loading /usr/local/modules/driver/ipt_MASQUERADE.ko
CM pid : [4773]  Count : [14]
Loading /usr/local/modules/driver/ip_tables.ko
insmod: error inserting '/usr/local/modules/driver/ip_tables.ko': -1 File exists
failed to load /usr/local/modules/driver/ip_tables.ko
CM pid : [4773]  Count : [15]
Loading /usr/local/modules/driver/iptable_filter.ko
insmod: error inserting '/usr/local/modules/driver/iptable_filter.ko': -1 File exists
failed to load /usr/local/modules/driver/iptable_filter.ko
CM pid : [4773]  Count : [16]
Loading /usr/local/modules/driver/iptable_nat.ko
CM pid : [4773]  Count : [17]
Loading /usr/local/modules/driver/llc.ko
CM pid : [4773]  Count : [18]
Loading /usr/local/modules/driver/stp.ko
CM pid : [4773]  Count : [19]
Loading /usr/local/modules/driver/bridge.ko
Bridge firewalling registered
CM pid : [4773]  Count : [20]
Loading /usr/local/modules/driver/br_netfilter.ko
insmod: can't read '/usr/local/modules/driver/br_netfilter.ko': No such file or directory
failed to load /usr/local/modules/driver/br_netfilter.ko
CM pid : [4773]  Count : [21]
Setting up cgroup
CM pid : [4773]  Count : [22]
Get http:///var/run/docker.sock/v1.19/containers/json: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
wdappmgr_auto_start finished modifying wd apps exit code
Starting Docker
Docker is not setup! Run docker_daemon.sh setup
umount: /mnt/HD/HD_a2/Nas_Prog/_docker/devicemapper: not found
Total RAM: 2084352 KB
Creating /sys/fs/cgroup/memory/docker
Docker quota: 1042176 KB
Set memory quota for docker: 1067188224
/usr/sbin/docker_daemon.sh: line 198: /var/lib/docker/docker.log: No such file or directory
Docker pid 6141
Stopping wdappmgr
wdappmgr is already stopped
Starting wdappmgr
CM pid : [4773]  Count : [23]
parent exiting!
wdappmgr started
curl: (7) Couldn't connect to server
CM pid : [4773]  Count : [24]
curl: (7) Couldn't connect to server
CM pid : [4773]  Count : [25]
curl: (7) Couldn't connect to server
CM pid : [4773]  Count : [26]
curl: (7) Couldn't connect to server
CM pid : [4773]  Count : [27]
curl: (7) Couldn't connect to server
CM pid : [4773]  Count : [28]
country=0
lang_path=/usr/local/modules/language
### sata_reload_application end ###
rm: /shares/Volume_1: is a directory
Create USB dev node
rm: can't remove '/tmp/disk_uuid': No such file or directory
sysinfod: full update begin...
sysinfod: inform: all drives status=No Drives.
dry_total_size:9780
dry_total_size:2711
dry_total_size:12083
dry_total_size:5515
dry_total_size:10992
CM pid : [4773]  Count : [29]
LED_POWER_ON
Thu Jun 13 18:30:37 PDT 2019 - %W - Communication Manager - already running, use 'shutdown' to stop process
Command line is not complete. Try option "help"
zcip: script /usr/share/udhcpc/zcip.script config failed, exitcode=1

------
moderator edit: use code tags



Edited 2 time(s). Last edit at 06/14/2019 01:52AM by bodhi.
Re: WDmycloudex4100 instructions
June 14, 2019 03:01AM
Johnei,

It does look good.

At this point, you should follow sachadd's envs example and set the envs at u-boot prompt to try booting Debian.

And keep in mind: don't save the envs yet. Once you can boot the USB Debian rootfs, then think about saving them. As long as you don't save then envs you can go back to the way it was before.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: WDmycloudex4100 instructions
June 14, 2019 10:44PM
I cant interrupt the u boot when it says press any key... I checked my Tx connection to the WD RX and it connected right and I can even send keystrokes after during its booting and asking for admin password. Any ideas why I cant stop u boot.
Re: WDmycloudex4100 instructions
June 14, 2019 11:05PM
Johnei` Wrote:
-------------------------------------------------------
> I cant interrupt the u boot when it says press any
> key... I checked my Tx connection to the WD RX and
> it connected right and I can even send keystrokes
> after during its booting and asking for admin
> password. Any ideas why I cant stop u boot.

Log into stock OS and run

cat /etc/fw_env.config
fw_printenv

And post the entire output log (whatever on the screen).

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: WDmycloudex4100 instructions
June 14, 2019 11:21PM
root@WDMyCloudEX4100 / # printenv
USER=root
HOME=/
LOGNAME=admin
TERM=vt102
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin/
SHELL=/bin/sh
PWD=/
root@WDMyCloudEX4100 / # fw_printenv
-sh: fw_printenv: not found
root@WDMyCloudEX4100 / # printenvcat /etc/fw_env.config
-sh: printenvcat: not found
root@WDMyCloudEX4100 / #
Re: WDmycloudex4100 instructions
June 15, 2019 09:42AM
or was I suppose to do this at uboot ? it wouldn’t let me it just ask for admin pass then . it logs in when I enter the password
Re: WDmycloudex4100 instructions
June 15, 2019 11:11AM
nevermind I had to press 1 not just any key I guess.
Re: WDmycloudex4100 instructions
June 15, 2019 12:20PM
so this is what I got now

BootROM - 1.73
Booting from NAND flash

mvBoardIdGet: TWSI Read for Marvell Board ID failed (57) 
        Using default board ID



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

Initialize DB-88F6820-BP board topology
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0      |
 |   1    |  00   |  SGMII1     |
 |   2    |  06   |  SATA1      |
 |   3    |  06   |  SATA3      |
 |   4    |  05   |  USB3 HOST0 |
 |   5    |  06   |  SATA2      |
 --------------------------------
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 1 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.06 (Jan 08 2015 - 10:04:46) Marvell version: 2014_T3.0p6

mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
Board: DB-88F6820-BP
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  2 GiB

Map:   Code:                    0x7fece000:0x7ff95d44
       BSS:                     0x7ffef254
       Stack:                   0x7f9cdf20
       Heap:                    0x7f9ce000:0x7fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/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 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e4 89 34
Set lan 0 WakeOnLan ok
Set lan 1 WakeOnLan ok
MicroP Enable HD
Enable HD1
Enable HD2
Enable HD3
Enable HD4
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 
Marvell>> setenv set_bootargs_stock 'setenv bootargs root=/dev/ram console=ttyS0,115200'
Marvell>> setenv bootcmd_stock 'echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000'
Marvell>> setenv bootdev 'usb'
Marvell>> setenv device '0:1'
Marvell>> setenv load_image_addr '0x02000000'
Marvell>> setenv load_initrd_addr '0x2900000'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(reserve2)'
Marvell>> setenv bootcmd_usb 'echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi'
Marvell>> setenv bootcmd_custom 'if run bootcmd_usb; then ; fi; run bootcmd_stock; reset'
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 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Linux-388
   Created:      2018-11-16   6:11:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4093524 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   Ramdisk
   Created:      2019-05-15   2:26:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2220263 Bytes = 2.1 MiB
   Load Address: 00e00000
   Entry Point:  00e00000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
stopping USB..

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.10.39 (kman@kmachine) (gcc version 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) ) #1 SMP Fri Nov 16 14:11:47 CST 2018 2014T30p5 Build-git0451941
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Marvell Armada 380/381/382/385/388 (Device Tree), model: Marvell Armada 385 Development Board
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 1 pages/cpu @c0b10000 s8320 r8192 d16256 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65505
Kernel command line: root=/dev/ram console=ttyS0,115200
PID hash table entries: 4096 (order: -1, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 4, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 3, 262144 bytes)
allocated 524288 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 2048MB = 2048MB total
Memory: 2081984k/2081984k available, 15168k reserved, 1303552K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff8000   (  32 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xfff00000   ( 247 MB)
    lowmem  : 0xc0000000 - 0xf0700000   ( 775 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0714270   (7217 kB)
      .init : 0xc0718000 - 0xc075a080   ( 265 kB)
      .data : 0xc075c000 - 0xc07a7e40   ( 304 kB)
       .bss : 0xc07a7e40 - 0xc0871570   ( 806 kB)
Hierarchical RCU implementation.
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:16 nr_irqs:16 16

  LSP version: linux-3.10.39-2014_T3.0p5

sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
Console: colour dummy device 80x30
Calibrating delay loop... 3188.32 BogoMIPS (lpj=15941632)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0xc056c250 - 0xc056c2a8
mvebu-pmsu: Initializing Power Management Service Unit
Initializing CPU Reset module
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (6376.65 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
xor: measuring software checksum speed
   arm4regs  :  1708.800 MB/sec
   8regs     :  1129.600 MB/sec
   32regs    :  1104.000 MB/sec
xor: using function: arm4regs (1708.800 MB/sec)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
irq: Cannot allocate irq_descs @ IRQ195, assuming pre-allocated
irq: Cannot allocate irq_descs @ IRQ227, assuming pre-allocated
bio: create slab <bio-0> at 0
raid6: int32x1    427 MB/s
raid6: int32x2    417 MB/s
raid6: int32x4    537 MB/s
raid6: int32x8    461 MB/s
raid6: using algorithm int32x4 (537 MB/s)
raid6: using intx1 recovery algorithm
mvebu-pcie pcie-controller.3: PCIe0.0: link down
mvebu-pcie pcie-controller.3: PCIe1.0: link down
mvebu-pcie pcie-controller.3: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe8000000]
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus1: Fast back to back transfers enabled
PCI: bus2: Fast back to back transfers enabled
pci 0000:00:01.0: PCI bridge to [bus 01]
pci 0000:00:02.0: PCI bridge to [bus 02]
PCI: enabling device 0000:00:01.0 (0140 -> 0143)
PCI: enabling device 0000:00:02.0 (0140 -> 0143)
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
Switching to clocksource armada_370_xp_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 1, 65536 bytes)
TCP bind hash table entries: 8192 (order: 1, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 1024 (order: 0, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 0, 32768 bytes)
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.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 2112K (c0f08000 - c1118000)
bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 8192 (order 0, 32768 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
fuse init (API version 7.22)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 1524
async_tx: api initialized (async)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
mv_xor f1060800.xor: Marvell shared XOR driver
mv_xor f1060800.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060800.xor: freeing 1 in use descriptors!
mv_xor f1060800.xor: Marvell XOR: ( crc32c )
mv_xor f1060900.xor: Marvell shared XOR driver
mv_xor f1060900.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060900.xor: freeing 1 in use descriptors!
mv_xor f1060900.xor: Marvell XOR: ( crc32c )
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
console [ttyS0] enabled
f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 45) is a 16550A
brd: module loaded
loop: module loaded
ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi0 : ahci_mv_platform
scsi1 : ahci_mv_platform
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
ahci_mv f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi2 : ahci_mv_platform
scsi3 : ahci_mv_platform
ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 60
ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 60
armada-nand f10d0000.nand: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit), 512MiB, page size: 2048, OOB size: 64
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
nand_read_bbt: bad block at 0x000006960000
8 ofpart partitions found on MTD device armada-nand
Creating 8 MTD partitions on "armada-nand":
0x000000000000-0x000000500000 : "U-Boot"
0x000000500000-0x000000a00000 : "uImage"
0x000000a00000-0x000000f00000 : "uRamdisk"
0x000000f00000-0x00001c800000 : "image.cfs"
0x00001c800000-0x00001d700000 : "rescue fw"
0x00001d700000-0x00001eb00000 : "config"
0x00001eb00000-0x00001f500000 : "reserve1"
0x00001f500000-0x00001ff00000 : "reserve2"
SoC: model = 0x6828, revision = 0x4
mvPncVirtBase = 0xf0e00000, pncTcamSize = 1024
  o 3 Giga ports supported
  o SKB recycle supported (Disabled)
  o NETA acceleration mode 4
  o BM supported for CPU: 4 BM pools
  o PnC supported (Enabled)
  o RX Queue support: 8 Queues * 256 Descriptors
  o TX Queue support: 8 Queues * 532 Descriptors
  o GSO supported
  o GRO supported
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Driver DEBUG statistics enabled

port #0: is_sgmii=0, is_rgmii=1, phy_addr=0
  o Loading network interface(s) for port #0: cpu_mask=0x3, tx_csum_limit=9800

  o Port 0 is connected to Linux netdevice
    o egiga0, ifindex = 2, GbE port = 0
        giga p=0: mtu=1500, mac=00:50:43:02:02:01 (platform)

port #1: is_sgmii=1, is_rgmii=0, phy_addr=1
  o Loading network interface(s) for port #1: cpu_mask=0x3, tx_csum_limit=2048

  o Port 1 is connected to Linux netdevice
    o egiga1, ifindex = 3, GbE port = 1
        giga p=1: mtu=1500, mac=00:50:43:02:02:02 (platform)

libphy: orion_mdio_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform 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 50, io mem 0xf1058000
orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
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: irq 48, io mem 0xf10f0000
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
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
hub 3-1:1.0: USB hub found
hub 3-1:1.0: 4 ports detected
mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
i2c /dev entries driver
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
usb 2-1: new high-speed USB device number 2 using xhci-hcd
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
cpuidle: using governor ladder
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: chain(0)
mvCesaInit: channels=2, session=640, queue=256
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
cesadev_init(c0734f0c)
TCP: cubic registered
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
registered taskstats version 1
mvebu-rtc f10a3800.rtc: setting system clock to 2019-06-15 16:11:03 UTC (1560615063)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 256K (c0718000 - c0758000)
init started: BusyBox v1.20.2 (2014-10-30 15:28:01 CST)
starting pid 1256, tty '': '/etc/rc.sh'
** Mounting /etc/fstab
umount: can't umount /proc: Invalid argument
umount: can't umount /usr/local/modules: Invalid argument
offset_flag=1,vaule_flag=1,bit_fUBI: attaching mtd5 to ubi0
lag=1
reg f1018140 : 00700000
UBI: scanning is finished
UBI: attached mtd5 (name "config", size 20 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 160, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 46/28, WL threshold: 4096, image sequence number: 1237890639
UBI: available PEBs: 12, total reserved PEBs: 148, PEBs reserved for bad PEB handling: 20
UBI: background thread "ubi_bgt0d" started, PID 1271
UBI device number 0, total 160 LEBs (20316160 bytes, 19.4 MiB), available 12 LEBs (1523712 bytes, 1.5 MiB), LEB size 126976 bytes (124.0 KiB)
usb 3-1.3: new SuperSpeed USB device number 3 using xhci-hcd
usb 3-1.3: Parent hub missing LPM exit latency info.  Power management will be impacted.
usb-storage 3-1.3:1.0: USB Mass Storage device detected
scsi4 : usb-storage 3-1.3:1.0
UBIFS: background thread "ubifs_bgt0_0" started, PID 1282
UBIFS: mounted UBI device 0, volume 0, name "config"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 14475264 bytes (13 MiB, 114 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 683702 bytes (667 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 761978AF-C5F8-4E6F-893E-5B2783EE2E98, small LPT model
umount: can't umount /usr/local/tmp/image.cfs: No such file or directory
rm: can't remove '/usr/local/tmp/image.cfs': No such file or directory
umount: can't umount /usr/local/tmp: Invalid argument
first good block is 0
image len = 98234368 , image checksum = 578057a0
umount: can't umount /usr/local/tmp: Invalid argument
scsi 4:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
sd 4:0:0:0: [sda] 60062500 512-byte logical blocks: (30.7 GB/28.6 GiB)
sd 4:0:0:0: [sda] Write Protect is off
sd 4:0:0:0: Attached scsi generic sg0 type 0
sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 4:0:0:0: [sda] Attached SCSI removable disk
dump image checksum=578057a0
mount cmd:busybox mount -t squashfs -o loop /usr/local/tmp/image.cfs /usr/local/modules
cp: can't stat '/tmp1/*': No such file or directory
ln: /lib/./liblber-2.4.so.2.5.6: File exists
ln: /lib/./libminiupnpc.so: File exists
ln: /lib/./libnatpmp.so: File exists
ln: /lib/./libpam.so.0.81.6: File exists
ln: /usr/local/sbin/alert_email_config.sh: File exists
ln: /usr/sbin/language.sh: File exists
ln: /lib/libnss_winbind.so.2: File exists
dev.raid.speed_limit_max = 1000
egiga0    Link encap:Ethernet  HWaddr 00:50:43:02:02:01  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:193 
egiga0: mac address changed

egiga1    Link encap:Ethernet  HWaddr 00:50:43:02:02:02  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:194 

Do Lan Port Switch
egiga1: mac address changed
not_egiga0: mac address changed
jnl: driver (lke_9.2.0 lke_9.2.0_r256412_b49, LBD=ON) loaded at bf000000
ufsd: module license 'Commercial product' taints kernel.
Disabling lock debugging due to kernel taint
ufsd:: trace mask set to 0000000f
ufsd: driver (lke_9.2.0 lke_9.2.0_r256412_b49, build_host("fsd-linux-bs06b"), acl, ioctl, bdi, sd2(0), fua, bz, tr, rsrc) loaded at bf020000
NTFS support included
exFAT support included
Hfs+/HfsJ support included
optimized: speed
Build_for__WD_Yellowstone_k3.10.39_2015-07-06_lke_9.2.0_r256412_b49

bio: create slab <bio-1> at 1
Btrfs loaded
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
lrwxrwxrwx    1 root     0               17 Jun 15 16:11 [1;36m/usr/sbin//raid_config[0m -> [1;32m/usr/sbin/diskmgr[0m
lrwxrwxrwx    1 root     0               17 Jun 15 16:11 [1;36m/usr/sbin//raid_expand[0m -> [1;32m/usr/sbin/diskmgr[0m
lrwxrwxrwx    1 root     0               17 Jun 15 16:11 [1;36m/usr/sbin//raid_expand_disks[0m -> [1;32m/usr/sbin/diskmgr[0m
lrwxrwxrwx    1 root     0               17 Jun 15 16:11 [1;36m/usr/sbin//raid_update_info[0m -> [1;32m/usr/sbin/diskmgr[0m
hardware init
Read PCI register offset 0x18140 = 701000
Read PCI register offset 0x18140 = 701000
Read PCI register offset 0x18140 = 701000
Resetting USB deusb 3-1.3: USB disconnect, device number 3
vice /dev/bus/usb/003/002
hotPlug.sh begin(seq=1213)...
hotPlug.sh end(seq=1213).
usb 3-1: reset SuperSpeed USB device number 2 using xhci-hcd
usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
xhci-hcd f10f0000.usb3: xHCI xhci_drop_endpoint called with disabled ep eeaba5c0
Reset successful
usb 3-1.3: new SuperSpeed USB device number 4 using xhci-hcd
usb 3-1.3: Parent hub missing LPM exit latency info.  Power management will be impacted.
usb-storage 3-1.3:1.0: USB Mass Storage device detected
scsi5 : usb-storage 3-1.3:1.0
mode nmae: -->WDMyCloudEX4100<--
Set 802.3az
scsi 5:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
sd 5:0:0:0: [sda] 60062500 512-byte logical blocks: (30.7 GB/28.6 GiB)
sd 5:0:0:0: Attached scsi generic sg0 type 0
sd 5:0:0:0: [sda] Write Protect is off
sd 5:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 5:0:0:0: [sda] Attached SCSI removable disk
hotPlug.sh begin(seq=1230)...
hotPlug.sh end(seq=1230).
mtd check v1.06.06032015
config mtd type is UBIFS
device = /usr/local/config
Total size     = 12384 Kbytes
Used size     = 328 Kbytes
Free size     = 12056 Kbytes
percentage = 3
/usr/local/config free size is 12345344
** copy config files
*** Copy orion.db from flash ****
cp: can't stat '/usr/local/modules/files/fan_temperature.txt': No such file or directory
*** symlink onbrd.ini from flash ****
/etc/sysinit.d/wdlog: line 13: /etc/system.conf: No such file or directory
** set loopback interface
UBI: attaching mtd6 to ubi1
UBI: scanning is finished
UBI: attached mtd6 (name "reserve1", size 10 MiB) to ubi1
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 4/1, WL threshold: 4096, image sequence number: 2557296595
UBI: available PEBs: 18, total reserved PEBs: 62, PEBs reserved for bad PEB handling: 24
UBI: background thread "ubi_bgt1d" started, PID 3335
UBI device number 1, total 80 LEBs (10158080 bytes, 9.7 MiB), available 18 LEBs (2285568 bytes, 2.2 MiB), LEB size 126976 bytes (124.0 KiB)
UBIFS: background thread "ubifs_bgt1_0" started, PID 3352
UBIFS: mounted UBI device 1, volume 0, name "reserve"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 3047424 bytes (2 MiB, 24 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 143937 bytes (140 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 2AF1DBDC-311B-44DB-82D0-0BB16F030BA5, small LPT model
UBIFS: un-mount UBI device 1, volume 0
UBIFS: background thread "ubifs_bgt1_0" stops
UBI: attaching mtd7 to ubi2
UBI: scanning is finished
UBI: attached mtd7 (name "reserve2", size 10 MiB) to ubi2
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 540768837
UBI: available PEBs: 6, total reserved PEBs: 74, PEBs reserved for bad PEB handling: 28
UBI: background thread "ubi_bgt2d" started, PID 3367
UBI device number 2, total 80 LEBs (10158080 bytes, 9.7 MiB), available 6 LEBs (761856 bytes, 744.0 KiB), LEB size 126976 bytes (124.0 KiB)
mknod: /dev/mtd7: File exists
UBIFS: background thread "ubifs_bgt2_0" started, PID 3380
UBIFS: mounted UBI device 2, volume 0, name "reserve2"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 4063232 bytes (3 MiB, 32 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 191915 bytes (187 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID DA06F613-BDF8-4D03-A522-E6A18E2007CF, small LPT model
/dev/mtd7 mount ok(ubi)
UBIFS: un-mount UBI device 2, volume 0
UBIFS: background thread "ubifs_bgt2_0" stops
mac1 = 00:90:A9:E4:89:34
mac2 =egiga0: mac address changed
 00:90:A9:E4:89:35
lan0:ifconfiegiga1: mac address changed
g egiga0 hw ether 00:90:A9:E4:89:34
lan0:ifconfig egiga1 hw ether 00:90:A9:E4:8pool #1: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
9:35
egiga0: started
pool #0: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
egiga1: started
set lan0 speed
set lan1 speed
[wd_read_serial.c:621] Read serial number from flash.
[wd_read_serial.c:160] serial number : WNAG29070174
hidden encryption: 0
old firmware ver:2.31.183.0514.2019
new firmware ver:2.31.183.0514.2019
rm: can't remove '/tmp/fix_wd_config': No such file or directory
NET: Registered protocol family 10
IPv6: ADDRCONF(NETDEV_UP): egiga1: link is not ready
IPv6: ADDRCONF(NETDEV_UP): egiga0: link is not ready
sit: Unknown symbol ip_tunnel_get_stats64 (err 0)
insmod: error inserting '/usr/local/modules/driver/sit.ko': -1 Unknown symbol in module
rm: can't remove '/bin/sysctl': No such file or directory
net.ipv6.conf.default.accept_dad = 2
net.ipv6.conf.egiga0.accept_dad = 2
net.ipv6.conf.default.dad_transmits = 1
net.ipv6.conf.egiga0.dad_transmits = 1
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.default.accept_redirects = 1
mkdir: can't create directory '/usr/local/etc': File exists
*** execute rc.init.sh
ip.sh bonding {1 restart}
bonding starting ...
insmod /usr/local/modules/driver/bonding.ko mode=1 miimon=500 use_carrier=1 downdelay=1000 updelay=1000
bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
bonding: MII link monitoring set to 500 ms
8021q: adding VLAN 0 to HW filter on device bond0
IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
egiga0: stopped
egiga0: mac address changed
egiga0: started
bonding: bond0: enslaving egiga0 as a backup interface with a down link.
egiga1: stopped
egiga1: mac address changed
egiga1: started
bonding: bond0: enslaving egiga1 as a backup interface with a down link.
udhcpc (v1.20.2) started
cat: can't open '/tmp/setip.0': No such file or directory
Sending discover...
killall: crond: no process killed
crond[3632]: crond: crond (busybox 1.20.2) started, log level 8
--2019-06-15 16:11:34--  http://download.wdc.com/nas/WDMyCloudEX4100_HDD_Blacklist.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
[upnp_nas_xml.c() 348] Can't get IP of bond0
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 0.0.0.0 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://0.0.0.0:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
sh: you need to specify whom to kill
Advertisements Sent
*** Copy CacheVolume data from flash ****
*** set Time Zone ****
$Usage: apache {start|stop|restart} {web/dav}
Sat Jun 15 16:11:35 PDT 2019
*** get Time from rtc and set it into system ****
rtc: RTC time = 2019/6/15 Sat 16:11:37
Sat Jun 15 09:11:37 PDT 2019
Set Date & time : sntp -K /dev/null -S -r time.windows.com
sntp 4.2.8@1.3265 Fri Jan  9 06:42:54 UTC 2015 (8)
time.windows.com lookup error Name or service not known

Module IPC SERVER Version:(1.00.20090706)

ads=0
created mail daemon thread 0
Sending discover...
POWER ON DEVICE!!
sh: can't create /sys/module/gpio/parameters/hdd_status: nonexistent directory
cp: can't stat '/usr/local/config/user.log.*': No such file or directory
cp: can't stat '/usr/local/config/wdmcserver.log.*': No such file or directory
cp: can't stat '/usr/local/config/orion_cm.log.*': No such file or directory
cp: can't stat '/usr/local/config/mycloud.log.*': No such file or directory
cp: can't stat '/usr/local/config/wdhwlib.log.*': No such file or directory
mount: mount point /proc/bus/usb does not exist
WD hwlib start..............
Starting system message bus
Starting wdtms
wdtms started
Loading x_tables.ko
Loading nf_conntrack.ko
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Loading xt_conntrack.ko
Loading xt_state.ko
Loading xt_tcpudp.ko
Loading xt_recent.ko
Loading xt_LOG.ko
Loading xt_limit.ko
Loading ip_tables.ko
ip_tables: (C) 2000-2006 Netfilter Core Team
Loading iptable_filter.ko
Loading nf_defrag_ipv4.ko
Loading nf_conntrack_ipv4.ko
Loading ip6_tables.ko
ip6_tables: (C) 2000-2006 Netfilter Core Team
Loading ip6table_filter.ko
Loading nf_defrag_ipv6.ko
Loading nf_conntrack_ipv6.ko
PHY_LAN_NUMBER=2
BOND_ENABLE=1
VLAN0_ENABLE=0
VLAN1_ENABLE=0
--2019-06-15 09:11:40--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
--2019-06-15 09:11:40--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
I/O warning : failed to load external entity "/var/www/xml/internal_backup.xml"
cat: can't open '/var/run/traceroute_wd.pid': No such file or directory
ash: you need to specify whom to kill
killall: traceroute: no process killed
traceroute: bad address 'www.wd2go.com'
traceroute: bad address 'www.wdc.com'

 -------------use hwlib instead of fan_control b c------------- 
Sending discover...
 3880 root      8640 S    avahi-daemon: running [WDMyCloudEX4100.local]
Set Date & time : sntp -K /dev/null -S -r pool.ntp.org
sntp 4.2.8@1.3265 Fri Jan  9 06:42:54 UTC 2015 (8)
pool.ntp.org lookup error Name or service not known
[ERROR] Unable to open (null)
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda1): using internal journal
EXT3-fs (sda1): mounted filesystem with ordered data mode
restart sysinfod...
sysinfod: full update begin...
sysinfod: disk connected: previous=0xffffffff, now=0x0
--2019-06-15 09:11:42--  http://download.wdc.com/nas/WDMyCloudEX4100_HDD_Blacklist.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
No lease, forking to background
init bond0
waiting : [10]
Failed to restart apache, ret = 1
country=0
lang_path=/usr/local/modules/language
chk_io v1.04.20141112
system daemon v1.04.20141211
PIP is disabled, exiting.
Sat Jun 15 09:11:48 PDT 2019 - %I - Communication Manager - Start
dev.raid.speed_limit_max = 200000

killall: chk_hotplug: no process killed

Please press Enter to activate this console. call load_module
### create systemfile ###
### sata_reload_application start ###
Loading iSCSI transport class v2.0-870.
iscsi: registered transport (tcp)
Failed to restart apache, ret = 1
New interface iface0 added
iface0 updated.
New interface iface1 added
iface1 updated.
New interface ifbond added
ifbond updated.
[upnp_nas_xml.c() 348] Can't get IP of bond0
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 0.0.0.0 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://0.0.0.0:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
Starting atopacctd
cannot switch on process accounting: Function not implemented
Starting atop system monitor  atop
atop started
Advertisements Sent
*** APKG Daemon is starting ... ***
Rename is FAILE
USE 2nd Rename 
sh: you need to specify whom to kill
sh: you need to specify whom to kill
Rename is FAILE
USE 2nd Rename 
killall: smbd: no process killed
Starting wdnotifier
wdnotifier started
killall: smbd: no process killed
sh: /etc/scripts/getip.sh: not found
killall: chk_blockip: no process killed
killall: chk_blockip: no process killed
config bond0 169.254.2.212
RTNETLINK answers: File exists
call load_module network
sh: syntax error: unexpected "("
Starting AFP services:
I/O warning : failed to load external entity "/mnt/USB/USB3_a1/.timeMachine.xml"
Document parsed unsuccessfully. 
sysinfod: full update begin...
 3880 root      8640 S    avahi-daemon: running [WDMyCloudEX4100.local]
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 169.254.2.212 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://169.254.2.212:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
Advertisements Sent
$Shutting down SMBD services: killall: elephantdriveDaemon: no process killed

$Shutting down NMBD services: Setting up docker
mkdir: can't create directory '/mnt/HD/HD_a2/Nas_Prog/_docker': No such file or directory
Loading drivers
Loading /usr/local/modules/driver/nf_conntrack.ko
insmod: error inserting '/usr/local/modules/driver/nf_conntrack.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_conntrack.ko

$Starting SMBD services: 
$Starting NMBD services: Loading /usr/local/modules/driver/nf_nat.ko

PHY_LAN_NUMBER=2
BOND_ENABLE=1
VLAN0_ENABLE=0
VLAN1_ENABLE=0
--2019-06-15 09:12:03--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... Command line is not complete. Try option "help"
zcip: script /usr/share/udhcpc/zcip.script config failed, exitcode=1
Rename is FAILE
USE 2nd Rename 
Loading /usr/local/modules/driver/nf_defrag_ipv4.ko
insmod: error inserting '/usr/local/modules/driver/nf_defrag_ipv4.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_defrag_ipv4.ko
Loading /usr/local/modules/driver/nf_conntrack_ipv4.ko
insmod: error inserting '/usr/local/modules/driver/nf_conntrack_ipv4.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_conntrack_ipv4.ko
Loading /usr/local/modules/driver/nf_nat_ipv4.ko
Loading /usr/local/modules/driver/x_tables.ko
insmod: error inserting '/usr/local/modules/driver/x_tables.ko': -1 File exists
failed to load /usr/local/modules/driver/x_tables.ko
Loading /usr/local/modules/driver/xt_conntrack.ko
insmod: error inserting '/usr/local/modules/driver/xt_conntrack.ko': -1 File exists
failed to load /usr/local/modules/driver/xt_conntrack.ko
failed: Connection timed out.
wget: unable to resolve host address 'download.wdc.com'
--2019-06-15 09:12:08--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... Loading /usr/local/modules/driver/xt_addrtype.ko
Loading /usr/local/modules/driver/xt_tcpudp.ko
insmod: error inserting '/usr/local/modules/driver/xt_tcpudp.ko': -1 File exists
failed to load /usr/local/modules/driver/xt_tcpudp.ko
Loading /usr/local/modules/driver/xt_nat.ko
Loading /usr/local/modules/driver/nf_nat_masquerade_ipv4.ko
insmod: can't read '/usr/local/modules/driver/nf_nat_masquerade_ipv4.ko': No such file or directory
failed to load /usr/local/modules/driver/nf_nat_masquerade_ipv4.ko
Loading /usr/local/modules/driver/ipt_MASQUERADE.ko
failed: Connection timed out.
wget: unable to resolve host address 'download.wdc.com'
Loading /usr/local/modules/driver/ip_tables.ko
insmod: error inserting '/usr/local/modules/driver/ip_tables.ko': -1 File exists
failed to load /usr/local/modules/driver/ip_tables.ko
Loading /usr/local/modules/driver/iptable_filter.ko
insmod: error inserting '/usr/local/modules/driver/iptable_filter.ko': -1 File exists
failed to load /usr/local/modules/driver/iptable_filter.ko
Loading /usr/local/modules/driver/iptable_nat.ko
Loading /usr/local/modules/driver/llc.ko
Loading /usr/local/modules/driver/stp.ko
Loading /usr/local/modules/driver/bridge.ko
Bridge firewalling registered
Loading /usr/local/modules/driver/br_netfilter.ko
insmod: can't read '/usr/local/modules/driver/br_netfilter.ko': No such file or directory
failed to load /usr/local/modules/driver/br_netfilter.ko
Setting up cgroup
Get http:///var/run/docker.sock/v1.19/containers/json: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
wdappmgr_auto_start finished modifying wd apps exit code
Starting Docker
Docker is not setup! Run docker_daemon.sh setup
umount: /mnt/HD/HD_a2/Nas_Prog/_docker/devicemapper: not found
Total RAM: 2084352 KB
Creating /sys/fs/cgroup/memory/docker
Docker quota: 1042176 KB
Set memory quota for docker: 1067188224
/usr/sbin/docker_daemon.sh: line 198: /var/lib/docker/docker.log: No such file or directory
Docker pid 5987
Stopping wdappmgr
wdappmgr is already stopped
Starting wdappmgr
parent exiting!
wdappmgr started
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
country=0
lang_path=/usr/local/modules/language
### sata_reload_application end ###
Create USB dev node
rm: can't remove '/tmp/disk_uuid': No such file or directory
sysinfod: full update begin...
sysinfod: inform: all drives status=No Drives.
dry_total_size:31332
dry_total_size:848
dry_total_size:90805
dry_total_size:16989
dry_total_size:32849
LED_POWER_ON

starting pid 4815, tty '/dev/ttyS0': '/bin/login'
Password of admin: 


BusyBox v1.20.2 (2014-10-30 15:28:01 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@WDMyCloudEX4100 / # [J[J
root@WDMyCloudEX4100 / # [J
root@WDMyCloudEX4100 / # [J
root@WDMyCloudEX4100 / # una,m[[[J
-sh: una: not found
root@WDMyCloudEX4100 / # uname
Linux
root@WDMyCloudEX4100 / # uname[[J
-sh: unam: not found
root@WDMyCloudEX4100 / # unam[J
-sh: unam: not found
root@WDMyCloudEX4100 / # uname -a
Linux WDMyCloudEX4100 3.10.39 #1 SMP Fri Nov 16 14:11:47 CST 2018 2014T30p5 Build-git0451941 armv7l GNU/Linux
root@WDMyCloudEX4100 / # shutdso[[J
-sh: shutds: not found
root@WDMyCloudEX4100 / # shutdown
-sh: shutdown: not found
root@WDMyCloudEX4100 / # shutdown[[J[[JPush Power off key shutdown
Push Power off key shutdown
Push Power off key shutdown
killall: quotacheck: no process killed
killall: lighttpd: no process killed
killall: op_server: no process killed
    /dev/sda: SanDisk  Ultra  1.00
dry_total_size:32219
dry_total_size:848
dry_total_size:91476
dry_total_size:17217
dry_total_size:32849
Power off
cp: can't stat '/etc/blockip': No such file or directory
Stopping wdappmgr
!!! ### APKG Server Terminated ### !!!
wdappmgr is already stopped
Get http:///var/run/docker.sock/v1.19/containers/json: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
Cleaning up Docker
umount: /mnt/HD/HD_a2/Nas_Prog/_docker/devicemapper: not found
kill_running_process all...
country=0
lang_path=/usr/local/modules/language
sh: you need to specify whom to kill
killall: rsync: no process killed
Shutting down AFP services:
atopacct not running ...
Stopping atop system monitor atop 5106
Stopping wdnotifier
wdnotifier failed to stop
Stopping wdphotodbmerger
sh: you need to specify whom to kill
Stopping wdmcserver
sh: you need to specify whom to kill

killall: smbd: no process killed
Starting AFP services:
PHY_LAN_NUMBER=2
BOND_ENABLE=1
VLAN0_ENABLE=0
VLAN1_ENABLE=0
**LLTD DISABLE****
kill_running_process done.
PHY_LAN_NUMBER=2
BOND_ENABLE=1
VLAN0_ENABLE=0
VLAN1_ENABLE=0
**LLTD DISABLE****
UBIFS: un-mount UBI device 0, volume 0
UBIFS: background thread "ubifs_bgt0_0" stops
MODEL:WDMyCloudEX4100
send cmd to micro-p to shutdown
[Disconnected]
Re: WDmycloudex4100 instructions
June 15, 2019 05:19PM
Marvell>> setenv set_bootargs_stock 'setenv bootargs root=/dev/ram console=ttyS0,115200'
Marvell>> setenv bootcmd_stock 'echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000'
Marvell>> setenv bootdev 'usb'
Marvell>> setenv device '0:1'
Marvell>> setenv load_image_addr '0x02000000'
Marvell>> setenv load_initrd_addr '0x2900000'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(reserve2)'
Marvell>> setenv bootcmd_usb 'echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi'
Marvell>> setenv bootcmd_custom 'if run bootcmd_usb; then ; fi; run bootcmd_stock; reset'

After entering the envs above, test it with

setenv bootcmd 'run bootcmd_custom'
boot

Once it works booting into Debian a few times, you can come back and try to save envs.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: WDmycloudex4100 instructions
June 15, 2019 06:43PM
Not having any luck can you confirm that I can use a usb 3.0 stick for this?


BootROM - 1.73
Booting from NAND flash

mvBoardIdGet: TWSI Read for Marvell Board ID failed (57) 
        Using default board ID



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

Initialize DB-88F6820-BP board topology
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0      |
 |   1    |  00   |  SGMII1     |
 |   2    |  06   |  SATA1      |
 |   3    |  06   |  SATA3      |
 |   4    |  05   |  USB3 HOST0 |
 |   5    |  06   |  SATA2      |
 --------------------------------
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 1 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.06 (Jan 08 2015 - 10:04:46) Marvell version: 2014_T3.0p6

mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
Board: DB-88F6820-BP
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  2 GiB

Map:   Code:                    0x7fece000:0x7ff95d44
       BSS:                     0x7ffef254
       Stack:                   0x7f9cdf20
       Heap:                    0x7f9ce000:0x7fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/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 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e4 89 34
Set lan 0 WakeOnLan ok
Set lan 1 WakeOnLan ok
MicroP Enable HD
Enable HD1
Enable HD2
Enable HD3
Enable HD4
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 
Marvell>> fw_printenv      
Unknown command 'fw_printenv' - try 'help'
Marvell>> v          

U-Boot 2013.01_v1.06 (Jan 08 2015 - 10:04:46) Marvell version: 2014_T3.0p6
arm-marvell-linux-gnueabi-gcc (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) 4.6.4
GNU ld (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) 2.22.0.20120801
Marvell>> fw_printenv
Unknown command 'fw_printenv' - try 'help'
Marvell>> --help     
Unknown command '--help' - try 'help'
Marvell>> -help 
Unknown command '-help' - try 'help'
Marvell>> help
?       - alias for 'help'
Creset  - Creset        - Run 'reset' or boot command in a loop, while counting.

SatR    - Sample At Reset sub-system
active_units- print active units on board
base    - print or set address offset
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
boot_menu- command allows to select boot script from boot device
        example: boot_menu
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
bootvx  - Boot vxWorks from an ELF image
bootz   - boot Linux zImage image from memory
bubt    - bubt  - Burn an image on the Boot Nand Flash.

chpart  - change active partition
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
date    - get/set/reset date & time
ddrPhyRead- ddrPhyRead - Read DDR PHY register

ddrPhyWrite- ddrPhyWrite - Write DDR PHY register

dhcp    - boot image via network using DHCP/TFTP protocol
diskboot- diskboot- boot from IDE device

dma     - dma   - Perform DMA using the XOR engine

echo    - echo args to console
editenv - edit environment variable
eeprom  - EEPROM sub-system
env     - environment handling commands
exit    - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
ext4load- load binary file from a Ext4 filesystem
ext4ls  - list files in a directory (default /)
ext4write- create a file in the root directory
false   - do nothing, unsuccessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fdt     - flattened device tree utility commands
fsinfo  - print information about filesystems
fsload  - load binary file from a filesystem image
go      - start application at address 'addr'
help    - print command description/usage
i2c     - I2C sub-system
ide     - ide     - IDE sub-system

iminfo  - print header information for application image
imxtract- extract a part of a multi-image
ir      - ir    - reading and changing MV internal register values.

itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loadx   - load binary file over serial line (xmodem mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
ls      - list files in a directory (default /)
map     - map   - Display address decode windows

md      - memory display
me      - me    - PCIe master enable

mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcinfo - display MMC info
mp      - mp    - map PCIe BAR

mtdparts- define flash/nand partitions
mtest   - simple RAM read/write test
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
pciePhyRead- phyRead    - Read PCI-E Phy register

pciePhyWrite- pciePhyWrite      - Write PCI-E Phy register

phyRead - phyRead       - Read Phy register

phyWrite- phyWrite      - Write Phy register

ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
pxe     - commands to get and boot from pxe files
rcvr    - rcvr  - Start recovery process (with TFTP server)

reset   - Perform RESET of the CPU
resetenv- resetenv      - Erase environment sector to reset all variables to default.

run     - run commands in an environment variable
scsi    - SCSI sub-system
scsiboot- boot from SCSI device
se      - se    - PCIe Slave enable

setenv  - set environment variables
sg      - sg    - scanning the PHYs status

showvar - print local hushshell variables
sleep   - delay execution for some time
source  - run script from memory
sp      - scan and detect all devices on PCI-e interface
stage_boot- command to load script/image from different devices
        example: stage_boot hd_img pxe
sys_restore- sys_restore        - Search for install script on USB DOK and start installation of linux kernel and rootfs.

sysboot - command to get and boot from syslinux files
temp    - temp  - Display the device temperature.

tempCmd0- tempCmd - This command allocated for monitor extinction

tempCmd1- tempCmd - This command allocated for monitor extinction

tempCmd2- tempCmd - This command allocated for monitor extinction

tempCmd3- tempCmd - This command allocated for monitor extinction

test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
training- training      - prints the results of the DDR3 Training.

trainingStability- training     - prints the results of the DDR3 Training.

true    - do nothing, successfully
ts_report- ts_report    - report touch screen coordinate

ts_test - ts_test       - test touch screen

ubi     - ubi commands
ubifsload- load file from an UBIFS filesystem
ubifsls - list files in a directory
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
whoAmI  - - reading CPU ID

Marvell>> env
env - environment handling commands

Usage:
env default [-f] -a - [forcibly] reset default environment
env default [-f] var [...] - [forcibly] reset variable(s) to their default values
env delete [-f] var [...] - [forcibly] delete variable(s)
env edit name - edit environment variable
env export [-t | -b | -c] [-s size] addr [var ...] - export environment
env import [-d] [-t | -b | -c] addr [size] - import environment
env print [-a | name ...] - print environment
env run var [...] - run commands in an environment variable
env set [-f] name [arg ...]

Marvell>> env print -a
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:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params 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 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $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 $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_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 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:2e:11:2d
eth1mtu=1500
eth2addr=00:50:43:2e:3c:2d
eth2mtu=1500
eth3addr=00:50:43:11:3c:2e
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:3c:11:2d
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=24
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=2.66.66.203
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),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:2d:3c:2e
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=2.66.66.32
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=0
usbType=3
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3202/524284 bytes
Marvell>> setenv bootdev 'usb'
Marvell>> env print bootdev   
bootdev=usb
Marvell>> env print device    
## Error: "device" not defined
Marvell>> setenv set_bootargs_stock 'setenv bootargs root=/dev/ram console=ttyS0,115200'
Marvell>> setenv bootcmd_stock 'echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000'
Marvell>> setenv bootdev 'usb'
Marvell>> setenv device '0:1'
Marvell>> setenv load_image_addr '0x02000000'
Marvell>> setenv load_initrd_addr '0x2900000'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(reserve2)'
Marvell>> setenv bootcmd_usb 'echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi'
Marvell>> setenv bootcmd_custom 'if run bootcmd_usb; then ; fi; run bootcmd_stock; reset'
Marvell>> setenv bootcmd 'run bootcmd_custom'
Marvell>> setenv bootcmd_usb 'echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; i                                                                                                                                  setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501                                                                                                                                                                                                                                                                    setenv bootcmd_stock 'echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500                                                                                                                                  env print bootcmd                                                             
bootcmd=run bootcmd_custom
Marvell>> env print device 
device=0:1
Marvell>> cat /etc/fw_env.config
Unknown command 'cat' - try 'help'
Marvell>> env print device      
device=0:1
Marvell>> boot
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...
** Bad device usb 0 **
Booting from stock ...
bootargs=root=/dev/ram console=ttyS0,115200

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

NAND read: device 0 offset 0xa00000, size 0x500000
 5242880 bytes read: OK
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Linux-388
   Created:      2018-11-16   6:11:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4093524 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   Ramdisk
   Created:      2019-05-15   2:26:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2220263 Bytes = 2.1 MiB
   Load Address: 00e00000
   Entry Point:  00e00000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
stopping USB..

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.10.39 (kman@kmachine) (gcc version 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) ) #1 SMP Fri Nov 16 14:11:47 CST 2018 2014T30p5 Build-git0451941
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Marvell Armada 380/381/382/385/388 (Device Tree), model: Marvell Armada 385 Development Board
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 1 pages/cpu @c0b10000 s8320 r8192 d16256 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65505
Kernel command line: root=/dev/ram console=ttyS0,115200
PID hash table entries: 4096 (order: -1, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 4, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 3, 262144 bytes)
allocated 524288 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 2048MB = 2048MB total
Memory: 2081984k/2081984k available, 15168k reserved, 1303552K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff8000   (  32 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xfff00000   ( 247 MB)
    lowmem  : 0xc0000000 - 0xf0700000   ( 775 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0714270   (7217 kB)
      .init : 0xc0718000 - 0xc075a080   ( 265 kB)
      .data : 0xc075c000 - 0xc07a7e40   ( 304 kB)
       .bss : 0xc07a7e40 - 0xc0871570   ( 806 kB)
Hierarchical RCU implementation.
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:16 nr_irqs:16 16

  LSP version: linux-3.10.39-2014_T3.0p5

sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
Console: colour dummy device 80x30
Calibrating delay loop... 3188.32 BogoMIPS (lpj=15941632)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0xc056c250 - 0xc056c2a8
mvebu-pmsu: Initializing Power Management Service Unit
Initializing CPU Reset module
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (6376.65 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
xor: measuring software checksum speed
   arm4regs  :  1708.800 MB/sec
   8regs     :  1129.600 MB/sec
   32regs    :  1104.000 MB/sec
xor: using function: arm4regs (1708.800 MB/sec)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
irq: Cannot allocate irq_descs @ IRQ195, assuming pre-allocated
irq: Cannot allocate irq_descs @ IRQ227, assuming pre-allocated
bio: create slab <bio-0> at 0
raid6: int32x1    427 MB/s
raid6: int32x2    417 MB/s
raid6: int32x4    537 MB/s
raid6: int32x8    461 MB/s
raid6: using algorithm int32x4 (537 MB/s)
raid6: using intx1 recovery algorithm
mvebu-pcie pcie-controller.3: PCIe0.0: link down
mvebu-pcie pcie-controller.3: PCIe1.0: link down
mvebu-pcie pcie-controller.3: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe8000000]
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus1: Fast back to back transfers enabled
PCI: bus2: Fast back to back transfers enabled
pci 0000:00:01.0: PCI bridge to [bus 01]
pci 0000:00:02.0: PCI bridge to [bus 02]
PCI: enabling device 0000:00:01.0 (0140 -> 0143)
PCI: enabling device 0000:00:02.0 (0140 -> 0143)
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
Switching to clocksource armada_370_xp_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 1, 65536 bytes)
TCP bind hash table entries: 8192 (order: 1, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 1024 (order: 0, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 0, 32768 bytes)
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.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 2112K (c0f08000 - c1118000)
bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 8192 (order 0, 32768 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
fuse init (API version 7.22)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 1524
async_tx: api initialized (async)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
mv_xor f1060800.xor: Marvell shared XOR driver
mv_xor f1060800.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060800.xor: freeing 1 in use descriptors!
mv_xor f1060800.xor: Marvell XOR: ( crc32c )
mv_xor f1060900.xor: Marvell shared XOR driver
mv_xor f1060900.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060900.xor: freeing 1 in use descriptors!
mv_xor f1060900.xor: Marvell XOR: ( crc32c )
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
console [ttyS0] enabled
f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 45) is a 16550A
brd: module loaded
loop: module loaded
ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi0 : ahci_mv_platform
scsi1 : ahci_mv_platform
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
ahci_mv f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi2 : ahci_mv_platform
scsi3 : ahci_mv_platform
ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 60
ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 60
armada-nand f10d0000.nand: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit), 512MiB, page size: 2048, OOB size: 64
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
nand_read_bbt: bad block at 0x000006960000
8 ofpart partitions found on MTD device armada-nand
Creating 8 MTD partitions on "armada-nand":
0x000000000000-0x000000500000 : "U-Boot"
0x000000500000-0x000000a00000 : "uImage"
0x000000a00000-0x000000f00000 : "uRamdisk"
0x000000f00000-0x00001c800000 : "image.cfs"
0x00001c800000-0x00001d700000 : "rescue fw"
0x00001d700000-0x00001eb00000 : "config"
0x00001eb00000-0x00001f500000 : "reserve1"
0x00001f500000-0x00001ff00000 : "reserve2"
SoC: model = 0x6828, revision = 0x4
mvPncVirtBase = 0xf0e00000, pncTcamSize = 1024
  o 3 Giga ports supported
  o SKB recycle supported (Disabled)
  o NETA acceleration mode 4
  o BM supported for CPU: 4 BM pools
  o PnC supported (Enabled)
  o RX Queue support: 8 Queues * 256 Descriptors
  o TX Queue support: 8 Queues * 532 Descriptors
  o GSO supported
  o GRO supported
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Driver DEBUG statistics enabled

port #0: is_sgmii=0, is_rgmii=1, phy_addr=0
  o Loading network interface(s) for port #0: cpu_mask=0x3, tx_csum_limit=9800

  o Port 0 is connected to Linux netdevice
    o egiga0, ifindex = 2, GbE port = 0
        giga p=0: mtu=1500, mac=00:50:43:02:02:01 (platform)

port #1: is_sgmii=1, is_rgmii=0, phy_addr=1
  o Loading network interface(s) for port #1: cpu_mask=0x3, tx_csum_limit=2048

  o Port 1 is connected to Linux netdevice
    o egiga1, ifindex = 3, GbE port = 1
        giga p=1: mtu=1500, mac=00:50:43:02:02:02 (platform)

libphy: orion_mdio_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform 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 50, io mem 0xf1058000
orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
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: irq 48, io mem 0xf10f0000
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
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
hub 3-1:1.0: USB hub found
hub 3-1:1.0: 4 ports detected
usb 2-1: new high-speed USB device number 2 using xhci-hcd
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
i2c /dev entries driver
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
cpuidle: using governor ladder
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: chain(0)
mvCesaInit: channels=2, session=640, queue=256
armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
cesadev_init(c0734f0c)
TCP: cubic registered
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
registered taskstats version 1
mvebu-rtc f10a3800.rtc: setting system clock to 2019-06-15 23:38:49 UTC (1560641929)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 256K (c0718000 - c0758000)
init started: BusyBox v1.20.2 (2014-10-30 15:28:01 CST)
starting pid 1256, tty '': '/etc/rc.sh'
** Mounting /etc/fstab
umount: can't umount /proc: Invalid argument
umount: can't umount /usr/local/modules: Invalid argument
offset_flag=1,vaule_flag=1,bit_fUBI: attaching mtd5 to ubi0
lag=1
reg f1018140 : 00700000
UBI: scanning is finished
UBI: attached mtd5 (name "config", size 20 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 160, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 46/28, WL threshold: 4096, image sequence number: 1237890639
UBI: available PEBs: 12, total reserved PEBs: 148, PEBs reserved for bad PEB handling: 20
UBI: background thread "ubi_bgt0d" started, PID 1271
UBI device number 0, total 160 LEBs (20316160 bytes, 19.4 MiB), available 12 LEBs (1523712 bytes, 1.5 MiB), LEB size 126976 bytes (124.0 KiB)
usb 3-1.2: new SuperSpeed USB device number 3 using xhci-hcd
usb 3-1.2: Parent hub missing LPM exit latency info.  Power management will be impacted.
usb-storage 3-1.2:1.0: USB Mass Storage device detected
scsi4 : usb-storage 3-1.2:1.0
UBIFS: background thread "ubifs_bgt0_0" started, PID 1282
UBIFS: mounted UBI device 0, volume 0, name "config"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 14475264 bytes (13 MiB, 114 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 683702 bytes (667 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 761978AF-C5F8-4E6F-893E-5B2783EE2E98, small LPT model
umount: can't umount /usr/local/tmp/image.cfs: No such file or directory
rm: can't remove '/usr/local/tmp/image.cfs': No such file or directory
umount: can't umount /usr/local/tmp: Invalid argument
first good block is 0
image len = 98234368 , image checksum = 578057a0
umount: can't umount /usr/local/tmp: Invalid argument
scsi 4:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
sd 4:0:0:0: [sda] 60062500 512-byte logical blocks: (30.7 GB/28.6 GiB)
sd 4:0:0:0: [sda] Write Protect is off
sd 4:0:0:0: Attached scsi generic sg0 type 0
sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 4:0:0:0: [sda] Attached SCSI removable disk
dump image checksum=578057a0
mount cmd:busybox mount -t squashfs -o loop /usr/local/tmp/image.cfs /usr/local/modules
cp: can't stat '/tmp1/*': No such file or directory
ln: /lib/./liblber-2.4.so.2.5.6: File exists
ln: /lib/./libminiupnpc.so: File exists
ln: /lib/./libnatpmp.so: File exists
ln: /lib/./libpam.so.0.81.6: File exists
ln: /usr/local/sbin/alert_email_config.sh: File exists
ln: /usr/sbin/language.sh: File exists
ln: /lib/libnss_winbind.so.2: File exists
dev.raid.speed_limit_max = 1000
egiga0    Link encap:Ethernet  HWaddr 00:50:43:02:02:01  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:193 
egiga0: mac address changed

egiga1    Link encap:Ethernet  HWaddr 00:50:43:02:02:02  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:194 

Do Lan Port Switch
egiga1: mac address changed
not_egiga0: mac address changed
jnl: driver (lke_9.2.0 lke_9.2.0_r256412_b49, LBD=ON) loaded at bf000000
ufsd: module license 'Commercial product' taints kernel.
Disabling lock debugging due to kernel taint
ufsd:: trace mask set to 0000000f
ufsd: driver (lke_9.2.0 lke_9.2.0_r256412_b49, build_host("fsd-linux-bs06b"), acl, ioctl, bdi, sd2(0), fua, bz, tr, rsrc) loaded at bf020000
NTFS support included
exFAT support included
Hfs+/HfsJ support included
optimized: speed
Build_for__WD_Yellowstone_k3.10.39_2015-07-06_lke_9.2.0_r256412_b49

bio: create slab <bio-1> at 1
Btrfs loaded
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
lrwxrwxrwx    1 root     0               17 Jun 15 23:39 [1;36m/usr/sbin//raid_config[0m -> [1;32m/usr/sbin/diskmgr[0m
lrwxrwxrwx    1 root     0               17 Jun 15 23:39 [1;36m/usr/sbin//raid_expand[0m -> [1;32m/usr/sbin/diskmgr[0m
lrwxrwxrwx    1 root     0               17 Jun 15 23:39 [1;36m/usr/sbin//raid_expand_disks[0m -> [1;32m/usr/sbin/diskmgr[0m
lrwxrwxrwx    1 root     0               17 Jun 15 23:39 [1;36m/usr/sbin//raid_update_info[0m -> [1;32m/usr/sbin/diskmgr[0m
hardware init
Read PCI register offset 0x18140 = 701000
Read PCI register offset 0x18140 = 701000
Read PCI register offset 0x18140 = 701000
Resetting USB deusb 3-1.2: USB disconnect, device number 3
vice /dev/bus/usb/003/002
hotPlug.sh begin(seq=1213)...
hotPlug.sh end(seq=1213).
usb 3-1: reset SuperSpeed USB device number 2 using xhci-hcd
usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
xhci-hcd f10f0000.usb3: xHCI xhci_drop_endpoint called with disabled ep eee06240
Reset successful
usb 3-1.2: new SuperSpeed USB device number 4 using xhci-hcd
usb 3-1.2: Parent hub missing LPM exit latency info.  Power management will be impacted.
usb-storage 3-1.2:1.0: USB Mass Storage device detected
scsi5 : usb-storage 3-1.2:1.0
mode nmae: -->WDMyCloudEX4100<--
Set 802.3az
scsi 5:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
sd 5:0:0:0: [sda] 60062500 512-byte logical blocks: (30.7 GB/28.6 GiB)
sd 5:0:0:0: [sda] Write Protect is off
sd 5:0:0:0: Attached scsi generic sg0 type 0
sd 5:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 5:0:0:0: [sda] Attached SCSI removable disk
hotPlug.sh begin(seq=1231)...
hotPlug.sh end(seq=1231).
mtd check v1.06.06032015
config mtd type is UBIFS
device = /usr/local/config
Total size     = 12384 Kbytes
Used size     = 336 Kbytes
Free size     = 12048 Kbytes
percentage = 3
/usr/local/config free size is 12337152
** copy config files
*** Copy orion.db from flash ****
cp: can't stat '/usr/local/modules/files/fan_temperature.txt': No such file or directory
*** symlink onbrd.ini from flash ****
/etc/sysinit.d/wdlog: line 13: /etc/system.conf: No such file or directory
** set loopback interface
UBI: attaching mtd6 to ubi1
UBI: scanning is finished
UBI: attached mtd6 (name "reserve1", size 10 MiB) to ubi1
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 4/1, WL threshold: 4096, image sequence number: 2557296595
UBI: available PEBs: 18, total reserved PEBs: 62, PEBs reserved for bad PEB handling: 24
UBI: background thread "ubi_bgt1d" started, PID 3333
UBI device number 1, total 80 LEBs (10158080 bytes, 9.7 MiB), available 18 LEBs (2285568 bytes, 2.2 MiB), LEB size 126976 bytes (124.0 KiB)
UBIFS: background thread "ubifs_bgt1_0" started, PID 3352
UBIFS: mounted UBI device 1, volume 0, name "reserve"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 3047424 bytes (2 MiB, 24 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 143937 bytes (140 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 2AF1DBDC-311B-44DB-82D0-0BB16F030BA5, small LPT model
UBIFS: un-mount UBI device 1, volume 0
UBIFS: background thread "ubifs_bgt1_0" stops
UBI: attaching mtd7 to ubi2
UBI: scanning is finished
UBI: attached mtd7 (name "reserve2", size 10 MiB) to ubi2
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 540768837
UBI: available PEBs: 6, total reserved PEBs: 74, PEBs reserved for bad PEB handling: 28
UBI: background thread "ubi_bgt2d" started, PID 3367
UBI device number 2, total 80 LEBs (10158080 bytes, 9.7 MiB), available 6 LEBs (761856 bytes, 744.0 KiB), LEB size 126976 bytes (124.0 KiB)
mknod: /dev/mtd7: File exists
UBIFS: background thread "ubifs_bgt2_0" started, PID 3380
UBIFS: mounted UBI device 2, volume 0, name "reserve2"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 4063232 bytes (3 MiB, 32 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 191915 bytes (187 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID DA06F613-BDF8-4D03-A522-E6A18E2007CF, small LPT model
/dev/mtd7 mount ok(ubi)
UBIFS: un-mount UBI device 2, volume 0
UBIFS: background thread "ubifs_bgt2_0" stops
mac1 = 00:90:A9:E4:89:34
mac2 =egiga0: mac address changed
 00:90:A9:E4:89:35
lan0:ifconfiegiga1: mac address changed
g egiga0 hw ether 00:90:A9:E4:89:34
lan0:ifconfig egiga1 hw ethpool #1: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
er 00:90:A9:E4:8egiga0: link up
9:35
egiga0: link up, full duplex, speed 1 Gbps
egiga0: started
pool #0: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
egiga1: started
set lan0 speed
set lan1 speed
[wd_read_serial.c:621] Read serial number from flash.
[wd_read_serial.c:160] serial number : WNAG29070174
hidden encryption: 0
old firmware ver:2.31.183.0514.2019
new firmware ver:2.31.183.0514.2019
rm: can't remove '/tmp/fix_wd_config': No such file or directory
NET: Registered protocol family 10
IPv6: ADDRCONF(NETDEV_UP): egiga1: link is not ready
sit: Unknown symbol ip_tunnel_get_stats64 (err 0)
insmod: error inserting '/usr/local/modules/driver/sit.ko': -1 Unknown symbol in module
rm: can't remove '/bin/sysctl': No such file or directory
net.ipv6.conf.default.accept_dad = 2
net.ipv6.conf.egiga0.accept_dad = 2
net.ipv6.conf.default.dad_transmits = 1
net.ipv6.conf.egiga0.dad_transmits = 1
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.default.accept_redirects = 1
mkdir: can't create directory '/usr/local/etc': File exists
*** execute rc.init.sh
ip.sh bonding {1 restart}
bonding starting ...
insmod /usr/local/modules/driver/bonding.ko mode=1 miimon=500 use_carrier=1 downdelay=1000 updelay=1000
bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
bonding: MII link monitoring set to 500 ms
8021q: adding VLAN 0 to HW filter on device bond0
IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
egiga0: stopped
egiga0: mac address changed
egiga0: link up
egiga0: started
bonding: bond0: enslaving egiga0 as a backup interface with an up link.
egiga1: stopped
egiga1: mac address changed
egiga1: started
bonding: bond0: enslaving egiga1 as a backup interface with a down link.
udhcpc (v1.20.2) started
cat: can't open '/tmp/setip.0': No such file or directory
Sending discover...
killall: crond: no process killed
crond[3629]: crond: crond (busybox 1.20.2) started, log level 8
--2019-06-15 23:39:20--  http://download.wdc.com/nas/WDMyCloudEX4100_HDD_Blacklist.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
[upnp_nas_xml.c() 348] Can't get IP of bond0
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
sh: you need to specify whom to kill
UPnP Initialized
        ipaddress= 0.0.0.0 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://0.0.0.0:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
Advertisements Sent
bonding: bond0: link status definitely up for interface egiga0, 1000 Mbps full duplex.
bonding: bond0: making interface egiga0 the new active one.
bonding: bond0: first active interface up!
IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
*** Copy CacheVolume data from flash ****
*** set Time Zone ****
$Usage: apache {start|stop|restart} {web/dav}
Sat Jun 15 23:39:21 PDT 2019
*** get Time from rtc and set it into system ****
rtc: RTC time = 2019/6/15 Sat 23:39:23
Sat Jun 15 16:39:23 PDT 2019
Set Date & time : sntp -K /dev/null -S -r time.windows.com
sntp 4.2.8@1.3265 Fri Jan  9 06:42:54 UTC 2015 (8)
time.windows.com lookup error Name or service not known

Module IPC SERVER Version:(1.00.20090706)

ads=0
created mail daemon thread 0
Sending discover...
Sending select for 10.0.0.8...
Lease of 10.0.0.8 obtained, lease time 604800
deleting routers
route: SIOCDELRT: No such process
RTNETLINK answers: Operation not supported
RTNETLINK answers: Operation not supported
call load_module network
POWER ON DEVICE!!
sh: can't create /sys/module/gpio/parameters/hdd_status: nonexistent directory
cp: can't stat '/usr/local/config/user.log.*': No such file or directory
cp: can't stat '/usr/local/config/wdmcserver.log.*': No such file or directory
cp: can't stat '/usr/local/config/orion_cm.log.*': No such file or directory
cp: can't stat '/usr/local/config/mycloud.log.*': No such file or directory
cp: can't stat '/usr/local/config/wdhwlib.log.*': No such file or directory
mount: mount point /proc/bus/usb does not exist
WD hwlib start..............
Starting system message bus
Starting wdtms
wdtms started
Loading x_tables.ko
Loading nf_conntrack.ko
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Loading xt_conntrack.ko
Loading xt_state.ko
Loading xt_tcpudp.ko
Loading xt_recent.ko
Loading xt_LOG.ko
Loading xt_limit.ko
Loading ip_tables.ko
ip_tables: (C) 2000-2006 Netfilter Core Team
Loading iptable_filter.ko
Loading nf_defrag_ipv4.ko
Loading nf_conntrack_ipv4.ko
Loading ip6_tables.ko
ip6_tables: (C) 2000-2006 Netfilter Core Team
Loading ip6table_filter.ko
Loading nf_defrag_ipv6.ko
Loading nf_conntrack_ipv6.ko
PHY_LAN_NUMBER=2
BOND_ENABLE=1
VLAN0_ENABLE=0
VLAN1_ENABLE=0
--2019-06-15 16:39:26--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... I/O warning : failed to load external entity "/var/www/xml/internal_backup.xml"
cat: can't open '/var/run/traceroute_wd.pid': No such file or directory
ash: you need to specify whom to kill
killall: traceroute: no process killed
35.160.19.99, 34.211.97.143
Connecting to download.wdc.com|35.160.19.99|:80... 
 -------------use hwlib instead of fan_control b c------------- 
connected.
HTTP request sent, awaiting response... 200 OK
Length: 62016 (61K) [text/xml]
Saving to: '/var/www/xml/app_info.xml'

100%[======================================>] 62,016       293KB/s   in 0.2s   

2019-06-15 16:39:27 (293 KB/s) - '/var/www/xml/app_info.xml' saved [62016/62016]

I/O warning : failed to load external entity "/var/www/xml/app_update.xml"
Set Date & time : sntp -K /dev/null -S -r pool.ntp.org
sntp 4.2.8@1.3265 Fri Jan  9 06:42:54 UTC 2015 (8)
[ERROR] Unable to open (null)
2019-06-15 16:39:28.071115 (+0800) +0.735262 +/- 6.109127 pool.ntp.org 12.167.151.1 s3
NTP Server connected successfully!!!
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda1): using internal journal
EXT3-fs (sda1): mounted filesystem with ordered data mode
restart sysinfod...
sysinfod: full update begin...
sysinfod: disk connected: previous=0xffffffff, now=0x0
--2019-06-15 16:39:29--  http://download.wdc.com/nas/WDMyCloudEX4100_HDD_Blacklist.xml
Resolving download.wdc.com... 34.211.97.143, 35.160.19.99
Connecting to download.wdc.com|34.211.97.143|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2019-06-15 16:39:29 ERROR 403: Forbidden.

waiting : [10]
rtc: system time: 2019/6/15 Sat 23:39:33
setRTCTime
country=0
lang_path=/usr/local/modules/language
chk_io v1.04.20141112
system daemon v1.04.20141211
PIP is disabled, exiting.
Sat Jun 15 16:39:35 PDT 2019 - %I - Communication Manager - Start
dev.raid.speed_limit_max = 200000

Please press Enter to activate this console. 
sh: operate_auth: not found
killall: chk_hotplug: no process killed
call load_module
### create systemfile ###
### sata_reload_application start ###
Loading iSCSI transport class v2.0-870.
iscsi: registered transport (tcp)
New interface iface0 added
iface0 updated.
New interface iface1 added
iface1 updated.
New interface ifbond added
ifbond updated.
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 10.0.0.8 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://10.0.0.8:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
Starting atopacctd
cannot switch on process accounting: Function not implemented
Starting atop system monitor  atop
atop started
Advertisements Sent
*** APKG Daemon is starting ... ***
sh: you need to specify whom to kill
sh: you need to specify whom to kill
Rename is FAILE
USE 2nd Rename 
Rename is FAILE
USE 2nd Rename 
killall: smbd: no process killed
Starting wdnotifier
wdnotifier started
killall: smbd: no process killed
killall: chk_blockip: no process killed
killall: chk_blockip: no process killed
sh: syntax error: unexpected "("
Starting AFP services:
I/O warning : failed to load external entity "/mnt/USB/USB2_a1/.timeMachine.xml"
Document parsed unsuccessfully. 
sysinfod: full update begin...
 3952 root      8640 S    avahi-daemon: running [WDMyCloudEX4100.local]
killall: elephantdriveDaemon: no process killed
Setting up docker
mkdir: can't create directory '/mnt/HD/HD_a2/Nas_Prog/_docker': No such file or directory
Loading drivers
Loading /usr/local/modules/driver/nf_conntrack.ko
insmod: error inserting '/usr/local/modules/driver/nf_conntrack.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_conntrack.ko
Loading /usr/local/modules/driver/nf_nat.ko
Loading /usr/local/modules/driver/nf_defrag_ipv4.ko
insmod: error inserting '/usr/local/modules/driver/nf_defrag_ipv4.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_defrag_ipv4.ko
Loading /usr/local/modules/driver/nf_conntrack_ipv4.ko
insmod: error inserting '/usr/local/modules/driver/nf_conntrack_ipv4.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_conntrack_ipv4.ko
Loading /usr/local/modules/driver/nf_nat_ipv4.ko
Loading /usr/local/modules/driver/x_tables.ko
insmod: error inserting '/usr/local/modules/driver/x_tables.ko': -1 File exists
failed to load /usr/local/modules/driver/x_tables.ko
Loading /usr/local/modules/driver/xt_conntrack.ko
insmod: error inserting '/usr/local/modules/driver/xt_conntrack.ko': -1 File exists
failed to load /usr/local/modules/driver/xt_conntrack.ko
Loading /usr/local/modules/driver/xt_addrtype.ko
Loading /usr/local/modules/driver/xt_tcpudp.ko
insmod: error inserting '/usr/local/modules/driver/xt_tcpudp.ko': -1 File exists
failed to load /usr/local/modules/driver/xt_tcpudp.ko
Loading /usr/local/modules/driver/xt_nat.ko
Loading /usr/local/modules/driver/nf_nat_masquerade_ipv4.ko
insmod: can't read '/usr/local/modules/driver/nf_nat_masquerade_ipv4.ko': No such file or directory
failed to load /usr/local/modules/driver/nf_nat_masquerade_ipv4.ko
Loading /usr/local/modules/driver/ipt_MASQUERADE.ko
Loading /usr/local/modules/driver/ip_tables.ko
insmod: error inserting '/usr/local/modules/driver/ip_tables.ko': -1 File exists
failed to load /usr/local/modules/driver/ip_tables.ko
Loading /usr/local/modules/driver/iptable_filter.ko
insmod: error inserting '/usr/local/modules/driver/iptable_filter.ko': -1 File exists
failed to load /usr/local/modules/driver/iptable_filter.ko
Loading /usr/local/modules/driver/iptable_nat.ko
Loading /usr/local/modules/driver/llc.ko
Loading /usr/local/modules/driver/stp.ko
Loading /usr/local/modules/driver/bridge.ko
Bridge firewalling registered
Loading /usr/local/modules/driver/br_netfilter.ko
insmod: can't read '/usr/local/modules/driver/br_netfilter.ko': No such file or directory
failed to load /usr/local/modules/driver/br_netfilter.ko
Setting up cgroup
Get http:///var/run/docker.sock/v1.19/containers/json: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
wdappmgr_auto_start finished modifying wd apps exit code
Starting Docker
Docker is not setup! Run docker_daemon.sh setup
umount: /mnt/HD/HD_a2/Nas_Prog/_docker/devicemapper: not found
Total RAM: 2084352 KB
Creating /sys/fs/cgroup/memory/docker
Docker quota: 1042176 KB
Set memory quota for docker: 1067188224
/usr/sbin/docker_daemon.sh: line 198: /var/lib/docker/docker.log: No such file or directory
Docker pid 6097
Stopping wdappmgr
wdappmgr is already stopped
Starting wdappmgr
parent exiting!
wdappmgr started
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
country=0
lang_path=/usr/local/modules/language
### sata_reload_application end ###
Create USB dev node
rm: can't remove '/tmp/disk_uuid': No such file or directory
sysinfod: full update begin...
sysinfod: inform: all drives status=No Drives.
dry_total_size:37175
dry_total_size:848
dry_total_size:105213
dry_total_size:19286
dry_total_size:36647
LED_POWER_ON
ls^H^H
starting pid 5142, tty '/dev/ttyS0': '/bin/login'
Password of admin: 

Login incorrect
Password of admin: 



Login incorrect
Password of admin: 


BusyBox v1.20.2 (2014-10-30 15:28:01 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@WDMyCloudEX4100 / # uname -a
Linux WDMyCloudEX4100 3.10.39 #1 SMP Fri Nov 16 14:11:47 CST 2018 2014T30p5 Build-git0451941 armv7l GNU/Linux
root@WDMyCloudEX4100 / # [Jame -a[J
root@WDMyCloudEX4100 / # 
Re: WDmycloudex4100 instructions
June 15, 2019 07:07PM
Johnei,

> Not having any luck can you confirm that I can use
> a usb 3.0 stick for this?

That has not even come in to play yet. You have not entered the envs correctly to boot Debian on USB.

Also read sachadd posts to see which USB type, and which USB port you should plug it into.

=======

Power up, interrupt serial console and copy and paste each of the following commands to the prompt:
setenv set_bootargs_stock 'setenv bootargs root=/dev/ram console=ttyS0,115200'
setenv bootcmd_stock 'echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000'
setenv bootdev 'usb'
setenv device '0:1'
setenv load_image_addr '0x02000000'
setenv load_initrd_addr '0x2900000'
setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(reserve2)'
setenv bootcmd_usb 'echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi'
setenv bootcmd_custom 'if run bootcmd_usb; then ; fi; run bootcmd_stock; reset'
setenv bootcmd 'run bootcmd_custom'
boot

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: WDmycloudex4100 instructions
June 15, 2019 09:14PM
Now it seems like it doing something but I get please check your kernel config and/or bootloader

so so far I did is

I formatted a USB 2.0 stick and gave it an ext3 file system and labeled the stick rootfs

used
Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2

and extracted all the folders and files to the root of the USB stick

then I did the following

cd /media/sda1/boot
cp -a zImage-4.12.4-mvebu-tld-1 zImage
also added the dts file for wdex4100 to dts folder
finally
sync
sync
umount /media/sda1

turned on with stick in the back of the unit
and set my environment variables and sent boot command and I got the following Please check your kernel config and/or bootloader.

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

Initialize DB-88F6820-BP board topology
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0      |
 |   1    |  00   |  SGMII1     |
 |   2    |  06   |  SATA1      |
 |   3    |  06   |  SATA3      |
 |   4    |  05   |  USB3 HOST0 |
 |   5    |  06   |  SATA2      |
 --------------------------------
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 1 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.06 (Jan 08 2015 - 10:04:46) Marvell version: 2014_T3.0p6

mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
Board: DB-88F6820-BP
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  2 GiB

Map:   Code:                    0x7fece000:0x7ff95d44
       BSS:                     0x7ffef254
       Stack:                   0x7f9cdf20
       Heap:                    0x7f9ce000:0x7fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/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 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e4 89 34
Set lan 0 WakeOnLan ok
Set lan 1 WakeOnLan ok
MicroP Enable HD
Enable HD1
Enable HD2
Enable HD3
Enable HD4
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 
Marvell>> setenv set_bootargs_stock 'setenv bootargs root=/dev/ram console=ttyS0,115200'
Marvell>> setenv bootcmd_stock 'echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000'
Marvell>> setenv bootdev 'usb'
Marvell>> setenv device '0:1'
Marvell>> setenv load_image_addr '0x02000000'
Marvell>> setenv load_initrd_addr '0x2900000'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(reserve2)'
Marvell>> setenv bootcmd_usb 'echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi'
Marvell>> setenv bootcmd_custom 'if run bootcmd_usb; then ; fi; run bootcmd_stock; reset'
Marvell>> setenv bootcmd 'run bootcmd_custom'
Marvell>> boot
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...
4021360 bytes read in 418 ms (9.2 MiB/s)
loading uInitrd ...
7070236 bytes read in 525 ms (12.8 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.12.4-mvebu-tld-1
   Created:      2017-08-22  11:09:57 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4021296 Bytes = 3.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.12.4-mvebu-tld-1
   Created:      2017-08-22  11:10:43 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7070172 Bytes = 6.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
stopping USB..

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000210).

Available machine support:

ID (hex)        NAME
ffffffff        Generic DT based system
ffffffff        Marvell Armada 39x (Device Tree)
ffffffff        Marvell Armada 380/385 (Device Tree)
ffffffff        Marvell Armada 375 (Device Tree)
ffffffff        Marvell Armada 370/XP (Device Tree)
ffffffff        Marvell Dove

Please check your kernel config and/or bootloader.
Re: WDmycloudex4100 instructions
June 15, 2019 10:06PM
I am assuming I need to make uimage with DTS embedded now to get it to work



Edited 1 time(s). Last edit at 06/15/2019 10:07PM by Johnei`.
Re: WDmycloudex4100 instructions
June 15, 2019 10:11PM
Johnei` Wrote:
-------------------------------------------------------
> I am assuming I need to make uimage with DTS
> embedded now to get it to work

Correct! we are not booting with separate DTB in the envs above.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: WDmycloudex4100 instructions
June 15, 2019 10:15PM
OK how would I go about this im confused because I see some using the zImage.ftd and the one I am following just has zImage?
Author:

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: