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

DSM dont have patches from WD kernel (Because in Synology better CPU - 1.2GHz vs our 650MHz), so network and samba is a bit slow.
Note: I got from Samba up to 55MBps on Read operations (Large files).

About “freezes” when copy many small files - same problem - Wrong “tuning” of network, so driver just crashes (“Buffer overflow” errors).

I can’t fix this things because i dont have this device (I exchange my Gen1 to Gen2), and I am a little lazy :smiley:

And how perform OMV?
What firmware can achieve the original wd firmware speed?
From synology can i without reformat and wipe goes to omv?
For me not good when contact always crashes during copy :frowning:

I tried openmediavault.
Good, not berak connection when copying, transmission work as need.
But i cant install mysql plugin, always error have i.

And how can i switch ssh language to english?

Once again messed up my OMV setup. Yesterday couldn’t go past the login screen as it was in constant ‘loop’ despite using the correct credentials. df -h showed my rootfs was full!! I don’t know what happened but think it’s the syncthing. I thought I’ll try on my spare WD black 2TB and currently installing OMV on top of clean debian.

What’s the reason of rootfs being full? And how to avoid in future.

PS ■■■■ WD, the last attached plate on HD with 2 hex screws has different thread size than other 3.

For MySQL - Disable omv-extras, do apt-get update, install “mysql-server”, enable omv-extras, do apt-get update again, install MySQL-Plugin. Same for Minidlna or Transmission (If got errors). Its old bug. Still not fixed by omvextrass.org.

For switch system language - do as root:
dpkg-reconfigure locale (Or locales).

Alweys check paths (And logs / cahce folders) for all addition software.
For find biggest folders, got to root folder (“/”) and run:
du -sh * | sort -h
Go inside biggest (Last) folder and run this command again. Continue until you find something interesting (Cache folder, some sort of DataBase, Temp files, Donwloads etc…)

1 Like

And what is the better from omv with mycloud gen 1?

1.17, or 2.02test?

I tried again install, disable, uninstall omv-extras, and install with apt-get.
ssh informed me:
Unable to set password for the MySQL “root” user, and here’s the end the install:
Unpacking mysql-server (from …/mysql-server_5.5.52-0+deb7u1_all.deb) …
Processing triggers for man-db …
Setting up libmysqlclient18:armhf (5.5.52-0+deb7u1) …
Setting up libdbd-mysql-perl (4.021-1+deb7u2) …
Setting up mysql-client-5.5 (5.5.52-0+deb7u1) …
Setting up mysql-server-core-5.5 (5.5.52-0+deb7u1) …
Setting up mysql-server-5.5 (5.5.52-0+deb7u1) …
Stopping MySQL database server: mysqld.
161111 10:30:58 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
161111 10:30:58 [Note] /usr/sbin/mysqld (mysqld 5.5.52-0+deb7u1) starting as process 5297 …
161111 10:30:58 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
161111 10:30:58 [Note] Plugin ‘FEDERATED’ is disabled.
161111 10:30:58 InnoDB: The InnoDB memory heap is disabled
161111 10:30:58 InnoDB: Mutexes and rw_locks use GCC atomic builtins
161111 10:30:58 InnoDB: Compressed tables use zlib 1.2.7
161111 10:30:58 InnoDB: Using Linux native AIO
161111 10:30:58 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(135987200 bytes) failed; errno 12
161111 10:30:58 InnoDB: Completed initialization of buffer pool
161111 10:30:58 InnoDB: Fatal error: cannot allocate memory for the buffer pool
161111 10:30:58 [ERROR] Plugin ‘InnoDB’ init function returned error.
161111 10:30:58 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
161111 10:30:58 [ERROR] Unknown/unsupported storage engine: InnoDB
161111 10:30:58 [ERROR] Aborting

161111 10:30:58 [Note] /usr/sbin/mysqld: Shutdown complete

Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action “start” failed.
dpkg: error processing mysql-server-5.5 (–configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.

dpkg: error processing mysql-server (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.5
mysql-server
Creating index of upgradeable packages …
Creating index of OpenMediaVault plugins …
E: Sub-process /usr/bin/dpkg returned an error code (1)

I see an error: InnoDB can’t allocate 128MB. Edit /etc/mysql/my.cnf (Or similar MySQL Config) and decrease InnoDB buffer size (16-32MB good). Or disable Inoodb support completly.

OK, i write out 2.0.2 omv image, and from scratch make everything again.
With your settings /innodb, and double install/ everything seems installed.
Transmission working, but mysql when i try enable, and set up, says error happen at settings, but seems working.

I think, synology is a little better, but sadly this connection breaking not too good :frowning:

And with 2.0.2 installed these plugins, the following message is in ssh:
insserv: warning: script is corrupt or invalid: /etc/init.d/…/rc0.d/K01wdled-boot
insserv: warning: script is corrupt or invalid: /etc/init.d/…/rc1.d/K01wdled-init
insserv: warning: script is corrupt or invalid: /etc/init.d/…/rc2.d/S03wdled-init
insserv: warning: script is corrupt or invalid: /etc/init.d/…/rc3.d/S03wdled-init
insserv: warning: script is corrupt or invalid: /etc/init.d/…/rc4.d/S03wdled-init
insserv: warning: script is corrupt or invalid: /etc/init.d/…/rc5.d/S03wdled-init
insserv: warning: script is corrupt or invalid: /etc/init.d/…/rc6.d/K01wdled-init
insserv: warning: script is corrupt or invalid: /etc/init.d/…/rcS.d/S14wdled-boot

Looks like im in trouble again :frowning:
I set up everything, and decide im ready to use it normal.
I shut down via webui, build to box, and turn on.
The hdd powered up, the led light, but not became ip adress.
I tried restart router, but not help.
I cannot ssh, because not ask ip adress from my router.
Is any way to rescue it?
Or when i mount out the hdd, where can i find settings?
When i configure, at ethernet adapter i see 3 adapter, and i config just eth0.
Maybe the problem, i not delete the others?

I can telnet to wdmycloud, what need to configure ethernet?

Thanks Mr Fox :+1: and will do if had similar problem in future.

Your files, guides and info here is invaluable and once again very much appreciate all your efforts into putting all together.

Need enable “pfe” (Kernel module). Normally its autoload from /etc/modules, but not all time. Find a different way if it. (For check, run: lsmod, for load: modprobe pfe)

I have problems with plugin WordPress too…
Try disable omvextras aptget update install WordPress enable OMVextras apt-get update install WordPress plugin.
Work, but some time later freeze whole device.
Has some one fix for it?

Other:
Can I install tvheadend and oscam?
Thx

I try VDR too, but n ot see my usb dvb-t sticks.
These are supported linux from 2.6 kernel.

I find oscam , but at step3 i l have error with openssl
cmake -DWEBIF=1 …

http://linuxsat-support.com/showthread.php/16437-HOWTO-Compile-OSCAM-on-Raspberry-Pi-Dockstar-or-similar-NAS-running-Debian

I successfully install oscam:
http://linuxsat-support.com/showthread.php/30959-Tutorial-Updating-Oscam-to-latest-SVN-Ubuntu-amp-debian-with-Simplebuild?highlight=oscam+armhf

and tvheadend:

But still no dvb-t device recognize :frowning:
Here is my dvb-t device, and howto to install v4l dvb drivers, but no luck.
https://www.linuxtv.org/wiki/index.php/Pinnacle_PCTV_nano_Stick_(73e)
Here is the procedure:
apt-get install dvb-utils mercurial build-essential linux-headers-$(uname -r)
But linux-headers i cannot install.
How can i install this package?

Can someone gave me advice how to install driver?
I try install omv to my latop, with tvheadend, and there is supported my stick out of box.

I need too help, how can i backup rootfs.img from my nass hdd.
with normal dd, or with recovery tftp?

Hi @Fox_exe

my MC gen2 run’s good with your Debian build, but no USB will work.
The commands for @Hong does not work for me.

echo 13 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio13/direction
echo 1 > /sys/class/gpio/gpio13/value

I see an error in dmesg.
[ 3.553073] mdio_bus f10c0054.mdio-mi: cannot get PHY at address 3
[ 3.558486] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 3.563841] ehci-pci: EHCI PCI platform driver
[ 3.567155] ehci-orion: EHCI orion driver
[ 3.570351] xhci-hcd: probe of f1058000.usb3 failed with error -16
[ 3.575555] usbcore: registered new interface driver usb-storage

[ 8.901463] armada_thermal: probe of f10e8078.thermal failed with error -22

The file /sys/kernel/debug/usb/devices is empty.
What can I do to make USB work? Thank you so much.

Not fixed in Marvell 3.10.70+ kernel, but work in WD build 3.10.36.

Fox_exe, thank you so much for all of the tutorials and stuff… it’s made my WD MyCloud very useable and extensible.

I’m wondering where I would get the clean debian for Wheezy though?.. I’m able to easily find Jessie, but I have need to use Wheezy specifically.

Any help is greatly appreciated :slight_smile:

For Gen2 - just replace Jessie to Wheezy in apt repo and do apt-get dist-upgrade.
For Gen1 - Same, but need check /etc/modules (Need load kernel module “pfe.ko” - Its a network driver.)

Thanks for the response… so I understand.

  1. Follow procedure to install Clean OS(Debian) [Which will give me Jessie]
  2. Update the /etc/apt/sources.list to be Wheezy repos
  3. Run apt-get dist-upgrade

I think I got lost on “Same, but need check /etc/modules”. I do have a Gen1… how do I load the network driver? Should I do that before I “downgrade” to Wheezy?

In Clean debian - english.7z - all already set as needed. No need to modify anything (Only change apt repo).
Also google for “Downgrade Jessie to Wheezy”. You can find many useful info about this process (Only one difference - we have armv7 cpu (armhf), not regulat x86 (i686))

Also: “Kernel and rootfs v2.7z” and v3 - is Wheezy. You can install it (And upgrade kernel to latest 3.2.68 for more stability)