2.6.17-* dropped MODULE_PARM. (Same problem as bug #128470 for kqemu 1.3.0)
Created attachment 85765 [details, diff] kqemu-0.7.2-fix_module_parm.patch Patch for kqemu-0.7.2.ebuild to apply this patch. --- /usr/portage/app-emulation/kqemu/kqemu-0.7.2.ebuild 2006-04-20 00:05:34.000000000 +0200 +++ kqemu-0.7.2.ebuild 2006-04-29 15:34:01.000000000 +0200 @@ -39,6 +39,9 @@ src_unpack() { # The class_simple interfaces were removed in 2.6.13-rc1, leaving only # GPL symbols behind, which this module can't use. Until there's a fix # from Fabrice, kqemu+udev no worky. + + epatch "${FILESDIR}/${P}-fix_module_parm.patch" + cd ${S} # Ensure mprotect restrictions are relaxed for emulator binaries
Why don't you use 1.3.0 which is fixed?
I'm going to remove old qemu ebuilds soon, you need the old version for particular reasons?
the new version is masked, that is why we have this problem. Unmask it and all will be fine :)
sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' /var/tmp/portage/kqemu-1.3.0_pre7/work/kqemu-1.3.0pre7/kqemu-linux.c I had to do that today, seems 1.3 is not fixed?
I fixed kqemu-0.7.2 and kqemu-1.3.0_pre7, thanks!
Works fine. Thanks.