fbsplash fails to display the theme at bootup and leaves the following messages in the dmesg: splash_util.sta:2664 map pfn expected mapping type uncached-minus for a0000-aa000, got write-back fbsplashd.stati:2706 map pfn expected mapping type uncached-minus for a0000-aa000, got write-back fbsplashd.stati[2714] general protection ip:8172ed1 sp:b6eec13c error:0 in fbsplashctl[8048000+1af000] The theme I use to test is livecd-2007.0 grub kernel options: video=vesafb:640x480-32@60,mtrr,ywrap splash=silent,theme:livecd-2007.0 console=tty1 emerge --info Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.10.1-r0, 2.6.29-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.29-gentoo-r5-i686-with-gentoo-2.0.1 Timestamp of tree: Sun, 31 May 2009 14:15:01 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 1.3.7-r1, 2.1.8 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon64 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O3 -march=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="C" LDFLAGS="-Wl,-O1" LINGUAS="zh_CN zh" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage" USE="3dnow X accessibility acl alsa avahi berkdb bzip2 caps cdr cli consolekit cracklib crypt cups dbus doc dri dvd fortran fuse gdbm gif gnome gnome-keyring gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg libnotify midi mmx mudflap nautilus ncurses nls nptl nptlonly ntpl opengl openmp pam pcre perl png policykit pppd python readline reflection samba session smp sndfile spl sse sse2 ssl svg sysfs tcpd threads tiff truetype unicode x86 xinerama xml xorg xprint xrandr zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always Steps to Reproduce: 1.configure the kernel with buildin framebuffer driver "VESA VGA graphic support","Map the console to the primary display device" and "Support for the Framebuffer Console Decorations". 2.compile and install the kernel. 3.use splashutil to build an initramfs 4.configure grub 5.reboot Actual Results: black screen Expected Results: a picture should be shown There is a segfault of fbsplashd at shutdown, but I don't know if it is related to this bug.
(In reply to comment #0) > fbsplash fails to display the theme at bootup and leaves the following messages > in the dmesg: > splash_util.sta:2664 map pfn expected mapping type uncached-minus for > a0000-aa000, got write-back > fbsplashd.stati:2706 map pfn expected mapping type uncached-minus for > a0000-aa000, got write-back > fbsplashd.stati[2714] general protection ip:8172ed1 sp:b6eec13c error:0 in > fbsplashctl[8048000+1af000] > > The theme I use to test is livecd-2007.0 > grub kernel options: > video=vesafb:640x480-32@60,mtrr,ywrap splash=silent,theme:livecd-2007.0 Please attach your full kernel config and full kernel log (i.e. `dmesg` output). Also, please note that these command line settings are incorrect -- vesafb does not accept a mode string (uvesafb does), and the mode has to be set using the vga= parameter. Furthermore, the kernel log excerpt you provided suggests that this problem could be MTRR-related. To check whether this is the case, please boot with the 'nomtrr' vesafb option and see whether anything changes.
Created attachment 193916 [details] my kernel configure file There is my kernel configure file I try "video=vesafb,nomtrr Vga=769", also with 784 and 785. none of them works, they all have the same error: fbsplashd.stati:2737 map pfn expected mapping type uncached-minus for a0000-aa000, got write-back fbsplashd.stati[2740] general protection ip:8172ed1 sp:b6ed713c error:0 in fbsplashctl[8048000+1af000] if I remove the "vga-16 color grahic support", then splash claims can't find a logo config file "0x0.cfn". I think it means the splash_util can't determine the screen resolution even I specify the resolution with vga=XXX
Created attachment 193918 [details] full dmesg output
OK, the problem is that you're using the vga16fb driver. This is probably a bad idea, as it only provides low resolutions with a limited number of colors, which means you won't be able to use all the features offered by fbsplash. I think we should try to figure out how to make (u)vesafb work instead. My advice would be to try uvesafb, which should be easier to manage. Please see http://dev.gentoo.org/~spock/projects/uvesafb/ for info about what to do. If it doesn't work for you, please post your full dmesg output with uvesafb enabled and vga16fb disabled.
Thank you for your patience, Michal. Yes, the problem is caused by the vga16fb driver. I removed the vga16fb and follow the instruction to install uvesafb, now everything works fine. :D