Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85565 - Some issues with splashutils-1.1.9.1 & fbsplash 0.9.2
Summary: Some issues with splashutils-1.1.9.1 & fbsplash 0.9.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-16 15:56 UTC by Peter Beutner
Modified: 2005-03-25 20:34 UTC (History)
1 user (show)

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


Attachments
gensplash-avoid-chvt.patch (gensplash-avoid-chvt.patch,351 bytes, patch)
2005-03-17 14:58 UTC, Peter Beutner
Details | Diff
gensplash-avoid-tail.patch (gensplash-avoid-tail-v2.patch,1.27 KB, patch)
2005-03-17 15:00 UTC, Peter Beutner
Details | Diff
simple patch to avoid use of tail in splash-functions.sh (gensplash-notail-bd.patch,893 bytes, patch)
2005-03-18 02:38 UTC, bruno
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Beutner 2005-03-16 15:56:03 UTC
1)
The splashutility scripts(/sbin/splash,/sbin/splash-functions.sh) rely on some apps which are located in /usr/bin, so if the user has /usr on another partition, the script wont find them in early stages before partitions are mounted.
The missing programs are: chvt, fgconsole and tail.

2)
Same problem goes for the tmpfs which is should be mounted at /var/cache/splash.
If /var is on an extra partition, /var/cache doesnt exists and mount fails.
As the splash binaries contain a hardcoded reference to that path, its not done by simple changing the corresponding variables in the scripts.
Maybe a config variable in /etc/conf.d/splash would be a good idea?

3) It seems that it didnt work anymore in 8bpp mode. See this thread
http://forums.gentoo.org/viewtopic.php?p=2198855#2198855

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1,
2.6.11-mm2 i686)
=================================================================
System uname: 2.6.11-mm2 i686 Genuine Intel(R) CPU 2.40GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 14:13:15)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.6.3, 1.5, 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4  -pipe -fomit-frame-pointer"
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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4  -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distcc distlocks parallel-fetch
sandbox sfperms"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib alsa avi berkdb crypt dga directfb dts dvb dvd dvdread
erandom fbcon flac gdbm gif gtk gtk2 imlib java jpeg libcaca lirc lzo mad
matroska mikmod mmx mmx2 mng motif mozilla mpeg ncurses nls nptl oggvorbis
openal opengl pam perl pic png python quicktime readline real sdl sse sse2 ssl
tcltk tga tiff truetype xml xml2 xprint xv xvid zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
Comment 1 Peter Beutner 2005-03-17 14:58:16 UTC
Created attachment 53736 [details, diff]
gensplash-avoid-chvt.patch

we could easily avoid chvt and use the running splash daemon to switch to
verbose mode which actually is only a change to vt 1.
Comment 2 Peter Beutner 2005-03-17 15:00:15 UTC
Created attachment 53737 [details, diff]
gensplash-avoid-tail.patch

avoid using tail in splash-functions.sh. Same result could be achieved with
builtin bash functions ;)
Comment 3 bruno 2005-03-18 02:38:48 UTC
Created attachment 53767 [details, diff]
simple patch to avoid use of tail in splash-functions.sh

This is an alternate method to avoid tail (and btw head) in splash-functions,
as the file has only 2 lines, we could as well check the whole file.
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2005-03-21 11:33:03 UTC
The new version of splashutils (1.1.9.2) should fix these problems. If it doesn't, please comment/reopen.
Comment 5 John5788 2005-03-21 20:19:42 UTC
Everything works except trying to F2 into verbose mode. I press F2 and nothing happens. At the very end before I'm presented with the login, the screen turns black except for the progress bar, then everything shows up again normally.
Comment 6 Michal Januszewski (RETIRED) gentoo-dev 2005-03-22 12:18:19 UTC
Do you have CONFIG_EVDEV set to 'y' in your kernel config? If you don't, it just won't work (I know, it's a bug, switching from silent to verbose should work anyway).
Comment 7 John5788 2005-03-22 16:28:28 UTC
You mean CONFIG_INPUT_EVDEV? It isn't set in my kernel. Where can I find it in menuconfig?
Comment 8 John5788 2005-03-22 16:29:44 UTC
Nevermind, I found it in Device Drivers -> Input device support -> Event Interface
Comment 9 John5788 2005-03-25 20:34:32 UTC
OK I enabled support for that, and it still won't goto verbose mode when I hit F2