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

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-01-04, 04:09 PM   #1
kgroombr
Using Linux Since 1995
 
Join Date: Sep 2002
Posts: 130
Default nvidia module doesn't demand load

I loaded a new system and have installed kernel to 2.6.1.

I am using module-init-tools 3.0-pre9.

Here are the relevant lines in my modprobe.conf file:

alias char-major-195-* nvidia
options nvidia NVreg_EnableAGPFW=1 NVreg_EnableAGPSBA=1

I have also tried:

alias /dev/nvidia* nvidia

The nvidia module never loads upon X loading, however, if I perform and "modprobe nvidia" and then start X, all is fine.

This isn't the first time I have done this. I have two boxes set up like this (except the kernel is 2.6.0-testX and they work fine.

Thanks,
Ken
__________________
Kenton A. Groombridge
kgroombr@comcast.net
http://home.comcast.net/~kgroombr/
kgroombr is offline   Reply With Quote
Old 02-01-04, 06:47 PM   #2
whig
550Ti
 
Join Date: Jan 2004
Location: New Zealand
Posts: 854
Default

I've got the same problem on Mandrake 9.2 for AMD64 with kernel 2.6.1. I just put nvidia in /etc/modprobe.preload
whig is offline   Reply With Quote
Old 02-02-04, 04:35 AM   #3
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

You could embed an alias in the kernel module itself (MODULE_ALIAS_CHARDEV_MAJOR), but alias char-major-195* nvidia should work, as well.
zander is offline   Reply With Quote
Old 02-16-04, 06:57 AM   #4
rednuht
GeForce FX5600 (1.0-5336)
 
rednuht's Avatar
 
Join Date: Sep 2003
Location: uk
Posts: 164
Default same problem

yep, since upgrading to 2.6.2 (with mod-utils)
get exactly the same problem, not exactly a show stopper but damned annoying
rednuht is offline   Reply With Quote
Old 02-16-04, 07:37 AM   #5
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

Have you tried either one of my suggestions? If not, what error messages (if any) does modprobe produce?
zander is offline   Reply With Quote
Old 02-16-04, 07:49 AM   #6
kgroombr
Using Linux Since 1995
 
Join Date: Sep 2002
Posts: 130
Default

My first solution was that I put a line in my rc.local to load it.

My second solution was that I then created an entry in the modprobe.preload. I left it like this.

I looked for some good documentation on the new modprobe.conf file format and also on modprobe.preload. Anybody know of a link that descibes all the possible modprobe.* files and their formats?

Thanks,
Ken
__________________
Kenton A. Groombridge
kgroombr@comcast.net
http://home.comcast.net/~kgroombr/
kgroombr is offline   Reply With Quote
Old 02-16-04, 12:02 PM   #7
prat
Registered User
 
Join Date: Dec 2003
Location: Rice University!
Posts: 1
Send a message via AIM to prat Send a message via Yahoo to prat
Default

Hmm... don't have a link, per se, but my autoloading works (it's NOT in any preload files, and loads succesfully on demand), so this might help:

In my /etc/modprobe.conf, I have the following lines I think are relevant:

alias char-major-195-* nvidia
alias /dev/nvidiactl nvidia

Hope that helps. Also please not I'm not using devfs (using udev, but since udev doesn't support loading modules when you try to access a /dev entry, that should be irrelevant, except insofar as the /dev/nvidiactl device does NOT go away on reboot, and though /dev is mounted on a ramfs on my system, the directory is tarred on shutdown and untarred on boot, so it's a static entry, more or less). This also means I have /dev/nvidia[0-7] devices created before the module is ever loaded, so this might have something to with it.
prat 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 + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
Error messages... HELP!!!! Imperito NVIDIA Linux 3 09-24-02 10:46 PM
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 08:23 AM
Need help to get the X to work on my Acer TravelMate 630 knchee NVIDIA Linux 16 09-19-02 10:16 PM

All times are GMT -5. The time now is 07:03 PM.


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