Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 12-12-05, 06:54 PM   #1
Registered User
Join Date: Dec 2005
Posts: 32
Default bug in nvidia kernel module (pageattr.c:156)

hello... im getting this error with the latest nvidia drivers:
Kernel BUG at arch/x86_64/mm/pageattr.c:154
invalid operand: 0000 [1]
Modules linked in: vfat fat isofs zlib_inflate nvidia i2c_viapro ehci_hcd uhci_hcd amd64_agp agpgart snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq saa7134_alsa tda9887 tuner sa$
Pid: 6760, comm: bzflag Tainted: P 2.6.15-rc5-ck2-redee #1
RIP: 0010:[<ffffffff8011e0d0>] <ffffffff8011e0d0>{__change_page_attr+608}
RSP: 0018:ffff8100356b9d98 EFLAGS: 00010282
RAX: 00000000000001f8 RBX: ffff8100010001f8 RCX: 80000000328001e3
RDX: 0000000000000048 RSI: 0000000000032962 RDI: ffff810000000000
RBP: ffff810032962000 R08: 00003ffffffff000 R09: 8000000000000163
R10: ffffffffffffffff R11: ffffffff80152d40 R12: 0000000000000000
R13: ffff810000009ca0 R14: 0000000000000ca0 R15: 8000000000000163
FS: 00002aaaace1b1f0(0000) GS:ffffffff80412800(0000) knlGS:000000004014e6b0
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000881708 CR3: 0000000014629000 CR4: 00000000000006e0
Process bzflag (pid: 6760, threadinfo ffff8100356b8000, task ffff810017a3a3c0)
Stack: 0000001e00000001 ffffffff80101810 0000000000000102 0000000000000000
ffff810037f66000 0000000000000013 0000000000000246 ffff810032962000
0000000000032962 0000000000000000
Call Trace:<ffffffff80101810>{init_level4_pgt+2064} <ffffffff8011e31b>{change_page_attr_addr+155}
<ffffffff88479947>{:nvidia:nv_vm_free_pages+274} <ffffffff88475b44>{:nvidia:nv_kern_vma_release+126 }
<ffffffff8015f80c>{remove_vma+44} <ffffffff8015fd78>{exit_mmap+184}
<ffffffff8012c37b>{mmput+27} <ffffffff80130633>{do_exit+547}
<ffffffff80131029>{do_group_exit+169} <ffffffff8010e96e>{system_call+126}

Code: 0f 0b 68 d2 a5 2d 80 c2 9a 00 66 66 90 66 66 90 8b 03 89 c0
RIP <ffffffff8011e0d0>{__change_page_attr+608} RSP <ffff8100356b9d98>
<1>Fixing recursive fault but reboot is needed!

i hope someone can help.
Redeeman is offline   Reply With Quote
Old 12-12-05, 07:00 PM   #2
NVIDIA Corporation
Join Date: Dec 2004
Posts: 8,763
Default Re: bug in nvidia kernel module (pageattr.c:156)

Have you applied all of the patches from here:

If so, then please provide a bug report with reproduction steps.

netllama is offline   Reply With Quote
Old 12-13-05, 02:46 AM   #3
NVIDIA Corporation
zander's Avatar
Join Date: Aug 2002
Posts: 3,740
Default Re: bug in nvidia kernel module (pageattr.c:156)

This is a known problem; please see http://www.nvnews.net/vbulletin/show...27&postcount=4 for a patch that resolves the crash.
zander is offline   Reply With Quote
Old 12-13-05, 03:25 AM   #4
Registered User
Join Date: Nov 2005
Posts: 2
Default Re: bug in nvidia kernel module (pageattr.c:156)

Is this AGP patch for all kernels? We're using 2.4 (RedHat 3.0)
davidwest is offline   Reply With Quote
Old 12-13-05, 04:00 AM   #5
NVIDIA Corporation
zander's Avatar
Join Date: Aug 2002
Posts: 3,740
Default Re: bug in nvidia kernel module (pageattr.c:156)

Yes, the problem isn't specific to a certain Linux kernel version, nor is it specific to AGPGART or NvAGP.
zander is offline   Reply With Quote
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 freeze...here'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"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo  ftp://gentoo.ccccom.com http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.osuosl.org"
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 crash...it 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, 145 views)
je_fro is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Lucid rt kernel can't load latest nvidia driver module, but generic does. marcod NVIDIA Linux 0 05-02-12 06:23 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM

All times are GMT -5. The time now is 03:27 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.