Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200668 - fbsplashd not killed after boot
Summary: fbsplashd not killed after boot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
: 202927 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-28 17:53 UTC by Pavel Vondricka
Modified: 2008-01-11 22:31 UTC (History)
4 users (show)

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


Attachments
/lib/splash/cache/profile (splash.profile,11.45 KB, text/plain)
2007-11-28 20:28 UTC, Pavel Vondricka
Details
A patch to add some debugging info to the splash profile. (splashutils_exit_cmd_debug.patch,1.03 KB, patch)
2007-12-05 20:40 UTC, Michal Januszewski (RETIRED)
Details | Diff
A patch to log all commands received by fbsplashd. (splashutils_log_cmd.patch,365 bytes, patch)
2007-12-06 22:09 UTC, Michal Januszewski (RETIRED)
Details | Diff
A patch to actually enable logging to the splash profile file. (splashutils_profile.patch,324 bytes, patch)
2007-12-08 15:25 UTC, Michal Januszewski (RETIRED)
Details | Diff
New profile (splash.profile2,19.88 KB, text/plain)
2007-12-09 19:53 UTC, Pavel Vondricka
Details
cmd_paint() debug patch (splashutils-cmd-paint-debug.patch,608 bytes, patch)
2007-12-11 17:19 UTC, Michal Januszewski (RETIRED)
Details | Diff
splash profile (splash.profile3,26.49 KB, text/plain)
2007-12-16 21:23 UTC, Pavel Vondricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Vondricka 2007-11-28 17:53:51 UTC
Since I updated to gentoo-sources 2.6.23 and started using uvesafb, I cannot use the F2 key, because it immediately triggers the "silent" splashscreen with the progress bar (VT1 when pressed second time, aso.), even when working in X.

Reproducible: Always

Steps to Reproduce:
1. Boot gentoo-sources 2.6.23 with fbsplash and uvesafb.
2. Press F2 (or Ctrl-F2 or Alt-F2 or Ctrl-Alt-F2).

Actual Results:  
Silent splash screen appears immediately when F2 is pressed. Vt1 appears when F2 is pressed second time. (The usual action (like KDE Alt+F2 "run command" dialogue) gets triggered as well, as I can see when switching back to vt7/X)

Expected Results:  
No other action triggered than the usual one.

I tried not to use the external splashutils-generated initrd, nor the /etc/init.d/fbcondecor: it did not help. So I guess the problem must be already in kernel fbsplash...?
The uvesafb driver is configured according to spock's advice with the v86d initrd compiled into the kernel.
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2007-11-28 18:46:10 UTC
If you aren't using the latest version of splashutils (1.5.3), please upgrade and see whether it fixes the problem.

If it doesn't, please:

1) paste your emerge --info,
2) let us know what your kernel command line settings are,
3) try booting with splash=profile,<other_parameters_that_you_are_currently_using> and attach the /lib/splash/cache/profile file that will be generated after boot.
Comment 2 Pavel Vondricka 2007-11-28 19:30:56 UTC
Portage 2.1.3.19 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Wed, 28 Nov 2007 10:30:01 +0000
ccache version 2.4 [enabled]
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
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  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.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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/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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache confcache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.rhnet.is/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="cs_CZ.UTF-8"
LINGUAS="cs"
MAKEOPTS="-j2"
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/layman/voip /usr/portage/local/layman/pro-audio /usr/portage/local/layman/kde /usr/local/portage"
SYNC="rsync://owl.gentoo.org/gentoo-portage"
USE="16bit 3ds 64bit 7zip S3TC X X509 Xaw3d a52 aac abook accessibility acpi activefilter addbookmarks administrator ads aiglx aio akode alias alsa amarok amazon amd amd64 amr amrnb amrwb amuled animgif ao aotuv apache2 arts artswrappersuid asf asterisk async auctex audiofile autoipd automount avahi avantgo ax25 bash-completion bcmath berkdb bgpclassless bidi bittorrent bl bluetooth bookmarks bzip2 bzlib c++ cairo calendar canvas cap caps captury cardbus ccache cdda cddb cdinstall cdio cdparanoia cdr cdrom cg cgi chipcard chipcard2 chm cjk ck-plus cli clisp clucene codecs context cracklib crypt csf css csv ctype cups curl curlwrappers cviewer cvs cvsgraph cyrillic d daap dba dbase dbm dbus dbx designer-plugin device-mapper devmap dga dhcp dia dict dio directfb disassembler disk-partition distcache divx divx4linux djvu dmi dmx dnd dpms dri dsml dssi dts dv dvb dvbplayer dvd dvdnav dvdr dvdread dvi dynamicplugin eap-tls ecw editor edl effects emacs-w3 emboss emerald emovix emul-linux-x86 enca encode enscript epson esd estraier ethereal etwin exif exiv2 export exscalibar extensions extra extraicons extramodules fam fame fastcgi fat fax fb fbcon fbcondecor fbdev fbsplash festival ffmpeg fftw filter firefox fits flac flash flatfile flexresp2 fluidsynth fmod fontconfig foomaticdb fortran fpx freebob freetts freetype freetype2 frlargefiles ftp fuse games gammu gb gcj gd gdal gdbm gecko-sdk geoip geometry geos ggz gif gimp gimpprint gkrellm glade glep glgd glib glitz glut glw glx gmath gmedia gml gmp gmtfull gmthigh gmtsuppl gnokii gnuplot gnutls gpac gpgme gphoto2 gpm gps grammar graphics graphviz grass gre gs gsl gsm gstreamer gstreamer010 gtk gtk2 gtkhtml h323 hal hash hbci hddtemp hdf hdf5 hdri high-ints hlapi hostap howl-compat hpn html http httpd humanities icon iconv icq icu id3 id3tag ide idn ieee1394 ifp image imagemagick imap imlib imlib2 immqt-bc inifile inkjar inline innodb inotify intl iodbc ipalias ipcs ipod iproute2 ipv6 irda irmc isdnlog jabber jack jack-tmpfs jackmidi jasper java javamail javascript jbig jce jingle joystick jp2 jpeg jpeg2k jpgraph jrtplib json jython kadmos kakasi kcal kde kdeenablefinal kdepim kdrive kexi kig-scripting kipi kmid kpathsea kqemu ksolver ktts ladcca ladspa lame lapack largefile lash latex lcd lcms ldap leim lesstif libdsk libgda libsamplerate libwww lilypond live lm_sensors lnbsharing logitech-mouse logrotate ltsp lua lzo m17n-lib mad mapeditor maps matroska mbox mbrola mcal mcve md5sum mdb mdnsresponder-compat mecab memlimit metar mew midi mikmod mime mimencode mixer mjpeg mmap mng modplug motif mouse mozaccess mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp2 mp3 mp4 mp4live mpe mpeg mpeg2 mpeg4 mplayer mpm-worker mschap msdav mudflap mule multipath multipleip musepack musicbrainz mysql mysqli mythtv nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas native ncurses net netcdf netjack network network-cron network_manager networking networkmanager neural newxkb nforce2 nfs ngpython nis njb nls no-htdocs nocd normalizemime npp nptl nptlonly nsplugin ntfs ntlm nvidia nvram nvtv oav obex ocaml odbc ofx ogdi ogg oggvorbis ogre omega openal openct opendoc openexr opengl openmp openssl osc ospfapi overlays overload pam pango parse-clocks paste64 pcmcia pcntl pcre pda pdf pdo pear pear-db perforce perfprofiling perl pg-intdatetime pg-vacuumdelay php physfs pie player playlist plib plotutils pmu png pnm pop pop3d portaudio posix postfix postgis postgres postproc postscript povray ppds pppd pri print private procmail proj ps pstricks publishers pulseaudio pvr pwdb python pyx q32 q8 qemu-fast qhull qt3 qt3support qt4 query-browser quicktime quotas radio radius rar rdesktop react readline realmedia realms reflection regex reiser4 reiserfs remote resperl rhino rle rplay rrdcgi rrdtool rss rtc rtsp ruby samba sametime samples sasl sbcl sblive scanner science sdl sendfile sensord server session sftp sftplogging sguil shaper sharedext shorten silc silverxp simplexml skey skins slang slp smartcard smime sms smtp sndfile snmp soap sockets socks5 softmmu softquota solver soundex soundtouch sourcecaps sox spamassassin speex spell spl spreadsheet sql sqlite sqlite3 srt sse-filters ssl stats stencil-buffer stream stroke subp subtitles subversion suid svg svgz svnserve swat symlink sysfs syslog sysvipc szip t1lib t38 taglib tagwriting tcl tcltk tcpd tcpmd5 tcsim teletext tesseract test-programs tetex tex tga theora thesaurus threads thumbnail tidy tiff timestats timidity tivo tk tokenizer toolbar tools tos transcode transparent-proxy truetype truetype-fonts tse3 twolame type1 type1-fonts udpfromto uml unicode unzip upnp urandom usagi usb userlocales utf8 utils uudeview v4l v4l2 vamp vcd vcdimager vda vdr vfat vhosts vim vim-pager vim-with-x virtual-users virus-scan visualization vlm vmdbmysql vmdbpostgres vnc voice vorbis vorbis-psy vpopmail vst wav wavelan wavpack wddx web webdav wfs wideband wifi wildlsearch winbind withsamplescripts wma wma123 wmf wmp wordperfect workbench wsconvert wv wxwindows x11vnc x264 xanim xattr xbase xcb xcomposite xerces-c xetex xext xface xforms xft xgetdefault xim xine xinerama xinetd xml xml2 xmlreader xmlrpc xmlwriter xorg xosd xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yiff yv12 zaptel zeo zip zlib zoran zrtp zvbi zynaddsubfx" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Pavel Vondricka 2007-11-28 19:40:23 UTC
17.37: pre rc_init sysinit S
17.94: comm set tty silent 16
17.94: comm set mode silent
17.95: comm repaint
18.40: comm set event dev /dev/input/event4
18.41: comm update_svc checkroot svc_inactive_start
18.42: comm update_svc modules svc_inactive_start
18.43: comm update_svc checkfs svc_inactive_start
18.44: comm update_svc localmount svc_inactive_start
18.45: comm update_svc clock svc_inactive_start
18.46: comm update_svc hostname svc_inactive_start
18.47: comm update_svc bootmisc svc_inactive_start
18.48: comm update_svc keymaps svc_inactive_start
18.49: comm update_svc consolefont svc_inactive_start
18.50: comm update_svc net.lo svc_inactive_start
18.51: comm update_svc rmnologin svc_inactive_start
18.52: comm update_svc urandom svc_inactive_start
18.53: comm update_svc net.eth0 svc_inactive_start
18.54: comm update_svc syslog-ng svc_inactive_start
18.55: comm update_svc acpid svc_inactive_start
18.56: comm update_svc alsasound svc_inactive_start
18.57: comm update_svc apache2 svc_inactive_start
18.58: comm update_svc cpufreqd svc_inactive_start
18.59: comm update_svc cupsd svc_inactive_start
18.60: comm update_svc dbus svc_inactive_start
18.61: comm update_svc ddclient svc_inactive_start
18.62: comm update_svc hald svc_inactive_start
18.63: comm update_svc hddtemp svc_inactive_start
18.64: comm update_svc iptables svc_inactive_start
18.65: comm update_svc local svc_inactive_start
18.66: comm update_svc mysql svc_inactive_start
18.67: comm update_svc netmount svc_inactive_start
18.68: comm update_svc ntpd svc_inactive_start
18.69: comm update_svc postgresql svc_inactive_start
18.70: comm update_svc samba svc_inactive_start
18.71: comm update_svc vixie-cron svc_inactive_start
18.72: comm update_svc vmware svc_inactive_start
18.73: comm update_svc xdm svc_inactive_start
18.74: comm update_svc x86-chroot svc_inactive_start
18.75: post rc_init sysinit S
18.76: pre svc_start checkroot
18.77: comm update_svc checkroot svc_start
18.77: comm paint
18.78: post svc_start checkroot
19.89: pre svc_started checkroot 0
19.89: comm update_svc checkroot svc_started
19.90: comm progress 1927
19.91: comm paint
19.92: post svc_started checkroot 0
19.94: pre svc_start modules
19.95: comm update_svc modules svc_start
19.95: comm paint
19.96: post svc_start modules
20.22: pre svc_started modules 0
20.22: comm update_svc modules svc_started
20.25: comm progress 3855
20.26: comm paint
20.27: post svc_started modules 0
20.30: pre svc_start checkfs
20.31: comm update_svc checkfs svc_start
20.34: comm paint
20.34: post svc_start checkfs
20.82: pre svc_started checkfs 0
20.82: comm update_svc checkfs svc_started
20.83: comm progress 5782
20.85: comm paint
20.86: post svc_started checkfs 0
20.87: pre svc_start localmount
20.87: comm update_svc localmount svc_start
20.89: comm paint
20.90: post svc_start localmount
21.54: pre svc_started localmount 0
21.54: comm update_svc localmount svc_started
21.55: comm progress 7710
21.56: comm paint
21.57: post svc_started localmount 0
21.60: pre svc_start clock
21.60: comm update_svc clock svc_start
21.61: comm paint
21.62: post svc_start clock
23.20: pre svc_started clock 0
23.21: comm update_svc clock svc_started
23.22: comm progress 9637
23.23: comm paint
23.23: post svc_started clock 0
23.26: pre svc_start bootmisc
23.27: comm update_svc bootmisc svc_start
23.28: comm paint
23.29: post svc_start bootmisc
24.16: pre svc_started bootmisc 0
24.16: comm update_svc bootmisc svc_started
24.17: comm progress 11565
24.18: comm paint
24.19: post svc_started bootmisc 0
24.60: pre rc_init boot S
24.61: post rc_init boot S
25.43: pre svc_start hostname
25.43: comm update_svc hostname svc_start
25.46: comm paint
25.47: post svc_start hostname
25.65: pre svc_started hostname 0
25.66: comm update_svc hostname svc_started
25.68: comm progress 13492
25.69: comm paint
25.70: post svc_started hostname 0
25.72: pre svc_start keymaps
25.72: comm update_svc keymaps svc_start
25.73: comm paint
25.74: post svc_start keymaps
26.45: pre svc_started keymaps 0
26.46: comm update_svc keymaps svc_started
26.47: comm progress 15420
26.47: comm paint
26.49: post svc_started keymaps 0
26.52: pre svc_start consolefont
26.52: comm update_svc consolefont svc_start
26.55: comm paint
26.56: post svc_start consolefont
26.93: pre svc_started consolefont 0
26.93: comm update_svc consolefont svc_started
26.96: comm progress 17347
26.97: comm paint
26.98: post svc_started consolefont 0
26.99: pre svc_start net.lo
27.00: comm update_svc net.lo svc_start
27.03: comm paint
27.04: post svc_start net.lo
27.54: pre svc_started net.lo 0
27.55: comm update_svc net.lo svc_started
27.57: comm progress 19275
27.59: comm paint
27.59: post svc_started net.lo 0
27.61: pre svc_start rmnologin
27.61: comm update_svc rmnologin svc_start
27.63: comm paint
27.64: post svc_start rmnologin
27.80: pre svc_started rmnologin 0
27.81: comm update_svc rmnologin svc_started
27.82: comm progress 21202
27.83: comm paint
27.84: post svc_started rmnologin 0
27.86: pre svc_start udev-postmount
27.86: comm update_svc udev-postmount svc_start
27.88: comm paint
27.89: post svc_start udev-postmount
28.09: pre svc_started udev-postmount 0
28.10: comm update_svc udev-postmount svc_started
28.13: comm progress 23130
28.14: comm paint
28.15: post svc_started udev-postmount 0
28.16: pre svc_start urandom
28.17: comm update_svc urandom svc_start
28.18: comm paint
28.18: post svc_start urandom
28.41: pre svc_started urandom 0
28.41: comm update_svc urandom svc_started
28.44: comm progress 25057
28.45: comm paint
28.46: post svc_started urandom 0
28.48: pre rc_exit S
28.49: post rc_exit S
28.62: pre rc_init default 3
28.63: post rc_init default 3
30.61: pre svc_start iptables
30.61: comm update_svc iptables svc_start
30.64: comm paint
30.65: post svc_start iptables
30.99: pre svc_started iptables 0
31.00: comm update_svc iptables svc_started
31.03: comm progress 26985
31.04: comm paint
31.05: post svc_started iptables 0
31.07: pre svc_start syslog-ng
31.08: comm update_svc syslog-ng svc_start
31.08: comm paint
31.09: post svc_start syslog-ng
31.44: pre svc_started syslog-ng 0
31.44: comm update_svc syslog-ng svc_started
31.45: comm progress 28912
31.46: comm paint
31.47: post svc_started syslog-ng 0
31.50: pre svc_start acpid
31.50: comm update_svc acpid svc_start
31.52: comm paint
31.52: post svc_start acpid
31.84: pre svc_started acpid 0
31.85: comm update_svc acpid svc_started
31.86: comm progress 30840
31.87: comm paint
31.88: post svc_started acpid 0
31.90: pre svc_start dbus
31.90: comm update_svc dbus svc_start
31.91: comm paint
31.93: post svc_start dbus
32.51: pre svc_started dbus 0
32.51: comm update_svc dbus svc_started
32.52: comm progress 32767
32.54: comm paint
32.55: post svc_started dbus 0
32.57: pre svc_start hald
32.57: comm update_svc hald svc_start
32.58: comm paint
32.59: post svc_start hald
34.79: pre svc_started hald 0
34.80: comm update_svc hald svc_started
34.82: comm progress 34695
34.84: comm paint
34.85: post svc_started hald 0
34.86: pre svc_start netmount
34.87: comm update_svc netmount svc_start
34.88: comm paint
34.88: post svc_start netmount
35.06: pre svc_started netmount 0
35.07: comm update_svc netmount svc_started
35.09: comm progress 36622
35.11: comm paint
35.12: post svc_started netmount 0
35.13: pre svc_start xdm
35.14: comm update_svc xdm svc_start
35.16: comm paint
35.18: post svc_start xdm
36.06: pre svc_started xdm 0
36.06: comm update_svc xdm svc_started
36.07: comm progress 38550
36.08: comm paint
36.09: post svc_started xdm 0
36.12: pre svc_start alsasound
36.12: comm update_svc alsasound svc_start
36.14: comm paint
36.15: post svc_start alsasound
37.20: pre svc_started alsasound 0
37.21: comm update_svc alsasound svc_started
37.22: comm progress 40477
37.23: comm paint
37.24: post svc_started alsasound 0
37.26: pre svc_start mysql
37.27: comm update_svc mysql svc_start
37.28: comm paint
37.29: post svc_start mysql
43.28: pre svc_started mysql 0
43.29: comm update_svc mysql svc_started
43.30: comm progress 42405
43.31: comm paint
43.32: post svc_started mysql 0
43.33: pre svc_start postgresql
43.34: comm update_svc postgresql svc_start
43.35: comm paint
43.36: post svc_start postgresql
44.07: pre svc_started postgresql 0
44.08: comm update_svc postgresql svc_started
44.09: comm progress 44332
44.10: comm paint
44.11: post svc_started postgresql 0
44.13: pre svc_start apache2
44.14: comm update_svc apache2 svc_start
44.15: comm paint
44.16: post svc_start apache2
50.29: pre svc_started apache2 0
50.29: comm update_svc apache2 svc_started
50.30: comm progress 46260
50.32: comm paint
50.33: post svc_started apache2 0
50.35: pre svc_start cpufreqd
50.36: comm update_svc cpufreqd svc_start
50.37: comm paint
50.38: post svc_start cpufreqd
50.78: pre svc_started cpufreqd 0
50.78: comm update_svc cpufreqd svc_started
50.79: comm progress 48187
50.80: comm paint
50.82: post svc_started cpufreqd 0
50.83: pre svc_start cupsd
50.84: comm update_svc cupsd svc_start
50.85: comm paint
50.85: post svc_start cupsd
55.20: pre svc_started cupsd 0
55.21: comm update_svc cupsd svc_started
55.23: comm progress 50115
55.26: comm paint
55.28: post svc_started cupsd 0
55.31: pre svc_start ddclient
55.32: comm update_svc ddclient svc_start
55.33: comm paint
55.35: post svc_start ddclient
59.27: pre svc_started ddclient 0
59.29: comm update_svc ddclient svc_started
59.32: comm progress 52042
59.35: comm paint
59.38: post svc_started ddclient 0
59.42: pre svc_start hddtemp
59.43: comm update_svc hddtemp svc_start
59.45: comm paint
59.48: post svc_start hddtemp
60.28: pre svc_started hddtemp 0
60.29: comm update_svc hddtemp svc_started
60.32: comm progress 53970
60.35: comm paint
60.37: post svc_started hddtemp 0
60.41: pre svc_start net.eth0
60.43: comm update_svc net.eth0 svc_start
60.45: comm paint
60.48: post svc_start net.eth0
66.18: pre svc_started net.eth0 0
66.19: comm update_svc net.eth0 svc_started
66.21: comm progress 55897
66.23: comm paint
66.25: post svc_started net.eth0 0
66.28: pre svc_start ntpd
66.29: comm update_svc ntpd svc_start
66.31: comm paint
66.32: post svc_start ntpd
67.05: pre svc_started ntpd 0
67.06: comm update_svc ntpd svc_started
67.08: comm progress 57825
67.11: comm paint
67.12: post svc_started ntpd 0
67.16: pre svc_start samba
67.17: comm update_svc samba svc_start
67.19: comm paint
67.21: post svc_start samba
69.19: pre svc_started samba 0
69.21: comm update_svc samba svc_started
69.25: comm progress 59752
69.27: comm paint
69.29: post svc_started samba 0
69.33: pre svc_start vixie-cron
69.34: comm update_svc vixie-cron svc_start
69.36: comm paint
69.37: post svc_start vixie-cron
69.98: pre svc_started vixie-cron 0
69.99: comm update_svc vixie-cron svc_started
70.01: comm progress 61680
70.04: comm paint
70.06: post svc_started vixie-cron 0
70.09: pre svc_start vmware
70.10: comm update_svc vmware svc_start
70.12: comm paint
70.14: post svc_start vmware
71.86: pre svc_started vmware 0
71.87: comm update_svc vmware svc_started
71.88: comm progress 63607
71.90: comm paint
71.91: post svc_started vmware 0
71.93: pre svc_start x86-chroot
71.94: comm update_svc x86-chroot svc_start
71.95: comm paint
71.96: post svc_start x86-chroot
84.86: pre svc_started x86-chroot 0
84.87: comm update_svc x86-chroot svc_started
84.90: comm progress 65535
84.93: comm paint
84.95: post svc_started x86-chroot 0
84.99: pre svc_start local
84.99: comm update_svc local svc_start
85.02: comm paint
85.03: post svc_start local
85.60: pre svc_started local 0
85.62: comm update_svc local svc_started
85.64: comm progress 67462
85.66: comm paint
85.68: post svc_started local 0
85.75: pre rc_exit 3
85.76: comm exit staysilent
86.00: post rc_exit 3
Comment 4 Pavel Vondricka 2007-11-28 19:43:31 UTC
splashutils 1.5.3 do not fix the problem.

Kernel command line settings:
kernel /vmlinuz root=/dev/hdc5 ro noapic video=uvesafb:1400x1050-16,mtrr:3 splash=silent,fadein,theme:crystal quiet CONSOLE=/dev/tty1

Actually, there is NO problem at the moment - is it because I used the keywords "profile"??
Comment 5 Pavel Vondricka 2007-11-28 20:01:22 UTC
No, it was apparently not connected to anything I can think of. The problem is back anyway. It just was OK once, when I generated the "profile" for the first time, so probably just a coincidence? Should I post another, new /lib/splash/cache/profile now, when it seems broken again?
Comment 6 Michal Januszewski (RETIRED) gentoo-dev 2007-11-28 20:21:57 UTC
(In reply to comment #5)
> No, it was apparently not connected to anything I can think of. The problem is
> back anyway. It just was OK once, when I generated the "profile" for the first
> time, so probably just a coincidence? Should I post another, new
> /lib/splash/cache/profile now, when it seems broken again?

Yes, please do. Also, please post it as an attachment instead of pasting it into a comment.
Comment 7 Pavel Vondricka 2007-11-28 20:28:32 UTC
Created attachment 137275 [details]
/lib/splash/cache/profile
Comment 8 Pavel Vondricka 2007-11-28 20:32:58 UTC
OK. I cannot see any difference though. 
(Strange, I was pretty sure I also tried to kill fbsplashd once before too and it did not help. However, it helps now...)
Comment 9 Michal Januszewski (RETIRED) gentoo-dev 2007-12-02 16:01:03 UTC
(In reply to comment #8)

Is this problem theme-specific?  Could you please try booting with livecd-2007.0  and gentoo or emergence to verify?
Comment 10 Pavel Vondricka 2007-12-03 00:28:14 UTC
(In reply to comment #9)

Yes, it is the same with emergence theme.

Comment 11 Michal Januszewski (RETIRED) gentoo-dev 2007-12-04 16:18:10 UTC
Could you please try the following:

- make sure there is no fbsplashd instance running: killall -9 fbsplashd
- start fbsplashd manually: fbsplashd -t crystal
- echo "exit staysilent" > /lib/splash/cache/.splash
- check whether the splash daemon is running: ps aux | grep fbsplashd
Comment 12 Pavel Vondricka 2007-12-05 02:00:04 UTC
Seems to work well.
Comment 13 Michal Januszewski (RETIRED) gentoo-dev 2007-12-05 20:40:13 UTC
Created attachment 137840 [details, diff]
A patch to add some debugging info to the splash profile.

Could you please try to build splashutils with this patch applied (put it into media-gfx/splashutils/files and modify splashutils-1.5.3.ebuild by putting 'epatch ${FILESDIR}/splashutils_exit_cmd_debug.patch' on line 69 (after 'cd "${S}"'))?  Then reboot with the profile splash option to generate a new profile file.  The new profile should contain info indicating what happens in the 'exit' command handler.  If it does, please post it as an attachment to this bug.
Comment 14 Pavel Vondricka 2007-12-05 23:56:51 UTC
I tried it with 1.5.3.1 straight, the patch seemed to be applied well. But nothing happens. Not even the first message. Should I rather try 1.5.3?

(Is it ok that the fbsplashd.static doesn't receive any commands through the pipe, unlike fbsplashd? How does it get th exite command, then, and from where?)
Comment 15 Michal Januszewski (RETIRED) gentoo-dev 2007-12-06 20:14:57 UTC
(In reply to comment #14)
> I tried it with 1.5.3.1 straight, the patch seemed to be applied well. But
> nothing happens. Not even the first message. Should I rather try 1.5.3?

The patch should work with both 1.5.3 and 1.5.3.1, so I guess there is no
point in doing so.
 
> (Is it ok that the fbsplashd.static doesn't receive any commands through the
> pipe, unlike fbsplashd? How does it get th exite command, then, and from
> where?)

It's definitely not OK -- fbsplashd and fbsplashd.static should be identical
as far interaction with 3rd party applications is concerned.

If you run the test from comment #11 with fbsplashd.static instead of fbsplashd,
doesn't it get killed properly?  If it does, how do you know that fbsplashd.static doesn't receive commands from the pipe?
Comment 16 Pavel Vondricka 2007-12-06 21:15:15 UTC
OK, sorry. I give up. Yesterday I tried to send the command to the fbsplashd.static and the "echo..." just hanged... When I run it now, it works. Probably it was just the original fbsplashd.static still hanging there since the boot, I don't remember if I tried to run a fresh one.
Comment 17 Michal Januszewski (RETIRED) gentoo-dev 2007-12-06 22:09:51 UTC
Created attachment 137907 [details, diff]
A patch to log all commands received by fbsplashd.

Please try this patch (the procedure is the same as the one outlined in comment #11).  It logs all commands received by fbsplashd to the splash profile file.  If fbsplashd hangs after receiving a particular command, we should be able to see which one that is.
Comment 18 Pavel Vondricka 2007-12-08 00:24:06 UTC
I must be doing something wrong, but nothing new appeares in the profile :-/
The patch seems to be applied, I can even find the string in the binary... I don't suppose there's need to rebuild the initrd, is it?
Comment 19 Michal Januszewski (RETIRED) gentoo-dev 2007-12-08 15:25:51 UTC
Created attachment 138028 [details, diff]
A patch to actually enable logging to the splash profile file.

I'm sorry, I forgot one would need to enable logging in special way when it's used from inside fbsplashd.  If you apply both this patch and the one that adds debugging info for the 'exit' command, you should get some meaningful data in the splash profile file.
Comment 20 Pavel Vondricka 2007-12-09 19:53:47 UTC
Created attachment 138119 [details]
New profile

Ok, I applied all three patches, but... Well, you'll see.
Comment 21 Michal Januszewski (RETIRED) gentoo-dev 2007-12-10 19:17:51 UTC
It looks like there is a deadlock somwhere, probably in the cmd_paint() handler.  Could you please try emerging splashutils with the 'mng' USE flag disabled to see whether this affects the problem in any way?
Comment 22 Pavel Vondricka 2007-12-10 20:52:07 UTC
No. 
But I thought "mng" was essential for drawing the progressbar, which still works without it as I see.
Comment 23 Michal Januszewski (RETIRED) gentoo-dev 2007-12-11 17:19:12 UTC
Created attachment 138266 [details, diff]
cmd_paint() debug patch

Could you please try to generate a profile file with this patch applied?  It should help us determine whether the problem is caused by a locked mutex.
Comment 24 Pavel Vondricka 2007-12-16 21:23:42 UTC
Created attachment 138657 [details]
splash profile

All 4 patches applied.
Comment 25 Michal Januszewski (RETIRED) gentoo-dev 2007-12-21 14:51:44 UTC
*** Bug 202927 has been marked as a duplicate of this bug. ***
Comment 26 Michal Januszewski (RETIRED) gentoo-dev 2007-12-21 20:52:44 UTC
Could you please try some manual debugging on the fbsplash daemon binary?  Here is what to do:

1) emerge splashutils using: FEATURES="splitdebug installsources" CFLAGS="-O0 -g" emerge splashutils
2) reboot with fbsplash enabled
3) log in, determine the PID of the fbsplash daemon
4) start gdb
5) in gdb, use 'attach PID' to attach to the fbsplash daemon
6) use the 'info threads' command; the output will look something like:

  4 Thread 0x40800950 (LWP 10498)  0x00002b94a6e11109 in do_sigwait () from /lib/libpthread.so.0
  3 Thread 0x41001950 (LWP 10499)  0x00002b94a6e0db9d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  2 Thread 0x41802950 (LWP 10501)  0x00002b94a6e101db in read () from /lib/libpthread.so.0
  1 Thread 0x2b94a7676d70 (LWP 10497)  0x00002b94a73e6d8b in read () from /lib/libc.so.6

Paste it in a comment in this bug.

7) thread #1 is the one listening for the commands on the splash FIFO.  Use 'thread 1' and 'bt' to get a backtrace.  Paste the backtrace here.

8) use 'l daemon_comm' to see the code of the function that processes the commands from the splash FIFO.  Put a breakpoint on the line that reads 'memset(&args, 0, sizeof(args));' (use 'b 578', where 578 is the line number).

9) let the fbsplash daemon run, use 'c'

10) from another terminal, run `echo exit > /lib/splash/cache/.splash`.  Does this cause a stop at the breakpoint in gdb?
Comment 27 Michal Januszewski (RETIRED) gentoo-dev 2007-12-26 20:06:54 UTC
One more thing that has just come to my mind and which is much easier to check than playing with gdb.  After boot, check /proc/mounts.  Does it list /lib/splash/cache?  Or maybe /lib/splash/tmp?  If it lists the latter, try `echo "exit" > /lib/splash/tmp/.splash`.  Is the splash daemon still running after this?
Comment 28 Pavel Vondricka 2007-12-27 13:35:36 UTC
Nothing mounted. I'll try the debugging...
Comment 29 Pavel Vondricka 2007-12-27 14:35:51 UTC
(gdb) info threads
  4 Thread 0x40800950 (LWP 3782)  0x00000000004f51d7 in do_sigwait ()
  3 Thread 0x41001950 (LWP 3783)  0x00000000004f4228 in pthread_cond_timedwait ()
  2 Thread 0x42003950 (LWP 3842)  0x00000000004f4edf in read ()
  1 Thread 0x7ef860 (LWP 3781)  0x00000000004f4edf in read ()
Comment 30 Pavel Vondricka 2007-12-27 14:37:01 UTC
(gdb) thread 1
[Switching to thread 1 (Thread 0x7ef860 (LWP 3781))]#0  0x00000000004f4edf in read ()
(gdb) bt
#0  0x00000000004f4edf in read ()
#1  0x00000000005162d1 in _IO_new_file_underflow ()
#2  0x000000000051661e in _IO_default_uflow ()
#3  0x0000000000510684 in _IO_getline_info ()
#4  0x000000000050fc4f in fgets ()
#5  0x000000000040121e in daemon_comm (fp_fifo=0x803e00) at daemon_cmd.c:573
#6  0x00000000004022d2 in daemon_start () at daemon.c:569
#7  0x0000000000402686 in main (argc=5, argv=0x7fff24acf7b8) at daemon.c:701
#8  0x00000000004fbb5e in __libc_start_main ()
#9  0x00000000004001f9 in _start ()
Comment 31 Pavel Vondricka 2007-12-27 15:02:03 UTC
A few problems for a debugging newbie solved... so, for 8/9: no, both the daemon and the "echo exit..." command just hang running. Echo probably cannot write to the pipe at all, as I wrote before.

(gdb) l daemon_comm
562
563     /*
564      * FIFO communication handler.
565      */
566     int daemon_comm(FILE *fp_fifo)
567     {
568             char buf[PIPE_BUF];
569             int i,j,k;
570
571             while (1) {
(gdb) l
572     inner:
573                     while (fgets(buf, PIPE_BUF, fp_fifo)) {
574                             char *t;
575                             int args_i[4];
576                             void *args[4];
577
578                             memset(&args, 0, sizeof(args));
579                             buf[PIPE_BUF-1] = 0;
580                             buf[strlen(buf)-1] = 0;
581
(gdb) b 578
Breakpoint 1 at 0x400f84: file daemon_cmd.c, line 578.
(gdb) c
Continuing.
   
Comment 32 Michal Januszewski (RETIRED) gentoo-dev 2007-12-27 17:04:13 UTC
(In reply to comment #28)
> Nothing mounted. I'll try the debugging...

That's.. unexpected.  If the splash daemon is running, one of these should be mounted.  Could you please paste the output of `lsof | grep fbsplashd`?

Comment 33 Pavel Vondricka 2007-12-27 17:28:19 UTC
Well... "/.splash"?

bjarni ~ # lsof | grep fbsplashd
fbsplashd  3785       root  cwd       DIR               22,5      704          2 /
fbsplashd  3785       root  rtd       DIR               22,5      704          2 /
fbsplashd  3785       root  txt       REG               22,5  1987104     147698 /sbin/fbsplashd.static
fbsplashd  3785       root  mem       CHR               29,0                 749 /dev/fb/0
fbsplashd  3785       root  mem       REG               22,5    66372      12189 /etc/splash/luxisri.ttf
fbsplashd  3785       root    0u      CHR                1,3                 283 /dev/null
fbsplashd  3785       root    1u      CHR                5,1                 281 /dev/console
fbsplashd  3785       root    2u      CHR                5,1                 281 /dev/console
fbsplashd  3785       root    3u      CHR                4,0                2567 /dev/tty0
fbsplashd  3785       root    4u      CHR               29,0                 749 /dev/fb/0
fbsplashd  3785       root    5u      CHR               29,0                 749 /dev/fb/0
fbsplashd  3785       root    6u     FIFO               0,15                7961 /.splash
fbsplashd  3785       root    7u      CHR                1,3                 283 /dev/null
fbsplashd  3785       root    8u      CHR                5,1                 281 /dev/console
fbsplashd  3785       root    9u      CHR               4,16                2608 /dev/tty16
fbsplashd  3785       root   10r      CHR              13,68                5199 /dev/input/event4


Comment 34 Michal Januszewski (RETIRED) gentoo-dev 2007-12-28 09:18:14 UTC
(In reply to comment #33)
> Well... "/.splash"?

Do you have a '/.splash'?  What does `strings /sbin/fbsplashd.static | grep '\.splash'` print?
Comment 35 Pavel Vondricka 2007-12-28 12:11:06 UTC
Seems to be OK:

//lib/splash/cache/.splash
mkfifo(//lib/splash/cache/.splash) failed.
Can't open the splash FIFO (//lib/splash/cache/.splash) for reading: %s
//lib/splash/cache/.splash
Failed to open //lib/splash/cache/.splash: %s %s
Failed to fdopen //lib/splash/cache/.splash: %s
Comment 36 Pavel Vondricka 2007-12-28 12:56:01 UTC
I noticed one message when booting:

 * Finalizing udev configuration ...      [ ok ]
 * Mounting devpts at /dev/pts ...        [ ok ]
ls: cannot access /lib64/splash/cache/deptree: nenA- souborem ani adresA­ĪŲem

("not file or directory" in Czech w/broken UTF8)

I tried booting with "init 1" and it seemed to be OK. In lsof there was:

fbsplashd 3783 root    6u     FIFO               0,15            7985 /lib64/splash/cache/.splash

In /proc/mounts there was:

cachedir /lib64/splash/cache tmpfs rw 0 0

fbsplashd.static was still running when I logged in, but the "echo exit..." command made it finish and disappear.
Comment 37 Michal Januszewski (RETIRED) gentoo-dev 2007-12-28 14:13:16 UTC
Could you please edit your /sbin/splash-functions.sh, and in the splash_exit() function comment out the call to splash_cache_cleanup?  After you do that, reboot and see whether there is any change in how the splash daemon behaves and whether the splash cache is mounted at /lib/splash/cache (or anywhere else) after boot.
Comment 38 Pavel Vondricka 2007-12-30 13:01:22 UTC
- cache mounted: cachedir /lib64/splash/cache tmpfs rw 0 0
- fbsplashd.static still running
- echo exit... works, fbsplashd exits
Comment 39 Michal Januszewski (RETIRED) gentoo-dev 2008-01-06 15:15:20 UTC
This problem should be fixed in 1.5.3.3.  Thanks for your help in debugging!
Comment 40 Pavel Vondricka 2008-01-11 22:14:48 UTC
Thank you very much, it seems to work well.

May I ask whether this problem was specific to us (two?) only and why?