Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162539 - gentoo-sources-2.6.19-r4 causes oops during emerge
Summary: gentoo-sources-2.6.19-r4 causes oops during emerge
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-17 14:35 UTC by Tim Ryan
Modified: 2007-01-25 21:30 UTC (History)
0 users

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 Tim Ryan 2007-01-17 14:35:49 UTC
I upgraded my kernel for 2.6.19-r2 to 2.6.19-r4 and started having trouble doing an emerge. It would emerge one package, then when the cleanup of the old version of the package was done "Killed" was printed and the emerge would end, even though there were more packages to go. I checked a few thing, then found this in my /var/log/messages:
Code:
Jan 15 03:14:54 riva Unable to handle kernel NULL pointer dereference at 0000000000000001 RIP:
Jan 15 03:14:54 riva [<ffffffff80271540>] do_lookup+0x50/0x210
Jan 15 03:14:54 riva PGD 34481067 PUD 36614067 PMD 0
Jan 15 03:14:54 riva Oops: 0000 [3]
Jan 15 03:14:54 riva CPU 0
Jan 15 03:14:54 riva Modules linked in: msdos fat snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq w8
3627hf hwmon_vid i2c_isa nvidia(P) snd_via82xx snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu40
1_uart snd_rawmidi snd_seq_device snd i2c_viapro i2c_core
Jan 15 03:14:54 riva Pid: 24248, comm: updatedb Tainted: P      2.6.19-gentoo-r4 #1
Jan 15 03:14:54 riva RIP: 0010:[<ffffffff80271540>]  [<ffffffff80271540>] do_lookup+0x50/0x210
Jan 15 03:14:54 riva RSP: 0018:ffff81003297dc38  EFLAGS: 00010202
Jan 15 03:14:54 riva RAX: 0000000000000001 RBX: ffff81003a92b080 RCX: 0000000000000000
Jan 15 03:14:54 riva RDX: 000000000000664e RSI: ffff81003a92b135 RDI: ffff81003d63c011
Jan 15 03:14:54 riva RBP: 0000000000000000 R08: 0000000000000000 R09: ffff81003d63c000
Jan 15 03:14:54 riva R10: 0000000000000002 R11: ffffffff802d0f30 R12: ffff81003297de48
Jan 15 03:14:54 riva R13: ffff81003297dca8 R14: ffff81003297dcb8 R15: 00000000000010f1
Jan 15 03:14:54 riva FS:  00002ba67edb86d0(0000) GS:ffffffff8061e000(0000) knlGS:00000000f7ce2b70
Jan 15 03:14:54 riva CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Jan 15 03:14:54 riva CR2: 0000000000000001 CR3: 0000000012678000 CR4: 00000000000006e0
Jan 15 03:14:54 riva Process updatedb (pid: 24248, threadinfo ffff81003297c000, task ffff81003dd2ae40)
Jan 15 03:14:54 riva Stack:  ffff81002fe27268 ffff81003e60c0c0 ffff81000362b400 ffff81003d63c011
Jan 15 03:14:54 riva 0000000000000000 ffff81003297dca8 ffff81003297de48 ffff81003d63c000
Jan 15 03:14:54 riva 00000000000010f1 ffffffff802733d3 0000000000000001 ffff81001ee9cbc0
Jan 15 03:14:54 riva Call Trace:
Jan 15 03:14:54 riva [<ffffffff802733d3>] __link_path_walk+0x7a3/0xc20
Jan 15 03:14:54 riva [<ffffffff802738d7>] link_path_walk+0x87/0x140
Jan 15 03:14:54 riva [<ffffffff80273c9e>] do_path_lookup+0x19e/0x1e0
Jan 15 03:14:54 riva [<ffffffff802729f7>] getname+0x167/0x1d0
Jan 15 03:14:54 riva [<ffffffff8027477b>] __user_walk_fd+0x4b/0x80
Jan 15 03:14:54 riva [<ffffffff8026d2dc>] vfs_lstat_fd+0x2c/0x70
Jan 15 03:14:54 riva [<ffffffff8026d557>] sys_newlstat+0x27/0x50
Jan 15 03:14:54 riva [<ffffffff8020992e>] system_call+0x7e/0x83
Jan 15 03:14:54 riva
Jan 15 03:14:54 riva
Jan 15 03:14:54 riva Code: 48 8b 00 48 85 c0 0f 85 34 01 00 00 66 66 66 90 48 8b 44 24
Jan 15 03:14:54 riva RIP  [<ffffffff80271540>] do_lookup+0x50/0x210
Jan 15 03:14:54 riva RSP <ffff81003297dc38>
Jan 15 03:14:54 riva CR2: 0000000000000001

This occured every time I tried an emerge. I went back to 2.6.19-r2, and no problems at all. The system is amd64.

Reproducible: Always

Steps to Reproduce:
1.Boot with kernel 2.6.19-r4
2.emerge -auD world
3. Sometimes gets through a single package, never two. Most of the time fails on the first.

Actual Results:  
Emerge Fails with "Killed" on screen. Oops in messages.

Expected Results:  
Finish the emerge without errors.

riva log # emerge --info
Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Tue, 16 Jan 2007 16:30:06 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.3.5-r2, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aim alsa alsa_cards_via82xx alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr elibc_glibc emboss encode esd exif fam ffmpeg firefox font-server fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java javascript jpeg kde kernel_linux kqemu ldap libg++ linguas_en mad mikmod mozbranding mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia offensive ofx ogg openal opengl oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd truetype truetype-fonts type1-fonts udev userland_GNU video_cards_nvidia videos vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

This is with the working kernel. The config file for both is identical except for the version.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-17 15:31:32 UTC
Well your kernel is tainted; you should reproduce this w/o any proprietary stuff before reporting kernel bugs...
Comment 2 Wouter Coppens 2007-01-23 14:24:13 UTC
I have the same problem with 2.6.19-r4 and I don't use any proprietary stuff.

The problem here is that is not always reproducible. The most change to hit it is after running some java programs.

 # emerge --info
Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r4 x86_64 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.6
Last Sync: Tue, 23 Jan 2007 13:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LC_ALL="nl_BE.UTF-8"
LINGUAS="en nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa alsa_cards_hda-intel alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 berkdb bitmap-fonts bzip2 cli cracklib crypt dlloader dri elibc_glibc fortran gdbm gpm iconv input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ linguas_en linguas_nl lirc lirc_devices_mceusb2 mysql ncurses nls nptl nptlonly opengl pam pcre perl ppds pppd python readline reflection sdl session slang spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_radeon xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2007-01-25 21:30:55 UTC
Wouter: please file a new bug for your issue
Tim: if this happens on an untainted kernel, please reopen this bug with a new trace