1. vmware6.0新内核启动问题及解决
问题描述:在vmware6.0+redhat9下,新编译内核(kernel-2.4.20),进入新编译的内核后,无法激活网卡ech0. 提示:“vmnics device eth0 does not seem to be present”。
问题原因及解决方法:
To configure VMware Tools, run the program "vmware-config-tools.pl" (this is automatically done for you at the end of the installation/upgrade process if you answer "yes" to the last question). You must have super user privileges (i.e. be logged as root) to run it.
vmware-config-tools.pl
This will teach VMware Tools how to run on your current Linux kernel. If you reboot your machine with a new kernel that VMware Tools doesn't know yet (because, let's say, you have upgraded your Linux system), you will have to run this configuration program again.
Then, VMware Tools will know this new kernel once and for all.
个人见解: 应该是进入新的内核后,wmware的驱动(比如 eth0的驱动)与新的内核不匹配,故需要重新编译vmware的驱动,然后将其链接入内核。
在刚刚进入新内核时(此时未重新编译、链接vmware的驱动),运行lsmod程序,可以看到内核没有加载任何驱动模块。当运行“vmware-config-tools.pl”重新编译、链接wmware的驱动之后,运行lsmod如下所示:
[root@redhat-Test1 vmware-tools-distrib]# lsmod
Module Size Used by Tainted: PF
vmblock 12112 4
vmxnet 12492 0 (unused)
vmmemctl 8220 0 (unused)
vmhgfs 46500 0
[root@redhat-Test1 vmware-tools-distrib]#