Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61843 - gensplash: Kernel doesn't boot with splash in initrd
Summary: gensplash: Kernel doesn't boot with splash in initrd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-26 11:50 UTC by Thomas Scheffler
Modified: 2004-10-02 10:28 UTC (History)
0 users

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


Attachments
linux-2.6.8-gentoo-r3 config (.config,34.78 KB, text/plain)
2004-09-04 11:17 UTC, Thomas Scheffler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Scheffler 2004-08-26 11:50:38 UTC
After setting up a kernel (gentoo-dev-sources-2.6.8-r2) with fbflash support and generating the proper initd image using splash_geninitramfs the kernel won't boot after displaying the splash image (progress bar doesn't fill). When removing the image from the grub config the kernel boots as normal and usermode tools of splashutils seemes to (kind of function) function.

Reproducible: Always
Steps to Reproduce:
1. activate fbflash support in gentoo-dev-sources kernel
2. integrate splash image as early_boot document suggests
3. reboot using new kernel with this settings

Actual Results:  
Kernel hangs after displaying bootsplash.

Expected Results:  
Should boot like a bootsplash-kernel.

my fb-driver kernel setting:
video=sisfb:mode:1024x768x32,mem:12288

emerge info:
Portage 2.0.50-r10 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r2)
=================================================================
System uname: 2.6.8-gentoo-r2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://128.213.5.34/gentoo/
http://ftp.caliu.info/pub/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://gentoo.mirror.sdv.fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="S3TC X aac aalib acl acpi acpi4linux alsa also apache2 arts autofs avi
berkdb bonobo cdparanoia clanJavaScript clanVoice codecs crypt cups dga directfb
dvd dvdread encode esd evo faac faad fbcon flac foomaticdb gd gdbm gif gimp
gphoto2 gpm gtk gtk2 gtkhtml guile hbci imap imlib imlib2 ipv6 java javascript
jikes jpeg kde ldap libg++ libwww lirc mad maildir memlimit mikmod mmx mng motif
mozcalendar mozdevelop mozilla mozp3p mozsvg mozxmlterm mpeg mysql nas ncurses
network nls nptl offensive oggvorbis ooo-kde openal opengl oss pam pcmcia pdflib
perl pic png pnp ppds pthreads python qtquicktime readline samba sdl sis slang
spell sse ssl svg svga tcltk tcpd tetex threads tiff transcode truetype unicode
usb x86 xinerama xml xml2 xmms xosd xv xvid zlib"
Comment 1 Thomas Scheffler 2004-08-27 07:14:53 UTC
As I said before the image is shown in the early boot phase. But I just noticed that there is no text telling that pressing F2 will switch to verbose mode. So I guess the error is somewhere between image display and text display.
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2004-09-01 03:49:27 UTC
Can you boot into verbose mode (ie. specifying splash=verbose,theme:<whatever_theme_you_use> in the kernel command line)?
Comment 3 Thomas Scheffler 2004-09-02 10:19:45 UTC
After booting into verbose mode there is no hang anymore. But there seems another bug than. Short before or after the init process the verbose image disappears until it get reenabled by splash at the end of the boot process. I strongly assume that there is a font problem for silent splashs. I try to disable the font output in my theme and try to boot with it in silent mode.
Comment 4 Thomas Scheffler 2004-09-02 10:33:25 UTC
after removing text_* the problem still exists. I just used the emergence theme replaced the pictures and exchanged the colors for my custom theme. So the problem should be identical to the emergence theme and not theme specific at all.
Comment 5 Michal Januszewski (RETIRED) gentoo-dev 2004-09-04 05:53:45 UTC
1) Please post/mail me your kernel config and the kernel command line settings.
2) Please try it with the unmodified emergence theme.
Comment 6 Thomas Scheffler 2004-09-04 11:17:22 UTC
Created attachment 38920 [details]
linux-2.6.8-gentoo-r3 config

It still doesn't boot with default theme.

kernel parameters from grub.conf:
kernel (hd0,0)/boot/bzImage root=/dev/hda6
video=sisfb:mode:1024x768x32,mem:12288 resume=/dev/hda2 acpi=force
splash=silent,theme:emergence

initrd=/boot/fbsplash-emergence-1024x768
Comment 7 Michal Januszewski (RETIRED) gentoo-dev 2004-09-05 11:01:26 UTC
Now that you posted the full kernel command line, I think the problem is caused by 'resume=/dev/hda2'. The version of fbsplash included in the current version of g-d-s is known to have this problem with the swsusp code (a deadlock occurs when the kernel boots into the silent mode). The bug will be fixed in the next version of g-d-s, which will include an updated version of fbsplash.
Comment 8 Thomas Scheffler 2004-09-06 14:10:33 UTC
removing "resume=/dev/hda2" fixed it temporarly, thanks for the tip. I can live with no resume until the code got fixed.
Comment 9 Michal Januszewski (RETIRED) gentoo-dev 2004-10-02 10:28:36 UTC
I'm closing this as the latest g-d-s kernels include fbsplash-0.9-r8, which fixes the problem.