Summary: | nvidia-kernel could not be loaded by 2.6.7 kernel because of unresolved symbols | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christoph Peltz <firefreaky> |
Component: | [OLD] Unspecified | Assignee: | Gentoo X packagers <x11> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | tklauser |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Christoph Peltz
2004-09-05 02:29:54 UTC
Are you having any error messages during the compilation of the kernel oder the nvidia-module? Are you having problems only with nvidia.{ko,o} or with other modules too? Check /usr/src/linux points to the proper directory you wish to build nvidia against. 1. The link in /usr/src ist correct, it points to /usr/src/linux-2.6.7-gentoo-r6 2. No error messages during compiling, only a warning, but thats always the case with 2.6 kernels, something about void-Pointers: In file included from include/linux/list.h:7, from include/linux/wait.h:14, from include/asm/semaphore.h:41, from include/linux/sched.h:18, from include/linux/module.h:10, from /var/tmp/portage/nvidia-kernel-1.0.6111/work/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:52, from /var/tmp/portage/nvidia-kernel-1.0.6111/work/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:14: include/linux/prefetch.h: In function `prefetch_range': include/linux/prefetch.h:62: warning: pointer of type `void *' used in arithmetic And I now have seen a ebuild warning: * By not using the kernel's ability to output to an alternative * directory, some external module builds may fail. Maybe theres the failure? 3. No I do not have any problems with other modules only with the nvidia.ko (okai, its the one and only module, everything else I need is directly in the kernel) Supid questioen, but did you actually compile in support for modules since you have no other modules? If so, compile some features as a module and try to load them. Check if there are any unresolved symbols too. Stupid question, but did you actually compile the kernel with support for modules since you have no other modules? If so, compile some features as a module and try to load them. Check if there are any unresolved symbols with them too. Yes, I compiled support for modules, module versioning, unloading and forced unloading, etc... Did you run : make modules_install You need to even if you dont have any modules (for some reason but basically) to ensure the proper module environment for the kernel exists I have used genkernel to compile the kernel and the modules and install them. They seem to be at the right place. I've got rid of these bug. Thebreaking point was the new vesa-driver I have used in the kernels above 2.6.5 (vesa-tng), it even hang-up my system or broke my ethernet-card once. Now it works very fine with the old vesa driver (vesa). I think after a week I mark this bug as closed. |