Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211271 - media-gfx/splashutils doesn't switch to tty7 to show login manager when using silent splash.
Summary: media-gfx/splashutils doesn't switch to tty7 to show login manager when using...
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:
: 217798 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-24 16:32 UTC by Billy DeVincentis
Modified: 2008-04-18 18:25 UTC (History)
1 user (show)

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


Attachments
emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r2 i686) ================================================================= Kernel Config (kernel-config-x86-2.6.24-gentoo-r2,57.07 KB, text/plain)
2008-02-24 16:35 UTC, Billy DeVincentis
Details
/lib/splash/cache/profile (profile,12.69 KB, text/plain)
2008-02-24 21:25 UTC, Billy DeVincentis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Billy DeVincentis 2008-02-24 16:32:51 UTC
After redoing my kernel last night (kernel was already at 2.6.24-gentoo-r2 but since I upgraded gcc this week and genkernel had been updated I wanted to recompile), splash was no longer working. Immediately after booting new kernel, I had boot messages overwriting the splash and it wouldn't complete all the way to gdm login manager. I started reading the troubleshooting page at spocks site and changed my grub line to this

title Gentoo Linux 2.6.24-gentoo-r2
     root (hd0,2)
     kernel /boot/kernel-2.6.24-gentoo-r2 root=/dev/ram0 init=/linuxrc ramdisk_size=16384 real_root=/dev/hda3 quiet splash=silent,kdgraphics,theme:livecd-2007.0 video=uvesafb:1024x768-32,mtrr:3,ywrap  CONSOLE=/dev/tty1 
     initrd /boot/initramfs-2.6.24-gentoo-r2

which now allowed the silent splash to work properly (although boot time now is considerably longer than previously, seems that from entering on grub menu to get to where you have the f2 message on your splash screen now takes a 60-100 seconds where it previously took about 15), when it gets to starting xdm, it freezes, doesn't switch the screen to  tty7 where x should be starting. Now, having said that, if I wait just a bit after it gets to that point, I can do ctrl alt f7 and switch the terminal and x will start as it gets switched, not that I have my login screen there already, I have to switch it first and then login screen and X will start. Verbose mode works fine. I have also tried another theme (natural gentoo) but that didn't make any difference.

       Strangest thing to me is that all packages were already at the version #s they are at now but the previously compiled kernel (which I overwrote) didn't act this way.

       BTW, this is repeatable on both x86 and amd64, both boxes now have the same problem.

Reproducible: Always




emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r2 i686)
=================================================================
System uname: 2.6.24-gentoo-r2 i686 AMD Athlon(tm) XP 3000+
Timestamp of tree: Sun, 24 Feb 2008 06:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
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/miscellaneous /usr/local/portage/desktop-effects /usr/local/portage/font-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowtext S3TC X a52 aac aalib accessibility acl acpi aiglx alsa amarok apm arts artworkextra asf audiofile automount avahi avi bash-completion berkdb bidi bitmap-fonts bittorent branding bzip2 cairo calendar cann cdda cdio cdparanoia cdr cli cpudetection cracklib crypt cups curl dbus deprecated devil dga directfb discouraged divx dlloader doc dri dts dv dvb dvd dvdr dvdread eds effects elisp emacs emboss emerald encode esd evo examples exif ext-man ext-rtf ext-tex extraicons fam fat fax fbcon fbcondecor fbsplash ffmpeg firefox flac flash foomaticdb fortran freetype fuse gb gcj gd gdbm gdphoto2 gedit gif gimp gimpprint gkrellm glitz gmedia gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hddtemp hfs howl html htmlhandbook iconv idn ieee1394 imagemagick imlib inkjar ipv6 isdnlog jack java jfs joystick jpeg kde kde4 kdehiddenvisibility kerberos lcms ldap libao libcaca libg++ lirc live lm_sensors logrotate mad mail matroska mdnsresponder-compat midi mikmod mime mjpeg mmx mmxext mng mono mozbranding mozcalendar mozilla mp3 mpeg mplayer mudflap mysql nas nautilus ncurses networking new-login newspr nforce2 nls nptl nptlonly nsplugin ntfs nvidia odbc offensive ogg oggvorbis opengl openmp oss pam parport pcre pdf pdflib perl pmu png postgres ppds pppd python qt3 qt3support qt4 quicktime rar rdesktop readline real realmedia reflection regex reiser4 reiserfs samba scanner sdl seamonkey semantic-desktop session skins slp sndfile snmp sound sounds speex spell spl spreadsheet sqlite sse sse2 ssl startup-notification streams subversion svg svga swat symlink sysfs syslog tcltk tcpd tetex theora thesaurus threads thunderbird tidy tiff timidity tk truetype truetype-fonts type1 type1-fonts udev unicode usb utempter utils v4l vcd vdr vlm voice vorbis vram weather win32codecs wmf wmp wordperfect wxwindows x86 xattr xcb xcomposite xforms xfs xine xml xorg xpm xprint xscreensaver xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Billy DeVincentis 2008-02-24 16:35:42 UTC
Created attachment 144514 [details]
emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r2 i686)
=================================================================
Kernel Config
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2008-02-24 19:05:57 UTC
Which boot messages were appearing over the silent splash screen?  Were they only kernel messages, or also the messages from the initscripts?
Comment 3 Billy DeVincentis 2008-02-24 19:33:19 UTC
Just  the  boot  messages.  Again  though,  after  adding  in  kdgraphics  that  stopped.
Comment 4 Billy DeVincentis 2008-02-24 19:34:19 UTC
Sorry  just  in  case  I  wasn't  clear,  the  same  messages  you  would  see  in  verbose  splash.
Comment 5 Michal Januszewski (RETIRED) gentoo-dev 2008-02-24 19:55:29 UTC
Yup, but kdgraphics should be a last-resort measure.

So, the messages you're seeing over the silent splash were from the initscripts, like "starting gpm", "starting apache2", etc?

Also, could you please boot with splash=<your standard options>,profile and attach your /lib/splash/cache/profile?
Comment 6 Billy DeVincentis 2008-02-24 21:13:04 UTC
Yes, what I was seeing was like starting cups, starting apcupsd etc...Just so I Understand, you want me to adjust my grub entry like this?

title Gentoo AMD64 2.6.24-gentoo-r2
        root (hd2,1)
        kernel /boot/kernel-2.6.24-gentoo-r2 pci=nommconf root=/dev/ram0 init=/linuxrc ramdisk_size=8192 real_root=/dev/sdb2 quiet splash=silent,theme:livecd-2007.0 video=uvesafb:1024x768-32,mtrr:3,ywrap CONSOLE=/dev/tty1 
        initrd /boot/initramfs-2.6.24-gentoo-r2
Comment 7 Billy DeVincentis 2008-02-24 21:14:26 UTC
Sorry, you mean like this

title Gentoo AMD64 2.6.24-gentoo-r2
        root (hd2,1)
        kernel /boot/kernel-2.6.24-gentoo-r2 pci=nommconf root=/dev/ram0 init=/linuxrc ramdisk_size=8192 real_root=/dev/sdb2 quiet splash=silent,theme:livecd-2007.0,profile video=uvesafb:1024x768-32,mtrr:3,ywrap CONSOLE=/dev/tty1 
        initrd /boot/initramfs-2.6.24-gentoo-r2


Let  me give it a try
Comment 8 Billy DeVincentis 2008-02-24 21:25:30 UTC
Created attachment 144533 [details]
/lib/splash/cache/profile

I booted with these exact parameters

title Gentoo AMD64 2.6.24-gentoo-r2
        root (hd2,1)
        kernel /boot/kernel-2.6.24-gentoo-r2 pci=nommconf root=/dev/ram0 init=/linuxrc ramdisk_size=8192 real_root=/dev/sdb2 quiet splash=silent,theme:livecd-2007.0,profile video=uvesafb:1024x768-32,mtrr:3,ywrap CONSOLE=/dev/tty1 
        initrd /boot/initramfs-2.6.24-gentoo-r2
Comment 9 Billy DeVincentis 2008-02-24 21:27:41 UTC
As I booted, without the kdgraphics option, all startup messages overwrote the splash, It continually seemed to be fighting to come back and kept blinking in and out but when it got to starting xdm it quit and I had to change to f7 to start the login manager
Comment 10 Billy DeVincentis 2008-02-25 05:13:02 UTC
Just to let you know, I tried it with baselayout 2 and that allowed it to boot all the way to login manager in silent mode, but when I put kdgraphics as an option to cover what was still overwriting the splash image, the computer froze on the splash image and never changed, nor could I switch to another console.
Comment 11 Michal Januszewski (RETIRED) gentoo-dev 2008-02-25 19:36:59 UTC
Could you please do the following:

- paste your /proc/cmdline
- try adding console=tty1 to your kernel command line parameters and booting without kdgraphics to see whether the initscript messages are still displayed over the silent splash
Comment 12 Billy DeVincentis 2008-02-25 20:04:23 UTC
Okay, Spock, that fixed it. I needed to change CONSOLE=/dev/tty1 to console=tty1. The thing is was this change from the way we previously booted kernels modified in the genkernel message upon completion of compiling a kernel? If not, someone should send a message to Chris to update the genkernel scripts.
Comment 13 Billy DeVincentis 2008-02-26 13:11:55 UTC
I  just  let  genkernel  redo  my  initrd  and  actually  the  message  has  been  changed  so  I  guess  I  hadn't  noticed  the  change.
Comment 14 Peter 2008-04-18 18:25:10 UTC
*** Bug 217798 has been marked as a duplicate of this bug. ***