2.6.9: no version for "struct_module" found: kernel tainted.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 file. Where does the "686 REGPARM", and why does my driver's magic have "SMP preempt PENTIUM4" instead?

I know these keywords come from the configuration, but where exactly?

--
Timur Tabi
Staff Software Engineer
timur.tabi@xxxxxxxxxxx

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux