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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-08-04, 08:50 PM   #25
mdi
Registered User
 
Join Date: Apr 2004
Posts: 2
Default Re: 2.6.2 Kernel Badness with 1.0-5336 NVIDIA driver

I experience hard lock-ups if I enable NVreg_EnableAGPFW and NVreg_EnableAGPSBA with kernel 2.6.5-mm1, using either NvAGP or agpgart, while using X, but not while just using the console. These lock-ups always happen within a few minutes of using X while doing random things. Sometimes the mouse is able to move after the system locks up, sometimes not. I always have to power down abruptly to get back to a usuable system.

I've also tried just enabling one or the other, but that always disables them both according to /proc/driver/nvidia/agp/status.

No problems so far (three days) if they're disabled. This did NOT happen with kernel 2.4.x, which was the only thing I upgraded before seeing this issue.

Lots of info:

Dell Inspiron 8500 - BIOS A05 (latest)
Gentoo Base System 1.4.4
XFree 4.3.0

$ grep -i nv /etc/X11/XF86Config
Driver "nvidia"
VendorName "NVIDIA"
Option "NvAGP" "1"

$ grep -i load /etc/X11/XF86Config
Load "extmod"
Load "dbe"
Load "freetype"
Load "glx"
Load "record"
Load "type1"
Load "xtrap"

$ grep -i nv /etc/modules.conf
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
options NVreg_EnableAGPSBA=0 NVreg_EnableAGPFW=0

$ uname -a
Linux bonzo 2.6.5-mm1 #1 Wed Apr 7 12:44:15 EDT 2004 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz GenuineIntel GNU/Linux

$ lsmod
Module Size Used by
nvidia 2067976 14
snd_seq 51344 0
snd_intel8x0 29572 2
snd_ac97_codec 60036 1 snd_intel8x0
snd_pcm 82824 1 snd_intel8x0
snd_timer 21764 2 snd_seq,snd_pcm
snd_page_alloc 8964 2 snd_intel8x0,snd_pcm
snd_mpu401_uart 6400 1 snd_intel8x0
snd_rawmidi 18688 1 snd_mpu401_uart
snd_seq_device 6792 2 snd_seq,snd_rawmidi
snd 41144 12 snd_seq,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_ti mer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
ehci_hcd 24328 0
uhci_hcd 27676 0
evdev 7936 0
usbcore 90804 4 ehci_hcd,uhci_hcd
mii 4224 0
b44 19076 0

$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA Linux x86 NVIDIA Kernel Module 1.0-5336 Wed Jan 14 18:29:26 PST 2004
GCC version: gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)

$ cat /proc/driver/nvidia/cards/0
Model: GeForce4 4200 Go
IRQ: 11
Video BIOS: 04.28.20.31.10
Card Type: AGP

$ cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x1f000104

$ cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x00000104

$ cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: NVIDIA
AGP Rate: 4x
Fast Writes: Disabled
SBA: Disabled

$ grep -i nv /var/log/XFree86.0.log
(--) PCI:*(1:0:0) nVidia Corporation unknown chipset (0x0286) rev 161, Mem @ 0xfc000000/24, 0xf0000000/26, BIOS @ 0x80000000/17
(II) Module glx: vendor="NVIDIA Corporation"
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
(II) NVIDIA XFree86 Driver 1.0-5336 Wed Jan 14 18:30:46 PST 2004
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(--) Chipset NVIDIA GPU found
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NoLogo" "1"
(**) NVIDIA(0): Option "NvAGP" "1"
(**) NVIDIA(0): Option "CursorShadow" "1"
(**) NVIDIA(0): Enabling cursor shadow
(**) NVIDIA(0): Use of NVIDIA internal AGP requested
(--) NVIDIA(0): Linear framebuffer at 0xF0000000
(--) NVIDIA(0): MMIO registers at 0xFC000000
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce4 4200 Go
(--) NVIDIA(0): VideoBIOS: 04.28.20.31.10
(--) NVIDIA(0): VideoRAM: 65536 kBytes
(II) NVIDIA(0): Connected display device(s): DFP-0
(--) NVIDIA(0): Detected TV Encoder: Chrontel 7009
(--) NVIDIA(0): Display device DFP-0: maximum pixel clock at 8 bpp: 350 MHz
(--) NVIDIA(0): Display device DFP-0: maximum pixel clock at 16 bpp: 350 MHz
(--) NVIDIA(0): Display device DFP-0: maximum pixel clock at 32 bpp: 350 MHz
(II) NVIDIA(0): Monitor0: Using hsync range of 30.00-107.00 kHz
(II) NVIDIA(0): Monitor0: Using vrefresh range of 50.00-150.00 Hz
(II) NVIDIA(0): Clock range: 12.00 to 350.00 MHz
(**) NVIDIA(0): Validated modes for display device DFP-0:
(**) NVIDIA(0): Mode "1680x1050": 214.5 MHz, 93.8 kHz, 85.0 Hz
(II) NVIDIA(0): Virtual screen size determined to be 1680 x 1050
(++) NVIDIA(0): DPI set to (128, 128)
(II) NVIDIA(0): AGP 4X successfully initialized
(II) NVIDIA(0): Setting mode "1680x1050"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) XINPUT: Adding extended input device "NVIDIA Kernel Input Handler" (type: Other)
(II) NVIDIA(0): Setting mode "1680x1050"
(II) NVIDIA(0): Setting mode "1680x1050"

Last edited by mdi; 04-08-04 at 09:45 PM.
mdi is offline   Reply With Quote
Old 04-08-04, 11:36 PM   #26
geowiz
Registered User
 
Join Date: Jul 2003
Location: Houston, Tx USA
Posts: 110
Default Re: 2.6.2 Kernel Badness with 1.0-5336 NVIDIA driver

Did you remember to compile out the 4k kernel stack? NVIDIA only works with the 8k kernel stack in the 2.6.5-mm1. The mm1 comes with 4k kernel stack turned on by defaut.

Recompile with the config option CONFIG_4KSTACKS disabled.
geowiz is offline   Reply With Quote
Old 04-09-04, 02:41 AM   #27
darkhelmet03
Registered User
 
Join Date: Jul 2003
Posts: 62
Default Re: 2.6.2 Kernel Badness with 1.0-5336 NVIDIA driver

FYI

my lockups went away as soon as I disabled FW and SBA....

happily running 2.6.5 w/ 5336 and w/ kde 3.2.1 w/o any problems at all...
darkhelmet03 is offline   Reply With Quote
Old 04-09-04, 05:41 AM   #28
mdi
Registered User
 
Join Date: Apr 2004
Posts: 2
Default Re: 2.6.2 Kernel Badness with 1.0-5336 NVIDIA driver

Yeah, I backed out the two patches needed to run NVIDIA's binary drivers:

4k-stacks-always-on.patch
move-__this_module-to-modpost.patch
mdi is offline   Reply With Quote
Reply


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
Nvidia driver stopped working after X restart and Kernel taint msgs during boot mikejuni NVIDIA Linux 10 05-21-12 08:30 PM
Lucid rt kernel can't load latest nvidia driver module, but generic does. marcod NVIDIA Linux 0 05-02-12 06:23 AM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM

All times are GMT -5. The time now is 08:11 AM.


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