Welcome! Log In Create A New Profile

Advanced

Debian on WD MyCloud EX 4100

Posted by saschadd 
Re: Debian on WD MyCloud EX 4100
June 01, 2017 09:41AM
Hey guys,

Just a small guess, maybe you can try booting my initrd via tftp https://themm.net/public/ex2u/start
With the smaller Ex2u this will drop you into a small busybox, and there is everythink working, even without powerreg.
With a standard uInitrd I did'nt got it running.

Cheers

-------------------------------------------------------------------------
GitHub https://github.com/cschil
Re: Debian on WD MyCloud EX 4100
June 01, 2017 11:57AM
Peacemake,

> With the smaller Ex2u this will drop you into a sm
> all busybox, and there is everythink working, even
> without powerreg.
> With a standard uInitrd I did'nt got it running.
>

That's a good approach! thanks Peacemaker.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 01, 2017 12:03PM
bodhi,

> Just for small chance that my thesis was wrong, please try a USB 3.0 stick to see if the behavior is different or not.
>
> And to add the regulator we need to find the GPIO for USB power in the WD GPL tarball. The keyword to search for is PWREN_USB_REG_OFFSET.

Unfortunately with usb 3.0 stick it is not working at all. :(

Marvell>> setenv bootdev usb
Marvell>> setenv device '0:1'
Marvell>> setenv dtb_file '/boot/dts/armada-385-wd-ex4100.dtb'
Marvell>> setenv load_dtb_addr 0x1000000
Marvell>> setenv load_initrd_addr 0x3900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv load_dtb 'echo loading DTB $dtb_file ...; ext2load $bootdev $device $load_dtb_addr $dtb_file'
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/zImage'
Marvell>> setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_dtb; run usb_set_bootargs; bootz $load_image_addr -  $load_dtb_addr'
Marvell>> setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
Marvell>> run bootcmd_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
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
loading Image ...
** Bad device usb 0 **
loading DTB /boot/dts/armada-385-wd-ex4100.dtb ...
** Bad device usb 0 **
Bad Linux ARM zImage magic!
resetting ...
Re: Debian on WD MyCloud EX 4100
June 01, 2017 12:07PM
saschadd Wrote:
-------------------------------------------------------
> bodhi,
>
> > Just for small chance that my thesis was wrong,
> please try a USB 3.0 stick to see if the behavior
> is different or not.
> >
> > And to add the regulator we need to find the GPI
> O for USB power in the WD GPL tarball. The keyword
> to search for is PWREN_USB_REG_OFFSET.
>
> Unfortunately with usb 3.0 stick it is not working
> at all. :(
>
>
> Marvell>> setenv bootdev usb
> Marvell>> setenv device '0:1'
> Marvell>> setenv dtb_file '/boot/dts/armada-385-wd
> -ex4100.dtb'
> Marvell>> setenv load_dtb_addr 0x1000000
> Marvell>> setenv load_initrd_addr 0x3900000
> Marvell>> setenv load_image_addr 0x02000000
> Marvell>> setenv load_dtb 'echo loading DTB $dtb_f
> ile ...; ext2load $bootdev $device $load_dtb_addr
> $dtb_file'
> Marvell>> setenv load_initrd 'echo loading uInitrd
> ...; ext2load $bootdev $device $load_initrd_addr /
> boot/uInitrd'
> Marvell>> setenv load_image 'echo loading Image ..
> .; ext2load $bootdev $device $load_image_addr /boo
> t/zImage'
> Marvell>> setenv usb_set_bootargs 'setenv bootargs
> "console=ttyS0,115200 root=/dev/sda1 rootdelay=10
> $mtdparts earlyprintk=serial"'
> Marvell>> setenv usb_bootcmd 'echo Booting from US
> B ...; setenv fdt_skip_update yes; usb start; run
> load_image; run load_dtb; run usb_set_bootargs; bo
> otz $load_image_addr -  $load_dtb_addr'
> Marvell>> setenv bootcmd_usb 'usb start; run usb_s
> et_bootargs; run usb_bootcmd; reset'
> Marvell>> run bootcmd_usb
> (Re)start USB...
> USB0:   Port (usbActive) : 0    Interface (usbType
> = 3) : USB XHCI 1.00
> scanning bus 0 for devices... 3 USB Device(s) foun
> d
> scanning usb for storage devices... 0 Stora
> ge Device(s) found
> scanning usb for ethernet devices... 0 Ethe
> rnet Device(s) found
> 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) foun
> d
> scanning usb for storage devices... 0 Stora
> ge Device(s) found
> scanning usb for ethernet devices... 0 Ethe
> rnet Device(s) found
> loading Image ...
> ** Bad device usb 0 **
> loading DTB /boot/dts/armada-385-wd-ex4100.dtb ...
> ** Bad device usb 0 **
> Bad Linux ARM zImage magic!
> resetting ...

Ah! sorry that's exactly should happen. Thanks for trying saschadd!

When I have a couple hours free, I'll find the GPIO and we should be able to use USB drive.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 01, 2017 12:19PM
bodhi Wrote:
-------------------------------------------------------
> When I have a couple hours free, I'll find the GPIO and we should be able to use USB drive.

If i can help to research let me know. Just need to know where to look for. ; )
Re: Debian on WD MyCloud EX 4100
June 01, 2017 12:29PM
Hey bodhi,

grepped through the WD kernel source and u-boot source, and couldn't find PWREN_USB_REG_OFFSET anywhere. Is it possible it's under a different name?
Re: Debian on WD MyCloud EX 4100
June 01, 2017 12:38PM
Quote
Peacemaker
Just a small guess, maybe you can try booting my initrd via tftp https://themm.net/public/ex2u/start

Yup, this boots to busybox for me. Nice!

I will need to compile this kernel with a new DTS to enable the second Gigabit interface on the EX2100...

Marvell>> tftpboot 0xa00000 uimage.bin
Using egiga0 device
TFTP from server 192.168.11.114; our IP address is 192.168.11.110
Filename 'uimage.bin'.
Load address: 0xa00000
Loading: #################################################################
         #################################################################
         ####################################################
[/quote]#############
         #################################################################
         ###################################
         7.7 MiB/s
done
Bytes transferred = 4327860 (4209b4 hex)
Marvell>> tftpboot 0xf00000 uramdisk.bin
Using egiga0 device
TFTP from server 192.168.11.114; our IP address is 192.168.11.110
Filename 'uramdisk.bin'.
Load address: 0xf00000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################
         7.7 MiB/s
done
Bytes transferred = 12164025 (b99bb9 hex)
Marvell>> setenv bootargs "root=/dev/ram rootdelay=10 $mtdparts console=ttyS0,115200 earlyprintk=serial"
Marvell>> setenv fdt_skip_update yes
Marvell>> bootm 0xa00000 0xf00000
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   WD-385
   Created:      2017-01-20  15:39:17 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4327796 Bytes = 4.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   debian jessie installer
   Created:      2017-03-14  12:11:11 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    12163961 Bytes = 11.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.8.12 (mm@ovid) (gcc version 4.9.2 ( 4.9.2-10) ) #31 SMP Sun Dec 18 17:34:24 CET 2016
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Western Digital MyCloud EX2 Ultra
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @ef7cc000 s28032 r8192 d21120 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 libata.force=3.0G root=LABEL=rootfs earlyprintk root=/dev/ram rootdelay=10 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) console=ttyS0,115200 earlyprintk=serial
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1017512K/1048576K available (6144K kernel code, 390K rwdata, 1604K rodata, 1024K init, 355K bss, 31064K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a61aac   ( 391 kB)
[    0.000000]        .bss : 0xc0a63000 - 0xc0abbdb8   ( 356 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000004] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.000012] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000350] Console: colour dummy device 80x30
[    0.000364] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.000372] pid_max: default: 32768 minimum: 301
[    0.000476] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000482] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000863] CPU: Testing write buffer coherency: ok
[    0.000987] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001002] Setting up static identity map for 0x100000 - 0x100058
[    0.001187] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.001275] mvebu-pmsu: Initializing Power Management Service Unit
[    0.001946] Booting CPU 1
[    0.002143] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.002187] Brought up 2 CPUs
[    0.002193] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.002197] CPU: All CPU(s) started in SVC mode.
[    0.002673] devtmpfs: initialized
[    0.004874] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.004991] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.005024] xor: measuring software checksum speed
[    0.099773]    arm4regs  :  2084.800 MB/sec
[    0.199672]    8regs     :  1574.800 MB/sec
[    0.299571]    32regs    :  1665.200 MB/sec
[    0.399472]    neon      :  1538.000 MB/sec
[    0.399476] xor: using function: arm4regs (2084.800 MB/sec)
[    0.399483] pinctrl core: initialized pinctrl subsystem
[    0.399991] NET: Registered protocol family 16
[    0.400662] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.439473] cpuidle: using governor ladder
[    0.439607] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.439612] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.649440] raid6: int32x1  gen()   170 MB/s
[    0.819091] raid6: int32x1  xor()   192 MB/s
[    0.988928] raid6: int32x2  gen()   232 MB/s
[    1.158817] raid6: int32x2  xor()   219 MB/s
[    1.328611] raid6: int32x4  gen()   232 MB/s
[    1.498492] raid6: int32x4  xor()   181 MB/s
[    1.668277] raid6: int32x8  gen()   233 MB/s
[    1.838049] raid6: int32x8  xor()   177 MB/s
[    2.007900] raid6: neonx1   gen()   978 MB/s
[    2.177722] raid6: neonx1   xor()   753 MB/s
[    2.347560] raid6: neonx2   gen()  1089 MB/s
[    2.517378] raid6: neonx2   xor()   959 MB/s
[    2.687264] raid6: neonx4   gen()   748 MB/s
[    2.857060] raid6: neonx4   xor()   702 MB/s
[    3.026849] raid6: neonx8   gen()   434 MB/s
[    3.196739] raid6: neonx8   xor()   322 MB/s
[    3.196744] raid6: using algorithm neonx2 gen() 1089 MB/s
[    3.196747] raid6: .... xor() 959 MB/s, rmw enabled
[    3.196751] raid6: using intx1 recovery algorithm
[    3.197025] vgaarb: loaded
[    3.197186] SCSI subsystem initialized
[    3.197438] usbcore: registered new interface driver usbfs
[    3.197472] usbcore: registered new interface driver hub
[    3.197505] usbcore: registered new device driver usb
[    3.198358] clocksource: Switched to clocksource armada_370_xp_clocksource
[    3.210646] VFS: Disk quotas dquot_6.6.0
[    3.210692] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    3.215778] NET: Registered protocol family 2
[    3.216145] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    3.216198] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    3.216277] TCP: Hash tables configured (established 8192 bind 8192)
[    3.216323] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.216348] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.216451] NET: Registered protocol family 1
[    3.216633] RPC: Registered named UNIX socket transport module.
[    3.216638] RPC: Registered udp transport module.
[    3.216642] RPC: Registered tcp transport module.
[    3.216645] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.216777] Trying to unpack rootfs image as initramfs...
[    3.693858] Freeing initrd memory: 11880K (c0f00000 - c1a9a000)
[    3.694106] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    3.695427] futex hash table entries: 512 (order: 3, 32768 bytes)
[    3.695867] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    3.696172] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.698568] NET: Registered protocol family 38
[    3.698579] async_tx: api initialized (async)
[    3.698586] Key type asymmetric registered
[    3.698615] bounce: pool size: 64 pages
[    3.698664] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    3.698671] io scheduler noop registered (default)
[    3.699345] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    3.700306] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    3.700316] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    3.700323] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    3.700328] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.700597] PCI: bus0: Fast back to back transfers disabled
[    3.700604] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.700613] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.700684] PCI: bus1: Fast back to back transfers enabled
[    3.700752] PCI: bus2: Fast back to back transfers enabled
[    3.700777] pci 0000:00:01.0: PCI bridge to [bus 01]
[    3.700786] pci 0000:00:02.0: PCI bridge to [bus 02]
[    3.700895] mv_xor f1060800.xor: Marvell shared XOR driver
[    3.758766] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.759713] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.818753] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.850931] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.851992] console [ttyS0] disabled
[    3.872085] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    4.677515] console [ttyS0] enabled
[    4.701575] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    4.715997] brd: module loaded
[    4.722037] loop: module loaded
[    4.725566] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    4.734690] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    4.744265] scsi host0: ahci-mvebu
[    4.747916] scsi host1: ahci-mvebu
[    4.751492] ata1: FORCE: PHY spd limit set to 3.0Gbps
[    4.756567] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    4.764527] ata2: FORCE: PHY spd limit set to 3.0Gbps
[    4.769605] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    4.778008] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    4.785860] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    4.792254] nand: Hynix H27U4G8F2DTR-BC
[    4.796106] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    4.803717] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    4.810905] Bad block table found at page 262080, version 0x01
[    4.817090] Bad block table found at page 262016, version 0x01
[    4.823125] nand_read_bbt: bad block at 0x000001760000
[    4.828296] nand_read_bbt: bad block at 0x00000dec0000
[    4.833485] nand_read_bbt: bad block at 0x000017de0000
[    4.838701] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    4.844819] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    4.850251] 0x000000000000-0x000000500000 : "U-Boot"
[    4.855763] 0x000000500000-0x000000a00000 : "uImage"
[    4.861261] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    4.866892] 0x000000f00000-0x00000c800000 : "image.cfs"
[    4.873086] 0x00000c800000-0x00000d700000 : "rescue fw"
[    4.878845] 0x00000d700000-0x00000eb00000 : "config"
[    4.884373] 0x00000eb00000-0x00000f500000 : "reserve1"
[    4.890051] 0x00000f500000-0x00000ff00000 : "reserve2"
[    4.896103] libphy: Fixed MDIO Bus: probed
[    4.900426] libphy: orion_mdio_bus: probed
[    4.910737] mvneta f1034000.ethernet eth0: Using random mac address 36:b4:e6:ff:ff:ff
[    4.918693] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.925248] ehci-pci: EHCI PCI platform driver
[    4.929766] ehci-orion: EHCI orion driver
[    4.934094] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    4.939460] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    4.947048] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    4.955645] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    4.961888] hub 1-0:1.0: USB hub found
[    4.965672] hub 1-0:1.0: 1 port detected
[    4.969840] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    4.975180] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    4.982777] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.991342] hub 2-0:1.0: USB hub found
[    4.995124] hub 2-0:1.0: 1 port detected
[    4.999324] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    5.004680] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    5.012273] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    5.020860] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    5.027032] hub 3-0:1.0: USB hub found
[    5.030834] hub 3-0:1.0: 1 port detected
[    5.034948] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    5.040300] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    5.047866] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.056399] hub 4-0:1.0: USB hub found
[    5.060191] hub 4-0:1.0: 1 port detected
[    5.064442] usbcore: registered new interface driver usb-storage
[    5.070894] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    5.078597] i2c /dev entries driver
[    5.082746] wt_power_off f1012100.poweroff: installing pm_power_off handler
[    5.089761] wt_power_off f1012100.poweroff: replacing arm_pm_restart (mvebu_restart)
[    5.097822] orion_wdt: Initial timeout 171 sec
[    5.102380] md: linear personality registered for level -1
[    5.104597] ata1: SATA link down (SStatus 0 SControl 320)
[    5.104624] ata2: SATA link down (SStatus 0 SControl 320)
[    5.118742] md: raid0 personality registered for level 0
[    5.124075] md: raid1 personality registered for level 1
[    5.129414] md: raid10 personality registered for level 10
[    5.135039] md: raid6 personality registered for level 6
[    5.140389] md: raid5 personality registered for level 5
[    5.145722] md: raid4 personality registered for level 4
[    5.151185] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[    5.159778] device-mapper: raid: Loading target version 1.9.1
[    5.165713] ledtrig-cpu: registered to indicate activity on CPUs
[    5.172555] marvell-cesa f1090000.crypto: CESA device successfully registered
[    5.179885] usbcore: registered new interface driver usbhid
[    5.185480] usbhid: USB HID core driver
[    5.189709] NET: Registered protocol family 10
[    5.194691] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    5.201406] NET: Registered protocol family 17
[    5.205876] 8021q: 802.1Q VLAN Support v1.8
[    5.210226] ThumbEE CPU extension supported.
[    5.214516] Registering SWP/SWPB emulation handler
[    5.220165] armada38x-rtc f10a3800.rtc: setting system clock to 2017-06-01 17:32:12 UTC (1496338332)
[    5.230981] Freeing unused kernel memory: 1024K (c0900000 - c0a00000)
[    5.259067] systemd-udevd[1305]: starting version 215
[    5.264788] random: systemd-udevd: uninitialized urandom read (16 bytes read)
Starting system log daemon: syslogd, klogd.



Edited 2 time(s). Last edit at 06/01/2017 12:40PM by hmartin.
Re: Debian on WD MyCloud EX 4100
June 01, 2017 12:43PM
hmartin Wrote:
-------------------------------------------------------
> Hey bodhi,
>
> grepped through the WD kernel source and u-boot so
> urce, and couldn't find PWREN_USB_REG_OFFSET anywh
> ere. Is it possible it's under a different name?

Yes, it was a wild guess :) it could be any thing WD decided to use. I think we need to search for "yellowstone" or "yosemite" like you've found, and then read that code.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 01, 2017 12:55PM
Just as a note to anyone else working with the EX2100 who doesn't want to open up the case and void their warranty (*cough*). You can get a functional uart connection without *any* soldering! Just requires kapton tape, alligator clips, and a lot of patience. On the edge connector with 3 contacts, cover the two outer contacts with kapton tape. These are (from left) 3.3v, Tx, and GND. Since the alligator clips are quite fat, we want to avoid shorting Tx to 3.3V or GND.

The edge connector with 1 contact doesn't seem to be connected to anything, or at least I couldn't determine that the lone contact did anything whatsoever. So I had to attach to pin 5 to get uart Rx, which is thankfully quite close to the edge of the board.

For ground, just attach an alligator clip to the metal at the top of the SATA slot.

Janky, but it works! See the photo if this all sounds too confusing.



Edited 2 time(s). Last edit at 06/01/2017 12:57PM by hmartin.
Attachments:
open | download - uart.jpg (485 KB)
Re: Debian on WD MyCloud EX 4100
June 01, 2017 02:44PM
hmartin Wrote:
-------------------------------------------------------
>
Quote
Peacemaker
> Just a small guess, maybe you can try booting my i
> nitrd via tftp https://themm.net/public/ex2u/start
>
>
> Yup, this boots to busybox for me. Nice!
>
> I will need to compile this kernel with a new DTS
> to enable the second Gigabit interface on the EX21
> 00...
>

Sound's good! But just to make sure: you booted the debian installer not he custom initrd; With the initrd debian should be booting as well.

-------------------------------------------------------------------------
GitHub https://github.com/cschil
Re: Debian on WD MyCloud EX 4100
June 01, 2017 02:45PM
hmartin Wrote:
-------------------------------------------------------
> Janky, but it works! See the photo if this all sounds too confusing.

Hehe, got another ugly uart installment which works ; )

I just destroyed an old isdn socket to use the pins for clipping and soldered an old cd connection cable to that to put it on my raspi. ugly but works. ;)

Meanwhile i put the cable through a hole on the first row of the air flow holes and can even close the box while still having my uart connection. so now it is less ugly and still works.

-
happy hacking,

saschadd



Edited 2 time(s). Last edit at 06/01/2017 02:51PM by saschadd.
Attachments:
open | download - uart-raspi.jpg (39.2 KB)
Re: Debian on WD MyCloud EX 4100
June 01, 2017 04:01PM
Quote
Peacemaker
Sound's good! But just to make sure: you booted the debian installer not he custom initrd; With the initrd debian should be booting as well.

Yes, I realized this once I got into it. However if you go back enough with the Debian installer, it will eventually allow you to drop to a shell.
Re: Debian on WD MyCloud EX 4100
June 01, 2017 04:41PM
saschadd & hmartin,

Cool mods :) please take better pic that show the connection for the pins. I'll add them to the wiki thread.

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



Edited 1 time(s). Last edit at 06/01/2017 04:42PM by bodhi.
Re: Debian on WD MyCloud EX 4100
June 02, 2017 01:08AM
Quote
bodhi
please take better pic that show the connection for the pins

Here's an annotated photo.
Attachments:
open | download - ex2100-6-1280x1024.jpg (386.4 KB)
Re: Debian on WD MyCloud EX 4100
June 02, 2017 12:53PM
Quote

Why are vendor GPL archives always crap?!

:)) They are crap because they paid cheap wages to people who modified SoC manufactor GPL code to make it work.

Marvell GPLs are decent (old code, old SW design but quite good). It's vendors like Xyzel and WD that made it worse.



Edited 2 time(s). Last edit at 06/02/2017 01:07PM by bodhi.
Re: Debian on WD MyCloud EX 4100
June 02, 2017 01:08PM
hmartin,

Sorry I've modified the wrong post :) please repost your most recent one.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 02, 2017 01:47PM
Courtesy of the WD u-boot source code, I have figured out what Yosemite and Yellowstone are referring to:
http://www.businesswire.com/news/home/20061030005307/en/AMCCs-Expanded-Family-PowerPC-Evaluation-Kits-Accelerates

Why are these seemingly the code name for Western Digital's products? Who knows! Yosemite and Yellowstone are for a completely different CPU architecture (PPC) from a different manufacturer (AMCC).

Why are vendor GPL archives always crap?!

Edit: found in the toolchain archive:
export PROJECT_NAME=WDMyCloudEX2100
export CODE_NAME=Yosemite

(reposted as per request)
Re: Debian on WD MyCloud EX 4100
June 02, 2017 01:54PM
hmartin Wrote:
-------------------------------------------------------
> Courtesy of the WD u-boot source code, I have figu
> red out what Yosemite and Yellowstone are referrin
> g to:
> http://www.businesswire.com/news/home/200610300053
> 07/en/AMCCs-Expanded-Family-PowerPC-Evaluation-Kit
> s-Accelerates
>
> Why are these seemingly the code name for Western
> Digital's products? Who knows! Yosemite and Yellow
> stone are for a completely different CPU architect
> ure (PPC) from a different manufacturer (AMCC).
>
> Why are vendor GPL archives always crap?!
>
> Edit: found in the toolchain archive:
>
> export PROJECT_NAME=WDMyCloudEX2100
> export CODE_NAME=Yosemite
>
>
> (reposted as per request)

OK. So we need to search for other terms. I have donwloaded WDMyCloud_EX4100_GPL_v2.30.165_20170321.tar.gz.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 02, 2017 03:39PM
I did some comparison between the WD u-boot source and the mainline u-boot source. Perhaps I am too simplistic, but it seems like you could add saveenv by editing include/config/armada_38x.h to add:
#define CONFIG_CMD_SAVEENV

Since it seems not possible to uart boot u-boot, I haven't tested this yet. However, the resulting u-boot image is larger than if you build it without the above define statement:

Without CONFIG_CMD_SAVEENV:
New image size = 0xd7780[882560] Source image size = 0xd777c[882556]
====>>>> u-boot-a38x-Yosemite_2014T3_PQ-nand.bin was created

With CONFIG_CMD_SAVEENV:
New image size = 0xd7bac[883628] Source image size = 0xd7ba8[883624]
====>>>> u-boot-a38x-Yosemite_2014T3_PQ-nand.bin was created

Is there any way we can safely test to see if the new u-boot image contains saveenv?
Re: Debian on WD MyCloud EX 4100
June 02, 2017 03:52PM
hmartin,

> Is there any way we can safely test to see if the
> new u-boot image contains saveenv?

It's really easy to activate saveenv. But we'll need to flash new stock u-boot. So it is not recommended without being able to kwboot it first.

Once we can kwboot the box, then I'll develop a new u-boot for it. It is practically the same as for the Xyzel NAS326.

With that said, I will hopefully figure out a way, but I'd prefer to work on that only after we booted Debian on USB. It is too early to think about saving envs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 02, 2017 04:58PM
Quote
bodhi
but I'd prefer to work on that only after we booted Debian on USB

Sorry if I'm being really dense, but haven't we already done that? Peacemaker's kernel and initrd works. I can load it and boot to Debian all on a USB 2.0 stick plugged into the rear USB 3.0 port on my EX2100.

Marvell>> usb reset
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> ext2load usb '0:1' 0xf00000 /boot/uInitrd
3344350 bytes read in 291 ms (11 MiB/s)
Marvell>> ext2load usb '0:1' 0xa00000 /boot/uImage
4327860 bytes read in 379 ms (10.9 MiB/s)
Marvell>> setenv bootargs "root=/dev/sda1 rootdelay=10 $mtdparts console=ttyS0,115200 earlyprintk=serial"
Marvell>> setenv fdt_skip_update yes
Marvell>> bootm 0xa00000 0xf00000
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   WD-385
   Created:      2017-01-20  15:39:17 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4327796 Bytes = 4.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   Initrd
   Created:      2017-03-14  19:05:31 UTC
   Image Type:   ARM Linux RAMDisk Image (lzma compressed)
   Data Size:    3344286 Bytes = 3.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.8.12 (mm@ovid) (gcc version 4.9.2 ( 4.9.2-10) ) #31 SMP Sun Dec 18 17:34:24 CET 2016
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Western Digital MyCloud EX2 Ultra
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @ef7cc000 s28032 r8192 d21120 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 libata.force=3.0G root=LABEL=rootfs earlyprintk root=/dev/sda1 rootdelay=10 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) console=ttyS0,115200 earlyprintk=serial
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1026124K/1048576K available (6144K kernel code, 390K rwdata, 1604K rodata, 1024K init, 355K bss, 22452K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a61aac   ( 391 kB)
[    0.000000]        .bss : 0xc0a63000 - 0xc0abbdb8   ( 356 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000004] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.000012] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000353] Console: colour dummy device 80x30
[    0.000367] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.000375] pid_max: default: 32768 minimum: 301
[    0.000479] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000485] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000865] CPU: Testing write buffer coherency: ok
[    0.000989] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001005] Setting up static identity map for 0x100000 - 0x100058
[    0.001191] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.001280] mvebu-pmsu: Initializing Power Management Service Unit
[    0.001950] Booting CPU 1
[    0.002148] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.002191] Brought up 2 CPUs
[    0.002198] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.002202] CPU: All CPU(s) started in SVC mode.
[    0.002678] devtmpfs: initialized
[    0.004879] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.004994] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.005028] xor: measuring software checksum speed
[    0.099772]    arm4regs  :  2089.200 MB/sec
[    0.199670]    8regs     :  1580.800 MB/sec
[    0.299570]    32regs    :  1672.000 MB/sec
[    0.399472]    neon      :  1543.600 MB/sec
[    0.399476] xor: using function: arm4regs (2089.200 MB/sec)
[    0.399483] pinctrl core: initialized pinctrl subsystem
[    0.399994] NET: Registered protocol family 16
[    0.400662] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.439472] cpuidle: using governor ladder
[    0.439605] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.439610] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.649297] raid6: int32x1  gen()   170 MB/s
[    0.819063] raid6: int32x1  xor()   192 MB/s
[    0.988997] raid6: int32x2  gen()   232 MB/s
[    1.158765] raid6: int32x2  xor()   219 MB/s
[    1.328693] raid6: int32x4  gen()   232 MB/s
[    1.498481] raid6: int32x4  xor()   181 MB/s
[    1.668245] raid6: int32x8  gen()   233 MB/s
[    1.838165] raid6: int32x8  xor()   177 MB/s
[    2.007865] raid6: neonx1   gen()   978 MB/s
[    2.177710] raid6: neonx1   xor()   753 MB/s
[    2.347548] raid6: neonx2   gen()  1089 MB/s
[    2.517353] raid6: neonx2   xor()   959 MB/s
[    2.687192] raid6: neonx4   gen()   748 MB/s
[    2.857019] raid6: neonx4   xor()   702 MB/s
[    3.026841] raid6: neonx8   gen()   434 MB/s
[    3.196685] raid6: neonx8   xor()   322 MB/s
[    3.196690] raid6: using algorithm neonx2 gen() 1089 MB/s
[    3.196693] raid6: .... xor() 959 MB/s, rmw enabled
[    3.196697] raid6: using intx1 recovery algorithm
[    3.196990] vgaarb: loaded
[    3.197143] SCSI subsystem initialized
[    3.197391] usbcore: registered new interface driver usbfs
[    3.197426] usbcore: registered new interface driver hub
[    3.197456] usbcore: registered new device driver usb
[    3.198312] clocksource: Switched to clocksource armada_370_xp_clocksource
[    3.210603] VFS: Disk quotas dquot_6.6.0
[    3.210650] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    3.215722] NET: Registered protocol family 2
[    3.216086] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    3.216139] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    3.216218] TCP: Hash tables configured (established 8192 bind 8192)
[    3.216255] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.216280] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.216377] NET: Registered protocol family 1
[    3.216556] RPC: Registered named UNIX socket transport module.
[    3.216562] RPC: Registered udp transport module.
[    3.216566] RPC: Registered tcp transport module.
[    3.216569] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.216689] Trying to unpack rootfs image as initramfs...
[    4.246180] Freeing initrd memory: 3268K (c0f00000 - c1231000)
[    4.246415] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    4.247658] futex hash table entries: 512 (order: 3, 32768 bytes)
[    4.248103] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    4.248526] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.251050] NET: Registered protocol family 38
[    4.251062] async_tx: api initialized (async)
[    4.251068] Key type asymmetric registered
[    4.251096] bounce: pool size: 64 pages
[    4.251148] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    4.251155] io scheduler noop registered (default)
[    4.251840] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    4.252802] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    4.252812] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    4.252818] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    4.252824] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.253102] PCI: bus0: Fast back to back transfers disabled
[    4.253109] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.253118] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.253187] PCI: bus1: Fast back to back transfers enabled
[    4.253266] PCI: bus2: Fast back to back transfers enabled
[    4.253292] pci 0000:00:01.0: PCI bridge to [bus 01]
[    4.253301] pci 0000:00:02.0: PCI bridge to [bus 02]
[    4.253416] mv_xor f1060800.xor: Marvell shared XOR driver
[    4.318724] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    4.319681] mv_xor f1060900.xor: Marvell shared XOR driver
[    4.388708] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    4.421148] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.422210] console [ttyS0] disabled
[    4.442311] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    5.247883] console [ttyS0] enabled
[    5.271953] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    5.286378] brd: module loaded
[    5.292360] loop: module loaded
[    5.295894] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    5.305004] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    5.314445] scsi host0: ahci-mvebu
[    5.318106] scsi host1: ahci-mvebu
[    5.321740] ata1: FORCE: PHY spd limit set to 3.0Gbps
[    5.326815] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    5.334782] ata2: FORCE: PHY spd limit set to 3.0Gbps
[    5.339867] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    5.348278] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    5.356138] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    5.362536] nand: Hynix H27U4G8F2DTR-BC
[    5.366389] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    5.373999] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    5.381188] Bad block table found at page 262080, version 0x01
[    5.387372] Bad block table found at page 262016, version 0x01
[    5.393406] nand_read_bbt: bad block at 0x000001760000
[    5.398591] nand_read_bbt: bad block at 0x00000dec0000
[    5.403758] nand_read_bbt: bad block at 0x000017de0000
[    5.408974] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    5.415093] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    5.420521] 0x000000000000-0x000000500000 : "U-Boot"
[    5.426031] 0x000000500000-0x000000a00000 : "uImage"
[    5.431526] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    5.437145] 0x000000f00000-0x00000c800000 : "image.cfs"
[    5.443357] 0x00000c800000-0x00000d700000 : "rescue fw"
[    5.449122] 0x00000d700000-0x00000eb00000 : "config"
[    5.454627] 0x00000eb00000-0x00000f500000 : "reserve1"
[    5.460300] 0x00000f500000-0x00000ff00000 : "reserve2"
[    5.466318] libphy: Fixed MDIO Bus: probed
[    5.470639] libphy: orion_mdio_bus: probed
[    5.476798] mvneta f1034000.ethernet eth0: Using random mac address 4a:44:80:ff:ff:ff
[    5.484743] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.491306] ehci-pci: EHCI PCI platform driver
[    5.495810] ehci-orion: EHCI orion driver
[    5.500130] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    5.505489] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    5.513081] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    5.521672] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    5.527895] hub 1-0:1.0: USB hub found
[    5.531750] hub 1-0:1.0: 1 port detected
[    5.535873] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    5.541231] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    5.548815] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.557322] hub 2-0:1.0: USB hub found
[    5.561120] hub 2-0:1.0: 1 port detected
[    5.565306] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    5.570677] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    5.578256] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    5.586854] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    5.593033] hub 3-0:1.0: USB hub found
[    5.596823] hub 3-0:1.0: 1 port detected
[    5.600949] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    5.606300] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    5.613872] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.622382] hub 4-0:1.0: USB hub found
[    5.626164] hub 4-0:1.0: 1 port detected
[    5.630411] usbcore: registered new interface driver usb-storage
[    5.636862] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    5.644560] i2c /dev entries driver
[    5.648731] wt_power_off f1012100.poweroff: installing pm_power_off handler
[    5.655729] wt_power_off f1012100.poweroff: replacing arm_pm_restart (mvebu_restart)
[    5.663802] orion_wdt: Initial timeout 171 sec
[    5.668380] md: linear personality registered for level -1
[    5.669684] ata1: SATA link down (SStatus 0 SControl 320)
[    5.669711] ata2: SATA link down (SStatus 0 SControl 320)
[    5.684731] md: raid0 personality registered for level 0
[    5.690068] md: raid1 personality registered for level 1
[    5.695401] md: raid10 personality registered for level 10
[    5.701011] md: raid6 personality registered for level 6
[    5.706346] md: raid5 personality registered for level 5
[    5.711701] md: raid4 personality registered for level 4
[    5.717170] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[    5.725741] device-mapper: raid: Loading target version 1.9.1
[    5.731694] ledtrig-cpu: registered to indicate activity on CPUs
[    5.738515] marvell-cesa f1090000.crypto: CESA device successfully registered
[    5.745849] usbcore: registered new interface driver usbhid
[    5.751456] usbhid: USB HID core driver
[    5.755678] NET: Registered protocol family 10
[    5.760646] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    5.767332] NET: Registered protocol family 17
[    5.771819] 8021q: 802.1Q VLAN Support v1.8
[    5.776160] ThumbEE CPU extension supported.
[    5.780463] Registering SWP/SWPB emulation handler
[    5.786119] armada38x-rtc f10a3800.rtc: setting system clock to 2017-06-02 21:52:54 UTC (1496440374)
[    5.796978] Freeing unused kernel memory: 1024K (c0900000 - c0a00000)
[    5.888342] usb 1-1: new high-speed USB device number 2 using xhci-hcd
mdadm: cannot open /dev/sd??*: No such file or directory
mdadm: No devices listed in conf file were found.
mda[    5.969241] ubi0: attaching mtd5
dm: No devices listed in conf file were found.
[    5.982006] random: fast init done
[    6.029514] ubi0: scanning is finished
[    6.037567] ubi0: attached mtd5 (name "config", size 20 MiB)
[    6.043279] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    6.050194] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    6.057011] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    6.061912] usb-storage 1-1:1.0: USB Mass Storage device detected
[    6.066053] scsi host2: usb-storage 1-1:1.0
[    6.074357] ubi0: good PEBs: 159, bad PEBs: 1, corrupted PEBs: 0
[    6.080395] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[    6.087648] ubi0: max/mean erase counter: 1/1, WL threshold: 4096, image sequence number: 1297068284
[    6.096823] ubi0: available PEBs: 76, total reserved PEBs: 83, PEBs reserved for bad PEB handling: 79
[    6.106094] ubi0: background thread "ubi_bgt0d" started, PID 1309
mount: mounting ubi0:config on /mnt/config failed: No such device
cp: can't stat '/mnt/config/initrd/shadow': No such file or directory
  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
  No volume groups found
  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
 Press any key or reset key to stop and run shell...[    7.110380] scsi 2:0:0:0: Direct-Access     Verbatim MICRO PLUS       PMAP PQ: 0 ANSI: 4
[    7.119083] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    7.125019] sd 2:0:0:0: [sda] 15124992 512-byte logical blocks: (7.74 GB/7.21 GiB)
[    7.132846] sd 2:0:0:0: [sda] Write Protect is off
[    7.137833] sd 2:0:0:0: [sda] No Caching mode page found
[    7.143187] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    7.151977]  sda: sda1
[    7.155587] sd 2:0:0:0: [sda] Attached SCSI removable disk
5..4..3..2..1..

[   12.085262] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
[   12.093717] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
[   13.460268] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)

 Unmounting and Switch to OS

cp: can't stat '/mnt/config/mac_addr': No such file or directory
cat: can't open '/run/dropbear.pid': No such file or directory
ash: you need to specify whom to kill
cat: can't open '/run/udhcpc.pid': No such file or directory
ash: you need to specify whom to kill
umount: can't unmount /mnt/config: Invalid argument
Mount failed for selinuxfs on /sys/fs/selinux:  No such file or directory
^MINIT: version 2.88 booting
[ESC[36minfoESC[39;49m] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   14.297714] systemd-udevd[1441]: starting version 215
ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0c.
[....] Synthesizing the initial hotplug events...ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0cdone.
[....] Waiting for /dev to be fully populated...ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0cdone.
[....] Activating swap...ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0cdone.
[   15.176742] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Activating lvm and md swap...ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0cdone.
[....] Checking file systems...fsck from util-linux 2.25.2
ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0cdone.
[....] Cleaning up temporary files... /tmpESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0c.
[....] Mounting local filesystems...ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0cdone.
[....] Activating swapfile swap...ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0cdone.
[....] Cleaning up temporary files...ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0c.
[....] Setting kernel variables ...ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0cdone.
[   16.299394] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   17.541487] random: crng init done
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/4a:44:80:ff:ff:ff
Sending on   LPF/eth0/4a:44:80:ff:ff:ff
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
[   20.478974] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   20.486855] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.1.1
DHCPACK from 192.168.1.1
bound to 192.168.1.100 -- renewal in 16517 seconds.
ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0cdone.
[....] Starting rpcbind daemon...ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0c.
[....] Starting NFS common utilities: statd idmapdESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0c.
[....] Cleaning up temporary files...ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0c.
^MINIT: Entering runlevel: 2
[ESC[36minfoESC[39;49m] Using makefile-style concurrent boot in runlevel 2.
[....] Not starting NFS kernel daemon: no exports. ...ESC[?25lESC[?1cESC7ESC[1G[ESC[33mwarnESC[39;49mESC8ESC[?25hESC[?0c ESC[33m(warning).ESC[39;49m
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2368 (syslogd)
ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0c.
[....] Starting periodic command scheduler: cronESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0c.
[....] Starting NTP server: ntpdESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0c.
[....] Starting OpenBSD Secure Shell server: sshdESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0c.
[....] Starting system message bus: dbusESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0c.
[....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemonESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0c.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2369 (klogd)
ESC[?25lESC[?1cESC7ESC[1G[ESC[32m ok ESC[39;49mESC8ESC[?25hESC[?0c.

Debian GNU/Linux 8 debian ttyS0

debian login:

So, apart from some DTB cleanup (e.g. Peacemaker's kernel only initializes one of two Ethernet interfaces, and rebooting doesn't work properly) isn't all that's left to flash u-boot with saveenv and then you can boot Debian entirely from USB?

I'm not sure what's wrong with your initrd that keeps kernel panic'ing, but Peacemaker's boots.
Re: Debian on WD MyCloud EX 4100
June 02, 2017 05:55PM
hmartin,

> Sorry if I'm being really dense, but haven't we al
> ready done that? Peacemaker's kernel and initrd wo
> rks. I can load it and boot to Debian all on a USB
> 2.0 stick plugged into the rear USB 3.0 port on my
> EX2100.

OK :) you should have posted this log. I was under the impression that you and saschadd could not do this. So the USB power activation by u-boot was enough to let the kernel mounting the rootfs.

So the remaining issue is just the size of the Initrd or something in the older kernel perhaps. Because it booted fine on the NAS326, it is most likely the size.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 02, 2017 05:58PM
@saschadd,

Did you try peacemaker's uInitrd ?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 03, 2017 12:52AM
Quote
bodhi
OK :) you should have posted this log. I was under the impression that you and saschadd could not do this. So the USB power activation by u-boot was enough to let the kernel mounting the rootfs.

Sorry, before I only tried booting it with tftp, but since your feedback I wondered why not try booting from USB since that is the major issue we face?

I'm not sure which filesystems this u-boot supports, so I formatted the USB stick as ext2 just to be conservative. I am using your mvebu rootfs with the uImage and uInitrd from Peacemaker's page.

One thing that concerns me slightly is that there is no source available for this uInitrd. It's only been published in binary form. If we want to actually distribute this, we should ask cschil for the source so we can build it.
Re: Debian on WD MyCloud EX 4100
June 03, 2017 01:09AM
hmartin,

> is no
> source available for this uInitrd
. It's only
> been published in binary form. If we want to actua
> lly distribute this, we should ask cschil for the
> source so we can build it.

I'll post a different way to boot my kernel files so you guys can try.

The small uInitrd from peacemaker is great for testing it out, but we (this forum) need a Debian style uInitrd which has all the modules so we can run all MVEBU Armada boxes using the same kernel.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 03, 2017 02:12AM
bodhi Wrote:
-------------------------------------------------------
> @saschadd,
>
> Did you try peacemaker's uInitrd ?

Not yet, will try later today.

-
happy hacking,

saschadd
Re: Debian on WD MyCloud EX 4100
June 03, 2017 03:21AM
Quote
bodhi
but we (this forum) need a Debian style uInitrd which has all the modules so we can run all MVEBU Armada boxes using the same kernel.

I understand. But the initrd only needs to contain the modules necessary to boot. The remainder of the modules (e.g. to support things like NFS, iSCSI, USB cameras, etc) can live on the rootfs, since they're only needed after booting.

I took a quick look at the uInitrd you're shipping in the rootfs, and there are quite a few modules I would say could be relocated to /lib/modules on the rootfs, and not living in the uInitrd.

Examples:
./drivers/hid
./drivers/hid/hid-penmount.ko
./drivers/hid/hid-roccat-isku.ko
./drivers/hid/hid-roccat-lua.ko
./drivers/hid/hid-cp2112.ko
./drivers/hid/hid-prodikeys.ko
./drivers/hid/hid-roccat.ko
./drivers/hid/hid-roccat-ryos.ko
./drivers/hid/hid-microsoft.ko
./drivers/hid/i2c-hid
./drivers/hid/i2c-hid/i2c-hid.ko
./drivers/hid/wacom.ko
./drivers/hid/hid-logitech-hidpp.ko
./drivers/hid/hid-samsung.ko
./drivers/hid/hid-keytouch.ko
./drivers/hid/hid-cherry.ko
./drivers/hid/hid-chicony.ko
./drivers/hid/hid-monterey.ko
./drivers/hid/hid-ezkey.ko
./drivers/hid/hid-roccat-common.ko
./drivers/hid/hid-belkin.ko
./drivers/hid/hid-apple.ko
./drivers/hid/hid-roccat-arvo.ko
./drivers/hid/hid-logitech.ko
./drivers/hid/hid-topseed.ko
./drivers/hid/hid-sunplus.ko
./drivers/hid/hid-gt683r.ko
./drivers/hid/hid-sjoy.ko
./drivers/hid/hid-plantronics.ko
./drivers/hid/hid-ortek.ko
./drivers/hid/hid-roccat-savu.ko
./drivers/hid/hid-logitech-dj.ko
./drivers/net/ppp
./drivers/net/ppp/pppox.ko
./drivers/net/ppp/ppp_synctty.ko
./drivers/net/ppp/pptp.ko
./drivers/net/ppp/bsd_comp.ko
./drivers/net/ppp/ppp_async.ko
./drivers/net/ppp/ppp_deflate.ko
./drivers/net/ppp/pppoe.ko
./drivers/net/ppp/ppp_mppe.ko
./drivers/net/ppp/ppp_generic.ko

I totally understand if you say you don't want to remove these modules from uInitrd, because there is some edge case where they would be needed on boot. But if the issue is that the Debian uInitrd is too large to boot successfully, then removing unnecessary modules from uInitrd is an easy way to reduce the size.

I am happy to test whatever you come up with :-D
Re: Debian on WD MyCloud EX 4100
June 03, 2017 02:20PM
>
> I took a quick look at the uInitrd you're shipping
> in the rootfs, and there are quite a few modules I
> would say could be relocated to /lib/modules
> ] on the rootfs, and not living in the uInitrd.
>

That's too much of a hack! a good hack to make it work :) but it will become a maintenance issue.

The issue at hand is not the size of uInitrd itself. It is a buggy and old stock u-boot. Once we have a new u-boot for this and the NAS326 box, this issue will resolve itself magically. For now, we are just working around this limitation by exploring different boot options.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 03, 2017 03:37PM
saschadd Wrote:
> > @saschadd,
> >
> > Did you try peacemaker's uInitrd ?
>
> Not yet, will try later today.

bodhi,

i replaced /boot/uInitrd with this file https://github.com/cschil/WD-385-initrd/raw/master/uInitrd-wd385

following the output

Marvell>> setenv bootdev usb
Marvell>> setenv device '0:1'
Marvell>> setenv dtb_file '/boot/dts/armada-385-wd-ex4100.dtb'
Marvell>> setenv load_dtb_addr 0x1000000
Marvell>> setenv load_initrd_addr 0x3900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv load_dtb 'echo loading DTB $dtb_file ...; ext2load $bootdev $device $load_dtb_addr $dtb_file'
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/zImage'
Marvell>> setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_dtb; run usb_set_bootargs; bootz $load_image_addr -  $load_dtb_addr'
Marvell>> setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
Marvell>> run bootcmd_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
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
loading Image ...
3904400 bytes read in 256 ms (14.5 MiB/s)
loading DTB /boot/dts/armada-385-wd-ex4100.dtb ...
14861 bytes read in 608 ms (23.4 KiB/s)
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x01000000
   Loading Device Tree to 00ff9000, end 00fffa0c ... OK

   Skipping Device Tree update ('fdt_skip_update' = yes)
stopping USB..

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu @eefcd000 s30796 r8192 d22452 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 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) earlyprintk=serial
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 2066376K/2097152K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 30776K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
[    0.000000]        .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007881] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019059] Console: colour dummy device 80x30
[    0.023573] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033977] pid_max: default: 32768 minimum: 301
[    0.038731] Security Framework initialized
[    0.042925] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049598] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057101] CPU: Testing write buffer coherency: ok
[    0.062171] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.067910] Setting up static identity map for 0x100000 - 0x100058
[    0.074214] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.079473] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283910] Booting CPU 1
[    0.286756] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286804] Brought up 2 CPUs
[    0.295562] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301881] CPU: All CPU(s) started in SVC mode.
[    0.307115] devtmpfs: initialized
[    0.312377] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320319] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330246] prandom: seed boundary self test passed
[    0.336870] prandom: 100 self tests passed
[    0.341030] pinctrl core: initialized pinctrl subsystem
[    0.346945] NET: Registered protocol family 16
[    0.351988] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.393867] cpuidle: using governor ladder
[    0.423866] cpuidle: using governor menu
[    0.427932] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.436001] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.441979] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.450134] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.504842] vgaarb: loaded
[    0.507853] SCSI subsystem initialized
[    0.512088] usbcore: registered new interface driver usbfs
[    0.517719] usbcore: registered new interface driver hub
[    0.523145] usbcore: registered new device driver usb
[    0.528465] media: Linux media interface: v0.10
[    0.533102] Linux video capture interface: v2.00
[    0.538604] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.570131] VFS: Disk quotas dquot_6.6.0
[    0.574160] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.587968] NET: Registered protocol family 2
[    0.592788] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.599937] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.606488] TCP: Hash tables configured (established 8192 bind 8192)
[    0.612956] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.618965] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.625468] NET: Registered protocol family 1
[    0.630151] RPC: Registered named UNIX socket transport module.
[    0.636126] RPC: Registered udp transport module.
[    0.640906] RPC: Registered tcp transport module.
[    0.645670] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.652376] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.659053] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.668087] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.674310] audit: initializing netlink subsys (disabled)
[    0.679797] audit: type=2000 audit(0.670:1): initialized
[    0.685545] Initialise system trusted keyrings
[    0.690198] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.696754] zbud: loaded
[    0.699822] NFS: Registering the id_resolver key type
[    0.704939] Key type id_resolver registered
[    0.709200] Key type id_legacy registered
[    0.713279] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.720039] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.726574] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.733968] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.740585] orangefs_init: module version upstream loaded
[    0.747821] Key type asymmetric registered
[    0.751996] Asymmetric key parser 'x509' registered
[    0.756959] bounce: pool size: 64 pages
[    0.760936] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.768381] io scheduler noop registered
[    0.772380] io scheduler deadline registered
[    0.776726] io scheduler cfq registered (default)
[    0.782289] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.790708] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    0.797638] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.803974] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.810910] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.816824] PCI: bus0: Fast back to back transfers disabled
[    0.822472] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.830537] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.838702] PCI: bus1: Fast back to back transfers enabled
[    0.844360] PCI: bus2: Fast back to back transfers enabled
[    0.849954] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.854982] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.860423] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.919005] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.926616] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.988999] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.039874] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.047500] console [ttyS0] disabled
[    1.071229] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.080261] console [ttyS0] enabled
[    1.080261] console [ttyS0] enabled
[    1.087349] bootconsole [earlycon0] disabled
[    1.087349] bootconsole [earlycon0] disabled
[    1.096938] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.106045] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.115589] scsi host0: ahci-mvebu
[    1.119310] scsi host1: ahci-mvebu
[    1.122915] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.130881] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.138969] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.148057] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.157433] scsi host2: ahci-mvebu
[    1.161076] scsi host3: ahci-mvebu
[    1.164630] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 43
[    1.172595] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 43
[    1.181021] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.188889] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.195269] nand: Hynix H27U4G8F2DTR-BC
[    1.199133] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.206736] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.213931] Bad block table found at page 262080, version 0x01
[    1.220123] Bad block table found at page 262016, version 0x01
[    1.226154] nand_read_bbt: bad block at 0x00000dcc0000
[    1.231324] nand_read_bbt: bad block at 0x00000fb00000
[    1.236485] nand_read_bbt: bad block at 0x000012180000
[    1.241651] nand_read_bbt: bad block at 0x0000139a0000
[    1.246812] nand_read_bbt: bad block at 0x000017880000
[    1.251979] nand_read_bbt: bad block at 0x0000178a0000
[    1.257140] nand_read_bbt: bad block at 0x00001a640000
[    1.262306] nand_read_bbt: bad block at 0x00001e9c0000
[    1.267499] 3 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.273625] Creating 3 MTD partitions on "pxa3xx_nand-0":
[    1.279054] 0x000000000000-0x000000800000 : "U-Boot"
[    1.294724] 0x000000800000-0x000001000000 : "Linux"
[    1.310255] 0x000001000000-0x000040000000 : "Filesystem"
[    1.315592] mtd: partition "Filesystem" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1f000000
[    1.339501] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.346139] libphy: Fixed MDIO Bus: probed
[    1.350546] libphy: mdio_driver_register: mv88e6085
[    1.355585] libphy: orion_mdio_bus: probed
[    1.360731] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.369759] mvneta f1070000.ethernet eth0: Using random mac address 6e:ef:99:b2:06:b8
[    1.379165] mvneta f1030000.ethernet eth1: Using random mac address 2a:1d:eb:dc:64:9e
[    1.387208] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.393787] ehci-pci: EHCI PCI platform driver
[    1.398288] ehci-orion: EHCI orion driver
[    1.402420] orion-ehci f1058000.usb: EHCI Host Controller
[    1.407853] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.415521] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.448615] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.454671] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.461502] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.468762] usb usb1: Product: EHCI Host Controller
[    1.469959] ata1: SATA link down (SStatus 0 SControl 300)
[    1.479101] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 ehci_hcd
[    1.479902] ata2: SATA link down (SStatus 0 SControl 300)
[    1.490992] usb usb1: SerialNumber: f1058000.usb
[    1.495938] hub 1-0:1.0: USB hub found
[    1.499732] hub 1-0:1.0: 1 port detected
[    1.504106] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.509464] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.509863] ata3: SATA link down (SStatus 0 SControl 300)
[    1.519882] ata4: SATA link down (SStatus 0 SControl 300)
[    1.527890] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.536484] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
[    1.542342] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.549185] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.556438] usb usb2: Product: xHCI Host Controller
[    1.561343] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.567811] usb usb2: SerialNumber: f10f0000.usb3
[    1.572826] hub 2-0:1.0: USB hub found
[    1.576609] hub 2-0:1.0: 1 port detected
[    1.580720] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.586059] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.593634] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.601824] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.609406] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.616659] usb usb3: Product: xHCI Host Controller
[    1.621565] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.628033] usb usb3: SerialNumber: f10f0000.usb3
[    1.633035] hub 3-0:1.0: USB hub found
[    1.636814] hub 3-0:1.0: 1 port detected
[    1.640984] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.646329] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.653921] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.662516] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
[    1.668363] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    1.675192] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.682451] usb usb4: Product: xHCI Host Controller
[    1.687349] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.693862] usb usb4: SerialNumber: f10f8000.usb3
[    1.698886] hub 4-0:1.0: USB hub found
[    1.702666] hub 4-0:1.0: 1 port detected
[    1.706761] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.712116] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    1.719677] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.727859] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    1.734687] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.741945] usb usb5: Product: xHCI Host Controller
[    1.746843] usb usb5: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.753363] usb usb5: SerialNumber: f10f8000.usb3
[    1.758358] hub 5-0:1.0: USB hub found
[    1.762148] hub 5-0:1.0: 1 port detected
[    1.766330] usbcore: registered new interface driver usblp
[    1.771920] usbcore: registered new interface driver usb-storage
[    1.778121] mousedev: PS/2 mouse device common for all mice
[    1.784079] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.791756] i2c /dev entries driver
[    1.806554] orion_wdt: Initial timeout 171 sec
[    1.812224] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.819515] hidraw: raw HID events driver (C) Jiri Kosina
[    1.825111] usbcore: registered new interface driver usbhid
[    1.830719] usbhid: USB HID core driver
[    1.834680] drop_monitor: Initializing network drop monitor service
[    1.841018] Netfilter messages via NETLINK v0.30.
[    1.845751] ip_set: protocol 6
[    1.848996] NET: Registered protocol family 10
[    1.854025] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.860748] NET: Registered protocol family 17
[    1.865325] 8021q: 802.1Q VLAN Support v1.8
[    1.869725] Key type dns_resolver registered
[    1.874094] ThumbEE CPU extension supported.
[    1.878385] Registering SWP/SWPB emulation handler
[    1.883538] registered taskstats version 1
[    1.887653] Loading compiled-in X.509 certificates
[    1.892507] zswap: loaded using pool lzo/zbud
[    1.931336] Key type big_key registered
[    1.935407] Key type encrypted registered
[    1.939457] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    1.947008] armada38x-rtc f10a3800.rtc: setting system clock to 2017-06-03 20:31:17 UTC (1496521877)
[    1.956630] Waiting 10 sec before mounting root device...
[    2.108826] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.115563] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.123092] hub 2-1:1.0: USB hub found
[    2.126923] hub 2-1:1.0: 4 ports detected
[    2.248803] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.280137] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.286868] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.294523] hub 3-1:1.0: USB hub found
[    2.298551] hub 3-1:1.0: 4 ports detected
[   12.008716] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6
[   12.016057] Please append a correct "root=" boot option; here are the available partitions:
[   12.024530] 1f00            8192 mtdblock0 [   12.028555]  (driver?)
[   12.030938] 1f01            8192 mtdblock1 [   12.034962]  (driver?)
[   12.037333] 1f02          507904 mtdblock2 [   12.041365]  (driver?)
[   12.043736] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   12.052037] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.0-mvebu-tld-12 #2
[   12.059026] Hardware name: Marvell Armada 380/385 (Device Tree)
[   12.064983] [<c01160bc>] (unwind_backtrace) from [<c0110bb4>] (show_stack+0x10/0x14)
[   12.072762] [<c0110bb4>] (show_stack) from [<c04ba5a4>] (dump_stack+0x70/0x8c)
[   12.080017] [<c04ba5a4>] (dump_stack) from [<c01eccd4>] (panic+0xc0/0x244)
[   12.086924] [<c01eccd4>] (panic) from [<c0c012b4>] (mount_block_root+0x1d8/0x250)
[   12.094440] [<c0c012b4>] (mount_block_root) from [<c0c01420>] (mount_root+0xf4/0x11c)
[   12.102305] [<c0c01420>] (mount_root) from [<c0c0156c>] (prepare_namespace+0x124/0x184)
[   12.110346] [<c0c0156c>] (prepare_namespace) from [<c0c00e74>] (kernel_init_freeable+0x200/0x258)
[   12.119259] [<c0c00e74>] (kernel_init_freeable) from [<c0834b74>] (kernel_init+0x8/0x10c)
[   12.127474] [<c0834b74>] (kernel_init) from [<c010c338>] (ret_from_fork+0x14/0x3c)
[   12.135079] CPU1: stopping
[   12.137799] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.0-mvebu-tld-12 #2
[   12.144789] Hardware name: Marvell Armada 380/385 (Device Tree)
[   12.150738] [<c01160bc>] (unwind_backtrace) from [<c0110bb4>] (show_stack+0x10/0x14)
[   12.158515] [<c0110bb4>] (show_stack) from [<c04ba5a4>] (dump_stack+0x70/0x8c)
[   12.165769] [<c04ba5a4>] (dump_stack) from [<c0113f90>] (handle_IPI+0x16c/0x350)
[   12.173198] [<c0113f90>] (handle_IPI) from [<c0101520>] (gic_handle_irq+0x78/0x94)
[   12.180801] [<c0101520>] (gic_handle_irq) from [<c011160c>] (__irq_svc+0x6c/0xa8)
[   12.188313] Exception stack(0xee8c5f98 to 0xee8c5fe0)
[   12.193384] 5f80:                                                       00000001 00000000
[   12.201597] 5fa0: 00000000 c011e6c0 00000000 00000000 ee8c4000 c0d0412c 00000002 ee8c5ff0
[   12.209809] 5fc0: c0d04194 00000000 00000001 ee8c5fe8 c010d400 c010d404 60000013 ffffffff
[   12.218022] [<c011160c>] (__irq_svc) from [<c010d404>] (arch_cpu_idle+0x2c/0x38)
[   12.225451] [<c010d404>] (arch_cpu_idle) from [<c015ef04>] (cpu_startup_entry+0xf0/0x1d0)
[   12.233663] [<c015ef04>] (cpu_startup_entry) from [<0010166c>] (0x10166c)
[   12.240484] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Re: Debian on WD MyCloud EX 4100
June 03, 2017 04:22PM
saschadd,

Your USB drive was not recognized by the kernel. Let's see what's the difference between your run and hmartin previously.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
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: