После обновления на 2.6.6 перестали загружаться модули vmware Используется VMware Workstation 4.0.5 build-6030 с патчем vmware-any-any-update67. На 2.6.5 работало. #vmware-config.pl [...skipped...] Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.6-std26-up-alt4/build/include] Extracting the sources of the vmmon module. Building the vmmon module. Building for VMware Workstation 4.0.x. Using standalone build system. make: Entering directory `/root/tmp/vmware-config7/vmmon-only' make[1]: Entering directory `/root/tmp/vmware-config7/vmmon-only' make[2]: Entering directory `/root/tmp/vmware-config7/vmmon-only/driver-2.6.6-std26-up-alt4' make[2]: Leaving directory `/root/tmp/vmware-config7/vmmon-only/driver-2.6.6-std26-up-alt4' make[2]: Entering directory `/root/tmp/vmware-config7/vmmon-only/driver-2.6.6-std26-up-alt4' make[2]: Leaving directory `/root/tmp/vmware-config7/vmmon-only/driver-2.6.6-std26-up-alt4' make[1]: Leaving directory `/root/tmp/vmware-config7/vmmon-only' make: Leaving directory `/root/tmp/vmware-config7/vmmon-only' Unable to make a vmmon module that can be loaded in the running kernel: insmod: error inserting '/root/tmp/vmware-config7/vmmon.o': -1 Invalid module format There is probably a slight difference in the kernel configuration between the set of C header files you specified and your running kernel. You may want to rebuild a kernel based on that directory, or specify another directory. For more information on how to troubleshoot module-related problems, please visit our Web site at "http://www.vmware.com/download/modules/modules.html" and "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html". Execution aborted. $ rpm -qa | grep std26 kernel-headers-std26-up-2.6.6-alt4 kernel-modules-nvidia-std26-up-1.0.5336-alt2.4 kernel-image-std26-up-2.6.6-alt4 $ cat /etc/altlinux-release ALT Linux Sisyphus (20040519)
Решение: su - поставить vmware-any-any-update67 cd /usr/lib/vmware/modules/source/ tar -xf vmnet.tar vim vmnet-only/Makefile заменить HEADER_DIR = чего там есть на HEADER_DIR = /usr/include/linux-2.6.6-std26-up/include/ BUILD_DIR = чего там есть на BUILD_DIR = /usr/src/linux-2.6.6-std26-up/ tar -cf vmnet.tar vmnet-only то же самое и с vmmon.tar vmware-config.pl