Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282455 - sys-apps/raidutils-0.0.6-r1 silently segfaults with recent kernels
Summary: sys-apps/raidutils-0.0.6-r1 silently segfaults with recent kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-23 17:04 UTC by John R. Graham
Modified: 2011-01-26 18:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix reported issues. (raidutils-0.0.6-debian-8-multiple-issues.patch,27.58 KB, patch)
2009-08-23 17:08 UTC, John R. Graham
Details | Diff
New ebuild applied the above patch. (raidutils-0.0.6-r2.ebuild,941 bytes, text/plain)
2009-08-23 17:09 UTC, John R. Graham
Details
My emerge --info. (emerge-info.txt,10.07 KB, text/plain)
2009-08-23 17:46 UTC, John R. Graham
Details
Patch to current raidutils--0.0.6-r1.ebuild to correct issue. (raidutils-segfault-ebuild.patch,640 bytes, patch)
2010-05-03 15:05 UTC, John R. Graham
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.