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

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

 



Arjan van de Ven wrote:

The fedora kernel doesn't have CONFIG_4KSTACKS at all

That's what I've heard, but that doesn't explain the error message I get when I try to run insmod:


Nov 18 18:28:35 sqa-07 kernel: ccil: version magic '2.6.9 SMP 686
REGPARM gcc-3.4' should be '2.6.9-1.667smp SMP 686 REGPARM 4KSTACKS
gcc-3.4'

Notice that it says "4KSTACKS"?

the exact headers are available in /lib/modules/`uname
-r`/build/include, which is the *ONLY* location you should use. (fwiw
that is true since RHL 7.0 or so already)

When I use that location, my driver compiles and loads fine. Interestingly enough, /lib/modules/`uname -r`/build/.config is an exact match of /boot/config-2.6.9-1.667smp, and yet when I use /lib/modules/`uname -r`/build, the 4KSTACKS problem goes away. So whatever source tree is in /usr/src/linux-xxx on Fedora Core 3, there's something wrong with it.


Thanks for your help, Arjan.

--
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