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

Bug 282455

Summary: sys-apps/raidutils-0.0.6-r1 silently segfaults with recent kernels
Product: Gentoo Linux Reporter: John R. Graham <john_r_graham>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to fix reported issues.
New ebuild applied the above patch.
My emerge --info.
Patch to current raidutils--0.0.6-r1.ebuild to correct issue.

Description John R. Graham gentoo-dev 2009-08-23 17:04:27 UTC
I think this is as a result of drift of the kernel drivers (which are actively maintained) with respect to the userland raudutils (which haven't been touched since 2006), but, in any case, the "raideng" component of the raidutils is silently segfaulting when starting up.  I traced the issue to the BuildNodeNameList() function, which is responsible for identifying the driver's device names but, before spending more time on it, I identified a Debian patch that addressed multiple issues, including this.

The new Debian-derived patch replaces the raidutils-0.0.6-misc-fixes.patch, which seems to be an earlier version of the Debian patch.
Comment 1 John R. Graham gentoo-dev 2009-08-23 17:08:07 UTC
Created attachment 202055 [details, diff]
Patch to fix reported issues.
Comment 2 John R. Graham gentoo-dev 2009-08-23 17:09:51 UTC
Created attachment 202057 [details]
New ebuild applied the above patch.
Comment 3 John R. Graham gentoo-dev 2009-08-23 17:46:16 UTC
Created attachment 202063 [details]
My emerge --info.
Comment 4 John R. Graham gentoo-dev 2010-05-03 15:05:08 UTC
Created attachment 230147 [details, diff]
Patch to current raidutils--0.0.6-r1.ebuild to correct issue.

Per a recommendation from Polynomial-C, I should be providing patches to ebuilds as opposed to new ebuilds to make it easier for the developers review the changes.  Also, since the bug was filed, some cleanup has been done by Ulrich Mueller to the in-tree ebuild.  The patch takes these changes into account as well.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-07-25 14:51:24 UTC
This looks to be fixed by 0.0.6-r2 (it has latest Fedora changes).
Comment 6 John R. Graham gentoo-dev 2010-07-27 02:31:43 UTC
This appears to work on the hardware.  My RAID management scripts will be exercising it more or less continuously.

Just out of curiosity, why was this pushed to stable?  Why isn't it in testing?

- John
Comment 7 John R. Graham gentoo-dev 2010-07-27 10:43:18 UTC
Reopening for comment on skipped testing phase.

- John
Comment 8 John R. Graham gentoo-dev 2011-01-26 18:56:37 UTC
Well, maybe nobody else uses this but me. It's been stable on my system for a looong time now. Closing as FIXED.