Closed GoogleCodeExporter closed 9 years ago
are you sure it's available within 2.6.22 kernel?
Original comment by themiron.ru
on 29 Aug 2011 at 6:30
It's module needed for mdadm to work (software raid).
It's available since 2.6.17 kernel.
Original comment by j...@lesiuk.net
on 29 Aug 2011 at 7:08
http://scotgate.org/2006/07/03/growing-a-raid5-array-mdadm/
btw, thank you for your answer
Original comment by j...@lesiuk.net
on 29 Aug 2011 at 7:09
https://raid.wiki.kernel.org/index.php/Linux_Raid
Original comment by j...@lesiuk.net
on 29 Aug 2011 at 7:11
This requires CONFIG_MD=y in kernel config. Probably, modules will not work
with kernel from public available firmware images. So, rebuild of entire
firmware is needed.
We can prepare custom build for specific router (You didn't provide such info),
but raid support in 2.6.22 are very old and can contain some serious bugs.
Original comment by lly.dev
on 1 Sep 2011 at 7:56
It's wl500gpv1
Original comment by j...@lesiuk.net
on 2 Sep 2011 at 7:35
Well, I just checked that full kernel rebuild is not needed. And you need
MIPS32r1 modules.
At last, which kernel raid options (see list below) do you need?
CONFIG_MD_LINEAR
CONFIG_MD_RAID0
CONFIG_MD_RAID1
CONFIG_MD_RAID10
CONFIG_MD_RAID456
Original comment by lly.dev
on 2 Sep 2011 at 7:49
CONFIG_MD_RAID0
CONFIG_MD_RAID1
Original comment by j...@lesiuk.net
on 2 Sep 2011 at 8:16
Thank you for your support.
I really appreciate it.
Original comment by j...@lesiuk.net
on 2 Sep 2011 at 8:24
Try this - http://wl500g.googlecode.com/files/modules-md.tbz2
Modules compatible with builds newer than r3231, you can find it on
http://asus.vectormm.net/rtn/
http://wpte.kicks-ass.net/downloads/Oleg Firmware/Nightlys/1.9.2.7-rtn/
Original comment by lly.dev
on 2 Sep 2011 at 6:20
Thank you.
Original comment by j...@lesiuk.net
on 2 Sep 2011 at 7:34
If someone need it - there is mdadm 3.2.1
http://lesiuk.net/files/asus-rt/
Original comment by j...@lesiuk.net
on 2 Sep 2011 at 7:51
[deleted comment]
I just wanna say that it's working perfect.
Original comment by j...@lesiuk.net
on 2 Sep 2011 at 11:37
Well, we will add this modules to public build. Probably, after adding some
kernel.org upstream fixes.
If it is possible, please test raid repair procedures.
Original comment by lly.dev
on 3 Sep 2011 at 5:47
Partitions on mdX device are not working.
I can fdisk it but there is no md0p1, md0p2, etc files in /dev/.
I will try to test repair procedures later.
Original comment by j...@lesiuk.net
on 7 Sep 2011 at 7:36
It is a problem in udev + userspace daemon (mdev), seems to be /etc/mdev.conf
has to be modified. See line like:
md[0-9]* 0:0 660
Probably, you has to add following line to mdev.conf:
md[0-9]+p[0-9]+ 0:0 660
It will be best, if you can find proper line for mdev.conf.
Original comment by lly.dev
on 7 Sep 2011 at 8:00
actually, mdX is already partitions
second - names could be either /dev/md_d0p1 or /dev/md/d0p1,
check DEVICE NAMES section and --auto options explanation in mdadm(8)
Original comment by themiron.ru
on 7 Sep 2011 at 8:47
mdadm from http://lesiuk.net/files/asus-rt/ says:
mdadm: can't resolve symbol 'posix_memalign' in lib 'mdadm'.
or
mdadm: can't resolve symbol 'nftw64' in lib 'mdadm'.
I'm trying to crosscompile my own one but it's something that will take some
days :(
Original comment by omikh...@gmail.com
on 5 Oct 2011 at 8:52
Original issue reported on code.google.com by
j...@lesiuk.net
on 29 Aug 2011 at 6:00