Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482262 - sys-apps/util-linux-2.21.2 - detection of silicon_medly_raid_member fails
Summary: sys-apps/util-linux-2.21.2 - detection of silicon_medly_raid_member fails
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-23 20:40 UTC by David Brown
Modified: 2015-03-12 03:58 UTC (History)
0 users

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


Attachments
Output of emerge --info (emerge-info.txt,4.71 KB, text/plain)
2013-08-23 20:40 UTC, David Brown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Brown 2013-08-23 20:40:45 UTC
Created attachment 356794 [details]
Output of emerge --info

There is a rarely occuring bug in util-linux-2.21.2 (and probably earlier) with filesystems that are on lvm partitions.  It is fixed in 2.22 upstream by the commit

commit 3b66f48e23dd0e2a1d7cf318c7698fb192163728
Author: Michal Luscon <mluscon@redhat.com>
Date:   Wed Feb 29 17:24:40 2012 +0100

    sysfs: move blkid_devno_to_wholedisk to sysfs_devno_to_wholedisk
    
    Signed-off-by: Michal Luscon <mluscon@redhat.com>

Reproduction is a bit challenging, but I wanted to document this in case others found it.  Basically, the detection for some of the other raid types, specifically silicon_medley_raid_member use the function blkid_probe_is_wholedisk().  This call in 2.21.2 returns true for lvm partitions.  If the filesystem happens to contain this raid member's magic (at offset 0x60 in the last 512-byte block of the partition) of 2F 00 00 00, then it will be detected as a raid member.

The result is generally that the system is unbootable, and most people resolve this by reinstalling.
Comment 1 SpanKY gentoo-dev 2015-03-12 03:58:11 UTC
2.24 is stable now