Summary: | app-emulation/vmware-modules-1.0.0.15-r1 +gentoo-sources-2.6.27 - error: asm/semaphore.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pat <sysspoof> |
Component: | Current packages | Assignee: | Gentoo VMWare Bug Squashers [disabled] <vmware+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | alex.buell, gengor, ian, snoleo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 227303 | ||
Bug Blocks: |
Description
Pat
2008-10-15 20:00:57 UTC
This asm/semaphore.h header seems to have been removed in 2.6.27. For example, it also breaks nvidia-drivers in bug #242476. vmware-modules-1.0.0.15 doesn't yet work with the 2.6.26 sources, there's no way it'll work with 2.6.27. This may take a long time to resolve, if indeed it ever does get resolved. See bug 227303 for more details... There's an unofficial patch for this problem at this: http://www.insecure.ws/2008/10/20/vmware-specific-specific-55x-and-kernel-2627 You might like to use this with 2.6.26+ temporarily until vmware comes out with their own fix for this. *** Bug 253215 has been marked as a duplicate of this bug. *** Thanks very much for the pointer to insecure.ws, it proved extremely useful. vmware-modules-1.0.0.15-r2 just hit the tree, so I'm going to mark this as FIXED. If you're having any problems, please open a NEW bug. Thanks... Glad to be of help. When will -r2 become stable? Thanks, it's the only thing that prevented me from migrating to 2.6.27. Good and bad news. The good news, -r2 works perfectly on x86 platforms for kernels > 2.6.25. The bad news, -r2 does not work on amd64 platforms running OpenVZ-006.5 (2.6.24) whereas -r1 worked perfectly. Sigh. Is there any chance you could give -r2 a try on a normal (not openvz) 2.6.24 kernel and let me know the results? It should be relatively easy to keep the old modules around and add in a check, but I'd like to know if it's necessary, rather than just being an openvz thing (which technically, we don't support)... The problem is quite simple; the reason why it fails to compile is because it's complaining about a missing linux/semaphore.h header file which is only available in 2.6.27+ linux kernels (or kernel headers). I think it probably needs to check for that and configure accordingly. Ok, that is pretty straight forward (I'm not sure why I didn't do that in the first place). If you remove those changes from the relevant patches (patches/vmmon/040_... and patches/vmnet/035_...), does that fix everything? Yep, that solved the problem entirely - I guess this depends on the version of the kernel you are using vmware with. Glad to be of help. Ok, should be fixed in the main tree. Give it a couple of hours and then recompile and let me know if there's any other problems. Thanks again Alex, you've been invaluable! 5:) |