Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216364 - sys-boot/grub-0.97-r5 -- junk at end of commandline sent to kernel.
Summary: sys-boot/grub-0.97-r5 -- junk at end of commandline sent to kernel.
Status: RESOLVED DUPLICATE of bug 216307
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2008-04-05 17:57 UTC by Rickard Närström
Modified: 2008-04-06 11:48 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
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..|

Parts of grub.conf:
timeout 5
default 0

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-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"
CFLAGS="-O3 -march=native -pipe"
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"
FEATURES="collition-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="sv ja en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
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"
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

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

        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

        DATADIR:               /usr/share
        LIBDIR:                /usr/lib
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc

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
    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://
    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-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 ***