![]() |
Can't load kernel module(nvidia.ko) on 8.0R
Hello,
I have a problem. I have installed FreeBSD 8.0R. And I have installed nvidia driver(190.36) from latest ports. But the OS can not load nvidia kernel module(nvidia.ko). Error message is % kldload nvidia.ko KLD nvidia.ko: depends on kernel - not available or version mismatch What's happen? I have tried other driver version( i.e. 190.42, 195.22). But I have same error message. |
Re: Can't load kernel module(nvidia.ko) on 8.0R
Quote:
Try to set 'nvidia_load="YES"' in /boot/loader.conf and reboot. Then kldstat should show the loaded module nvidia.ko. |
Re: Can't load kernel module(nvidia.ko) on 8.0R
Quote:
I made a mistake. The version is 185.18.36. I have installed the driver from latest ports. But I tried other version(such as 190.42 and 195.22) too. And I have already set 'nvidia_load="YES"' in /boot/loader.conf. There is no 'nvidia.ko' in the message of kldstat. |
Re: Can't load kernel module(nvidia.ko) on 8.0R
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. |
Re: Can't load kernel module(nvidia.ko) on 8.0R
Quote:
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# |
Re: Can't load kernel module(nvidia.ko) on 8.0R
A few things to try:
Can you provide the following info: pkg_info -Ix nvidia ls -al /boot/modules Have you recompiled your kernel at all recently? Are you indeed installing from the ports or not ? A while back, the NVIDIA drivers wouldn't install on 8 without the port as they did a version check that was disabled as part of the ports. Rusty Nejdl http://networking.ringofsaturn.com |
Re: Can't load kernel module(nvidia.ko) on 8.0R
Quote:
Nejdl, thank you for your reply. I don't recompile the kernel of 8.0R. I use original GENERIC kernel of 8.0R. And I update ports tree every day( I perform portsnap command). I use latest ports version. In the case of installing other version of nvidia driver(such as 190.xx or 195.xx), I have edited nv-freebsd.h by text editor(I removed version check part). I have performed following work. mypc# pkg_info -Ix nvidia nvidia-driver-185.18.36 NVidia graphics card binary drivers for hardware OpenGL ren mypc# ls -la /boot/modules/ total 9830 drwxr-xr-x 2 root wheel 512 Dec 3 03:57 . drwxr-xr-x 8 root wheel 1024 Dec 3 03:57 .. -rw-r--r-- 1 root wheel 36 Dec 3 03:57 linker.hints -r-xr-xr-x 1 root wheel 10039785 Dec 3 03:57 nvidia.ko mypc# |
Re: Can't load kernel module(nvidia.ko) on 8.0R
Most likely your kernel sources are not in sync with the running kernel. Make sure you checked out (and compiled against) RELENG_8_0 sources.
|
Re: Can't load kernel module(nvidia.ko) on 8.0R
Quote:
That's right! The problem is solved for your advice. I had updated the src-tree to RELENG_8. I did not know relations of src-tree and the nvidia driver kernel module. Rhurlin, Nejdl, Pdegoeje I'm grateful for your help. |
| All times are GMT -5. The time now is 02:21 PM. |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2013, nV News.