Another big surprise rolled out from the Debian Unstable repository when today I updated my kernel from 2.6.25-1 to 2.6.25-2 – the maintainers have enabled Xen in the non-Xen kernel (linux-image-2.6.25-2-686). The result from this is that Nvidia drivers don’t compile throwing error about Xen enabled kernel.
The solution (if you don’t want to recompile your own kernel) :
As usual backup before executing any of these :)
- cd /lib/modules/2.6.25-2-686 (or wherever are your modules)
- grep CONFIG_XEN . -Rl | xargs -i sed -i -e ‘s/CONFIG_XEN/CONFIG_LUPO/g’ {}
- export IGNORE_XEN_PRESENCE=1
- sh NVIDIA-Linux-x86-173.08-pkg1.run (or you can use patched 169.12 – http://www.nvnews.net/vbulletin/showthread.php?t=110088 )
Source: linux-image-2.6.25-2-686: nVidia driver fails to compile due to active Xen support