nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   1.0-6111 Linux: Cannot load module after compile (http://www.nvnews.net/vbulletin/showthread.php?t=34428)

dent 08-10-04 02:02 PM

1.0-6111 Linux: Cannot load module after compile
 
If the installer fails to load the module after a sucessful compile on a 2.4.x x86-32 system using devfs, the error may be correctable manually.

In the log, (/var/log/nvidia-installer.log), you may see the following error message after trying to compile your own 6111 driver:

init_module: Cannot allocate memory

This error confuses the installer into thinking that the module did not compile correctly. Try manually deleting the /dev/nvidia* devices via:

rm -f /dev/nvidia*

then rerunning the installer. The module should load properly then.

The error return code set in nv.c on line 1109 is -ENOMEM when the devfs_mk_cdev fails on 2.4.x kernels. This return code causes insmod to fail correctly but print the wrong error.

This problem was seen on Santa Fe Linux CTR1, a debian based distribution.
http://devel.santafelinux.com.

Raf


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

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