PDA

View Full Version : RH 7.2 nvdriver problem


noseman
10-20-02, 08:51 PM
hi all, i have a problem with the linux drivers. :confused:

driver version 1.0-3123

i have already made all i find in the forums but it still not work, the file nv-check.sh said all is fine. please help me.

TNT2 32MB M64.

bwkaz
10-20-02, 09:15 PM
Try to /sbin/modprobe NVdriver as root before you start X. If you don't get errors from modprobe, then X should work just fine until you reboot. If you do get errors from modprobe, post them.

If modprobe'ing the driver fixes the problem, then you can set it up to load whenever it's needed by editing /etc/modules.conf, but before I can tell you what to add, I'll have to know whether or not you use devfs (I don't believe so, since you're using RH 7.2, but you never know). So, does ls -a /dev/.devfsd print anything, or just "file not found"?

noseman
10-21-02, 03:05 PM
i try with the option in the kernel file:

make install /usr/src/linux-2.4/include and
make install /usr/src/linux-2.4.7-10/include

and both fails, xfree86 4.2.1 keep saying:

(EE) NVIDIA(0): Failed to initialize the NVdriver kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

------
a friend hack my comp and he told me that the real problem is the monitor, not the kerner module.

PLEASE HELP ME!!!

noseman
10-21-02, 03:13 PM
the /sbin/modprobe NVdriver doesnt say anything, and the line in /etc/modules.conf (alias /dev/nvidia* NVdriver) return me an error.

the ls -a / dev/.devfsd say dont such file or directory

noseman
10-21-02, 05:02 PM
SORRY, TNT2 32MB M64 AGP

bwkaz
10-21-02, 07:26 PM
return me an an errorWhat is this error?

no such file or directoryOK, that's fine. Actually, from this, the line in /etc/modules.conf shouldn't read alias /dev/nvidia* NVdriver, it should read alias char-major-195 NVdriver

Make that change, and run /sbin/depmod -a (both as root). Then try again.

he told me that the real problem is the monitor, not the kerner module.He told you wrong, as far as I can tell. Every time I've ever seen that message, it's been because the kernel module wasn't loaded when X was started.

noseman
10-21-02, 07:47 PM
the error with the line alias /dev/nvidia* NVdriver is:

#/sbin/modprobe -a
modprobe: Nothing to load ???
Specify at least a module or a wildcard like /*

whitout it nothing happen (already has alias char-major-195 NVdriver)

#/sbin/modprobe -a
#

noseman
10-22-02, 08:19 PM
my motherboard is a PC-CHIPS M810LMR :rolleyes:

bwkaz
10-23-02, 12:06 PM
#/sbin/modprobe -a
modprobe: Nothing to load ???
Specify at least a module or a wildcard like /*Err, that would be because you need to run /sbin/depmod -a instead. ;)

When you pass -a to modprobe, it tells it to load all matching modules, rather than just the first. But when you don't tell it anything else, it doesn't know what to match against, and so it gives you that error message. depmod, on the other hand, doesn't try loading modules at all. It just updates the module dependency information (modules.dep file), and I'm having you run it because if you don't, then every time you try to load a module (either manually or automatically), a warning message will be logged about modules.conf being newer than modules.dep. Your logs are a bit messier when that's happening, and it's easy enough to stop.

OK, keep your char-major-195 alias in modules.conf. Then reboot, and do an /sbin/modprobe NVdriver as root. Does that say anything (other than "module will taint kernel", that's harmless)? If not, does startx give you a GUI now? -- it should. If the modprobe fails, what does it say? If modprobe succeeds but startx fails, what's in your log?

noseman
10-23-02, 05:09 PM
/sbin/modprobe NVdriver as root => nothing happen

and startx doesnt start for the NVdriver kernel module

bwkaz
10-23-02, 07:41 PM
OK, after you do that (/sbin/modprobe NVdriver and then startx), can you post your X log?

noseman
10-23-02, 10:06 PM
ok, from the begining

[root@casper root]#/sbin/modprobe NVdriver
[root@casper root]#
[root@casper root]#ls -Fla /dev/nv*
crw-rw-rw- 1 root root 195, 0 OCT 23 21:29 /dev/nvidia0
crw-rw-rw- 1 root root 195, 1 OCT 23 21:29 /dev/nvidia1
crw-rw-rw- 1 root root 195, 2 OCT 23 21:29 /dev/nvidia2
crw-rw-rw- 1 root root 195, 3 OCT 23 21:29 /dev/nvidia3
crw-rw-rw- 1 root root 195, 4 OCT 23 21:29 /dev/nvidia4
crw-rw-rw- 1 root root 195, 5 OCT 23 21:29 /dev/nvidia5
crw-rw-rw- 1 root root 195, 6 OCT 23 21:29 /dev/nvidia6
crw-rw-rw- 1 root root 195, 7 OCT 23 21:29 /dev/nvidia7
crw-rw-rw- 1 root root 195, 255 OCT 23 21:29 /dev/nvidiactl


BIOS:

BIOS => PCI / Plug and Play Setup
Plug and Play Aware O/S YES
Share Memory Size N/A
Primary Graphics Adapter OnBoard AGP
Allocate IRQ to PCI VGA No
PCI IDE BusMaster Disabled

BIOS2:

PCI DEVICES
Onboard IDE, IRQ14,IRQ15 Onboard Multimedia Device, IRQ11
Onboard USB Controller, IRQ5 Onboard USB Controller, IRQ5
Onboard Ethernet, IRQ3 Slot 2 Communication Device, IRQ3
Bridge VGA

logs files:

bwkaz
10-24-02, 09:11 AM
Plug and Play Aware O/S YES
Share Memory Size N/A
Primary Graphics Adapter OnBoard AGP
Allocate IRQ to PCI VGA NoI think we might have a winner here. Somewhere in one piece of documentation or another, I've seen that "allocate IRQ to VGA" must be enabled. Even though this one says "PCI VGA" instead, I would think it'd be worth a shot. The other thing is PnP Aware OS. That should always be set to No with Linux (and actually, sometimes with Windows it's not a bad idea). The difference between the two settings is that with it set to yes, the BIOS will delay initialization of some "nonessential" devices until the OS tells it how to initialize them. This is just about the most retarded way to do anything that I can think of. The OS should not be telling the BIOS what to do. With it set to no, the BIOS will initialize everything, and merely tell the OS where it put stuff.

Anyway, try flipping those both around, and see if it works any better. My guess is that the only thing you'll need to do is turn on "allocate IRQ", but turning off PnP OS is a good idea for other things.

noseman
10-24-02, 11:09 AM
"allocate IRQ to VGA" must be enabled

WOW MAN!!! IT WORKS!!!!!!!!! THANKS A LOT MAN!!!!!!!

now i can see the NVidia logo at starx.

bwkaz
10-24-02, 11:53 AM
Good!

:)