nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   module not loading (http://www.nvnews.net/vbulletin/showthread.php?t=17023)

hacnslash 08-25-03 08:04 PM

module not loading
well, i installed the driver, but the nvidia.o module will not load although i have it in my XF86Config file. if i do a modprobe nvidia, this is what it gives me:
Warning: loading /lib/modules/2.4.20/kernel/drivers/video/nvidia.o will taint th e kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted modu les
Module nvidia loaded, with warnings

i have never seen this error before, and would like to know how i can fix it.
also after i load the module, any gl app crashes saying that the opengl subsystem can't be loaded. i have load "glx" enabled in my XF86Config file.
thanks for any answers...

XoD 08-26-03 01:45 AM

This is not an error. The kernel gateway module is loading properly. The warning tells you that nvidia driver is not GPLed, but in fact it works. You missed something else: The NVIDIA driver is made of several components:
- The linux kernel gateway module(that you load properly with modprobe)
- The xfree modules. I think you have pbs with their setup. You should check that all the files from the nvidia driver for xfree are properly installed.

hacnslash 08-26-03 02:18 PM

Re: ....

Originally posted by XoD

- The xfree modules. I think you have pbs with their setup. You should check that all the files from the nvidia driver for xfree are properly installed.

ok, and how exactly would i go about and do it?

SnapIT 08-26-03 10:21 PM

Re: Re: ....

Originally posted by hacnslash
ok, and how exactly would i go about and do it?
type startx...

XoD 08-27-03 01:45 AM

Check and give us the following symbolic links values(with the command "ls -l" for instance):

Check that you have the following files:

Give use also:
The log file of the NVIDIA installer, the log file of the xfree server and your XF86Config.

hacnslash 08-27-03 03:07 PM

ok, i guess the symlinks were screwed cause i reinstalled the driver and now it seems to be working great......don't know why i can't change my resolution, but i'll figure it out;)

XoD 08-27-03 04:06 PM

working now, great! Changing resolution?
Well give a try with the key combinations in X:
(In theory, if the shortcuts are enables, it changes the resolution)
You configure the resolution in XF86Config file. I can help if you need it.

hacnslash 08-27-03 06:58 PM

thanks, i got it, i just added the "modeline" thing under the monitor section. by the way, what is the deal with sound in enemy territory, i cannot hear a thing, when i close the game every sound works, but not the game sounds.
OMG!! not only that, but i just checked and agp isn't working either!
cat /proc/driver/nvidia/agp/status

status: disabled

nooooooo i have the nvAGP option set to 3 so what does this mean?! that none of the modules support my chip!? btw i have a KM266 chipset

XoD 08-28-03 01:51 AM

README file...
All the information about the option you can use in your XF86Config file are in the README file from the NVIDIA driver.
nvAGP=3 means it uses the agpart module if available, the nvidia agp system in the other case. So this setting is fine. don't worry.
The fishy thing is you AGP disabled.
Sound in ET is in theory another pb...
Could you post us the log file of xfree and check out the content of the /proc/driver/nvidia stuff?
Well... from the readme file, with via chipset we may have to use a few tricks to enable AGP.

hacnslash 08-28-03 02:39 PM

1 Attachment(s)
ok, well here are some cat /proc/driver/nvidia/ things:

cat /proc/driver/nvidia/agp/status
Status: Disabled

cat /proc/driver/nvidia/agp/card
Fast Writes: Not Supported
SBA: Not Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000007:0x00000000

cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: PCI device 1106:3116 (VIA Technologies, Inc.)
Fast Writes: Not Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000207:0x00000000

cat /proc/driver/nvidia/cards/0
Model: RIVA TNT2 Model 64/Model 64 Pro
IRQ: 11
Video BIOS:
Card Type: AGP

ok, so here's my xfree log file:

XoD 08-29-03 05:53 AM

Do you have the AGPGART module loaded?
To check it:
You should see in the output something with agpgart.
If it is not loaded, before starting X, use:
#modprobe agpgart
#modprobe nvidia

hacnslash 08-29-03 02:42 PM

ok, agpgart module is not loading.

modprobe agpgart
/lib/modules/2.4.20/kernel/drivers/char/agp/agpgart.o: init_module: No such device
/lib/modules/2.4.20/kernel/drivers/char/agp/agpgart.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20/kernel/drivers/char/agp/agpgart.o: insmod /lib/modules/2.4.20/kernel/drivers/char/agp/agpgart.o failed
/lib/modules/2.4.20/kernel/drivers/char/agp/agpgart.o: insmod agpgart failed

i have checked and there IS and agpgart.o file in /lib/module/2.4.20/kernel/drivers/char/agp/
so, whats the problem????

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

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