nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Another fella with problems installing a GeForce4 in Debian (http://www.nvnews.net/vbulletin/showthread.php?t=6011)

NoPop 01-06-03 01:48 PM

Another fella with problems installing a GeForce4 in Debian
 
I've used linux systems before, but never actually had to set one up. I'm trying to build nvidia's drivers.

Kernel is 2.2.20-idepci

I installed the headers, ran nvidia's makefile. It seems to compile fine, then fails with:

Quote:

0: nvidia: no NVIDIA graphics adapter found
/lib/modules/2.2.20-idepci/video/nvidia.o: init_module: Device or resource busy
Hint: insmod errors can be cased by incorrect module paramteres, including invalid IO or IRQ parameters
/lib/modules/2.2.20-idepci/video/nvidia.o failed
/lib/modules/2.2.20-idepci/video/nvidia.o: insmod nvidia failed
make: *** [package-install] Error 255
can anybody tell me what's going wrong, and how I might fix it?
-Thanks

Chummer 01-06-03 04:57 PM

I had that happen when upgrading to the new drivers. My /etc/modules.conf still had the NVdriver aliased to char-major-195. The new drivers 4191 use nvidia now and not NVdriver. I think this happens due to the aliases file.

Edit /etc/modutils/aliases and /etc/modules.conf and change NVdriver to nvidia.

I cannot remember the correct debian way to do this, but it involves running the following after editing the aliases file:

update-modules
depmod

In order to ensure that NVdriver is not loaded run the following (the real reason for your error I think is that NVdriver is loaded and running which prevents nvidia from getting it):

rmmod NVdriver

Make sure X is not running before doing the rmmod, but I assume it is not since you cannot install nvidia drivers. Then run the following:

insmod nvidia

That should hopefully do it.

NoPop 01-07-03 10:12 AM

Thank you for your reply.

it doesn't appear that there are any NVdriver references in /etc/modules.conf

-- unless nvram in /etc/modutils/arch/i386 is what I'm looking for, though changing that didn't work (however it didn't appear to break anything, either)

rmmod NVdriver complains that it isn't loaded, and lsmod lists af_packet as the only loaded module.

Here is my modules.conf. I've removed all of the commented lines, except the ones saying which file the lines below came from:

Quote:

### update-modules: start processing /etc/modutils/0keep
keep

### update-modules: start processing /etc/modutils/actions
post-install bttv insmod tuner
post-remove bttv rmmod tuner

### update-modules: start processing /etc/modutils/aliases
alias char-major-10-175 agpgart
alias char-major-10-200 tun
alias char-major-81 bttv
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5


### update-modules: start processing /etc/modutils/paths

### update-modules: start processing /etc/modutils/ppp
alias /dev/ppp ppp_generic
alias char-major-108 ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate

### update-modules: start processing /etc/modutils/setserial
alias /dev/tts serial
alias /dev/tts/0 serial
alias /dev/tts/1 serial
alias /dev/tts/2 serial
alias /dev/tts/3 serial
post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null
pre-remove serial /etc/init.d/setserial modsave > /dev/null 2> /dev/null

### update-modules: start processing /etc/modutils/arch/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc

Chummer 01-07-03 04:38 PM

I do not see an entry for the nvidia driver. I added one to the aliases file.

alias char-major-195 nvidia

The nvidia kernel install should have added that line to your modules.conf file. But, I do not think that is the problem since your error is probably generated when the nvidia kernel module make is trying to run the following:

insmod nvidia

Sorry I could not help.:(


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

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