View Single Post
Old 12-15-05, 06:11 AM   #6
Registered User
Join Date: Dec 2005
Posts: 6
Default Re: bug in nvidia kernel module (pageattr.c:156)

Just to confirm.....

I'd start doom3, quit, and upon launching a second instance, my computer would's some relevant info:
$ emerge info
Portage (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r4 x86_64)
System uname: 2.6.14-gentoo-r4 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
CFLAGS="-march=opteron -mtune=opteron -fomit-frame-pointer -Os -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=opteron -mtune=opteron -fomit-frame-pointer -Os -pipe"
FEATURES="autoconfig distlocks sandbox sfperms strict"
USE="amd64 3xnowex X a52 aac acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 canvas cdr crypt cups curl directfb divx4linux dts dvd dvdr dvdread effects emboss encode esd ethereal exif expat extensions f77 fam fbcon ffmpeg fftw flac foomaticdb fortran gb gd gdbm gif glut gnome gnutls gpm gtk gtk2 gtkhtml i8x0 idn imagemagick imlib inkjar insecure-savers ithreads java jce jpeg jpg junit kqemu lcms libgda libwww lirc live logitech-mouse logrotate lzw lzw-tiff mad maildir mjpeg mng motif mozcalendar mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpi mpqc mysql mythtv ncurses netcdf network new-login nls no_wxgtk1 nptl nsplugin nvidia offensive ogg oggvorbis openal opengl pam pcre pdflib perl plotutils plugin png pnp ppds python quicktime readline recode rtc samba sasl sdl smp spell ssl startup-notification svg tcltk tcpd tetex threads tiff toolbar truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2 vorbis wmf xchattext xinetd xml xml2 xpm xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
After ssh'ing in I could collect the following info from my logs:
----------- [cut here ] --------- [please bite here ] ---------
Kernel BUG at arch/x86_64/mm/pageattr.c:154
invalid operand: 0000 [1] PREEMPT SMP 
CPU 1 
Modules linked in: kqemu nvidia ipt_MASQUERADE ipt_LOG ipt_REJECT ipt_state vmnet vmmon tun lirc_i2c lirc_dev da9887 ivtv tveeprom saa7127 tuner saa7115 msp3400 i2c_algo_bit vfat fat nfsd exportfs nfs lockd sunrpc pwc vieodev e1000 i2c_amd756 i2c_amd8111 w83781d lm85 hwmon_vid i2c_isa i2c_dev i2c_core pcspkr ipt_owner iptable_fiter ip_conntrack_ftp ipt_conntrack iptable_nat ip_nat ip_tables ip_conntrack nbd
Pid: 32150, comm: doom.x86 Tainted: PF     2.6.14-gentoo-r4 #1
RIP: 0010:[<ffffffff8011e965>] <ffffffff8011e965>{__change_page_attr+709}
RSP: 0018:ffff81005a8e5d98  EFLAGS: 00010282
RAX: 00000000000001e3 RBX: 8000000000000163 RCX: 0000000000000000
RDX: 000000000000003f RSI: 0000000000000000 RDI: ffff81000000d000
RBP: 8000000000000163 R08: 03fffffffffff000 R09: ffff810000000000
R10: 000000000000000a R11: ffffffff8054ec80 R12: ffff810000000000
R13: ffff8100010001f8 R14: ffff810000009000 R15: 0000000000000001
FS:  00002aaaab7a5300(0000) GS:ffffffff80549880(0000) knlGS:00000000558938e0
CS:  0010 DS: 002b ES: 002b CR0: 000000008005003b
CR2: 00000000558204e0 CR3: 0000000000101000 CR4: 00000000000006e0
Process doom.x86 (pid: 32150, threadinfo ffff81005a8e4000, task ffff81006a670380)
Stack: ffff810000000000 0000000000000000 0000000000000000 0000000000000000 
       ffffffff7fffffff ffffffff8011eb8c 0000000000000000 0000000000000163 
       8000000000000163 ffff81007e261a80 
Call Trace:<ffffffff8011eb8c>{change_page_attr_addr+140} <ffffffff884172a1>{:nvidia:nv_vm_free_pages+393}
       <ffffffff8016a90a>{remove_vm_struct+106} <ffffffff8016ce11>{exit_mmap+369}
       <ffffffff80130874>{mmput+52} <ffffffff80135c5c>{do_exit+460}
       <ffffffff801367fd>{do_group_exit+237} <ffffffff8011ef23>{cstar_do_call+27}

Code: 0f 0b 68 4a d0 41 80 c2 9a 00 41 8b 45 00 f6 c4 04 74 0a 0f 
RIP <ffffffff8011e965>{__change_page_attr+709} RSP <ffff81005a8e5d98>
 <1>Fixing recursive fault but reboot is needed!
Attached is the nvidia-bug-report file...that utility would not run, however, after a just froze after printing only a few lines....

So I applied the patch NVIDIA_kernel-1.0-8174-1432714.diff.txt and reinstalled the driver...all is well so far. I haven't been able to reproduce the crash.
Attached Files
File Type: log nvidia-bug-report_1.log (91.9 KB, 146 views)
je_fro is offline   Reply With Quote