LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   SlackBuild.org nvidia kernel build script bug (http://www.linuxquestions.org/questions/slackware-14/slackbuild-org-nvidia-kernel-build-script-bug-633479/)

Woodsman 04-06-2008 01:23 PM

SlackBuild.org nvidia kernel build script bug
 
I downloaded the nvidia-kernel.SlackBuild script from SlackBuilds.org. I received the following error message:

FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'paravirt_ops'

Web surfing revealed the problem is related to enabling paravirtualization in the kernel, which is true on my new dual core AM2 BE-2400 box.

I think the Makefile.kbuild file needs to be modified on the fly from within the build script, but I need help with such an effort.

I will post a bug report to the SlackBuild mailing list. Any help received here is appreciated and will be linked in the bug report.

Thanks.

Woodsman 04-06-2008 03:32 PM

Short term solution:
I recompiled my kernel without paravirtualization support. The SlackBuild then ran fine and I was able to install the kernel module.

I still would appreciate help with how to permanently fix the SlackBuild script. Thanks.

Alien Bob 04-06-2008 04:32 PM

This problem was resolved in kernel 2.6.22.
Last weekend I installed slackware-current (2.6.24.4 kernel) on a computer with Nvidia card, and the latest Nvidia binary driver compiled and installed without errors (and works fine).

Eric

Woodsman 04-06-2008 07:48 PM

Quote:

This problem was resolved in kernel 2.6.22.
Thanks for the info Eric. I hadn't yet got around to testing, but I was going to try testing with Slackware 12.1 RC1 with the 2.6.24.4 kernel, which I compiled yesterday. Anyway, the problem is solved (one way or another) for anybody who visits this thread.


All times are GMT -5. The time now is 04:57 AM.