Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203384 - sys-kernel/gentoo-sources-2.6.23-r5 fails to mount / on LVM
Summary: sys-kernel/gentoo-sources-2.6.23-r5 fails to mount / on LVM
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-26 16:12 UTC by Olivier Vogel
Modified: 2008-01-16 13:33 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Vogel 2007-12-26 16:12:27 UTC
My root partition is on LVM, except the /boot located on another partition.

To boot successfully and to have the root partition mounted, I had to patch the file /usr/share/genkernel/generic/initrd.scripts. I added 
sleep 5
just below
good_msg "Scanning for Volume Groups"

The kernel gentoo-sources-2.6.23-r3 boots and mounts successfully the root partition that way.

The same procedure doesn't work with gentoo-sources-2.6.23-r5.

Reproducible: Always
Comment 1 Mike Pagano gentoo-dev 2008-01-16 00:34:33 UTC
Interested in performing a bisect to identify the offending patch?
Comment 2 Olivier Vogel 2008-01-16 10:57:32 UTC
If I understand you well, the strategy is to apply only the half of the new patches (from r3 to r5) and to see if it works or no. Then to apply the quarter of the new patches, and so on, until I identify the offending patch.

Of course, I can do that, but you have to explain me how to apply separately each patch.
Comment 3 Mike Pagano gentoo-dev 2008-01-16 13:11:24 UTC
Here are some instructions that you might find useful:
http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/
Comment 4 Olivier Vogel 2008-01-16 13:33:06 UTC
I don't understand what has happened. I've just realized now that the kernel 2.6.23-r5 boots! I feel really stupid and confused. Perhaps that I used a bad .config or that I forgot to add scandelay in the kernel options in grub.conf.

Anyway, it works perfectly and thank you for letting me discover the interesting method of bisect.