I'm still having problem compiling the kernel module on linux 2.6.16 on SuSE 10.1 (and please those person with nothing more than SuSE 10.1 is beta and blah blah ... don't answer) the compilation is going into an infinite loop when compiling the hypervisor.ko
I installed the .rpm in Suse 10.1 and it worked fine, other that usb problems which are also in 10.0. Had other problems with 10.1, so I went back to 10.0.
Same problem here with suse 10.1 rc1, parallels drivers won't compile. I wonder if the kernel version is to new? I checked the install log and the errors are some thing to do with the kernel headers. don
. You know that 10.1 is not supported. Just jokin. But really, short of writing the code yourself, waiting for the nice Parallels people is the only real opiton. SuSE 10.1 is still not even a released product itself. I suspect the only way that Parallels would consider supporting a non released OS would be if the OS was on a par with the release schedule of Windblows. .
I found and fixed the problem: http://thomas.glanzmann.de/parallels/ please reply on email if you have something to say to [email protected]
Thanks, I followed that fix but it wasn't enough for my AMD64x2 box. parallels-config says "checking for x86 platform... configure: error: x86 platform is not supported", so I had to run 'linux32 parallels-config' to run in x86 mode. This produced another error: "/usr/lib64/parallels/drivers/hypervisor/hypmain.c:1: error: -mpreferred-stack-boundary=2 is not between 4 and 12" So I edited /usr/src/linux-2.6.17-gentoo-r3/arch/i386/Makefile and commented out "CFLAGS += $(call cc-option,-mpreferred-stack-boundary=2)" This got me further but no cigar: "In file included from /usr/lib/parallels/drivers/drv_main/common/bma.h:25, from /usr/lib/parallels/drivers/drv_main/mm/mm.h:29, from /usr/lib64/parallels/drivers/hypervisor/hypmain.c:27: /usr/lib/parallels/drivers/drv_main/common/logging.h:53: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/common/logging.h:54: warning: 'cdecl' attribute ignored In file included from /usr/lib64/parallels/drivers/hypervisor/hypmain.c:27: /usr/lib/parallels/drivers/drv_main/mm/mm.h:51: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/mm/mm.h:54: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/mm/mm.h:55: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/mm/mm.h:58: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/mm/mm.h:63: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/mm/mm.h:64: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/mm/mm.h:67: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/mm/mm.h:68: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/mm/mm.h:181: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/mm/mm.h:182: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/mm/mm.h:184: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/mm/mm.h:212: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/mm/mm.h:215: warning: 'stdcall' attribute ignored /usr/lib/parallels/drivers/drv_main/mm/mm.h:216: warning: 'stdcall' attribute ignored In file included from /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:36, from /usr/lib64/parallels/drivers/hypervisor/hypmain.c:28: /usr/lib64/parallels/drivers/hypervisor/hypvmstate.h:62: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypvmstate.h:184: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypvmstate.h:185: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypvmstate.h:192: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypvmstate.h:193: warning: 'stdcall' attribute ignored In file included from /usr/lib64/parallels/drivers/hypervisor/hypmain.c:28: /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:43: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:44: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:47: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:48: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:49: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:50: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:53: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:54: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:55: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:56: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:59: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:60: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:63: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:66: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:69: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:80: warning: 'stdcall' attribute ignored In file included from /usr/lib64/parallels/drivers/hypervisor/hypervisor.h:99, from /usr/lib64/parallels/drivers/hypervisor/hypmain.c:28: /usr/lib64/parallels/drivers/hypervisor/hypidtemul.h:72: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypidtemul.h:73: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypidtemul.h:74: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypmain.c:137: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypmain.c:141: warning: 'stdcall' attribute ignored /usr/lib64/parallels/drivers/hypervisor/hypmain.c: In function 'hyper_wrap_page_to_pfn': /usr/lib64/parallels/drivers/hypervisor/hypmain.c:142: error: 'mem_map' undeclared (first use in this function) /usr/lib64/parallels/drivers/hypervisor/hypmain.c:142: error: (Each undeclared identifier is reported only once /usr/lib64/parallels/drivers/hypervisor/hypmain.c:142: error: for each function it appears in.) /usr/lib64/parallels/drivers/hypervisor/hypmain.c:143: warning: control reaches end of non-void function make[4]: *** [/usr/lib64/parallels/drivers/hypervisor/hypmain.o] Error 1 make[3]: *** [_module_/usr/lib64/parallels/drivers/hypervisor] Error 2 make[3]: Leaving directory `/usr/src/linux-2.6.17-gentoo-r3' make[2]: *** [hypervisor] Error 2 make[2]: Leaving directory `/usr/lib64/parallels/drivers/hypervisor' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/lib64/parallels/drivers' make: *** [all-recursive] Error 1" I'm now at a loss how to run Parallels Workstation 2.1 build 1670 on linux.
Well, if that's the case Parallels should publish this fact where they advertise the product. I looked at the supported hardware blurb and didn't spot any such reference.
. I guess they figure that saying x86 means not anything else. FYI, 64 bit should be in the next major version later this year. .
Hooray! This kernel patch works for me with 2.6.17 kernel on an AMD64x2 processor running Gentoo in x86-only mode.