Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211521 - media-gfx/splashutils-1.5.4 doesn't allow genkernel to create working initramfs
Summary: media-gfx/splashutils-1.5.4 doesn't allow genkernel to create working initramfs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
: 211713 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-26 13:35 UTC by Billy DeVincentis
Modified: 2008-06-26 17:49 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Billy DeVincentis 2008-02-26 13:35:09 UTC
When I redid a kernel just after updating splashutils I noticed a large difference in the size of the initramfs, 5.4mb previously to 1.5mb afterwards. I then noticed on reboot that spash image was starting much later. I redid just the initrd and saw this error message about no splash detected. I didn't know if I should file the bug under genkernel or splashutils. Also I'm not sure if something new is required here in terms of configuration.

genkernel --install --splash=natural_gentoo initrd
* Gentoo Linux Genkernel; Version 3.4.10_pre3
* Running with options: --install --splash=livecd-2007.0 initrd

* Linux Kernel 2.6.24-gentoo-r2 for x86_64...
patching file Config.in
patching file Makefile
patching file include/applets.h
patching file include/usage.h
patching file mdadm/Config.in
patching file mdadm/Makefile
patching file mdadm/Makefile.in
patching file mdadm/bitmap.h
patching file mdadm/config.c
patching file mdadm/dlink.c
patching file mdadm/dlink.h
patching file mdadm/md5.h
patching file mdadm/md_p.h
patching file mdadm/md_u.h
patching file mdadm/mdadm.c
patching file mdadm/mdadm.h
patching file mdadm/mdassemble.c
patching file mdadm/mdexamine.c
patching file mdadm/sha1.c
patching file mdadm/sha1.h
patching file mdadm/super0.c
patching file mdadm/super1.c
patching file mdadm/util.c
patching file mdadm/mdassemble.c
patching file mdadm/super1.c
patching file mdadm/super1.c
* busybox: >> Configuring...
* busybox: >> Using cache
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Appending busybox cpio data...
*         >> Appending modules cpio data...
*         >> Appending splash cpio data...
*                >> No splash detected; skipping!

* WARNING... WARNING... WARNING...
* Additional kernel cmdline arguments that *may* be required to boot properly...
* add "vga=791 splash=silent,theme:natural_gentoo console=tty1 quiet" if you use a splash framebuffer ]

* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest genkernel before reporting bugs.


Reproducible: Always




emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Tue, 26 Feb 2008 13:00: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="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
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"
MAKEOPTS="-j3"
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/font-overlay /usr/local/portage/desktop-effects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowtext S3TC X a52 aac aalib accessibility acl acpi aiglx alsa amarok amd64 apm arts artworkextra asf audiofile automount avahi avi bash-completion berkdb bidi bitmap-fonts bittorrent branding bzip2 cairo calendar cann cdda cdio cdparanoia cdr cli cpudetection cracklib crypt cups curl dbus deprecated devil dga directfb discouraged distribution 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 glitz gmedia gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hddtemp hfs howl html htmlhandbook httpd 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 realmedia reflection regex reiser4 reiserfs samba scanner sdl seamonkey semantic-desktop servletapi session skins slp smp sndfile snmp sound sounds speex spell spl spreadsheet sqlite sse sse2 ssl startup-notification stream streams subversion svg 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 wmf wmp wordperfect wxwindows 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 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 i810 mach64 mga neomagic 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2008-02-27 22:52:59 UTC
genkernel --install --splash=natural_gentoo initrd
* Gentoo Linux Genkernel; Version 3.4.10_pre3
* Running with options: --install --splash=livecd-2007.0 initrd

Why do the --splash lines not match here?  This is definitely the root of the problem, as I see it.
Comment 2 Norberto Bensa 2008-02-27 23:13:45 UTC
# genkernel --no-clean --oldconfig --lvm2 --splash=livecd-2007.0 all
                                          ^^^^^^^^^^^^^^^^^^^^^^

* Please use --lvm, as --lvm2 is deprecated.
* Gentoo Linux Genkernel; Version 3.4.10_pre3
* Running with options: --no-clean --oldconfig --lvm2 --splash=livecd-2007.0 all

* Linux Kernel 2.6.24-gentoo-r3 for x86...
*         >> Running oldconfig...
* config: --no-clean is enabled; leaving the .config alone.
*         >> Compiling 2.6.24-gentoo-r3 bzImage...
*         >> Compiling 2.6.24-gentoo-r3 modules...
* Copying config for successful build to /etc/kernels/kernel-config-x86-2.6.24-gentoo-r3
patching file Config.in
patching file Makefile
patching file include/applets.h
patching file include/usage.h
patching file mdadm/Config.in
patching file mdadm/Makefile
patching file mdadm/Makefile.in
patching file mdadm/bitmap.h
patching file mdadm/config.c
patching file mdadm/dlink.c
patching file mdadm/dlink.h
patching file mdadm/md5.h
patching file mdadm/md_p.h
patching file mdadm/md_u.h
patching file mdadm/mdadm.c
patching file mdadm/mdadm.h
patching file mdadm/mdassemble.c
patching file mdadm/mdexamine.c
patching file mdadm/sha1.c
patching file mdadm/sha1.h
patching file mdadm/super0.c
patching file mdadm/super1.c
patching file mdadm/util.c
patching file mdadm/mdassemble.c
patching file mdadm/super1.c
patching file mdadm/super1.c
* busybox: >> Configuring...
* busybox: >> Compiling...
* busybox: >> Copying to cache...
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Appending busybox cpio data...
*         >> Appending lvm cpio data...
*               LVM: Adding support (compiling binaries)...
*         >> Appending modules cpio data...
*         >> Appending splash cpio data...
*                >> No splash detected; skipping!
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


*
* Kernel compiled successfully!
*
* Required Kernel Parameters:
*     real_root=/dev/$ROOT
*
*     Where $ROOT is the device node for your root partition as the
*     one specified in /etc/fstab
*
* If you require Genkernel's hardware detection features; you MUST
* tell your bootloader to use the provided INITRAMFS file. Otherwise;
* substitute the root argument for the real_root argument if you are
* not planning to use the initrd...

* WARNING... WARNING... WARNING...
* Additional kernel cmdline arguments that *may* be required to boot properly...
* add "vga=791 splash=silent,theme:livecd-2007.0 console=tty1 quiet" if you use a splash framebuffer ]
* add "dolvm" for lvm support

* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest genkernel before reporting bugs.


Regards,
Norberto
Comment 3 Norberto Bensa 2008-02-27 23:19:54 UTC
Above was with splashutils-1.5.4

This one is with splashutils-1.5.3.4:

venkman linux # genkernel --no-clean --oldconfig --lvm2 --splash=livecd-2007.0
                                                        ^^^^^^^^^^^^^^^^^^^^^^

 all

* Please use --lvm, as --lvm2 is deprecated.
* Gentoo Linux Genkernel; Version 3.4.10_pre3
* Running with options: --no-clean --oldconfig --lvm2 --splash=livecd-2007.0 all

* Linux Kernel 2.6.24-gentoo-r3 for x86...
*         >> Running oldconfig...
* config: --no-clean is enabled; leaving the .config alone.
*         >> Compiling 2.6.24-gentoo-r3 bzImage...
*         >> Compiling 2.6.24-gentoo-r3 modules...
* Copying config for successful build to /etc/kernels/kernel-config-x86-2.6.24-gentoo-r3
patching file Config.in
patching file Makefile
patching file include/applets.h
patching file include/usage.h
patching file mdadm/Config.in
patching file mdadm/Makefile
patching file mdadm/Makefile.in
patching file mdadm/bitmap.h
patching file mdadm/config.c
patching file mdadm/dlink.c
patching file mdadm/dlink.h
patching file mdadm/md5.h
patching file mdadm/md_p.h
patching file mdadm/md_u.h
patching file mdadm/mdadm.c
patching file mdadm/mdadm.h
patching file mdadm/mdassemble.c
patching file mdadm/mdexamine.c
patching file mdadm/sha1.c
patching file mdadm/sha1.h
patching file mdadm/super0.c
patching file mdadm/super1.c
patching file mdadm/util.c
patching file mdadm/mdassemble.c
patching file mdadm/super1.c
patching file mdadm/super1.c
* busybox: >> Configuring...
* busybox: >> Using cache
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Appending busybox cpio data...
*         >> Appending lvm cpio data...
*               LVM: Adding support (compiling binaries)...
*         >> Appending modules cpio data...
*         >> Appending splash cpio data...
*   >> Installing splash [ using the livecd-2007.0 theme ]...
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

*
* Kernel compiled successfully!
*
* Required Kernel Parameters:
*     real_root=/dev/$ROOT
*
*     Where $ROOT is the device node for your root partition as the
*     one specified in /etc/fstab
*
* If you require Genkernel's hardware detection features; you MUST
* tell your bootloader to use the provided INITRAMFS file. Otherwise;
* substitute the root argument for the real_root argument if you are
* not planning to use the initrd...

* WARNING... WARNING... WARNING...
* Additional kernel cmdline arguments that *may* be required to boot properly...
* add "vga=791 splash=silent,theme:livecd-2007.0 console=tty1 quiet" if you use a splash framebuffer ]
* add "dolvm" for lvm support

* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest genkernel before reporting bugs.
Comment 4 Billy DeVincentis 2008-02-28 00:02:08 UTC
Chris, I'm not sure why the splash line doesn't match up, I had been trying different themes to see if a particular theme caused the problem. I'm going to try again right now.
Comment 5 Billy DeVincentis 2008-02-28 00:08:22 UTC
Okay,  just  tried  again

genkernel --install --splash=livecd-2007.0 initrd
* Gentoo Linux Genkernel; Version 3.4.10_pre3
* Running with options: --install --splash=livecd-2007.0 initrd

* Linux Kernel 2.6.24-gentoo-r3 for x86_64...
patching file Config.in
patching file Makefile
patching file include/applets.h
patching file include/usage.h
patching file mdadm/Config.in
patching file mdadm/Makefile
patching file mdadm/Makefile.in
patching file mdadm/bitmap.h
patching file mdadm/config.c
patching file mdadm/dlink.c
patching file mdadm/dlink.h
patching file mdadm/md5.h
patching file mdadm/md_p.h
patching file mdadm/md_u.h
patching file mdadm/mdadm.c
patching file mdadm/mdadm.h
patching file mdadm/mdassemble.c
patching file mdadm/mdexamine.c
patching file mdadm/sha1.c
patching file mdadm/sha1.h
patching file mdadm/super0.c
patching file mdadm/super1.c
patching file mdadm/util.c
patching file mdadm/mdassemble.c
patching file mdadm/super1.c
patching file mdadm/super1.c
* busybox: >> Configuring...
* busybox: >> Using cache
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Appending busybox cpio data...
*         >> Appending modules cpio data...
*         >> Appending splash cpio data...
*                >> No splash detected; skipping!

* WARNING... WARNING... WARNING...
* Additional kernel cmdline arguments that *may* be required to boot properly...
* add "vga=791 splash=silent,theme:livecd-2007.0 console=tty1 quiet" if you use a splash framebuffer ]

* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest genkernel before reporting bugs.



It  may  have  been  reading  what  was  in  my  grub  entry  at  the  time,  but  irregardless,  the  proper  size  for  the  ramdisk  is  5.4mb  created  by  the  earler  version,  what  was  just  created  was  1.5mb
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-02-28 05:03:30 UTC
Well, I'm getting exact same behaviour; the problem is gone after downgrading to 1.5.3.4 and comes back after upgrading to 1.5.4.
Comment 7 Billy DeVincentis 2008-02-28 06:58:25 UTC
Question  is , is this a genkernel bug or a splashutils bug,could this be the need for genkernel scripts to be adjusted for the new version of splashutils?
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-02-28 07:02:05 UTC
No idea; splashutils maintainer is CCed here anyway...
Comment 9 Andrew Gaffney (RETIRED) gentoo-dev 2008-02-28 15:47:39 UTC
*** Bug 211713 has been marked as a duplicate of this bug. ***
Comment 10 Andrew Gaffney (RETIRED) gentoo-dev 2008-02-28 15:48:33 UTC
I'm going to go out on a limb here and say that bug 211713 is about the same issue. It contains a very simple fix. Please try it out and let us know if it works.
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2008-02-28 21:25:15 UTC
OK, this is now fixed in subversion and will show up in 3.4.10_pre4 or better...
Comment 12 Billy DeVincentis 2008-02-28 21:55:45 UTC
Thats  the  fix,  works  perfect.
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2008-03-05 02:02:55 UTC
Leaving open until a release version is out with this fix...
Comment 14 Andrew Gaffney (RETIRED) gentoo-dev 2008-03-05 02:52:31 UTC
Did you forget that you released 3.4.10_pre4 yesterday? :P
Comment 15 Balazs Nemeth 2008-03-05 19:49:44 UTC
I have a similar problem with the current stable version of genkernel (3.4.9) and with splashutils-1.5.4-r1.

Genkernel doesn't find splash_geninitramfs because it's located on a different path.

The gen_initramfs.sh says (245. row)

...
append_splash(){                                                                                                                                             
 if [ -x /usr/bin/splash_geninitramfs ] || [ -x /sbin/splash_geninitramfs ]                                                                       
 then
...

But the splash_geninitramfs is located here: /usr/sbin/splash_geninitramfs

I know i'm not using the stable splashutils version. :)
Comment 16 Chris Gianelloni (RETIRED) gentoo-dev 2008-03-10 23:23:33 UTC
Andrew, I did say a release version, as in 3.4.10 final.

Balazs, that's kinda the point of this bug.
Comment 17 Chris Gianelloni (RETIRED) gentoo-dev 2008-06-26 17:49:43 UTC
OK.  This is resolved in genkernel 3.4.10, which is now in the tree and stable.