Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98036 - emerge --info shows different kernel version than 'emerge -pv gentoo-sources'
Summary: emerge --info shows different kernel version than 'emerge -pv gentoo-sources'
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2005-07-05 11:52 UTC by Attila Stehr
Modified: 2005-07-07 09:33 UTC (History)
0 users

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 Attila Stehr 2005-07-05 11:52:13 UTC
magic atti # emerge -pvD gentoo-sources

These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild   R   ] sys-kernel/gentoo-sources-2.6.11-r11  -build -doc -symlink
(-ultra1) 0 kB

Total size of downloads: 0 kB
magic atti # emerge --info
Portage (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-, 2.6.11-gentoo-r7 x86_64)
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 30 2005, 19:34:17)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.6.3, 1.5, 1.7.9-r1, 1.4_p6, 1.9.5
sys-devel/libtool:   1.5.16
CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox severe sfperms
strict test"
USE="X aac acpi alsa amd64 avi berkdb bitmap-fonts bzlib cdr crypt cups curl dga
directfb dlloader dts dvd dvdr dvdread eds emacs encode esd exif fam fbcon
ffmpeg font-server foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk
gtk2 hal hardened howl imagemagick imlib ipv6 ithreads javascript jp2 jpeg lcms
libwww lzo lzw lzw-tiff mad matroska memlimit mikmod mmap mng mozdevelop mozsvg
mp3 mpeg ncurses nls nptl nvidia ogg oggvorbis on-the-fly-crypt openal opengl
oss pam pda pdflib perl png ppds python quicktime readline real sdl slang ssl
svg tcltk tcpd test tetex tga threads tidy tiff toolbar truetype truetype-fonts
type1-fonts unicode usb userlocales videos vorbis wmf xine xml2 xmms xpm xprint
xrandr xtermtoolbar xv xvid xvmc zlib linguas_de_DE@euro userland_GNU
kernel_linux elibc_glibc"

Reproducible: Always
Steps to Reproduce:
1. emerge -pvD gentoo-sources
   SHOWS: [ebuild   R   ] sys-kernel/gentoo-sources-2.6.11-r11
2. emerge --info
   SHOWS: System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+

Actual Results:  
can't upgrade

Expected Results:  
clean working 'emerge sync' or 'emerge gentoo-sources' (dunno which)

see above
Comment 1 Attila Stehr 2005-07-05 11:54:39 UTC
This maybe is connected with bug #96088.
Comment 2 Sven Wegener gentoo-dev 2005-07-05 11:57:38 UTC
emerge --info shows the kernel you are currently *running*
emerge -pv gentoo-sources shows the kernel you have *installed*
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-07-05 12:16:41 UTC
To elucidate, emerging a kernel does not build it and reboot your box, it merely
puts the source in /usr/src.  It's up to you to build the new kernel and reboot.
Comment 4 Attila Stehr 2005-07-06 14:33:59 UTC
Come on - I'm not that dull!
The same kernel is running as the one installed!

'dmesg | less'

Bootdata ok (command line is root=/dev/sda2 hdd=scsi vga=0x31B
Linux version 2.6.11-gentoo-r7 (root@magic) (gcc-Version 3.4.3 20041125 (Gentoo
Hardened 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)) #9 Wed Jun 1 22:50:22 CEST 2005

magic linux # pwd
magic linux # cd ..
magic src # ll
insgesamt 16
drwxr-xr-x   4 root root 4096 15. Jun 11:25 .
drwxr-xr-x  14 root root 4096  9. Jun 13:08 ..
-rw-r--r--   1 root root    0  9. Jun 13:09 .keep
lrwxrwxrwx   1 root root   22 16. Mai 14:24 linux -> linux-2.6.11-gentoo-r7
drwxr-xr-x  18 root root 4096 15. Jun 11:26 linux-2.6.11-gentoo-r11
drwxr-xr-x  19 root root 4096  6. Jul 23:31 linux-2.6.11-gentoo-r7

'make menuconfig' in /usr/src/linux shows this top left:
Linux Kernel v2.6.11-gentoo-r7 Configuration
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-07-06 15:34:47 UTC
(In reply to comment #4)
> Come on - I'm not that dull!
> The same kernel is running as the one installed!

Fix your symlink or add symlink to your use flags. You have -r7 and r-11 installed.
Comment 6 Attila Stehr 2005-07-07 09:33:34 UTC
> Come on - I'm not that dull!

hum ... looks like I am ;o)