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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-18-02, 02:47 AM   #1
dczx
Registered User
 
Join Date: Dec 2002
Posts: 3
Default My Struggle with the New Drivers

I have Mandrake 9.0. I ran NVChooser and downloaded the appropriate RPM's.

I did rpm -ivh kernel

and rpm -ivh glx

as it said, they appeared to install correctly.

I changed my XF86Config-4 file from "nv" to "nvidia"

However, if I try to start X, it fails with

"(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!"

in the log file. I try running drakconf and get the same thing when I test
driver. I have tried everything and am at my wit's end.

please help!
thx
dczx is offline   Reply With Quote
Old 12-18-02, 08:32 AM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Does running /sbin/modprobe nvidia as root before trying to startx help? If so, then your problem is with the alias in /etc/modules.conf (personally, every time I ran the installers in Mandrake, the lack of a "mktemp" utility made the drivers not be able to add the proper alias themselves -- which meant that I had to do it manually, this might be your problem).

If it doesn't help, then check the kernel messages (in either the output of dmesg or the /var/log/messages file) for any relevant errors.

The "failed to initialize kernel module" error is pretty much a catch-all for a bunch of different errors...
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 12-18-02, 12:43 PM   #3
dczx
Registered User
 
Join Date: Dec 2002
Posts: 3
Lightbulb

I've discovered something very weird: if I say plug and play OS in my bios to YES and assign PCI VGA IRQ to yes (even though my card is AGP) the drivers magically work... what is going on here? Some sort of IRQ thing?
dczx is offline   Reply With Quote
Old 12-18-02, 04:39 PM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Yes, an IRQ thing. I bet it works if PnP OS is set to No but Assign IRQ is set to Yes as well -- try it that way once.

When Assign IRQ to VGA is set to no, then the BIOS won't, well, assign an IRQ. It assumes that the OS can handle that, by either assigning its own IRQ, or by not using IRQs (or something). In Windows this works OK (not great, but OK). However, in Linux, that kind of thing doesn't work -- the idea is, why add code to the kernel to assign IRQs, when the BIOS can do it just fine? So no one adds that code. nVidia can't do it, because they'd need to change more of the kernel than just adding a single module can change.

So if assign IRQ is set to no, then the video card never gets an IRQ in Linux. Ever. Which causes the nvidia.o kernel module to not be able to find the video card. Which makes it not load. Which gives you that error about can't initialize kernel module.

Does that make any sense?

One other thing: AGP is just PCI. There's no real difference. AGP is a sub-bus (in PCI device identification terms, it's bus 1, where onboard stuff -- IDE, etc. -- is on bus 0, and addon cards are on bus 2) of your PCI bus.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 12-18-02, 08:22 PM   #5
dczx
Registered User
 
Join Date: Dec 2002
Posts: 3
Default

Very enlightening. =) I never could figure that out. I'll probably try turning off PnP OS but I'm scared to because everything is finally working! Never knew AGP = PCI in that sense.. cool
dczx is offline   Reply With Quote
Old 12-18-02, 09:29 PM   #6
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Just don't change anything software-settings-wise, you'll be OK. If it doesn't work for some reason, then don't try to get it to work, just set it back in the BIOS.
__________________
Registered Linux User #219692
bwkaz 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
NVIDIA Drivers Receive Windows 8 Certification News Archived News Items 0 06-01-12 06:30 AM
Enhance Max Payne 3, Diablo III with GeForce R300 Drivers News Archived News Items 0 05-22-12 07:30 PM
Creative drivers ? SparrowHawk General Hardware 39 11-18-02 09:03 AM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 10:31 PM
Nvidia Stereo Drivers Soudontsay NVIDIA Windows Graphics Drivers 2 08-26-02 11:48 AM

All times are GMT -5. The time now is 08:22 PM.


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