On Mon, 2004-11-22 at 15:07 -0600, Timur Tabi wrote: > 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"? yes but it has no such config option because it is on by default. > > > 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. no there is something seriously fucked up in your build process. You *cannot* use /usr/src/linux-xxx in FC2 or FC3 to build modules, just like you really shouldn't have done so with FC1, RHL9 or older. (In fact, fc3 doesn't even ship with a /usr/src/linux anymore) -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/