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

Bug 429728

Summary: sys-kernel/genkernel-3.4.40: dmraid + gpt failure
Product: Gentoo Hosted Projects Reporter: Leonardo Amaral <leleobhz>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED WORKSFORME    
Severity: critical    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Leonardo Amaral 2012-08-03 20:56:43 UTC
Im using a disk partitioned using gpt like this:


/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p13 on /hypercomplex type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p6 on /hypercomplex/bin type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p2 on /hypercomplex/boot type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p3 on /hypercomplex/etc type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p10 on /hypercomplex/home type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p7 on /hypercomplex/sbin type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p9 on /hypercomplex/usr type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p5 on /hypercomplex/usr/bin type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p4 on /hypercomplex/usr/sbin type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p8 on /hypercomplex/var type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p12 on /hypercomplex/var/log type ext4 (rw)
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001450p11 on /hypercomplex/var/tmp type ext4 (rw)

Ive enabled dmraid (And *NOT* mdadm since it corrupts my raid volume) and created a monolithic (no module support) kernel and a initramfs - my aim is just run a dmraid -ay, recognize the partitions and mount root.

But initramfs cant find the rootfs (Find as sda13 but mark as incorrect) and when i go to busybox shell, i see after running dmraid -ay the disk exists in /dev/mapper but NOT the partitions.

Reproducible: Always
Comment 1 Leonardo Amaral 2012-08-07 17:52:21 UTC
Ive seen https://bugzilla.redhat.com/show_bug.cgi?id=500322 which says dmraid will not support GPT partition. So will hurt include kpartx in genkernel images or some another kind of solution?
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-11-02 17:09:27 UTC
kpartx is available if you do domultipath.