红联Linux门户
Linux帮助

install nvidia drvier when rebuild the kernel

发布时间:2008-04-13 00:51:16来源:红联作者:chaian
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'paravirt_ops'

ans:
Do you use paravirtualization? If not, recompile a kernel with no virtualization support. The problem here is that the NVidia driver is trying to use a module symbol which has been declared for use with GPL drivers only. If I remember correctly that means EXPORT_SYMBOL_GPL(somevariable) is used in the code which is causing the problem. So options to try are:

1. remove virtualization and try to compile again

2. find the offending symbol in the kernel source and change EXPORT_SYMBOL_GPL to EXPORT_SYMBOL and recompile the kernel.

Since there are already so many drivers for Linux and the proprietary drivers are usually a nuisance and cause problems (which of course are blamed on kernel developers), there is an ongoing trend to exclude non-GPL drivers from loading. Of course you can imagine that as module writers use EXPORT_SYMBOL_GPL more, there will be more proprietary driver failures. In the future there is no guarantee that EXPORT_SYMBOL will not actually be the same as EXPORT_SYMBOL_GPL.
文章评论

共有 0 条评论