If i build my kernel using genkernel-3.4.10-r1 like this : genkernel --menuconfig --dmraid --no-clean --splash=livecd-2007.0 --splash-res=1024x768 all It reports no error when adding theme to initramfs but after restart, there are a few issues : - During the kernel boot the splash is shown but the console text comes over - During the init process the text also appear over splash image and make the image scroll with text - The system hangs after "service local started". xdm is started but not accessible or restratable (ctrl+alt+backspace). I can't switch console. - Ctrl+alt+suppr : stops (most) services - The system has to be restarted manually I can boot properly if I disable splash image during boot by using alt+F1 during kernel boot and F2 during init. Now if I build the kernel with genkernel-3.4.9 (same command line, same .config) i can notice these lines (it has always been like this before 3.4.10-r1) * >> Appending splash cpio data... * >> No splash detected; skipping! Then if I add splash to initramfs using : splash_geninitramfs -a /boot/initramfs-genkernel-x86-2.6.25-tuxonice-r6 -v -r 1024x768 livecd-2007.0 and reboot, the system boots as normal with a nice splash theme. I reproduced the bug with tuxonice-sources 2.6.24-r9 (stable) and 2.6.25-r6 (~x86) so it does not seem kernel related. Hope this helps. Sorry for my english.
I'm neither a user of genkernel or grub - this isn't a symptom of bug 231039 by chance? If not, provide `emerge --info` please, so we have an idea about the system you're using.
(In reply to comment #1) I had the bug 231039 (/boot/grub/splash.xpm.gz has been deleted when upgrading grub) but i don't think this is related. I corrected it by using another splsh.xpm.gz. I'm using grub-0.97-r6. I also fisrt thought this was due to grub but I can reproduce the bug every time I build my kernel with genkernel-3.4.10-r1 (even if I embed splash using splash_geninitramfs then). What made me thought it was a bug in genkernel is that previous version did not embed splash in initramfs and I always had to do it manually to get a splash theme from early kernel boot. I think the initramfs may not be generated correctly with genkernel 3.4.10-r1. I will try to see if there are any difference between initramfs generated with genkernel 3.4.10-r1 and 3.4.9. (is there a mean to have a genkernel debug output?) I'll also post `emerge --info` output as soon as I'll be back home.
Here is my emerge --info output : Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-tuxonice-r6 i686) ================================================================= System uname: 2.6.25-tuxonice-r6 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz Timestamp of tree: Mon, 14 Jul 2008 16:06:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="fr_FR@euro" LC_ALL="fr_FR.iso885915@euro" LINGUAS="fr" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/ludo /usr/portage/local/layman/ludo" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa apm bash-completion bitmap-fonts bzip2 cddb cdr cli cracklib crypt dbus dga directfb dri dvd dvdr fbcon ffmpeg firefox flac fortran ftp gdbm gif gnutls gpm gtk gtk2 hal iconv ieee1394 ipv6 isdnlog java javascript jpeg jpeg2k kde kdeenablefinal kdexdelta libg++ lm_sensors matroska midi mime mmx mp3 mpeg mudflap musepack ncurses nls nptl nptlonly nsplugins ogg opengl openmp pam pcre pdf perl php png posix pppd python qt3 qt4 readline real reflection sdl session spl sse sse2 ssl ssse3 svg tcpd threads truetype-fonts type1-fonts unicode upnp usb videos vorbis wifi win32codecs x86 xine xml xorg xosd xv zlib" ALSA_CARDS="hda-intel intel8x0 intel8x0m" ALSA_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 authn_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 setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="radeonhd fglrx vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0) > If i build my kernel using genkernel-3.4.10-r1 like this : > > genkernel --menuconfig --dmraid --no-clean --splash=livecd-2007.0 > --splash-res=1024x768 all > > It reports no error when adding theme to initramfs but after restart, there are > a few issues : > - During the kernel boot the splash is shown but the console text comes over > - During the init process the text also appear over splash image and make the > image scroll with text > - The system hangs after "service local started". xdm is started but not > accessible or restratable (ctrl+alt+backspace). I can't switch console. > - Ctrl+alt+suppr : stops (most) services > - The system has to be restarted manually > > I can boot properly if I disable splash image during boot by using alt+F1 > during kernel boot and F2 during init. > > Now if I build the kernel with genkernel-3.4.9 (same command line, same > .config) i can notice these lines (it has always been like this before > 3.4.10-r1) > > * >> Appending splash cpio data... > * >> No splash detected; skipping! > > Then if I add splash to initramfs using : > splash_geninitramfs -a /boot/initramfs-genkernel-x86-2.6.25-tuxonice-r6 -v -r > 1024x768 livecd-2007.0 > > and reboot, the system boots as normal with a nice splash theme. > I reproduced the bug with tuxonice-sources 2.6.24-r9 (stable) and 2.6.25-r6 > (~x86) so it does not seem kernel related. > > Hope this helps. > Sorry for my english. > The same on amd64!
(In reply to comment #0) > If i build my kernel using genkernel-3.4.10-r1 like this : > > genkernel --menuconfig --dmraid --no-clean --splash=livecd-2007.0 > --splash-res=1024x768 all > > It reports no error when adding theme to initramfs but after restart, there are > a few issues : > - During the kernel boot the splash is shown but the console text comes over > - During the init process the text also appear over splash image and make the > image scroll with text > - The system hangs after "service local started". xdm is started but not > accessible or restratable (ctrl+alt+backspace). I can't switch console. > - Ctrl+alt+suppr : stops (most) services > - The system has to be restarted manually > I confirm this behaviour. However I am using KDM and when the system apparently hangs after "service local started" is displayed I can press Alt+F7 to switch to KDM and log in. Everything behaves OK from then on. Very annoying though. Please help. /~jc
(In reply to comment #5) > (In reply to comment #0) > > If i build my kernel using genkernel-3.4.10-r1 like this : > > > > genkernel --menuconfig --dmraid --no-clean --splash=livecd-2007.0 > > --splash-res=1024x768 all > > > > It reports no error when adding theme to initramfs but after restart, there are > > a few issues : > > - During the kernel boot the splash is shown but the console text comes over > > - During the init process the text also appear over splash image and make the > > image scroll with text > > - The system hangs after "service local started". xdm is started but not > > accessible or restratable (ctrl+alt+backspace). I can't switch console. > > - Ctrl+alt+suppr : stops (most) services > > - The system has to be restarted manually > > > I confirm this behaviour. However I am using KDM and when the system apparently > hangs after "service local started" is displayed I can press Alt+F7 to switch > to KDM and log in. Everything behaves OK from then on. > > Very annoying though. Please help. > > /~jc > I did a check of the /linuxrc file in the initrd produced with genkernel-3.4.10-r1 and compared it with the extracted /linuxrc from the previous version. In the section where the kernel command line is parsed, there is a "case" line: lines 133-137 # Redirect output to a specific tty CONSOLE\=*\|console\=*) CONSOLE=`parse_opt "${x}"` exec >${CONSOLE} <${CONSOLE} 2>&1 ;; Line 134 should actually be: CONSOLE\=*|console\=*) The corresponding line in the previous version of Genkernel shows: CONSOLE\=*) What they've done is escaped a crucial "|" (or) operator by mistake, so that the kernel parameter CONSOLE=tty1 (crucial for a splash boot) is missed completely and a default value is used, which leads to output writing all over the splash screens. What I've done is hacked the /usr/share/genkernel/generic/linuxrc file line 134 to read: CONSOLE\=*|console\=*) I then built a new initrd using genkernel blah blah initrd. I hope the genkernel developers are onto this mistake, so that I don't have to keep hacking genkernel's generic/linuxrc file whenever there's an update. It worked for me. Regards, Gregory.
This is fixed in Git. Thanks for pointing out the problem.
(In reply to comment #9) > This is fixed in Git. Thanks for pointing out the problem. > It may very well be fixed in Git, but that change hasn't propagated to the new genkernel version. 3.4.10-r2 has just been installed and has exactly the same mistake in line 134 of /usr/share/genkernel/generic/linuxrc. Needless to say I've had to re-edit this file after the upgrade.
Yes, and? What's your point? -r2 isn't a new version. It's an ebuild revision bump to fix a bug related to selinux. You are free to try out the newer snapshot release available from wolf31o2's overlay if you're too impatient to wait for a new release: git://git.wolf31o2.org/overlays/wolf31o2.git
Due to the date of the last comment on this bug I assume that feature to be included in 3.4.10.907 or an earlier release of genkernel. Closing, please re-open as needed.