[Hardy][Regression] dmraid45 target missing in latest kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Fakeraid support for raid 5 seems to be missing in the latest kernel; the daily build (as of 4/21/08) of the Hardy liveCD would not work.
I enabled the universe repository and used the following commands after booting the live-cd on my system with built-in Nvidia fakeraid.
apt-get update
apt-get install dmraid
modprobe dm-raid4-5
dmraid -ay
Hardy Beta with Kernel 2.6.24-12: Works!
Hardy RC with Kernel 2.6.24-16: Returns "ERROR: device-mapper target type "raid45" not in kernel"
It would seem that whatever fix made it into 2.6.24-12 was removed/changed on 2.6.24-16.
Related branches
jim_24601 (jim-24601) wrote : | #1 |
benny (bennysan) wrote : | #2 |
I confirm with Intel ICH9R :
root@ares:~# dmraid -s
/dev/sdb: "jmicron" and "isw" formats discovered (using isw)!
/dev/sda: "jmicron" and "isw" formats discovered (using isw)!
*** Group superset isw_bcjhcdcaee
--> Subset
name : isw_bcjhcdcaee_data
size : 1953536512
stride : 128
type : raid5_la
status : ok
subsets: 0
devs : 3
spares : 0
root@ares:~# lsmod | grep dm_raid
dm_raid4_5 25984 0
dm_mod 62660 2 dm_raid4_
root@ares:~# dmraid -ay
/dev/sdb: "jmicron" and "isw" formats discovered (using isw)!
/dev/sda: "jmicron" and "isw" formats discovered (using isw)!
ERROR: device-mapper target type "raid45" not in kernel
root@ares:~# dmesg | tail
[ 1093.896667] device-mapper: table: 253:0: raid45: unknown target type
[ 1093.896673] device-mapper: ioctl: error adding target to table
I will try to compile a new kernel asap.
Stefan Bader (smb) wrote : | #3 |
It look like the module naming went a bit wrong. I put up a ppa for lum at https:/
Prince (pkarlos-76) wrote : | #4 |
Okay by going to the site mentioned by Stefan I was able to test out his fix and get it working. This is what I did;
1. Added the sources listed on https:/
2. Did a apt-get upgrade which upgraded the linux-ubuntu-
3. Rebooted once that was complete
4. ctrl-alt f1 to see if any error messages to appear, and the following did ""ERROR: device-mapper target type "raid45" not in kernel"" however it did load my raid array and mount it as my /home and is working.
* Note; I did modify my startup in the previous distro to put a delay in the startup due to lag issues with my drives, however not sure if this carried over for the upgrade to hardy heron. SO Ill have to find the file and check this later to see if its still needed.
Crimson_Fox (crimson-fox-) wrote : | #5 |
I can confirm this works on my NVidia fakeraid. I booted the Hardy live CD and ran:
dpkg -i linux-ubuntu-
dmraid -ay
Looks like the module was renamed from dm-raid4-5 to dm-raid45, thanks Stefan!
Prince, the reason you're getting that error is because the module is not being loaded at boot. That's ok as long as you're not booting from the array. If you do want it loaded at boot time you're going to have to modify your initrd:
apt-get install initramfs-tools
echo "dm-raid45" >> /etc/initramfs-
update-initramfs -u
You might have to reinstall dmraid as well, not sure.
jim_24601 (jim-24601) wrote : | #6 |
I confirm, the patch fixes the problem. I installed the x86_64 deb, edited the initramfs modules to change the module name, updated the initramfs and rebooted. The new 2.6.24-16 kernel booted off my nvidia fakeraid perfectly happily. Thanks Stefan!
Prince (pkarlos-76) wrote : | #7 |
I can confirm Crimson's solution for bootup also worked.
Stefan Bader (smb) wrote : | #8 |
- Rename the dm-raid45 module Edit (771 bytes, text/plain)
SRU Justification:
Impact: Regression for users of dmraid.
This is a regression in Hardy which is very simple to fix and otherwise prevents the use of fakeraid disks (limited hardware controllers on motherboards) with RAID level 4 and 5.
Fix description: Device-mapper targets normally follow a certain naming scheme, which enables loading missing target types. The fix will change the Makefile in LUM to build dm-raid45.ko instead of dm-raid4-5.ko.
Patch: [Attached]
Testcase: Activation of dmraid for RAID4 or RAID5 arrays fails with error message "dm-raid45 is not in kernel". Verification of fix has been documentet in the bug report.
Changed in linux: | |
assignee: | nobody → stefan-bader-canonical |
importance: | Undecided → Medium |
milestone: | none → ubuntu-8.04.1 |
status: | New → In Progress |
status: | In Progress → Fix Committed |
martin lüdeke (martin-xn--ldeke-kva) wrote : | #9 |
hello, excuse my bad english.
i am new in the linux world and i try to install ubuntu 8.04 hardy.
my computer is a dell precision T3400.
i have 3 harddrives in an raid 5 array.
on one partition is windows xp installed, so i have to start from live cd
i tried all thinks above and i had seen my array with "dmraid -s"
i also made it activ with "dmraid -ay".
than i tried to install, but there were read/write mistakes on harddrives. one harddrive is broken.
now i have a new one.
some days later, today i will try it again, but every think is changed on "https:/
who can help me?
i don' know how to rename
i need a complete way how to go!
or were can i get a life cd include raid functionality
Stefan Bader (smb) wrote : | #10 |
- dm-raid45 for 2.6.24-16 Edit (139.7 KiB, application/octet-stream)
I am sorry about the PPA. I had some cleanups there and temporarily removed some packages before I rebuild. This should be fixed in a few minutes. Renaming the module alone unfortunately does not help because the name of the modules is also part of the module itself (set on compile time).
I am in the progress of getting the fix into 8.04.1 (which would then also be on the live CD). The only other way is to have a matching module and copy that. I added one for 2.6.24-16 (i386) but this also changes with different kernels.
qweadawdq (asdasdasd1q2wqeq) wrote : | #11 |
So let me see if i understand.
It is impossible to use the LiveCD from Hardy Heron to install it on a computer with Raid5?
I've managed to reach the X in Desktop (break=bottom, noapic noacpi..), and now i found this thread which has the raid45 module. But is it possible to install it from this environment? Or will we need another patched Install CD?
thank you already.
Phk
qweadawdq (asdasdasd1q2wqeq) wrote : | #12 |
sorry, i now understand when you said:
"I am in the progress of getting the fix into 8.04.1 (which would then also be on the live CD). The only other way is to have a matching module and copy that. I added one for 2.6.24-16 (i386) but this also changes with different kernels."
Could you please post an AMD64 version of the module here? :)
thanks
martin lüdeke (martin-xn--ldeke-kva) wrote : | #13 |
thanks @stefan,
but what shall i do with that file on my life session?
please give/show me a way how to operate, thanks.
Stefan Bader (smb) wrote : | #14 |
- dm-raid45 for 2.6.24-16 (amd64) Edit (118.8 KiB, application/octet-stream)
@Phk, well ok this time. But in the meantime the ppa is rebuild. But I admit this requires a bit more bandwidth.
@martin, did you try Crimson_Fox's approach?
https:/
martin lüdeke (martin-xn--ldeke-kva) wrote : | #15 |
@ stefan, "https:/
that doesn't work, but i think i found a way. i will try it tomorrow if possible. if it works, i will send a message and the way.
Crimson_Fox (crimson-fox-) wrote : | #16 |
Hey Martin, if you're trying to get it to work from a liveCD give this a shot:
sudo su
echo "deb http://
apt-get update; apt-get install dmraid
cd /lib/modules/
wget http://
mv dm-raid45.ko-amd64 dm-raid45.ko
dmraid -ay
Crimson_Fox (crimson-fox-) wrote : | #17 |
BTW, that would be for the AMD64 build. If you're using the i386 build use this instead:
sudo su
echo "deb http://
apt-get update; apt-get install dmraid
cd /lib/modules/
wget http://
dmraid -ay
Jochen Schneider (panama-joe) wrote : | #18 |
I did exactly as you described for AMD64, and I now have two modules in /lib/modules/
But I# am still getting the same error message when I do dmraid -ay:
ERROR: device-mapper target type "raid45" not in kernel
What am I doing wrong? 8-((
My computer is running on an ASUS M2N-SLI Deluxe with an Nvidia 570 SLI chipset.
Bob Maerten (bob-maerten) wrote : | #19 |
In addition to the Crimson_Fox solution, I had to add the following line in the modules.dep /lib/modules/
/lib/modules/
My 0,02€...
jonssonj (nljorgenj) wrote : | #20 |
Hello all!
I have a raid set with 3 disks on my ASUS P5W DH Deluxe motherboard.
2 Samsung 400GB on the ICH7R controller.
1 WD 500GB on the "intel matrix storage" controller.
I get the following output when trying the dmraid -r command:
ERROR: isw: Error finding disk table slot for /dev/sdb
/dev/sdd: isw, "isw_dhedfdgcja", GROUP, ok, 781422765 sectors, data@ 0
/dev/sdc: isw, "isw_dhedfdgcja", GROUP, ok, 781422765 sectors, data@ 0
When I try to list each harddrive I get the following results:
sudo fdisk -u -l /dev/sdc
Disk /dev/sdc: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders, total 781422768 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00005659
Device Boot Start End Blocks Id System
/dev/sdc1 2048 2344251391 1172124672 7 HPFS/NTFS
sudo fdisk -u -l /dev/sdd
Disk /dev/sdd: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders, total 781422768 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xfee27ecd
Device Boot Start End Blocks Id System
/dev/sdd1 * 63 781417664 390708801 42 SFS
sudo fdisk -u -l /dev/sdb
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdb doesn't contain a valid partition table
Is this also a bug in the dmraid program or is it something that I do in the wrong way? I can add that this raid volume does work in windows vista and it contains about 600GB data.
BR
Jorgen
Jochen Schneider (panama-joe) wrote : | #21 |
Hey, thanks a lot ... I guess that hint concerning adding an extra line to the modules.dep would have done the trick, but in the meantime I have installed Hardy AMD64 server ... when I do a modprobe dm-raid45, I get the following error:
FATAL: Error inserting dm_raid45 (/lib/modules/
@Stefan: is there any chance you can also provide a module for Hardy AMD64 server ... ?
martin lüdeke (martin-xn--ldeke-kva) wrote : | #22 |
hello again, i' am back,
thanks to Stefan Bader, thanks to Crimson_Fox.
i found a way how to aktivate and see my "raid 5 array":
open terminal
copy and past:
sudo su
echo "deb http://
apt-get update; apt-get install dmraid
cd /lib/modules/
wget http://
dmraid -ay
than that happens:
"ubuntu@ubuntu:~$ sudo su
root@ubuntu:
root@ubuntu:
Ign cdrom://Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423) hardy/main Translation-de
Ign cdrom://Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423) hardy/restricted Translation-de
Hole:1 http://
Ign http://
Hole:2 http://
Hole:3 http://
Ign http://
Hole:4 http://
Hole:5 http://
Hole:6 http://
Hole:7 http://
Hole:8 http://
Hole:9 http://
Hole:10 http://
Hole:11 http://
Hole:12 http://
Hole:13 http://
Hole:14 http://
Hole:15 http://
Hole:16 http://
Es wurden 6454kB in 31s geholt (207kB/s)
Paketlisten werden gelesen... Fertig
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Reading state information... Fertig
Die folgenden NEUEN Pakete werden installiert:
dmraid
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 8 nicht aktualisiert.
Es müssen 176kB Archive geholt werden.
After this operation, 614kB of additional disk space will be used.
Hole:1 http://
Es wurden 176kB in 0s geholt (198kB/s)
Wähle vormals abgewähltes Paket dmraid.
(Lese Datenbank ... 98223 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke dmraid (aus .../dmraid_
Richte dmraid ein (1.0.0.
* Setting up DMRAID devices... ...
martin lüdeke (martin-xn--ldeke-kva) wrote : | #23 |
now i have a new problem:
i install ubuntu, but it doesn't boot, what's wrong now??
@stefan, when can we get the new liveCD?
Crimson_Fox (crimson-fox-) wrote : | #24 |
Martin,
You're having two problems. First, the unpatched module is being installed by the liveCD. Second, the installer does not support dmraid; so it is not configuring the initrd to load the dmraid module on boot. A liveCD with the module installed would only address the first problem, so you'd still be out of luck. Fortunately you can fix both problems manually with the current liveCD.
To start off, boot up the live CD and run the commands you used on your post to get your raid array started.
Next we want to mount the file system you installed. I'm going to assume that you have your / and /boot on the same partition, if not, make sure you mount /boot as well.
mount /dev/mapper/<your root partition> /mnt
Next we're going to want to switch over to it so we can modify it.
mount --bind /dev /mnt/dev
mount --bind /sys /mnt/sys
mount --bind /proc /mnt/proc
chroot /mnt
Ok, first we'll want to install the patched module so we do it the same way we did it for the liveCD.
cd /lib/modules/
wget http://
Now we want to configure the initrd so that it loads the module on boot.
apt-get install dmraid initramfs-tools
echo "dm-raid45" >> /etc/initramfs-
update-initramfs -u
Now we just need to clean up and reboot
exit
umount /mnt/proc
umount /mnt/sys
umount /mnt/dev
umount /mnt
dmraid -an
init 6
Let us know how this works out for you.
martin lüdeke (martin-xn--ldeke-kva) wrote : | #25 |
the second harddrive is broken!?
martin lüdeke (martin-xn--ldeke-kva) wrote : | #26 |
thanks to crimson_fox for quick help, but it does'nt work.
after reboot:
"No boot device available -
strike F1 to retry boot, F2 for setup utility
Press F5 to run onboard diagnostics"
at first i tried incl.:
"exit
umount /mnt/proc
umount /mnt/sys
umount /mnt/dev
umount /mnt
dmraid -an
init 6
second i tried without:
"exit
umount /mnt/proc
umount /mnt/sys
umount /mnt/dev
umount /mnt
dmraid -an"
only with:
"init 6" at the end
but it does'nt work.
Crimson_Fox (crimson-fox-) wrote : | #27 |
Martin,
The reason it's not working is because your system isn't configured to boot from your array. With most built-in raid controllers you not only have to configure the BIOS to boot from the RAID controller, but you also have to specify which array you want to boot from on the RAID controller. This is because it is possible to configure multiple arrays within the same controller.
Make sure your BIOS is configured to boot from the array controller and then go into the utility you used to configure your arrays and check if the array you want to boot from is set to the boot array.
martin lüdeke (martin-xn--ldeke-kva) wrote : | #28 |
hello crimson fox,
now i am so far as i never has been before.
i solved the two problems which you described.
my bios was right configured, but it doesn't boot.
during installation, i remembered, i have had problems with partitioning and formating.
so i tried again with installing, but now i didn't use gparted either the partition and formating program from install routine.
i did it with fdisk. afterwards i installed ubuntu and updated installed ubuntu like you told above.
now i reboot my system but i get a bad feedback.
the computer booted the raid array. then ubuntu booted for a long time (ca. 3 minutes)
after that time the busybox appeares:
BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu12) Built- in shell (ash)
Enter 'help' for list of built - in commands.
(initramfs)
so what shall i do with it?
can you help me a little bit more?
Crimson_Fox (crimson-fox-) wrote : | #29 |
Martin,
It sounds like you're having trouble getting to your root file system after boot. Try booting into recovery mode and see what error message you're getting.
martin lüdeke (martin-xn--ldeke-kva) wrote : | #30 |
- trouble.zip Edit (4.3 MiB, application/zip)
you are right, i have trouble, i will show you two pictures
Crimson_Fox (crimson-fox-) wrote : | #31 |
Martin,
I looks like the module is still not loading at boot. Shoot me an email with your contact info (skype or IM if you have it) at crimson_fox_ at hotmail.com and I'll see if I can help you work through it.
Tim Gardner (timg-tpi) wrote : | #32 |
SRU Justification:
Impact: dmraid tools do not load correct module.
Patch Description: Rename module in makefile
TEST CASE: See bug description
Changed in linux: | |
assignee: | stefan-bader-canonical → timg-tpi |
Martin Pitt (pitti) wrote : | #33 |
Accepted into -proposed, please test and give feedback here
Changed in linux: | |
status: | New → Fix Committed |
Jochen Schneider (panama-joe) wrote : | #34 |
Still didn't work automatically for me:
I upgraded my Hardy AMD64 Server installation via apt-get dist-upgrade. After that, there was still only the old module dm-raid4-5.ko in /lib/modules/
Only after adding the module from Stefan's PPA manually into that directory, and inserting a line into modules.dep it finally worked.
Package versions currently installed:
linux-image-server is 2.6.24-18.20
linux-ubuntu-
I just upgraded once more, there are no further updates available.
Changed in linux: | |
importance: | Undecided → Medium |
milestone: | none → ubuntu-8.04.1 |
milestone: | ubuntu-8.04.1 → none |
Martin Pitt (pitti) wrote : Re: [Bug 220493] Re: [Hardy][Regression] dmraid45 target missing in latest kernel | #35 |
Jochen Schneider [2008-06-06 8:13 -0000]:
> Package versions currently installed:
> linux-image-server is 2.6.24-18.20
> linux-ubuntu-
> I just upgraded once more, there are no further updates available.
I guess you are using a mirror (de.archive?) which still does not have
the 2.6.14-19 version in hardy-proposed. That's the one which fixes
this bug.
Jochen Schneider (panama-joe) wrote : | #36 |
Well, as of today there are still no updates available.
Yes, I am using mirror de.archive, that's the one that was configured by default.
How many days (or weeks?) does it take for this mirror to be updated?!?
Your post about the fix being accepted into -proposed is already three days old...
Jochen Schneider (panama-joe) wrote : | #37 |
Please forget my last post - I had deactivated the proposed section on my server ... ;-)
Just performed a dist-upgrade, the module is renamed and my RAID5 array is finally accessible!
THANKS A LOT 8-))
Crimson_Fox (crimson-fox-) wrote : | #38 |
I can verify that 2.6.24-19 in the hardy-proposed repository works for both i386 and amd64 on my nvidia fakeraid. I made a liveCD so people others can test it out, but have tried to attach it 3 times and failed. Any ideas on where I could put this?
martin lüdeke (martin-xn--ldeke-kva) wrote : | #39 |
thanks to crimson fox, with the livecd works it good
Martin Pitt (pitti) wrote : | #40 |
Copied to hardy-updates.
Changed in linux: | |
status: | Fix Committed → Fix Released |
P3P (p3p) wrote : Working with Ubuntu updates | #41 |
Thank you very much!
I was sure that I would need to patch kernel sources and compile them to get my raid5 working.
Raid5 kernel target for dmraid is still in experimental development, so I thought that compiled modules was unavailable. Thank you.
To get raid5 working on my Intel ICH9R (dmraid already installed and working for raid0):
I have enabled hardy-updates and hardy-proposed updates on my package manager.
I have installed latest kernel image and related packages (linux-
apt-get install initramfs-tools
echo "dm-raid45" >> /etc/initramfs-
update-initramfs -u
WORKING!!
Two questions:
I suppose that initramfs load dm-raid45 module at boot so can my system boot from a raid5 volume?
Will Ubuntu 8.04.1 release (July 2008) be capable of install in a raid5 volume from the live-cd installer?
Regards.
Crimson_Fox (crimson-fox-) wrote : | #42 |
Yes, if you load the dm-raid45 module at boot you should be able to boot from fakeraid (it's my current config in fact). I was able to roll my own live CD with 2.6.24-19 and dmraid using UCK (http://
I'm not sure if 8.04.1 will let you, but at long as it has 2.6.24-19 I don't see why not. Even if 8.04.1 includes the fix, the installer still does not support dmraid so you still have to tweak it to get it going (install the dmraid package and "sudo dmraid -ay" to start the array). You could also use rsync to try out the latest daily build of 8.04.1 to find out, that would probably give you the best idea if dmraid will work for you in 8.04.1. https:/
P3P (p3p) wrote : Thanks to Crimson_Fox | #43 |
Crimson_Fox I am very grateful to you for your advice.
Ubuntu Customization Kit and RsyncCdImage are two wonderful tools, just what I needed. Thank you.
Prince (pkarlos-76) wrote : | #44 |
Okay, but what the heck did the kernel devs do now........a new 2.6.24.19-generic kernel was released into hardy updates and now I'm getting the message at logon raid45 not in kernel!!!!!!!!!
Prince (pkarlos-76) wrote : | #45 |
- my dmesg output Edit (78.8 KiB, text/plain)
I've attached a copy of my dmesg for review! This is a recently fresh ubuntu install from CD I am working from.
Steve Langasek (vorlon) wrote : | #46 |
Prince,
The dm-raid45 module is shipped in the linux-ubuntu-
zorrek (zorrek) wrote : | #47 |
Ok I've done everything I can find for "8.04 64bit Server" to make my nvidia RAID5 work.
if I do # dmraid -s
*** Set
name : nvidia_fegfedde
size : 2930319456
stride : 32
type : raid5_ls
status : ok
subsets: 0
devs : 4
spares : 0
Happy days! So then I...
# dmraid -ay
ERROR: device-mapper target type "raid45" not in kernel
If I do....
~# locate raid4
/lib/modules/
/lib/modules/
What ! is raid456? How do I get a RAID 5 to work under Ubuntu? The Array is empty, I want to format it to ext3
How do i make this work?
zorrek (zorrek) wrote : | #48 |
Some DMESG output
[ 22.183355] xor: automatically using best checksumming function: generic_sse
[ 22.230675] generic_sse: 8054.000 MB/sec
[ 22.230676] xor: using function: generic_sse (8054.000 MB/sec)
[ 22.231159] async_tx: api initialized (async)
[ 22.400319] raid6: int64x1 2560 MB/s
[ 22.569965] raid6: int64x2 3188 MB/s
[ 22.739592] raid6: int64x4 3263 MB/s
[ 22.909233] raid6: int64x8 2567 MB/s
[ 23.078870] raid6: sse2x1 3644 MB/s
[ 23.248506] raid6: sse2x2 4888 MB/s
[ 23.418154] raid6: sse2x4 5083 MB/s
[ 23.418156] raid6: using algorithm sse2x4 (5083 MB/s)
[ 23.418158] md: raid6 personality registered for level 6
[ 23.418159] md: raid5 personality registered for level 5
[ 23.418161] md: raid4 personality registered for level 4
[ 23.424890] fuse init (API version 7.9)
[ 23.434383] ACPI: Fan [FAN] (on)
[ 23.439484] ACPI: Thermal Zone [THRM] (40 C)
[ 23.741899] usbcore: registered new interface driver usbfs
.
.
.
[ 28.065191] Uniform CD-ROM driver Revision: 3.20
[ 28.065239] sr 4:0:1:0: Attached scsi CD-ROM sr0
[ 28.343641] device-mapper: uevent: version 1.0.3
[ 28.343670] device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: <email address hidden>
[ 28.738657] device-mapper: table: 253:0: raid45: unknown target type
[ 28.738705] device-mapper: ioctl: error adding target to table
[ 28.761112] Attempting manual resume
[ 28.761116] swsusp: Resume From Partition 8:66
[ 28.761117] PM: Checking swsusp image.
[ 28.761271] PM: Resume from disk failed.
Phillip Susi (psusi) wrote : | #49 |
Is this fix STILL waiting to be uploaded to -updates?
Phillip Susi (psusi) wrote : | #50 |
It looks like this fix has not found its way into either hardy-updates, OR Intrepid.
Brian Murray (brian-murray) wrote : | #51 |
I believe this is in hardy-updates:
bdmurray@
filename: /lib/modules/
license: GPL
author: Heinz Mauelshagen <email address hidden>
description: device-mapper raid4/5 target
license: GPL
author: Heinz Mauelshagen <email address hidden>
description: device-mapper device-mapper dirty log
license: GPL
author: Heinz Mauelshagen <email address hidden>
description: device-mapper dm memory cache
license: GPL
author: Heinz Mauelshagen <email address hidden>
description: device-mapper region hash
license: GPL
author: Heinz Mauelshagen <email address hidden>
description: device-mapper device-mapper target message parser
srcversion: E1BE8207EC7EC04
depends: dm-mod
vermagic: 2.6.24-19-generic SMP mod_unload 586
Jaroslav Sedlacek (yarda) wrote : | #52 |
Unfortunately the update is not in hardy updates. I went yesterday through all the steps to install ubuntu on FakeRaid (Intel ICHR8/9 with raid 5 volume) and still did not succeed. The dm-raid45 works fine with CD. But the kernel that installs via:
apt-get install linux-image-
does not contain the dm-raid45 module. On cd, it is located in /lib/modules/
Jaroslav Sedlacek (yarda) wrote : | #53 |
Sorry for the confusion, I now found the problem.
It is necessary to install also:
linux-ubuntu-
Peter de Groot (peter-de-groot) wrote : | #54 |
Ubuntu 8.1 -- Intepid,
This snip from the fake raid how-to looked promising....
In Intepid, dmraid is now in the 'main' respository, and can be installed without recondfiguring apt. Once dmraid is running, the live installer can handle installing to the raid. Ubiquity will fail when installing grub, and will not automatically add dmraid to the new installation. These need to be done manually.
However when I tried it, a
dmraid -ay it came up with dmraid4-5 not in kernel... or something similar ... sorry cannot be exact
as I have gone back to Hardy in frustration :-(
In Hardy I was able to get a dmraid .. sort of working ..... when I used the proposed repositry
Michael Fourdraine (mfourdraine) wrote : | #55 |
Could this issue be connected to the problems users are experiencing detailed in bug 314395?
Changed in linux (Ubuntu): | |
assignee: | Tim Gardner (timg-tpi) → nobody |
importance: | Medium → Undecided |
status: | Fix Committed → Invalid |
I can confirm this--Nvidia fakeraid 5; using the kubuntu x86-64 release install, the dm-raid4-5 module is present and appears to load successfully on modprobe. It reports itself as loaded, but otherwise has no effect. There is no dmesg output, 'dmsetup targets' does not list the raid45 target type, and 'dmraid -ay' fails with the above error. The beta with 2.6.24-12 kernel will happily activate and mount the RAID using the supplied dm-raid4-5.
My plan is to compile a new 2.6.24-16 kernel and dm-raid4-5 module from source and see if that works, but I won't get the chance for another couple of days.