Clean OS (Debian), OpenMediaVault and other "firmwares"


#1393

For Gen1 (firmware v.04.xx):

cd /tmp wget http://anionix.ddns.net/WDMyCloud/WDMyCloud-Gen1/Developing/Linux-3.2.68-bin.tar.gz tar xvzf Linux-3.2.68-bin.tar.gz -C / dd if=/uImage of=/dev/sda5 reboot


#1394

http://anionix.ddns.net/WDMyCloud/WDMyCloud-Gen2/Debian/ Read “Howto” file.
DSM unstable. Not recomended for regular usage, only for research/developing.


#1395

thank you for your quick reply!
i will give it a try


#1396

Fox, i tried:

  1. create /boot/boot (not existing on my fs)
  2. try to cp files to /boot/boot (not possible for tar file, insufficient disk space)
  3. cp just uimage and ramdisk
  4. sync & reboot -f

----same as before no changes to firmware

sorry for be not very professional with firmware hacking…
tx p


#1397

Run uname -a, copy output to me.


#1398

root@KOP-Cloud root # uname -a
Linux KOP-Cloud 3.10.39 #1 SMP Fri Aug 5 11:29:16 CST 2016 2014T30p5 Build-git3f24b4d armv7l GNU/Linux


#1399

I think its not Gen2. Maybe EX1100 or similar.
Make dmesg log and send to me (in p.m.):
dmesg > dmesg.log


#1400

sorry for my late reply!
here is the log file. (not able to pm, attachment of log not allowed)

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] 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 Aug 5 11:29:16 CST 2016 2014T30p5 Build-git3f24b4d
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: Marvell Armada 380/381/382/385/388 (Device Tree), model: Marvell Armada 385 Development Board
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat c07a6900, node_mem_map c0878000
[ 0.000000] Normal zone: 20 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] PERCPU: Embedded 1 pages/cpu @c0930000 s8320 r8192 d16256 u32768
[ 0.000000] pcpu-alloc: s8320 r8192 d16256 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16364
[ 0.000000] Kernel command line: root=/dev/ram console=ttyS0,115200
[ 0.000000] PID hash table entries: 2048 (order: -2, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 3, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 2, 131072 bytes)
[ 0.000000] allocated 131072 bytes of page_cgroup
[ 0.000000] please try ‘cgroup_disable=memory’ option if you don’t want memory cgroups
[ 0.000000] Memory: 512MB = 512MB total
[ 0.000000] Memory: 511808k/511808k available, 12480k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff8000 ( 32 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xe0800000 - 0xfff00000 ( 503 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 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)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000]
LSP version: linux-3.10.39-2014_T3.0p5

[ 0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
[ 0.000000] L310 cache controller enabled
[ 0.000000] l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
[ 0.000000] Console: colour dummy device 80x30
[ 0.000438] Calibrating delay loop… 2655.84 BogoMIPS (lpj=13279232)
[ 0.060030] pid_max: default: 32768 minimum: 301
[ 0.060094] Mount-cache hash table entries: 4096
[ 0.060470] Initializing cgroup subsys memory
[ 0.060484] Initializing cgroup subsys devices
[ 0.060487] Initializing cgroup subsys freezer
[ 0.060490] Initializing cgroup subsys blkio
[ 0.060516] CPU: Testing write buffer coherency: ok
[ 0.060661] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.060683] Setting up static identity map for 0xc056c230 - 0xc056c288
[ 0.060813] mvebu-pmsu: Initializing Power Management Service Unit
[ 0.060844] Initializing CPU Reset module
[ 0.061505] CPU1: Booted secondary processor
[ 0.120631] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.120713] Brought up 2 CPUs
[ 0.120718] SMP: Total of 2 processors activated (5311.69 BogoMIPS).
[ 0.120720] CPU: All CPU(s) started in SVC mode.
[ 0.121198] devtmpfs: initialized
[ 0.123275] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[ 0.123434] xor: measuring software checksum speed
[ 0.220527] arm4regs : 1420.800 MB/sec
[ 0.320432] 8regs : 940.800 MB/sec
[ 0.420332] 32regs : 918.400 MB/sec
[ 0.420335] xor: using function: arm4regs (1420.800 MB/sec)
[ 0.420340] pinctrl core: initialized pinctrl subsystem
[ 0.420459] NET: Registered protocol family 16
[ 0.420997] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.423178] irq: Cannot allocate irq_descs @ IRQ196, assuming pre-allocated
[ 0.423546] irq: Cannot allocate irq_descs @ IRQ228, assuming pre-allocated
[ 0.433854] bio: create slab at 0
[ 0.600202] raid6: int32x1 355 MB/s
[ 0.770079] raid6: int32x2 347 MB/s
[ 0.939802] raid6: int32x4 446 MB/s
[ 1.109625] raid6: int32x8 384 MB/s
[ 1.109628] raid6: using algorithm int32x4 (446 MB/s)
[ 1.109630] raid6: using intx1 recovery algorithm
[ 1.109802] mvebu-pcie pcie-controller.3: PCIe0.0: link down
[ 1.109821] mvebu-pcie pcie-controller.3: PCIe1.0: link down
[ 1.109937] mvebu-pcie pcie-controller.3: PCI host bridge to bus 0000:00
[ 1.109944] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff]
[ 1.109949] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe8000000]
[ 1.109954] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.109970] pci 0000:00:01.0: [11ab:7846] type 01 class 0x060400
[ 1.110091] pci 0000:00:02.0: [11ab:7846] type 01 class 0x060400
[ 1.110198] PCI: bus0: Fast back to back transfers disabled
[ 1.110204] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.110209] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.110296] PCI: bus1: Fast back to back transfers enabled
[ 1.110303] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.110384] PCI: bus2: Fast back to back transfers enabled
[ 1.110390] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 1.110412] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 1.110420] pci 0000:00:02.0: PCI bridge to [bus 02]
[ 1.110427] PCI: enabling device 0000:00:01.0 (0140 -> 0143)
[ 1.110432] PCI: enabling device 0000:00:02.0 (0140 -> 0143)
[ 1.110792] SCSI subsystem initialized
[ 1.110968] libata version 3.00 loaded.
[ 1.111230] usbcore: registered new interface driver usbfs
[ 1.111294] usbcore: registered new interface driver hub
[ 1.111363] usbcore: registered new device driver usb
[ 1.111555] pps_core: LinuxPPS API ver. 1 registered
[ 1.111558] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 1.111604] PTP clock support registered
[ 1.112069] Switching to clocksource armada_370_xp_clocksource
[ 1.117930] NET: Registered protocol family 2
[ 1.118171] TCP established hash table entries: 4096 (order: 0, 32768 bytes)
[ 1.118212] TCP bind hash table entries: 4096 (order: 0, 32768 bytes)
[ 1.118253] TCP: Hash tables configured (established 4096 bind 4096)
[ 1.118277] TCP: reno registered
[ 1.118282] UDP hash table entries: 1024 (order: 0, 32768 bytes)
[ 1.118322] UDP-Lite hash table entries: 1024 (order: 0, 32768 bytes)
[ 1.118453] NET: Registered protocol family 1
[ 1.118587] RPC: Registered named UNIX socket transport module.
[ 1.118590] RPC: Registered udp transport module.
[ 1.118592] RPC: Registered tcp transport module.
[ 1.118594] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.118606] PCI: CLS 64 bytes, default 64
[ 1.118679] Trying to unpack rootfs image as initramfs…
[ 1.118947] rootfs image is not initramfs (no cpio magic); looks like an initrd
[ 1.122725] Freeing initrd memory: 2112K (c0f08000 - c1118000)
[ 1.123509] VFS: Disk quotas dquot_6.5.2
[ 1.123581] Dquot-cache hash table entries: 8192 (order 0, 32768 bytes)
[ 1.123794] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.123927] Installing knfsd (copyright © 1996 okir@monad.swb.de).
[ 1.124057] fuse init (API version 7.22)
[ 1.124204] SGI XFS with security attributes, large block/inode numbers, no debug enabled
[ 1.124423] msgmni has been set to 1002
[ 1.125346] async_tx: api initialized (async)
[ 1.125417] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 1.125422] io scheduler noop registered
[ 1.125424] io scheduler deadline registered
[ 1.125435] io scheduler cfq registered (default)
[ 1.125913] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[ 1.126165] mv_xor f1060800.xor: Marvell shared XOR driver
[ 1.162728] mv_xor f1060800.xor: Marvell XOR: ( xor cpy intr )
[ 1.192531] mv_xor f1060800.xor: freeing 1 in use descriptors!
[ 1.192538] mv_xor f1060800.xor: Marvell XOR: ( crc32c )
[ 1.193401] mv_xor f1060900.xor: Marvell shared XOR driver
[ 1.232706] mv_xor f1060900.xor: Marvell XOR: ( xor cpy intr )
[ 1.262530] mv_xor f1060900.xor: freeing 1 in use descriptors!
[ 1.262536] mv_xor f1060900.xor: Marvell XOR: ( crc32c )
[ 1.299167] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.320231] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
[ 1.905276] console [ttyS0] enabled
[ 1.927846] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 45) is a 16550A
[ 1.934804] brd: module loaded
[ 1.952185] loop: module loaded
[ 1.954432] ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ 1.961949] ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ 1.970062] scsi0 : ahci_mv_platform
[ 1.972577] scsi1 : ahci_mv_platform
[ 1.975017] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
[ 1.981659] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
[ 1.989396] armada-nand f10d0000.nand: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
[ 2.002424] Nand Flash Timing = [WP : 12], [WH : 10]
[ 2.006204] NAND device: Manufacturer ID: 0xad, Chip ID: 0xda (Hynix NAND 256MiB 3,3V 8-bit), 256MiB, page size: 2048, OOB size: 64
[ 2.016978] Bad block table found at page 131008, version 0x01
[ 2.021879] Bad block table found at page 130944, version 0x01
[ 2.026694] 8 ofpart partitions found on MTD device armada-nand
[ 2.031329] Creating 8 MTD partitions on “armada-nand”:
[ 2.035278] 0x000000000000-0x000000500000 : “U-Boot”
[ 2.039484] 0x000000500000-0x000000a00000 : “uImage”
[ 2.043707] 0x000000a00000-0x000000f00000 : “uRamdisk”
[ 2.048021] 0x000000f00000-0x00000c800000 : “image.cfs”
[ 2.052509] 0x00000c800000-0x00000d700000 : “rescue fw”
[ 2.056925] 0x00000d700000-0x00000eb00000 : “config”
[ 2.061076] 0x00000eb00000-0x00000f500000 : “reserve1”
[ 2.065418] 0x00000f500000-0x00000ff00000 : “reserve2”
[ 2.070709] SoC: model = 0x6820, revision = 0x4
[ 2.074038] mvPncVirtBase = 0xe0e00000, pncTcamSize = 1024
[ 2.078236] o 3 Giga ports supported
[ 2.080689] o SKB recycle supported (Disabled)
[ 2.084021] o NETA acceleration mode 4
[ 2.086648] o BM supported for CPU: 4 BM pools
[ 2.089973] o PnC supported (Enabled)
[ 2.092518] o RX Queue support: 8 Queues * 256 Descriptors
[ 2.096890] o TX Queue support: 8 Queues * 532 Descriptors
[ 2.101261] o GSO supported
[ 2.102932] o GRO supported
[ 2.104599] o Receive checksum offload supported
[ 2.108098] o Transmit checksum offload supported
[ 2.111684] o Driver ERROR statistics enabled
[ 2.114925] o Driver INFO statistics enabled
[ 2.118075] o Driver DEBUG statistics enabled

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

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

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

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

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

[ 2.190135] o Port 2 is connected to Linux netdevice
[ 2.195036] o egiga2, ifindex = 4, GbE port = 2
[ 2.202037] giga p=2: mtu=1500, mac=00:50:43:02:02:03 (platform)

[ 2.207245] libphy: orion_mdio_bus: probed
[ 2.210229] mdio_bus f1072004.mdio-mi: cannot get PHY at address 2
[ 2.215300] mdio_bus f1072004.mdio-mi: cannot get PHY at address 1
[ 2.220742] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 2.225998] ehci-pci: EHCI PCI platform driver
[ 2.229220] ehci-orion: EHCI orion driver
[ 2.232009] orion-ehci f1058000.usb: EHCI Host Controller
[ 2.236143] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[ 2.242729] orion-ehci f1058000.usb: irq 50, io mem 0xf1058000
[ 2.262100] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[ 2.267072] hub 1-0:1.0: USB hub found
[ 2.269532] hub 1-0:1.0: 1 port detected
[ 2.272464] xhci-hcd f10f0000.usb3: xHCI Host Controller
[ 2.276498] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[ 2.283138] xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
[ 2.287815] xHCI xhci_add_endpoint called for root hub
[ 2.287818] xHCI xhci_check_bandwidth called for root hub
[ 2.287914] hub 2-0:1.0: USB hub found
[ 2.290375] hub 2-0:1.0: 1 port detected
[ 2.293083] xhci-hcd f10f0000.usb3: xHCI Host Controller
[ 2.297111] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[ 2.303531] xHCI xhci_add_endpoint called for root hub
[ 2.303534] xHCI xhci_check_bandwidth called for root hub
[ 2.303624] hub 3-0:1.0: USB hub found
[ 2.306086] hub 3-0:1.0: 1 port detected
[ 2.308807] xhci-hcd f10f8000.usb3: xHCI Host Controller
[ 2.312852] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[ 2.319481] xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
[ 2.324171] xHCI xhci_add_endpoint called for root hub
[ 2.324174] xHCI xhci_check_bandwidth called for root hub
[ 2.324267] hub 4-0:1.0: USB hub found
[ 2.326728] hub 4-0:1.0: 1 port detected
[ 2.329431] xhci-hcd f10f8000.usb3: xHCI Host Controller
[ 2.333472] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[ 2.339861] xHCI xhci_add_endpoint called for root hub
[ 2.339863] xHCI xhci_check_bandwidth called for root hub
[ 2.339948] hub 5-0:1.0: USB hub found
[ 2.342420] hub 5-0:1.0: 1 port detected
[ 2.345280] usbcore: registered new interface driver usb-storage
[ 2.532100] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 2.537011] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 2.542382] ata1.00: ATA-10: WDC WD40EFRX-68N32N0, 82.00A82, max UDMA/133
[ 2.547890] ata1.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[ 2.553988] ata1.00: configured for UDMA/133
[ 2.557179] scsi 0:0:0:0: Direct-Access ATA WDC WD40EFRX-68N 82.0 PQ: 0 ANSI: 5
[ 2.564341] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB)
[ 2.570809] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 2.574873] ata2.00: ATA-10: WDC WD40EFRX-68N32N0, 82.00A82, max UDMA/133
[ 2.574908] sd 0:0:0:0: [sda] Write Protect is off
[ 2.574913] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 2.574954] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
[ 2.591666] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[ 2.591752] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 2.601793] ata2.00: configured for UDMA/133
[ 2.604962] scsi 1:0:0:0: Direct-Access ATA WDC WD40EFRX-68N 82.0 PQ: 0 ANSI: 5
[ 2.612095] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB)
[ 2.612259] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 2.622616] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[ 2.626660] sd 1:0:0:0: [sdb] Write Protect is off
[ 2.626676] sda: sda1 sda2 sda3 sda4
[ 2.627478] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.635863] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 2.635911] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
[ 2.693339] sdb: sdb1 sdb2 sdb3 sdb4
[ 2.696491] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 2.852302] mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[ 2.902226] i2c /dev entries driver
[ 2.915320] md: linear personality registered for level -1
[ 2.919519] md: raid0 personality registered for level 0
[ 2.923553] md: raid1 personality registered for level 1
[ 2.927576] md: raid10 personality registered for level 10
[ 2.931773] md: raid6 personality registered for level 6
[ 2.935801] md: raid5 personality registered for level 5
[ 2.939823] md: raid4 personality registered for level 4
[ 2.943969] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[ 2.951229] dm_crypt using the OCF package.
[ 2.954149] cpuidle: using governor ladder
[ 2.957023] armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
[ 2.965086] armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: chain(0)
[ 2.972277] mvCesaInit: channels=2, session=640, queue=256
[ 2.987124] armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
[ 2.994837] cesadev_init(c0734f0c)
[ 2.997371] TCP: cubic registered
[ 2.999391] NET: Registered protocol family 17
[ 3.002570] 8021q: 802.1Q VLAN Support v1.8
[ 3.005492] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 3.012232] registered taskstats version 1
[ 3.015459] mvebu-rtc f10a3800.rtc: setting system clock to 2017-08-04 07:38:12 UTC (1501832292)
[ 3.023324] md: Waiting for all devices to be available before autodetect
[ 3.028830] md: If you don’t use raid, use raid=noautodetect
[ 3.033620] md: Autodetecting RAID arrays.
[ 3.036425] md: Scanned 0 and added 0 devices.
[ 3.039575] md: autorun …
[ 3.041069] md: … autorun DONE.
[ 3.043184] RAMDISK: gzip image found at block 0
[ 3.310757] VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
[ 3.316185] devtmpfs: mounted
[ 3.317951] Freeing unused kernel memory: 256K (c0718000 - c0758000)
[ 4.564281] UBI: attaching mtd5 to ubi0
[ 4.624872] UBI: scanning is finished
[ 4.632867] UBI: attached mtd5 (name “config”, size 20 MiB) to ubi0
[ 4.637859] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 4.643383] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 4.648802] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 4.654400] UBI: good PEBs: 160, bad PEBs: 0, corrupted PEBs: 0
[ 4.659034] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 4.664893] UBI: max/mean erase counter: 15/8, WL threshold: 4096, image sequence number: 720868747
[ 4.672670] UBI: available PEBs: 22, total reserved PEBs: 138, PEBs reserved for bad PEB handling: 10
[ 4.680626] UBI: background thread “ubi_bgt0d” started, PID 1302
[ 5.691682] UBIFS: background thread “ubifs_bgt0_0” started, PID 1307
[ 5.738678] UBIFS: mounted UBI device 0, volume 0, name “config”
[ 5.743414] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 5.751275] UBIFS: FS size: 14475264 bytes (13 MiB, 114 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[ 5.759578] UBIFS: reserved for root: 683702 bytes (667 KiB)
[ 5.763956] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 31880235-EFCA-4091-ADF1-93B86F652D23, small LPT model
[ 22.289429] egiga0: mac address changed
[ 22.334290] egiga2: mac address changed
[ 22.384291] not_egiga0: mac address changed
[ 22.449606] jnl: driver (lke_9.2.0 lke_9.2.0_r256412_b67, LBD=ON) loaded at bf000000
[ 22.541209] ufsd: module license ‘Commercial product’ taints kernel.
[ 22.546304] Disabling lock debugging due to kernel taint
[ 22.554906] ufsd:: trace mask set to 0000000f
[ 22.557982] ufsd: driver (lke_9.2.0 lke_9.2.0_r256412_b67, build_host(“fsd-linux-bs10b”), 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_Grand_Teton_3.10.39_2015-08-26_lke_9.2.0_r256412_b67

[ 22.683402] bio: create slab at 1
[ 22.686525] Btrfs loaded
[ 22.703096] tun: Universal TUN/TAP device driver, 1.6
[ 22.706870] tun: © 1999-2004 Max Krasnyansky maxk@qualcomm.com
[ 22.877229] pool #1: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
[ 22.883335] egiga1: link up
[ 22.884891] egiga1: started
[ 22.889649] pool #0: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
[ 22.895769] egiga2: link up
[ 22.897321] egiga2: started
[ 25.943709] UBI: attaching mtd6 to ubi1
[ 25.974988] UBI: scanning is finished
[ 25.995049] UBI: attached mtd6 (name “reserve1”, size 10 MiB) to ubi1
[ 26.000214] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 26.005751] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 26.011175] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 26.016797] UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
[ 26.021345] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 26.027210] UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 2366529761
[ 26.035009] UBI: available PEBs: 30, total reserved PEBs: 50, PEBs reserved for bad PEB handling: 12
[ 26.043907] UBI: background thread “ubi_bgt1d” started, PID 3334
[ 27.067145] UBIFS: background thread “ubifs_bgt1_0” started, PID 3351
[ 27.128117] UBIFS: mounted UBI device 1, volume 0, name “reserve”
[ 27.132938] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 27.140801] UBIFS: FS size: 3047424 bytes (2 MiB, 24 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[ 27.148840] UBIFS: reserved for root: 143937 bytes (140 KiB)
[ 27.153220] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 0F7264F9-F023-4DC0-B8D4-26F3ADAAFD64, small LPT model
[ 27.171357] UBIFS: un-mount UBI device 1, volume 0
[ 27.174898] UBIFS: background thread “ubifs_bgt1_0” stops
[ 27.202947] UBI: attaching mtd7 to ubi2
[ 27.233904] UBI: scanning is finished
[ 27.243881] UBI: attached mtd7 (name “reserve2”, size 10 MiB) to ubi2
[ 27.249042] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 27.254561] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 27.259980] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 27.265594] UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
[ 27.270142] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 27.276002] UBI: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 2117877682
[ 27.283779] UBI: available PEBs: 20, total reserved PEBs: 60, PEBs reserved for bad PEB handling: 14
[ 27.291649] UBI: background thread “ubi_bgt2d” started, PID 3366
[ 28.418894] UBIFS: background thread “ubifs_bgt2_0” started, PID 3379
[ 28.479060] UBIFS: mounted UBI device 2, volume 0, name “reserve2”
[ 28.483973] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 28.491834] UBIFS: FS size: 4063232 bytes (3 MiB, 32 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[ 28.499876] UBIFS: reserved for root: 191915 bytes (187 KiB)
[ 28.504255] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 308F51DB-E087-4D22-9516-A25214A37C23, small LPT model
[ 28.633175] UBIFS: un-mount UBI device 2, volume 0
[ 28.636692] UBIFS: background thread “ubifs_bgt2_0” stops
[ 28.662698] egiga0: mac address changed
[ 28.672982] pool #2: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
[ 28.679066] egiga0: link up
[ 28.680620] egiga0: started
[ 39.670511] md: bind
[ 39.713483] md: bind
[ 39.716419] md/raid1:md0: active with 2 out of 2 mirrors
[ 39.720565] md0: bitmap file is out of date (0 < 1) – forcing full recovery
[ 39.726376] created bitmap (16 pages) for device md0
[ 39.730091] md0: bitmap file is out of date, doing full recovery
[ 39.847063] md0: bitmap initialized from disk: read 2 pages, set 262136 of 262136 bits
[ 39.859092] md0: detected capacity change from 0 to 2147418112
[ 39.867904] md0: unknown partition table
[ 39.902131] Adding 2097056k swap on /dev/md0. Priority:-1 extents:1 across:2097056k
[ 39.963877] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
[ 40.014231] EXT4-fs (sdb4): mounted filesystem with ordered data mode. Opts: (null)
[ 40.052383] md: md1 stopped.
[ 40.084231] md: bind
[ 40.085779] md: bind
[ 40.088598] md/raid1:md1: active with 2 out of 2 mirrors
[ 40.092802] created bitmap (1 pages) for device md1
[ 40.097653] md1: bitmap initialized from disk: read 1 pages, set 0 of 14889 bits
[ 40.159087] md1: detected capacity change from 0 to 3996489998336
[ 40.192599] md1: unknown partition table
[ 48.283596] EXT4-fs (md1): barriers disabled
[ 48.983471] EXT4-fs (md1): mounted filesystem with ordered data mode. Opts: barrier=0,usrquota,grpquota
[ 50.229896] restart sysinfod…
[ 97.262014] NET: Registered protocol family 10
[ 97.284303] nf_conntrack version 0.5.0 (8034 buckets, 32136 max)
[ 109.379435] ip_tables: © 2000-2006 Netfilter Core Team
[ 114.455029] Bridge firewalling registered
[ 119.315779] bio: create slab at 2


#1401

hi fox, was my dmesg.log of any help?


#1402

Yep… This thread for MyCloud Gen1 (Single drive).
Look for instructions for “MyCloud Mirror Gen2”


#1403

Hello everybody :slight_smile:
I am new to this topic and tried to read more than 1300 comments so far …
I have a WD Mycloud Gen 1 and want to install DSM on it. In the past i experiment with Linux with my raspberry pi.
I tried to install DSM, but there is no how to guid or something like that. In the how to install stands i should look in the file > connect via telnet. But there is no such file?! Please help me. i just need a seamless installation guide.
Thank you all


#1404

My cat /proc/cmdline is as follows,

console=ttyS0,115200n8, init=/sbin/init root=/dev/md0 raid=autodetect rootfstype=ext3 rw noinitrd debug initcall_debug swapaccount=1 panic=3 mac_addr=00:90:A9:41:57:A9 model=sq serial=WMC4M2684862 board_test= btn_status=0

I guess debug parameter was on when the kernel was compiled?
According to Debian Wiki,

Using the old “debug” kernel parameter in Jessie will turn on systemd debug logging as well as kernel debug logging. To get the old behaviour, do not use “debug”, instead use the kernel parameter “loglevel=7”.

I downloaded CleanDebian-Jessie.tgz for my Gen1.


#1405

@Fox_exe does Gen1 support any kernel higher than 3.2? the Btrfs team says they do not recommend using this kernel as a Btrfs partition but i’d love to get snapshots going on /data


#1406

@taohansen, no, i dont find kernel for Comcerto C2000.
All what i can recommended - you can try to porting btrfs from Synology.


#1407

I think I asked this a while back, but I wanted to see if anything has changed since, so I thought I’d ask it again…

Is there a way to upgrade DSM 5.2 running on WD MyCloud Gen1 to DSM 6.x or whatever the latest available firmware is without reformatting drive ?


#1408

how would i begin?


#1409

Read this post for DSM5 (MyCloudGEN1) :


#1410

First: thank you for this great thread, Fox_exe.

my myCloud gen1 runs perfect with clean-Debian, I love it :wink:

is it possible to get Debian on my mycloud single bay gen2 ?
I found this in the google folder https://drive.google.com/drive/folders/0B_6OlQ_H0PxVVG9qUGxXWWFwZWs

sorry for my confusion, but I bought the gen2 in April 2017 and there was only chroot for gen2.
therefore I only changed my gen1 to clean Debian.

next question, if possible, is there a way to keep my files on the gen2 or must I save them to another hdd if I don’t want to loose my files ?

bg
Michael


#1411

@m_f_g, if you follow instruction - you data will save, but rootfs will be small (3 GB).
But you can mount /home folder (Or /var) to Data partition (#2).
Or reformat HDD as you wish. Only one thing is important - 3rd partition is Ext3 or Ext4 and contains /boot/uImage|uRamdisk.


#1412

Hi, I am trying to restore my WD MyCloud GEN1 3TB. I unbricked the device before when I messed up my OMV install but it doesn’t seem to work this time with my broken Clean OS (Debian Jessie) install.

The device doesnt show up on the network anymore (no ssh/no ip from router) so I connected it directly to my Windows desktop (1 Gigabit connection). I started the restore process with IP change on my desktop, starting DHCP and TFTP server and pinging the correct MAC adress of my MyCloud.

However I can’t get any DHCP Request from the device even after 3 tries… (pinging for 15 minutes or so). The device LED just stays Orange.

Do I have to disasamble the device?