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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-10-02, 08:26 AM   #1
ricur
Guest
 
Posts: n/a
Default Autoloading NVdriver

Hi. I have read all of the posts on here about loading the NVDrive on bootup, but still have no luck. Can anyone offer me any advice as to how exactly, I can make it auto load the NVDriver on boot up ?

Thanks
Richard
  Reply With Quote
Old 09-10-02, 08:40 AM   #2
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

A lot of distributions (RH, Mandrake ..) use the file /etc/modules.conf or conf.modules.
To that file you can add a line:
alias char-major-195 NVdriver

or you can put a line "modprobe NVdriver" in one of the system startup scripts.

If you compiled your own kernel make sure it supports loadable modules.
Thunderbird is offline   Reply With Quote
Old 09-10-02, 09:34 AM   #3
ricur
Guest
 
Posts: n/a
Default

I have already added that line to /etc/modules.conf, but it doesnt seem to do anything (at least not for me).

I am sure that my kernel uses modules as I compiled the sound to be a module, and that is working now... there are several entries in the modules.conf.

I think I will add the line to the startup script (for now) until I find a better solution.

Thanks
Richard
  Reply With Quote
Old 09-10-02, 03:12 PM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

If your distro uses devfs and devfsd, then adding the alias for char-major-195 won't help. The alias has to be for /dev/nvidia* instead.

A request can't come in to the kernel on a character device with major 195 unless that device already exists. With devfs, the device isn't created until the module actually loads, so you get a catch-22. But most of the time, devfs is set so that any access to a file under /dev tries to modprobe that filename (which won't be a module, but you can still alias to it). So if you add the alias, it should work.

Note that Mandrake ever since at least 8.1 is the only distribution that I know for sure uses devfs. RedHat might now, but I'm not sure. To check, if almost everything under /dev is a device file (shows up in yellow on the default color ls output), then you're not running it; ignore me. If most stuff comes up as a symlink (cyan in the default color ls output), then you're running devfs, try this.
__________________
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
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
kswapd kernel problem and the NVdriver kwaz NVIDIA Linux 2 09-25-02 08:33 PM
NVdriver module doesn't load every boot! z28Power NVIDIA Linux 3 09-24-02 07:18 PM
Can't load NVdriver jojotux123 NVIDIA Linux 4 09-18-02 06:15 AM
Red Hat 7.3, tarred 2960 download, NVdriver failed to initialize SparceMatrix NVIDIA Linux 7 09-10-02 12:02 AM

All times are GMT -5. The time now is 05:00 PM.


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