Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203519 - genkernel-3.4.9_pre6 creates an invalid initramfs with evms
Summary: genkernel-3.4.9_pre6 creates an invalid initramfs with evms
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-27 21:22 UTC by Heinrich Götzger
Modified: 2007-12-27 22:42 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 Heinrich Götzger 2007-12-27 21:22:20 UTC
Hello,

using 'genkernel --evms initrd' with the 3.4.9_pre 6 does for some reason not add the evms stuff into the initramfs. The kernel stops booting with "... is not a valid root device"

Downgrading to genkernel-3.4.8 works with nothing else changed, except the calling args: 'genkernel --evms2 initrd'.

This is the grub entry:

title=gentoo 2.6.23-r5-1
kernel (hd0,0)/kernel-2.6.23-r5-gentoo-1 root=/dev/ram0 real_root=/dev/evms/root udev init=/linuxrc doevms2
initrd (hd0,0)/initramfs-genkernel-x86_64-2.6.23-gentoo-r5-boo-1

The genkernel-configuration is unchanged in any case. The kernel has been created manually in any case.

Do you need more details? 

Thanks cheers

Heinrich
Comment 1 Heinrich Götzger 2007-12-27 21:22:40 UTC
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r5-boo x86_64)
=================================================================
System uname: 2.6.23-gentoo-r5-boo x86_64 Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz
Timestamp of tree: Thu, 27 Dec 2007 09:46:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c 
/etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://io/ http://izar/ http://gentoo.inode.at/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.
de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gen
too/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ h
ttp://gentoo.intergenia.de "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats 
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/local-overlay"
SYNC="rsync://io/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 apm arts bash-completion berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups dri dvd dvdr dvdrea
d encode exif foomaticdb fortran gdbm gif gnome gpm gtk gtk2 iconv imagemagick ipv6 isdnlog java jikes jpg kde kipi midi mmx mp3 mudf
lap ncurses nls nptl nptlonly openmp pam pcmcia pcre pdf perl png ppds pppd python qt3 qt4 rdesktop readline reflection samba session
 spl sse sse2 ssl svg tcpd truetype truetype-fonts type1-fonts unicode usb xine xinerama xml xorg xv zlib" ALSA_CARDS="hda-intel" ALS
A_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi 
null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default auth
n_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk
_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite s
etenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVIC
ES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAG
S, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2007-12-27 21:26:15 UTC
Please try _pre12.
Comment 3 Heinrich Götzger 2007-12-27 21:29:59 UTC
(In reply to comment #2)
> Please try _pre12.
> 
hmm, the latest in my portage tree is _pre11.
where else to get _pre12?
Comment 4 Heinrich Götzger 2007-12-27 22:01:29 UTC
It is working with the brand new _pre12, thanks.

Here are the grub.config, note the doevms instead of evms2
title=gentoo 2.6.23-r5-1
kernel (hd0,0)/kernel-2.6.23-r5-gentoo-1 root=/dev/ram0 real_root=/dev/evms/root udev init=/linuxrc doevms
initrd (hd0,0)/initramfs-genkernel-x86_64-2.6.23-gentoo-r5-boo-1

The genkernel config remains unchanged.
Comment 5 Andrew Gaffney (RETIRED) gentoo-dev 2007-12-27 22:42:29 UTC
I think this was just a case of _pre6 not supporting the deprecated "doevms2" option where newer versions do.