kqemu won't compile on newer mm-kernels since it uses a now deprecated module param and module loading method, which is no longer available in mm kernels but still works in non mm-kernels but sooner or later won't work there anymore too (still works on -rc kernels: 2.6.16-rc5 tested) i sadly am not yet enough of a kernel hacker otherwise i'd provided patches already :( error message: KQEMU Linux module configuration: kernel sources /usr/src/linux kbuild type 2.6 make: Entering directory `/var/tmp/portage/kqemu-0.7.2/work/qemu-0.7.2/kqemu' make -C /usr/src/linux M=`pwd` modules make[1]: Entering directory `/usr/src/linux-2.6.16-rc6-mm1' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. CC [M] /var/tmp/portage/kqemu-0.7.2/work/qemu-0.7.2/kqemu/kqemu-linux.o /var/tmp/portage/kqemu-0.7.2/work/qemu-0.7.2/kqemu/kqemu-linux.c:51: error: expected ')' before string constant /var/tmp/portage/kqemu-0.7.2/work/qemu-0.7.2/kqemu/kqemu-linux.c:55: error: expected ')' before string constant make[2]: *** [/var/tmp/portage/kqemu-0.7.2/work/qemu-0.7.2/kqemu/kqemu-linux.o] Error 1 make[1]: *** [_module_/var/tmp/portage/kqemu-0.7.2/work/qemu-0.7.2/kqemu] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.16-rc6-mm1' make: *** [kqemu.ko] Error 2 make: Leaving directory `/var/tmp/portage/kqemu-0.7.2/work/qemu-0.7.2/kqemu' !!! ERROR: app-emulation/kqemu-0.7.2 failed. changes in modules n module params: 2.6.16-rc5: http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fpeople%2Fakpm%2Fpatches%2F2.6%2F2.6.16-rc5%2F2.6.16-rc5-mm1%2F2.6.16-rc5-mm1.bz2;z=3055 http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fpeople%2Fakpm%2Fpatches%2F2.6%2F2.6.16-rc5%2F2.6.16-rc5-mm1%2F2.6.16-rc5-mm1.bz2;z=3056 2.6.16-rc6: http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fpeople%2Fakpm%2Fpatches%2F2.6%2F2.6.16-rc6%2F2.6.16-rc6-mm1%2F2.6.16-rc6-mm1.bz2;z=3519 http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fpeople%2Fakpm%2Fpatches%2F2.6%2F2.6.16-rc6%2F2.6.16-rc6-mm1%2F2.6.16-rc6-mm1.bz2;z=3520
mm-sources is unsupported kernel on Gentoo. http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap3
Created attachment 82415 [details, diff] module param fix for newest mm-kernels module params update patch for using current module_param structure, i confirmed it's in kernel since 2.6.0. i don't know when it went in so at least everyone using 2.6 kernel can use the new struct and not the old, obsolete one it's the same kind of patch andrew morton used to upgrade remaining modules to new module param struct module compiles, loads correctly and is used when running qemu