|
发表于 2003-5-1 22:15:21
|
显示全部楼层
In theory, the user should only encounter this warning message if the source in /usr/src/linux (or the alternate directory specified with "configure --with-linux=") is not configured to match the running kernel. One possibility is that the running kernel has modversions off but the kernel source is configured with modversions on, or vice versa. Another possibility is that both the running kernel and kernel source have modversions on (or both have it off) but the kernel source is for a different kernel version than the running kernel.
so :
1) do u have /usr/sr/linux? for rh, u may only have /usr/src/linux-2.4 and /usr/src/linux-2.4.2-2. please make sure that u have /usr/src/linux as a symbol link to correct kernel.
2) have u recompile the 2.4.2-2 before? u module is compiled for 2.4.2-2smp? do u really use smp in u current running kernel? u had better creat the symbol link, compile the kernel, install and run the new kernel, and then recompile the module.
3) for loading module, u had better use modprobe instead of insmod. check doc to see the difference between these two. |
|