On all new 3.0 kernels dmraid fails to activate raid0 array.
deltitnu
Status: Curious
Joined: 18 Aug 2011
Posts: 7
Reply Quote
Thank you for all your hard work creating custom kernels for us.
I have been using your kernels for sometime now without any issue I could not resolve on my own. That is until the 3.0 updates starting showing up. As of the last release that I just installed (3.0-3.dmz.1-liquorix-686) on Ubunty 11.04, the initrd.img is still not being created automatically... which is not the issue really I just manually create it with "update-initramfs". The real issue that I'm having trouble with is dmraid is not able to activate the raid0 array on which I have my root partition. This has been a problem with all Liquorix 3.0 releases so far. The necessary modules all seem to be there, the configuration did not change, and dmraid activates fine with other generic kernels (3.0.3 from Ubuntu mainline). Perhaps you excluded a driver for dmraid? Or its a version issue as someone else hinted at (with LVM issue)? I'm sorry for my noobish approach to this. I do have gcc 4.6 and module-init-tools from unofficial Ubuntu repos...
Also, just to let you know, on another Ubuntu 11.04x64 machine (dell laptop) I still get "rtc error" with the latest 3.0-3 kernel (but not on desktop mentioned above) and initrd.img issue but it runs very well otherwise as I went around those issues.
If you have any ideas as to why dmraid fails to work properly with your kernels that would be great. I have "googled" for various fixes for past 4 days without any success...
Thank you once again.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
Sorry that dm-raid45 is not working for you. I'm using the newest patches from opensuse that are now patched upstream to the zen-kernel here: git.zen-kernel.org/zen-stable/log/?h=dm-raid45

OpenSuse has a list of patches that are applied with their build service:

:: Code ::
   ########################################################
   # device-mapper
   ########################################################
   patches.suse/dm-emulate-blkrrpart-ioctl
   patches.suse/dm-raid45-26-Nov-2009.patch
   patches.suse/dmraid45-dm_dirty_log_create-api-fix
   patches.suse/dmraid45-dm_get_device-takes-fewer-arguments
   patches.suse/dm-raid45-api-update-remove-dm_put-after-dm_table_get_md
   patches.suse/dm-raid45-api-update-no-barriers
   patches.suse/dm-raid45-api-2.6.39
   patches.suse/dm-raid45-api-3.0
   patches.fixes/dm-mpath-reattach-dh
   patches.suse/dm-mpath-leastpending-path-update
+needs_update   patches.suse/dm-mpath-accept-failed-paths
+needs_update   patches.suse/dm-mpath-detach-existing-hardware-handler
   patches.fixes/dm-table-switch-to-readonly
+needs_update   patches.suse/dm-mpath-evaluate-request-result-and-sense
   patches.fixes/dm-release-map_lock-before-set_disk_ro
   patches.suse/dm-mpath-no-activate-for-offlined-paths
   patches.suse/dm-mpath-no-partitions-feature
   patches.suse/mpath-fix


There are a few patches that are marked as "+needs_update". We may need to wait until the OpenSuse kernel packers find an acceptable update that works for 3.0.

And, there's always the possibility that you're userspace is incompatible with the module. If that's true, we won't see any updates to the module from opensuse.
Back to top
deltitnu
Status: Curious
Joined: 18 Aug 2011
Posts: 7
Reply Quote
Thanks for looking into the issue...at least I have a clue as to why it doesn't work anymore...
I will have to wait and see if it will get patched.

Thank you.
Back to top
deltitnu
Status: Curious
Joined: 18 Aug 2011
Posts: 7
Reply Quote
I'm not sure if you changed anything else besides the version # to 3.0.0 in the latest kernel update but my dmraid now activates the way it supposed to.
I'm back to running Liquorix kernel!
Thanks to whoever came up with a fix! :)
Back to top
linux-headers-3.2-1.dmz.3-liquorix-686
deltitnu
Status: Curious
Joined: 18 Aug 2011
Posts: 7
Reply Quote
Hey...I just tried upgrading to your latest 3.2.1 kernel and I'm getting the same error again...Dmraid does not activate for my raid0 array...I'm no expert but I'm suspecting it's the kernel version numbering again. Since 3 number structuring as in generic kernels and previous 3.1.0-* did not cause any issues with dmraid and each 2 number calling 3.1-0 or 3.2-1 seems to break its proper function. It's probably unfair of me to expect you to change the version numbering and recompiling just to accommodate a single user with quirky dated setup but will you at least consider it for next batch? Thank you very much for all your great work... :)
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4128
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
try to see if this three number thing is the issue, and if it is, which I also remember, please file an urgent bug report to whoever in dmraid project has failed to fix this. They have had a year to do that.

However, as with all bug reports, make certain that the issue has not already been fixed in the latest dmraid versions upstream. Ie, make sure it's not your distro being late to package it, or failing to update.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
deltitnu, the next version you see in the repository should restore the 3.X.0 numbering style. In the meantime, maybe you should see if there's any newer userspace for dmraid since I'm probably not going to retain the 3 part kernel version in 3.3.
Back to top
deltitnu
Status: Curious
Joined: 18 Aug 2011
Posts: 7
Reply Quote
Thank you very...I don't see any newer versions...not in standard or backports Ubuntu repos or the PPAs which I'm already using...I will attempt to contact the package maintainer there and report this bug...hopefully something will pan out of it, but given the history of dmraid that hope is bleak. Thanks once again. :)
Back to top
Display posts from previous:   

All times are GMT - 8 Hours