Synology OS on WD my Cloud - new Hope

Can anyone comment on running DSM add-on packages like Plex on the My Cloud? Any add-on packages that don’t run on the My Cloud?

Also, can one update to the latest version of DSM from within the DSM UI?

thanks - worked it out in the end

is this package upgradable using the DSM upgrade menus, or will that break it. eg upgrade to dsm 6 RC?

cheers

Upgrade fro GUI won’t work - need special update package (With kernel for WD and some tweaks)

i’ve also done switching wd my cloud to DSM 5.2 based on Fox’s guild. it’s stable unless sudden higher cpu utilization 20~30% due to entry.cgi_SYNO.Core.System.Utilization[1].get. However , there’s one major issue , it’s a convenient function when plug a usb stick or external hd to USB3.0 and DSM will auto-mount it as a folder or neighborhood share , but it doens’t work right now after DSM based firmware.

`WDMyCloud> dmesg | tail
[79363.630428] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[79363.657835] scsi2 : usb-storage 2-1:1.0
[79364.945399] scsi 2:0:0:0: Direct-Access JetFlash Transcend 16GB 1100 PQ
[79364.955540] sd 2:0:0:0: [sdb] 30851072 512-byte logical blocks: (15.7 GB/14.7
[79364.958561] sd 2:0:0:0: Attached scsi generic sg1 type 0
[79364.987328] sd 2:0:0:0: [sdb] Write Protect is off
[79364.992334] sd 2:0:0:0: [sdb] Mode Sense: 43 00 00 00
[79365.000390] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, does
[79365.028042] sdb: sdb1
[79365.034824] sd 2:0:0:0: [sdb] Attached SCSI removable disk
WDMyCloud>
WDMyCloud> mount
/dev/root on / type ext3 (defaults)
/sys on /sys type sysfs (0)
none on /dev/pts type devpts (gid=4,mode=620)
/tmp on /tmp type tmpfs (0)
/run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
/proc/bus/usb on /proc/bus/usb type usbfs (0)
securityfs on /sys/kernel/security type securityfs (0)
/dev/sda3 on /volume1 type ext4 (0)
WDMyCloud>
WDMyCloud> cat /proc/partitions
major minor #blocks name

8 0 1953514584 sda
8 1 1997824 sda1
8 2 1000448 sda2
8 3 1948797952 sda3
8 4 1515520 sda4
8 5 97280 sda5
8 6 98304 sda6
8 7 1024 sda7
8 8 2048 sda8
8 16 15425536 sdb
8 17 2490240 sdb1
WDMyCloud>
DSM Control center said that disk is uninnitiallized.
`

Is there way to solve this issue ?

there’s always error log which prompt with prefix “BUG” when execute App on WDC, for example

WDMyCloud> dmesg | grep BUG | more
[121491.169991] BUG: Bad page state in process transmissiond pfn:02b28
[121491.322645] BUG: Bad page state in process transmissiond pfn:02b29
[121491.475367] BUG: Bad page state in process transmissiond pfn:02b2a
[121491.628039] BUG: Bad page state in process transmissiond pfn:02b2b
[121491.780705] BUG: Bad page state in process transmissiond pfn:02b80

check with that message … i’ve found it may related to module drivers (perhaps.)

[122267.562254] BUG: Bad page state in process transmissiond pfn:00e14
[122267.568653] page:849ad280 count:0 mapcount:0 mapping: (null) index:0x0
[122267.575389] page flags: 0x200(arch_1)
[122267.579190] Modules linked in: cifs udf isofs loop usbhid hid usblp zlib_def
[122267.623480] [<84011471>] (unwind_backtrace+0x1/0x94) from [<8405faaf>] (bad_
[122267.631984] [<8405faaf>] (bad_page+0x7b/0xa4) from [<8405fe47>] (get_page_fr
[122267.641270] [<8405fe47>] (get_page_from_freelist+0x2f7/0x3f4) from [<8405fff
[122267.651866] [<8405fff1>] (__alloc_pages_nodemask+0xad/0x444) from [<84060393
[122267.661803] [<84060393>] (_get_free_pages+0xb/0x30) from [<8361989d>] (pfe
[122267.671735] [<8361989d>] (pfe_hif_rx_poll+0x218/0x418 [pfe]) from [<8425953d
[122267.681483] [<8425953d>] (net_rx_action+0x55/0x148) from [<8402b98f>] (_do
[122267.690337] [<8402b98f>] (__do_softirq+0x77/0x108) from [<8402bc69>] (irq_ex
[122267.698678] [<8402bc69>] (irq_exit+0x2d/0x5c) from [<8400d58b>] (handle_IRQ+
[122267.706736] [<8400d58b>] (handle_IRQ+0x53/0x78) from [<8400c941>] (__irq_usr
WDMyCloud>

anyway , it’s still working , but bad page seems very serious /alert message in my viewpoint

Perhaps the disk has to be called not “sdb”, but “usb” or somehow on another… (hda? usd? hmmm…)
In any way you can mount external disk manually:
mount /dev/sdb1 /volume1/somefolder

it’s quite wired so far…you may see i’ve create a USB directory under volume1

WDMyCloud> ls -al /volume1/ | grep USB
drwxr-xr-x 2 root root 4096 Mar 10 21:56 USB
WDMyCloud> mount /dev/sdb1 /volume1/USB/
mount: mounting /dev/sdb1 on /volume1/USB/ failed: No such device
WDMyCloud>

it couldn’t be mounted successfully.

i checked with parted following…there’s actually /dev/sdb"1" it is.

WDMyCloud> parted -l
Model: ATA WDC WD20EFRX-68E (scsi)
Disk /dev/hda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 2097kB 2048MB 2046MB ext3 primary
2 2048MB 3072MB 1024MB linux-swap(v1) primary
4 3072MB 4624MB 1552MB primary
5 4624MB 4724MB 99.6MB primary
6 4724MB 4824MB 101MB primary
7 4824MB 4826MB 1049kB primary
8 4826MB 4828MB 2097kB primary
3 4828MB 2000GB 1996GB ext2 primary

Model: ATA WDC WD20EFRX-68E (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 2097kB 2048MB 2046MB ext3 primary
2 2048MB 3072MB 1024MB linux-swap(v1) primary
4 3072MB 4624MB 1552MB primary
5 4624MB 4724MB 99.6MB primary
6 4724MB 4824MB 101MB primary
7 4824MB 4826MB 1049kB primary
8 4826MB 4828MB 2097kB primary
3 4828MB 2000GB 1996GB ext2 primary

Model: JetFlash Transcend 16GB (scsi)
Disk /dev/sdb: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 57.3kB 15.8GB 15.8GB primary lba

WDMyCloud>

Maybe should i reinstall the whole system to recover?

Nope, USB problems confirmed.
I will look what can i do…

Hello Fox~

I’ve found a manually way to solve , but not very smart (hopefully it will automatically mount on DSM system ) refer from this link [SOLVED]change Default mount options (VFAT / FAT / ISO) / Forum & Wiki discussion / Arch Linux Forums

my cloud could read and write file on external usb stick …

WDMyCloud> mount -i -t vfat -oumask=0000,iocharset=utf8 /dev/sdb1 /volume1/homes
/usbshare/
WDMyCloud> mount
/dev/root on / type ext3 (defaults)
/sys on /sys type sysfs (0)
none on /dev/pts type devpts (gid=4,mode=620)
/tmp on /tmp type tmpfs (0)
/run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
/proc/bus/usb on /proc/bus/usb type usbfs (0)
securityfs on /sys/kernel/security type securityfs (0)
/dev/sda3 on /volume1 type ext4 (0)
/dev/sdb1 on /volume1/homes/usbshare type vfat (umask=0000,iocharset=utf8)
WDMyCloud> ls /volume1/homes/usbshare/
System Volume Information 銋㎡?
WDMyCloud> touch /volume1/homes/usbshare/abc.txt
WDMyCloud> rm -rf /volume1/homes/usbshare/abc.txt
WDMyCloud>

i don’t know whether there’s a way to make a server buttons (ex : shutdown , restart , mount usb) on DSM web GUI to ease difficulty ssh?

1 Like

this issue should be solved.

when i follow the instruction to parted new partition for DSM.

mkpart primary 4828M -2M <— it may cause partition without correct infomation,when chcking with fsck -t ext3 /dev/sda3 , it prompt the erorrs… linux parted tool has hidden issue…it has been discussion @ linux forum.

at first , i doesn’t mind the error message from fsck and just keep going and boot into the reinstall DSM message…

unless i do resize2fs /dev/sda3, i could success boot into DSM , i didn’t fully reinstall DSM again , so it’s a broken DSM image in my system.

when i execute every App (whatever transmission , snmp , photo…) , it always show up error with bad page…

After i reinstall DSM image (including DSM-kernel and DSM-rootfs) , no error message with BUG Prefix appears!!

MyCloud> uptime
00:03:52 up 35 min, load average: 6.98, 7.36, 6.95
MyCloud> dmesg -T | grep BUG
MyCloud>

Thanks God!

List of compatible MYCLOUD hardware with same SoC hardware?

Is all the basic functionality working? DLNA? etc?

Please make sure to keep posting the source for modified GPL code so Synology can’t get this taken down.

Yes, almost all functions works good.
All sources available on my G.Drive (Include diff patch for kernel and new ramdisk).

Thanks. What about sleeping? v4 of firmware is driving me crazy with the ridiculous wake ups and 3am firmware checks that are supposed to be disabled.

What about the list of hardware that has the MINDSPEED Comcerto C2000? I see there are Gen2 MyCloud devices now.

WDMyCloud:~# cat /proc/cpuinfo
Processor : ARMv7 Processor rev 1 (v7l)
processor : 0
BogoMIPS : 1299.25

processor : 1
BogoMIPS : 1292.69

Features : swp half thumb fastmult vfp edsp neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 1

Hardware : Comcerto 2000 EVM
Revision : 0001
Serial : 0000000000000000

Nope. WDMC Gen2 have Marwell Armada 375 CPU (And newer kernel)

I find Comcerto CPU only in WDMC Gen1 and in Synology DS414j

hmn…it stil happens …when i execute Transmission , Photo , Fire folder…@ the same time

it occasionally occurs…

[145531.261933] BUG: Bad page state in process transmissiond pfn:02a33
[145531.268336] page:849e5660 count:0 mapcount:0 mapping: (null) index:0x0
[145531.275132] page flags: 0x200(arch_1)
[145531.278930] Modules linked in: cifs udf isofs loop usbhid hid usblp zlib_def
[145531.323356] [<84011471>] (unwind_backtrace+0x1/0x94) from [<8405faaf>] (bad_
[145531.331897] [<8405faaf>] (bad_page+0x7b/0xa4) from [<8405fe47>] (get_page_fr
[145531.341210] [<8405fe47>] (get_page_from_freelist+0x2f7/0x3f4) from [<8405fff
[145531.351844] [<8405fff1>] (__alloc_pages_nodemask+0xad/0x444) from [<84060393
[145531.361891] [<84060393>] (_get_free_pages+0xb/0x30) from [<8361989d>] (pfe
[145531.371877] [<8361989d>] (pfe_hif_rx_poll+0x218/0x418 [pfe]) from [<8425953d
[145531.381668] [<8425953d>] (net_rx_action+0x55/0x148) from [<8402b98f>] (_do
[145531.390561] [<8402b98f>] (__do_softirq+0x77/0x108) from [<8402bc69>] (irq_ex
[145531.398900] [<8402bc69>] (irq_exit+0x2d/0x5c) from [<8400d58b>] (handle_IRQ+
[145531.406979] [<8400d58b>] (handle_IRQ+0x53/0x78) from [<8400c941>] (__irq_usr

I’ve no idea~

Ha… All my unsolved problems in this log :smiley:

unwind_tables - when i try use newer version of gcc for compile kernel
pfe_hif - Errors in network module (If compile kernel w/o netfilter)
IRQ - few errors from Comcerto part of kernel…

WD upgraded pfe sources and add network patches in latest kernel (GPL sources). Maybe its helps. I try it later.

We hope there will be new good news for this problem~~

due to memory pages error, it occasionally cause wd my cloud hangs without response(force to switch power)

there’s only one way to avoid is to run less app(rsync,transmission,photo) simultaneously.

Looks as if he lacks memory.
Check swap and memory sage (Run in SSH):
free or free -m

Hello Fox

My cloud hanged again yesterday…

Due to i want to find a way let my cloud auto mount the USB disk, i plug and unplug the USB stick on My Cloud several times before it hanged.
When i switch off/on my cloud …i forgot to plug usb disk back to my cloud.

Suddenly , something surprise to me is that there’s no pfe and unwind error in my log (dmesg -T)

It’s a possible due to USB module driver cause pfe and undwind error ?

here’s my log boot up to 18 hr . ( it still runs photo backup and transmission …etc)

MyCloud> uptime
19:26:28 up 18:13, load average: 6.00, 4.13, 3.16
MyCloud> free
total used free shared buffers
Mem: 234620 183776 50844 0 19884
Swap: 1000444 86468 913976
Total: 1235064 270244 964820
MyCloud>
MyCloud> dmesg | tail
[62111.837238] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[62126.860528] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[62137.873467] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[62151.887016] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[62659.477834] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[63225.641557] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[63743.776477] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[64205.891171] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[64792.029048] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[65330.727329] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
MyCloud>
MyCloud> lsmod | more
Module Size Used by Tainted: P
cifs 207311 0
udf 67696 0
isofs 26859 0
loop 10690 0
usbhid 18472 0
hid 35911 1 usbhid
usblp 7865 0
zlib_deflate 15744 0
libcrc32c 732 0
hfsplus 67355 0
md4 2679 0
hmac 2075 0
fuse 62396 0
vfat 7112 0
fat 36177 1 vfat
arc4 1032 0
cryptosoft 9783 0
ecryptfs 71812 0
sha512_generic 15867 0
sha256_generic 7747 0
sha1_generic 1528 0
ecb 1478 0
m86xxx_elp 105822 0
authenc 4378 0
cryptodev 8555 0
ocf 13022 3 cryptosoft,m86xxx_elp,cryptodev
chainiv 2533 0
des_generic 34713 0
crc32c 2414 1
eseqiv 1976 0
krng 891 0
ansi_cprng 3662 0
cts 2890 0
rng 1371 4 chainiv,eseqiv,krng,ansi_cprng
aes_generic 32484 0
md5 1375 0
cbc 1828 0
cryptomgr 1774 0
pcompress 1151 0
aead 3894 2 authenc,cryptomgr
crypto_hash 9989 11 cifs,libcrc32c,md4,hmac,cryptosoft,sha512_generi
crypto_blkcipher 9337 7 cryptosoft,ecb,authenc,chainiv,eseqiv,cts,cbc
crypto_wq 565 1 chainiv
,krng,ansi_cprng,cts,aes_generic,cbc,cryptomgr,pcompress,aead,crypto_hash,crypto
dm_snapshot 24777 0
crc_itu_t 1057 1 udf
crc_ccitt 1053 0
quota_v2 2890 0
quota_tree 6285 1 quota_v2
psnap 1306 0
p8022 777 0
llc 2683 2 psnap,p8022
sit 7785 0
tunnel4 1699 1 sit
ipv6 216773 81 sit
sg 17625 0
pfe 365409 0
xhci_hcd 66299 0
MyCloud>

hmn…here comes error log again ( that’s not usb issue)

you may see a lot of swap (~410Mb) is using…

MyCloud> free
total used free shared buffers
Mem: 234620 188508 46112 0 4292
Swap: 1000444 409628 590816
Total: 1235064 598136 636928
MyCloud> dmesg -T | grep BUG | tail
[Sun Mar 20 21:03:08 2016] BUG: Bad page state in process pgsql.sh pfn:07986
[Sun Mar 20 21:04:04 2016] BUG: Bad page state in process rsync pfn:05131
[Sun Mar 20 21:04:04 2016] BUG: Bad page state in process rsync pfn:050d8
[Sun Mar 20 21:04:04 2016] BUG: Bad page state in process rsync pfn:0516d
[Sun Mar 20 21:04:09 2016] BUG: Bad page state in process rsync pfn:0524a
[Sun Mar 20 21:04:11 2016] BUG: Bad page state in process SYNO.Core.Media pfn:0
[Sun Mar 20 21:04:18 2016] BUG: Bad page state in process synofstool pfn:044d7
[Sun Mar 20 21:04:42 2016] BUG: Bad page state in process rsync pfn:05234
[Sun Mar 20 21:04:42 2016] BUG: Bad page state in process ash pfn:050f4
[Sun Mar 20 21:04:42 2016] BUG: Bad page state in process ash pfn:053e8
MyCloud>