PDA

View Full Version : Error loading kernel module 3123, MDK8.2


sudsm
09-20-02, 12:32 PM
Hi all,
My setup is
NVIDIA TNT2 64, Mandrake 8.2 kernel 2.4.18-6mdk.

I am getting the following error when loading the kernel module 3123. Any help is greatly appreciated.

nvidia: loading NVIDIA Linux x86 NVdriver Kernel Module 1.0-3123 Tue Aug 27 15:56:48 PDT 2002
devfs_register(nvidiactl): could not append to parent, err: -17
devfs_register(nvidia0): could not append to parent, err: -17

and when I start X, it just hangs without a display.


Thanks
suds.

bwkaz
09-20-02, 01:25 PM
Error -17 is -EEXIST (check /usr/include/asm/errno.h, included from /usr/include/linux/errno.h, which was included from /usr/include/bits/errno.h, which was included from /usr/include/errno.h, the header file from which all the error numbers get symbols).

Looking at the 2.4.19 kernel source for fs/devfs/base.c, I see that it looks like it returns -EEXIST if the directory entry (a.k.a. file or device) that it's trying to create or register already exists.

If you remove (modprobe -r) NVdriver, manually delete /dev/nvidia*, and then try to modprobe NVdriver, does it work?

sudsm
09-21-02, 05:31 AM
Thanks a lot bwkaz!

I removed the dev files already present and the NVdriver is working fine! Thanks again.

PS: I should have really used my brain and looked in errno.h for the details on 17.