Linked by Steve Barnhart on Tue 18th Nov 2003 01:36 UTC
SuSE, openSUSE I recently picked up a copy of SuSE 9.0 Professional. I have never used or been familiar with a SuSE product before as I've only used Mandrake, Red Hat, and a bit of Debian. After using Red Hat for a while I decided to evaluate SuSE and I am now sorry for not having tried it sooner.
Permalink for comment
To read all comments associated with this story, please click here.

"SuSE's kernel sources have some sort of Makefile bug or whatnot so that any module one compiles against them won't be accepted by insmod. Instead, insmod complains of a kernel version mismatch. Why the other distros get this right and SuSE doesn't, I don't know exactly."

Never mind. I think I'm an idiot. From the ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4496/README.txt:

Q: I can't build the NVIDIA kernel module, or I can build the NVIDIA
kernel module, but modprobe/insmod fails to load the module into
my kernel. What's wrong?

A: These problems are generally caused by the build using the wrong kernel
header files (ie header files for a different kernel version than
the one you are running). The convention used to be that kernel
header files should be stored in "/usr/include/linux/", but that
is deprecated in favor of "/lib/modules/`uname -r`/build/include".
The nvidia-installer should be able to determine the location on your
system; however, if you encounter a problem you can force the build
to use certain header files by using the --kernel-include-dir option.
Obviously, for this to work, you need the appropriate kernel header
files installed on your system. Consult the documentation that came
with your distribution; some distributions don't install the kernel
header files by default, or they install headers that don't coincide
properly with the kernel you are running.


(BTW, no I was not trying to build NVIDIA modules, but the problem relates to the kernel version mismatch issues with other modules, I think.)