Summary: | genkernel initrd doesn't properly set up lvm2 | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Eric Holk <eric.holk> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ngk |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Eric Holk
2006-09-09 18:37:01 UTC
I get the same problem on x86 Can you test this patch? It edit /usr/share/genkernel/generic/initrd.scripts and should resolve the issue for you. You'll need to rebuild your initrd once you've made this change. Index: initrd.scripts =================================================================== RCS file: /var/cvsroot/gentoo/src/genkernel_bradmssw/generic/initrd.scripts,v retrieving revision 1.58 diff -u -b -B -r1.58 initrd.scripts --- initrd.scripts 12 Sep 2006 21:09:01 -0000 1.58 +++ initrd.scripts 14 Sep 2006 12:30:10 -0000 @@ -488,6 +488,14 @@ startVolumes() { #good_msg 'Checking if volumes need to be started...' + # Here, we check for /dev/device-mapper, and if it exists, we setup a + # a symlink, which should hopefully fix bug #142775 and bug #147015 + if [ -e /dev/device-mapper ] + then + mkdir -p /dev/mapper + ln -sf /dev/device-mapper /dev/mapper/control + fi + if [ "${USE_DMRAID_NORMAL}" -eq '1' ] then if [ -e '/sbin/dmraid' ] I just realized that I probably should have attached the patch instead. It is attached at http://bugs.gentoo.org/attachment.cgi?id=96961 for another bug. I am hoping I can kill two birds with one patch... ;] OK. I've gone ahead and added the patch to CVS. This should fix the bug. If you find that it does not, please let us know. I just applied the patch, rebuilt initrd, and rebooted, and everything worked like a charm! Thanks a lot for the quick response! Fixed in 3.4.1, thanks! Now works for me too. Well done, thanks ! |