Summary: | genkernel real_root=LABEL= non-functional again | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Johan Ymerson <johan> |
Component: | [OLD] Core system | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | bugs_gentoo_org.Tim_OKelly, gentoo, sping |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Johan Ymerson
2008-10-22 11:26:40 UTC
Hiya Johan, could you please provide a little more information? You say again, is there an earlier bug you're referring to, such as bug 229847? Could you please attach your copy of /etc/genkernel.conf, write down the exact genkernel you use to create your kernel and also record the error message you receive when attempting to boot the system? I'm going to mark this as NEEDINFO, but please just reopen this when you've got the information requested. Thanks... 5:) I can provide some more info. See bug 156640 where this supposedly was fixed, but it's reverted now. Basically, linuxrc calls findfs, which isn't even an option in the 1.7.4 version of busybox, meaning real_root will fail. if [ "${retval}" -ne '0' ]; then ROOT_DEV=`findfs "${REAL_ROOT}" 2>/dev/null` retval=$? fi if [ "$retval" -ne '0' ]; then ROOT_DEV=`busybox findfs "${REAL_ROOT}" 2>/dev/null` retval=$? fi Thanks for the clarification Steve. Assigning to maintainers. If you a) set DISKLABEL="yes" in /etc/genkernel.conf or b) pass --disklabel to genkernel the initrd will include blkid of e2fsprogs which can do resolution of labels as I understand. Both of these way are supported in the latest stable version of genkernel (3.4.10.907). Alternatively, genkernel-99999 (five nines) uses 1.18.1 which seems to contain findfs. As of now I am unsure if genkernel compiles it with findfs enabled. Please report back if that helps already. If I do not hear anything in two weeks, I may close the bug. Two side notes: - any ideas why both "findfs" and "busybox findfs" are called? as sys-apps/util-linux is not used, shouldn't that be the same? - this [1] seems to be the commit first introducing findfs to busybox, in case we need that informatiuon later. [1] http://git.busybox.net/busybox/commit/?h=1_18_stable&id=de7684a309ad20c1b889d048d741cb1dd52245f7 (In reply to comment #4) > If I do not hear anything in two weeks, I may close the bug. Closing. |