View Single Post
Old 12-02-09, 09:20 PM   #5
cervo
Registered User
 
Join Date: Jun 2006
Posts: 34
Default Re: Can't load kernel module(nvidia.ko) on 8.0R

Quote:
Originally Posted by rhurlin View Post
I have seen this behaviour several times before. For me the following steps did work:

1. Completely deleting the nvidia-driver, e.g. pkg_delete nvidia-driver
2. Compiling of original xorg ports: portupgrade -f libGL libGLU libglut
3. Then installing the nvidia driver again
4. REBOOT

Afterwards the module should be loaded, see kldstat ...

Loading the driver with kldload does not work for me.
Hope this helps.

rhurlin, thank you for your reply again.

I have tried to do your suggestion.
But I sill have the trouble.

(I had already clean installed the OS(FreeBSD), ports(xorg etc.) and nvidia driver).

my kldstat messages are as follows,

mypc# ls
linker.hints nvidia.ko
mypc# kldstat
Id Refs Address Size Name
1 13 0xc0400000 b6dfe0 kernel
2 2 0xc0f6e000 2d8e4 linux.ko
3 1 0xc7281000 8000 linprocfs.ko
mypc# kldload -v ./nvidia.ko
KLD nvidia.ko: depends on kernel - not available or version mismatch
kldload: can't load ./nvidia.ko: File exists
mypc# kldstat
Id Refs Address Size Name
1 13 0xc0400000 b6dfe0 kernel
2 2 0xc0f6e000 2d8e4 linux.ko
3 1 0xc7281000 8000 linprocfs.ko
mypc#
cervo is offline   Reply With Quote