I've had a look into /etc/init.d/bootsplash as well as /sbin/splash, and although I'm a fairly experienced shell programmer, I can't make much sense out of it. What's especially confusing me is that 1) There are multiple referrals to /sbin/bootanim, which does not exist on my system although I have remerged bootsplash. 2) /sbin/splash seems to contain code to iterate over all consoles (for setting the backgrounds), but /etc/init.d/bootsplash does as well! There must be some kind of misconception here? Also, /sbin/splash is calling itself a few times. Looks like a nasty piece of code to me ... Reproducible: Always Steps to Reproduce: I'm using the following kernel command line with kernel 2.6.11.6 (vanilla-sources): kernel /boot/bzImage vga=0x317 video=vesafb:ywrap,mtrr psmouse.proto=imps resume2=swap:/dev/hda2 splash=silent plus the following conf.d/bootsplash options: BOOTSPLASH_TTYS="0 1 2" BOOTSPLASH_STOP_ON_ERROR="yes" Actual Results: I got the following error message during startup: /sbin/splash: line 95: /sbin/bootanim: No such file or directory After the silent splash screen is gone, the splash background is only set on the first console, but not on the others. Expected Results: Not only the first console should have a fancy background. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11.6 i686) ================================================================= System uname: 2.6.11.6 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 7 2005, 07:50:20)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS=" ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/" LANG="de_DE" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X acpi alsa audiofile avi berkdb bitmap-fonts cdparanoia cdr crypt cups curl dvd emboss encode fam flac foomaticdb gdbm gif gimpprint gphoto2 gstreamer gtk gtk2 i8x0 imagemagick imlib ipv6 java jpeg kde libg++ libwww mad mikmod mmx monkey motif mp3 mpeg ncurses network nls oggvorbis opengl oss pam pcmcia pdflib perl pic png pnp python qt quicktime readline real rtc samba scanner sdl slang speex spell sse sse2 ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb wifi winbind xml xml2 xv xvid xvmc zlib input_devices_synaptics linguas_de" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
I've just fixed the bootanim installation issue -- it should be in place (/sbin/bootanim) if you sync and remerge bootsplash. /sbin/splash does not iterate over the consoles (have a closer look at the code). /sbin/splash does indeed call itself. This could be avoided by chaging references to /sbin/splash to /sbin/splash.bin, but I don't really care (since I consider bootsplash to be obsolete on Gentoo systems, and no longer actively maintained upstream). The fact that you're not getting fancy backgrounds on other consoles could be caused by one of the following things: a) 'bootsplash' service not added to the default runlevel b) 'default' symlink not present, invalid, or pointing to a theme with broken naming-scheme or some broken configuration
No comments in 2 weeks, so I'm assuming the problem was fixed by the last release.
No. I double-checked your suggestions a) and b), and I re-merged bootsplash (now it includes bootanim), but it still doesn't work. Since there seems to be no one wanting to fix this package, I decided to switch to splashutils. However, I'm already using the swsusp2-patches, which don't seem to cooperate with the fbsplash patches provided. Since I need the functionality of swsusp2 much more than a nice splash screen, I've given up on this one. Using a plain fb console for now. So, it's more of a WONTFIX, I guess.
If you remove the bootsplash patch from the suspend2 patchset, fbsplash should work just fine. At least it did last time I checked :)
I removed the bootsplash portion of swsusp2, applied fbsplash-0.9.2-2.6.11.patch. Kernel compilation worked. However, I get these errors when compiling splashutils-0.9.1: splash.c: In Funktion
I removed the bootsplash portion of swsusp2, applied fbsplash-0.9.2-2.6.11.patch. Kernel compilation worked. However, I get these errors when compiling splashutils-0.9.1: splash.c: In Funktion »main«: splash.c:218: error: `FBIOSPLASH_SETMODE' undeclared (first use in this function) splash.c:218: error: (Each undeclared identifier is reported only once splash.c:218: error: for each function it appears in.) splash.c:218: error: `FB_SPLASH_MODE_SILENT' undeclared (first use in this function) splash.c:218: error: `FB_SPLASH_MODE_VERBOSE' undeclared (first use in this function) splash.c:239: error: `FBIOSPLASH_GETMODE' undeclared (first use in this function) make: *** [splash.o] Fehler 1 Any ideas? I can't use kernel 2.6.12-rc3 because there is no swsusp patch for this version.
If you're using fbsplash-0.9.1 or 0.9.2 (which you apparently do), you will have to install a newer version of splashutils, preferably 1.1.9.6.