Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 552114

Summary: sys-fs/dmraid can't import isw RAID0 unpatched, claims "dos: partition address past end of RAID device"
Product: Gentoo Linux Reporter: Adam Stylinski <stylinae>
Component: Current packagesAssignee: No maintainer - Look at if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: normal CC: axs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Adam Stylinski 2015-06-14 18:21:26 UTC
It appears Debian has been patching this issues for years, I just recently ran into it when rebuilding my stripe with new disks (using Intel's RSTe on my mainboard's option ROM).  I never ran into this issue before but I switched to bigger SSDs, so maybe I'm affected by it now.  The relevant patch is:

There are bug reports tracking this issue on launchpad and Debian's bug tracker:

Their patches appear to work for me, however I had to both apply user patches through portage (so that once booted dmraid binary would continue to work on my system) and I had to manually apply the patch to the tarball used to build the ramdisk image with genkernel (so that the busybox based ramdisk could actually import the software RAID).  

This really is a patch that should have been patched upstream, but it doesn't seem the maintainers at Redhat have been doing much of anything to the package.  RSTe is technically capable of mdraid integration, I may consider trying to switch to that in the future as those tools seem to be more maintained.
Comment 1 Adam Stylinski 2017-07-26 20:39:04 UTC
Does this technically qualify as "old" core system?  This issue will happen on any system you try to boot using the option ROM for Intel RAID (built into motherboards).  Any ramdisk with dmraid built without this patch will result in this very error.
Comment 2 Adam Stylinski 2020-02-16 01:30:06 UTC
So this is something I continue having to patch in the genkernel ramdisk build process every time.  Can somebody please include this patch that has been included in Debian for years and is necessary for a 256GB volume to show up?