Solution to vmware6 installation of compilation module error in Linux kernel 2.6.22
Source: Internet
Author: User
Solution to vmware6 installation of compilation module errors under linux2.6.22 kernel-Linux general technology-Linux programming and kernel information. For details, see the following. We can see that the new linux version of kernel 2.6.22 has been released, so we dragged it down to compile and install it on the system. I didn't feel any problems when using it. I suddenly found that vmware could not be used and I couldn't start it. I suddenly remembered that the modules under vmware should be reconfigured.
Vmware-config.pl
When I press enter, I find that the vmnet module cannot be compiled. I am depressed. Please check the code.
Where is the error code? Oh, it turns out that the structure of the net-core skb in the new version of kernel has been adjusted. Hurry up and modify the vmnet Code so that it can be compiled and passed again. After a few changes, we finally compiled and run vmware, and the network was normal. No other bugs were found. You can change the configuration.
You may encounter the same problem when you think about it. Send a patch. If you find any problems, I am not responsible.
My test environment:
Host:
Debian lenny/sid + linux 2.6.22.1 + vmware 6.0.45731
Guest:
Freebsd 6.2
See the attachment for the patch.
How to Use patch:
Go to your vmware installation directory, remove modules/vmnet.tar, then break my patchin, then re-create the compressed volume vmnet.tar, and finally configure it with the vmware-config.pl.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.