Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97413 - gensplash / fbsplash / splashutils freezes init in silent mode
Summary: gensplash / fbsplash / splashutils freezes init in silent mode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 11:58 UTC by David Neumann
Modified: 2005-07-10 04:34 UTC (History)
0 users

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


Attachments
Kernel .config (.config,30.01 KB, text/plain)
2005-06-30 09:52 UTC, David Neumann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Neumann 2005-06-29 11:58:11 UTC
On boot, the splashscreen apears correctly. Yet, when the system stays in silent
mode during booting, the progress bar remains at 100% and init freezes.
Switching to Verbose is impossible as well switching consoles. The only way out
is Ctrl-Alt-Del. 

However, this doesn't happen when the bootsplash is set to verbose either
initially or during startup pressing F2 (this is still possible till somewhere
in init 3)

This happens with EVERY theme

Reproducible: Always
Steps to Reproduce:
1. 
2.
3.

Actual Results:  
System startup freezes, only way is to reset the system in verbose mode

Expected Results:  
Clean startup

# cat /boot/grub/grub.conf

title  Linux
root (hd0,1)
kernel /2.6.11 root=/dev/hdc7 quiet video=vesafb:ywrap,mtrr,1024x768-16@60
splash=silent,kdgraphics,theme:bsplash doscsi noapic CONSOLE=/dev/tty1
initrd (hd0,1)/fbsplash-bsplash-1024x768

# emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r1 i686)
=================================================================
System uname: 2.6.12-gentoo-r1 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -frename-registers -fweb -fforce-addr -momit-leaf-frame-pointer
-ftracer -march=athlon-xp -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.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -frename-registers -fweb -fforce-addr -momit-leaf-frame-pointer
-ftracer -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror"
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 3dnow 3dnowex X a52 aac aalib alsa ao apm arts artswrappersuid avi
bash-completion berkdb bitmap-fonts cdda cddb cdparanoia cdr crypt css cups curl
dbase directfb divx4linux dv dvd dvdr emboss encode faad fam fame fb flac
foomaticdb fortran gdbm gif gimp gimpprint gpm gstreamer gtk gtk2 icq
imagemagick imap imlib ipv6 irc jabber java jpeg junit kde kdepim libg++ libwww
live lzo lzw mad matroska mikmod mjpeg mmx mmx2 monkey motif mp3 mpeg mplayer
mysql ncurses network nls nptl nvidia ogg oggvorbis opengl oscar oss pam pda
pdflib perl png python qt quicktime readline real rogue samba scanner sdl slang
speex spell sse sse2 ssl svga tcpd tetex theora tiff truetype truetype-fonts
type1-fonts usb vorbis win32codecs xanim xine xml2 xmms xrandr xv xvid yahoo
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

# cat /etc/conf.d/splash
# Config file for splashutils

# a theme to use, probably best left commented (the theme specified
# on the kernel command line is used)
# SPLASH_THEME="gentoo"

# on which ttys should fbsplash be enabled? defaults to RC_TTY_NUMBER
# SPLASH_TTYS="1 2 3 4 5 6"

# what font to use? defaults to what fbtruetype uses
# SPLASH_FONT="luxisri.ttf"

# boot/reboot/shutdown message overrides
# SPLASH_BOOT_MESSAGE="Booting the system"
# SPLASH_REBOOT_MESSAGE="Rebooting the system"
# SPLASH_SHUTDOWN_MESSAGE="Shutting the system down"

# should we drop to verbose mode on initscript errors? (yes/no)
SPLASH_VERBOSE_ON_ERRORS="yes"

# allows to set different themes on different consoles
# format: "<console>:<theme> <console>:<theme> (...)"
# SPLASH_TTY_MAP="1:emergence

# system log
(snip)
Jun 29 20:12:30 [kernel] EXT3-fs warning: mounting unchecked fs, running e2fsck
is recommended
Jun 29 20:12:30 [kernel] kjournald starting.  Commit interval 5 seconds
Jun 29 20:12:30 [kernel] EXT3 FS on sdd1, internal journal
Jun 29 20:12:30 [kernel] EXT3-fs: mounted filesystem with ordered data mode.
Jun 29 20:12:30 [kernel] fbsplash: console 1 using theme 'bsplash'
Jun 29 20:12:30 [kernel] fbsplash: switched splash state to 'on' on console 1
Jun 29 20:12:30 [kernel] fbsplash: console 2 using theme 'bsplash'
Jun 29 20:12:30 [kernel] fbsplash: switched splash state to 'on' on console 2
Jun 29 20:12:30 [kernel] fbsplash: console 3 using theme 'bsplash'
Jun 29 20:12:30 [kernel] fbsplash: switched splash state to 'on' on console 3
Jun 29 20:12:30 [kernel] fbsplash: console 4 using theme 'bsplash'
Jun 29 20:12:30 [kernel] fbsplash: switched splash state to 'on' on console 4
Jun 29 20:12:30 [kernel] fbsplash: console 5 using theme 'bsplash'
Jun 29 20:12:30 [kernel] fbsplash: switched splash state to 'on' on console 5
Jun 29 20:12:30 [kernel] fbsplash: console 6 using theme 'bsplash'
Jun 29 20:12:30 [kernel] fbsplash: switched splash state to 'on' on console 6
Jun 29 20:12:30 [kernel] fbsplash: console 7 using theme 'bsplash'
Jun 29 20:12:30 [kernel] fbsplash: switched splash state to 'on' on console 7
Jun 29 20:12:30 [kernel] fbsplash: console 8 using theme 'bsplash'
Jun 29 20:12:30 [kernel] fbsplash: switched splash state to 'on' on console 8
Jun 29 20:12:30 [kernel] fbsplash: console 9 using theme 'bsplash'
Jun 29 20:12:30 [kernel] fbsplash: switched splash state to 'on' on console 9
Jun 29 20:12:30 [kernel] fbsplash: console 10 using theme 'bsplash'
Jun 29 20:12:30 [kernel] fbsplash: switched splash state to 'on' on console 10
Jun 29 20:12:32 [rc-scripts] Configuration not set for eth0 - assuming dhcp
Jun 29 20:12:33 [fcron] fcron[12408] 2.9.6 started
Jun 29 20:12:33 [fcron] updating configuration from /var/spool/cron/fcrontabs
Jun 29 20:12:33 [fcron] adding file root
Jun 29 20:12:34 [kernel] vmmon: module license 'unspecified' taints kernel.
Jun 29 20:12:34 [kernel] tg3: eth0: Link is up at 100 Mbps, full duplex.
Jun 29 20:12:34 [kernel] tg3: eth0: Flow control is on for TX and on for RX.
Jun 29 20:12:34 [kernel] bridge-eth0: already up
Jun 29 20:12:35 [init] Activating demand-procedures for 'A'
Jun 29 20:13:20 [shutdown] shutting down for system reboot
Jun 29 20:13:20 [init] Switching to runlevel: 6
Jun 29 20:13:23 [fcron] SIGTERM signal received
Jun 29 20:13:23 [fcron] Exiting with code 0
Jun 29 20:13:26 [metalog] Process [8955] died with signal [15]

NOTE: It always stops after Activating demand-procedures for 'A'
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2005-06-30 08:21:15 UTC
Does the same happen without the 'kdgraphics' command line option?
Do you use udev? Could try putting nodevfs on the kernel command line?
Comment 2 David Neumann 2005-06-30 08:57:14 UTC
With kdgraphics or without, the problem remains. Only difference is, that with
kdgraphics I also have the problem with the bootmessages (not kernel) scrolling
over the background.

The whole startup halts at "Starting local". After that, i can still use the
keyboard to reboat or scrolling in the console, so its not a complete freeze,
yet i'm unable to do anything else.

By the way, this also happens with shutdown -h, I have to switch the maschine
out manualy when not in verbose mode. The only thing thats running fine is
shutdown -r

I'm using devfs, using nodevfs doesnt change a thing.
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2005-06-30 09:20:50 UTC
Ok, could you try 'noudev' then? (I'm asking about all these devfs/udev things,
because I few days ago I helper an user solve a similar problem -- it turned out
he was running devfs and udev at the same time, which was causing things to break).

Can you switch to the first console with Ctrl+Alt+F1 after the splash is frozen?

Can you ssh to this machine when the splash if frozen? If you can and if you do
display a list of running processes, is 'chvt' one of them?
Comment 4 David Neumann 2005-06-30 09:52:55 UTC
Created attachment 62338 [details]
Kernel .config
Comment 5 David Neumann 2005-06-30 09:54:08 UTC
Tried using nodevfs, noudev and both together, no change. Even made sure that i
dont have the udev userspace package installed.

Switching the console is impossible.

And i tried to login via ssh: No success. Connection gets established, host key
transfered but thats all, no login prompt.

I attached my current .config, maybe there is a clue. The kernel is by the way
2.6.12-gentoo-r1, despite the grub entry.
Comment 6 Michal Januszewski (RETIRED) gentoo-dev 2005-06-30 17:36:49 UTC
Please try using splash_helper in the 'demo' mode to run a simple simulation of
the boot process in silent mode. Does the splash freeze when it's run this way, too?
Comment 7 David Neumann 2005-06-30 21:27:59 UTC
I've tested it with splash_manager, guess thats the right one since
splash_helper does nothing. 

No freeze, the progress is running to 100%, then its switching back to the console
Comment 8 Michal Januszewski (RETIRED) gentoo-dev 2005-07-08 08:29:10 UTC
Erm, I'm sorry, I've made mistake. The options were supposed to be
gentoo=nodevfs, not just nodevfs. Additionally I've strong reasons to believe
the problem you're describing is caused by devfs. Could you please try switching
to udev (Gentoo guide here: http://www.gentoo.org/doc/en/udev-guide.xml)?
Comment 9 Conrad Hoffmann 2005-07-09 06:20:54 UTC
I can confirm that switching to udev solves this issue.
Comment 10 David Neumann 2005-07-10 04:33:01 UTC
Yes, switching to udev helps getting rid of the problem.
Comment 11 David Neumann 2005-07-10 04:34:06 UTC
So i guess this bug can be closed