Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 216364

Summary: sys-boot/grub-0.97-r5 -- junk at end of commandline sent to kernel.
Product: Gentoo Linux Reporter: Rickard Närström <gentoo-bugzilla>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal CC: stefan
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rickard Närström 2008-04-05 17:57:50 UTC
After upgrading grub I did notice that bootsplash didn't work. It apearse that grub destroied my console= option in the command line to the kernel by appending junk information.

$ hexdump -C /proc/cmdline
00000000  72 6f 6f 74 3d 2f 64 65  76 2f 73 64 61 31 20 76  |root=/dev/sda1 v|
00000010  69 64 65 6f 3d 72 61 64  65 6f 6e 66 62 3a 31 30  |ideo=radeonfb:10|
00000020  32 34 78 37 36 38 2d 33  32 20 71 75 69 65 74 20  |24x768-32 quiet |
00000030  73 70 6c 61 73 68 3d 73  69 6c 65 6e 74 2c 66 61  |splash=silent,fa|
00000040  64 65 69 6e 2c 74 68 65  6d 65 3a 65 6d 65 72 67  |dein,theme:emerg|
00000050  65 6e 63 65 20 63 6f 6e  73 6f 6c 65 3d 74 74 79  |ence console=tty|
00000060  31 49 01 c0 49 d3 e8 31  c9 e8 fa ba ff ff 8b 03  |1I..I..1........|
00000070  c7 43 04 0a                                       |.C..|
00000074

Parts of grub.conf:
----
timeout 5
hiddenmenu
default 0
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 video=radeonfb:1024x768-32 quiet splash=silent,fadein,theme:emergence console=tty1
initrd /boot/initrd-emergence-1024x768
----

$ emerge --info
Portage 2.1.5_rc1 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Sat, 05 Apr 2008 11:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 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="-O3 -march=native -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 /var/lib/hsqldb"
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="-O3 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collition-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://mirror.gentoo.no/ http://ftp.ing.umu.se/linux/gentoo/"
LANG="C"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="sv ja en"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 anthy arts big-tables bittorrent bzip2 c++ cairo cdda cddb cdparanoia cdr cdrom cjk cli cracklib crypt css cups cxx dbus dnd dri dvd dvdr encode fam fastcgi fbcondecor fbsplash ffmpeg flac fontconfig ftp geoip gif grammar grub gs hal icons iconv ieee1394 immqt iproute2 isdnlog jabber java java5 java6 jingle jpegkde kdehiddenvisibility kdepim kdm lame latex libnotify lighttpd logrotate mad mail matroska midi mikmod mime mmap mmx mmxext mp3 mp4 mpeg mpeg2 mplayer msn mudflap ncurses nls nptl nptlonly nsplugin ntp offensive ogg opengl openmp openssl otr pch pcre pdf plasma plugins png pppd qt3 qt3support qt4 quicktime rar readline reflection reiserfs rtc scim sdl session sockets sound sounds speex spell spl srt sse sse2 ssl subtitles svg svgz sysfs tcpd tex theora threads threadsafe threadsonly tiff transcode truetype type1 ui unicode usb video videos vim vim-syntax visibility vorbis wav wma x264 xattr xcb xcomposite xim xorg xrandr xrender xscreensaver xv xvid zip 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="asym empty plug 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 mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv ja en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 kouyu 2008-04-05 21:05:52 UTC

I have the same problem too.
$ dmesg | head
Command line: root=/dev/sda8 video=uvesafb:1024x768-32,mtrr:3,ywrap acpi_sleep=s3_bios softlevel=ethwirelessonly??K?1???q??H?S?d???

The last option is softlevel=ethwirelessonly, but you can see there are junk after that option.
Comment 2 Stefan de Konink 2008-04-06 10:56:40 UTC
+1

paludis 0.26.0_alpha14
Paludis build information:
    Compiler:
        CXX:                   i686-pc-linux-gnu-g++ 4.2.3 (Gentoo 4.2.3 p1.0)
        CXXFLAGS:              -O2 -march=pentium4 -pipe -fomit-frame-pointer
        LDFLAGS:               
        DATE:                  2008-04-05T17:04:49+0200

    Libraries:
        C++ Library:           GNU libstdc++ 20080201

    Reduced Privs:
        reduced_uid:           103
        reduced_uid->name:     paludisbuild
        reduced_uid->dir:      /var/tmp/paludis
        reduced_gid:           1001
        reduced_gid->name:     paludisbuild

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      
        RUBYINSTALLDIR:        

Repository virtuals:
    format:                    virtuals

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /

Repository gentoo:
    format:                    ebuild
    location:                  /usr/portage
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /usr/portage/metadata/cache
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    names_cache:               /usr/portage/.cache/names
    newsdir:                   /usr/portage/metadata/news
    profile_eapi:              0
    profiles:                  /usr/portage/profiles/default-linux/x86/2007.0
    securitydir:               /usr/portage/metadata/glsa
    setsdir:                   /usr/portage/sets
    sync:                      rsync://rsync.nl.gentoo.org/gentoo-portage
    sync_options:              
    use_manifest:              use
    write_cache:               /var/empty

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p33
        dev-java/java-config:  2.1.5
        dev-lang/python:       2.4.3-r4 2.5.1-r5
        dev-python/pycrypto:   2.0.1-r6
        dev-util/ccache:       (none)
        dev-util/confcache:    (none)
        sys-apps/baselayout:   1.12.12
        sys-apps/sandbox:      1.2.18.1-r2
        sys-devel/autoconf:    2.13 2.61-r1
        sys-devel/automake:    1.10.1 1.5 1.7.9-r1 1.9.6-r2
        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 (for sys-kernel/linux-headers::installed)

Repository installed:
    format:                    vdb
    location:                  /var/db/pkg
    builddir:                  /var/tmp/paludis
    names_cache:               /var/db/pkg/.cache/names
    provides_cache:            /var/db/pkg/.cache/provides
    root:                      /
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2008-04-06 11:48:00 UTC

*** This bug has been marked as a duplicate of bug 216307 ***