Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14607 - nvidia-kernel driver not being loaded on bootup
Summary: nvidia-kernel driver not being loaded on bootup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High minor
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-27 00:40 UTC by Garen
Modified: 2003-03-05 14:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Garen 2003-01-27 00:40:29 UTC
See thread http://forums.gentoo.org/viewtopic.php?t=31727.  Works fine if I 
manually load NVdriver with modprobe, or add it to /etc/modules.autoload -- but 
for some reason isn't loaded even though devfs is running.

I've verified that CONFIG_DEVFS_FS=y is in my .config, re-emerged all the 
relevent packages and rebooted several times and the problem persists.
Comment 1 SpanKY gentoo-dev 2003-01-27 00:55:35 UTC
az: the new module has changed names but not everyone has updated ... so maybe
having an alias for both modules might be better ...
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-28 15:13:32 UTC
Was already fixed on CVS.
Comment 3 Garen 2003-01-28 15:24:16 UTC
hiya az,

Care to elaborate how the problem is manifested?  Am curious.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-28 16:05:17 UTC
Removed this from baselayout when 4191 came out, but added back:

-----------------------
nosferatu binutils-2.13.90.0.18 # grep NVdriver /etc/modules.d/aliases 
alias char-major-195 NVdriver 
nosferatu binutils-2.13.90.0.18 # 
Comment 5 Garen 2003-02-13 03:26:39 UTC
I just checked and still have the problem as well many others (new thread: http://forums.gentoo.org/viewtopic.php?t=33116).  The alias is in a separate file /etc/modules.d/nvidia now and looks like it should be loaded here from /etc/modules.conf and shows up in modprobe --showconfig but doesn't work without a manual 'modprobe NVdriver' still.  Puzzling.
Comment 6 Garen 2003-02-28 23:58:38 UTC
I now see: 
# emerge nvidia-kernel 
... 
 
 * If you are not using devfs, loading the module automatically at 
 * boot up, you need to add "NVdriver" to your /etc/modules.autoload. 
 * 
 
So I think this can be closed now.  
 
Comment 7 Troy Dack 2003-03-03 16:14:42 UTC
The problem here (with the 4191 drivers) is that the kernel module gets installed into the wrong place.

The ebuild (or nvidia build process) installs the driver in:

  /lib/modules/<kernel-version>/video/nvidia.o

The driver should be installed into:

  /lib/modules/<kernel-version>/kernel/video/nvidia.o

Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-05 14:55:29 UTC
Crap.  Even the 3* drivers get installed there:

   insinto /lib/modules/${KV}/video

Closing, as user do not use devfsd, and need to add to /etc/modules.autoload.