On Fri, 2004-11-19 at 15:16 -0600, Timur Tabi wrote: > My driver compiles and loads with several different 2.4 and 2.6 kernels. > However, when I try to load my driver with 2.6.9 (Fedora Core 3), the > load fails with this error: > > Nov 19 16:06:25 sqa-07 kernel: ccil: no version for "struct_module" > found: kernel tainted. > Nov 19 16:06:25 sqa-07 kernel: ccil: version magic '2.6.9 SMP preempt > PENTIUM4 4KSTACKS gcc-3.4' should be '2.6.9-1.667smp SMP 686 REGPARM > 4KSTACKS gcc-3.4' > > I presume the kernel is tainted because the version magics don't match. > However, I am at a loss as to why they don't. I guess the kernel > configuration is wrong, but I used arch/i386/defconfig as the .config and you are loading your module in to ONLY the kernel you compiled with your new .config ? > > I know these keywords come from the configuration, but where exactly? you cannot mix and match random configs and modules. You *have* to use the EXACT headers from the kernel you are building for. It seems you very much are NOT doing so.... and thankfully 2.6 catches this and refuses the module. -- -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/