Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97251 - splash_helper segfault at boot time
Summary: splash_helper segfault at boot time
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-27 13:08 UTC by Manuel Sabban
Modified: 2005-07-08 18:48 UTC (History)
0 users

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


Attachments
My .config (.config,35.11 KB, text/plain)
2005-06-27 13:09 UTC, Manuel Sabban
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Sabban 2005-06-27 13:08:47 UTC
splash helper segfaults at boot time when silent mode is *not* activated.
Nothing at screen is displayed when it is activated. I use
gentoo-sources-2.6.12-r1 and splahsutils-1.1.9.6-r1.

Reproducible: Always
Steps to Reproduce:
1. boot


Actual Results:  
no bootsplash

Expected Results:  
A beautiful image should have appeared

Gentoo Base System version 1.6.12
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+
dev-lang/python:     2.3.4-r1, 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.15.92.0.2-r1, 2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer -fforce-addr"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /sbin/rc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/linux/gentoo"
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="amd64 X Xaw3d a52 aac aalib acpi alsa apache2 atm bash-completion bdf
berkdb bitmap-fonts bonobo bzlib caca cacheemu ccache cdda cddb cdio cdparanoia
cdr crypt cscope cups dba directfb doc dv dvd dvdr dvdread emacs emacs-w3
emul-linux-x86 esd faad fam fame fb fbcon ffmpeg font-server fortran ftp gcj gd
gd-external gdbm gif gimpprint glitz gnome gnuplot gnustep gnutls gsl gsnd
gstreamer gtk gtk2 hal iconv imagemagick imap imlib imlib2 ipv6 jabber jp2 jpeg
kexec libcaca libwww lm_sensors lzo lzw lzw-tiff matroska mbox mozilla mp3 mpeg4
mplayer mule multislot mythtv ncurses network nls nptl nptlonly objc ogg opengl
openntpd oscar pam pcre perl php plotutils plugin png pthreads python rdesktop
readline rplay rrdtool ruby sdk shaper slang sqlite ssl startup-notification
sysfs tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode
uptimed usb userland userlocales vdesktop vidix vim-pager vorbis wifi wxwindows
xine xml2 xpm xrandr xv xvid zlib zvbi userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Manuel Sabban 2005-06-27 13:09:57 UTC
Created attachment 62097 [details]
My .config

Here's my .config
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2005-06-27 14:03:57 UTC
How do you know it segfaults? Does it work after the boot is complete (hint:
test with splash_manager)? Can you paste your /proc/cmdline?
Comment 3 Manuel Sabban 2005-06-27 14:56:15 UTC
(In reply to comment #2)
> How do you know it segfaults? Does it work after the boot is complete (hint:
> test with splash_manager)? Can you paste your /proc/cmdline?

I view it at boot time, it's the first line when framebuffer is initialized,
when it's not in silent mode.

In order to test with splash_manager or paste ce cmdline, I've another problem.
When I've this segfault, the kernel doesn't manage to finish the boot sequence.
In fact I obtain a "Kernel Panic, Cannot Mount rootfs". I 'm not quite sure it
is linked, but il appeared only if I try the bootsplash. Maybe it is linked to
the resume ability...

Nevertheless the my grub entry is:
title  GNU/Linux
root (hd0,0)
kernel /vmlinuz.old root=/dev/sda2 radeonfb=1600x1200@60 resume=/dev/sda5
init=/sbin/initng splash=silent,theme:emergence CONSOLE=/dev/tty1
initrd (hd0,0)/fbsplash
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2005-06-27 15:13:19 UTC
Your fb option seems incorrect. Instead of 'radeonfb=1600x1200@60', it should
probably be 'video=radeonfb:1600x1200@60'. Try changing it and see whether it
has any effect on the splash.
Comment 5 Manuel Sabban 2005-06-28 01:20:08 UTC
(In reply to comment #4)
> Your fb option seems incorrect. Instead of 'radeonfb=1600x1200@60', it should
> probably be 'video=radeonfb:1600x1200@60'. Try changing it and see whether it
> has any effect on the splash.

With that option changed, exactly the same thing happened...
Comment 6 Michal Januszewski (RETIRED) gentoo-dev 2005-06-28 06:45:49 UTC
Ok, please boot your kernel with splash=off on the kernel command line. Then use
splash_manager to do some tests (demo of the verbose and silent mode should be
enough) and see whether everything works there.
Comment 7 Manuel Sabban 2005-06-28 08:15:16 UTC
(In reply to comment #6)
> Ok, please boot your kernel with splash=off on the kernel command line. Then use
> splash_manager to do some tests (demo of the verbose and silent mode should be
> enough) and see whether everything works there.

After I booted with splash=off, I switched to the second console.
First I did "sudo splash_manager -c demo -t default -m s --tty=7" and I got 
No 8bpp verbose picture specified in the theme config
No 8bpp silent picture in the theme config
And it switched me on the seventh console, but nothing happened.
I can't understand the reason why it has a need for 8bpp pictures.

Second I did "sudo splash_manager -c demo -t default -m v --tty=7" and I got
a Testing the 'default' theme 0 1 2 3 4 5 on the seventh console , but after
that, it switched me on the second console again, and splash_manager quit
without do anything more.
Comment 8 Michal Januszewski (RETIRED) gentoo-dev 2005-06-28 08:36:56 UTC
Well, it needs a 8bpp picture, because you're running in a 8bpp mode. Try
specifying the bit depth explicitly on the kernel command line, like:
'video=radeonfb:1600x1200-32@60'.
Comment 9 Manuel Sabban 2005-06-28 10:30:31 UTC
(In reply to comment #8)
> Well, it needs a 8bpp picture, because you're running in a 8bpp mode. Try
> specifying the bit depth explicitly on the kernel command line, like:
> 'video=radeonfb:1600x1200-32@60'.

Yes it works now, with the normal init. Sorry, but I was sure, I was in 32 bits
depths...
Thanks !
Comment 10 Michal Januszewski (RETIRED) gentoo-dev 2005-07-08 18:48:44 UTC
The segfaults should be gone in 1.1.9.7.