<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title></title>
<style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
</head>
<body marginleft="10" marginright="10" margintop="10" marginbottom="10">
<font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:10pt;color:#000000;">Hi,<br />
<br />
During my testing of hardy alpha 4 on VMware ESX 3.0.2 I have so far found a problem with the network<br />
driver. Im using linux-virtual as my kernel.<br />
<br />
As I understand it the pcnet32 driver should be replaced with the vmxnet driver. The kernel loads both the pcnet32 and<br />
the vmxnet driver. This causes a problem since we need to rmmod both pcnet32 and vmxnet driver and then modprobe<br />
the vmxnet driver again and finally restart networking!<br />
<br />
There is also a bug in the open-vm-tools package. The /etc/init.d/open-vm-tools script calls a function named vmxnet_needed<br />
but doesn't check the return value from the function using $?. Either that or this is due to my limited knowledge of dash...<br />
<br />
----< cut >----<br />
--- open-vm-tools       2008-02-10 20:14:20.000000000 +0100<br />
+++ /etc/init.d/open-vm-tools   2008-02-10 20:15:30.000000000 +0100<br />
@@ -44,7 +44,9 @@<br />
                log_progress_msg "vmhgfs"; modprobe vmhgfs<br />
                log_progress_msg "vmmemctl"; modprobe vmmemctl<br />
                log_end_msg 0<br />
-               if vmxnet_needed <br />
+<br />
+                vmxnet_needed<br />
+               if [ $? -eq 1 ] <br />
                then<br />
                        rmmod pcnet32<br />
                        modprobe vmxnet<br />
@@ -63,7 +65,9 @@<br />
                        kill `cat /var/run/vmware-guestd.pid`<br />
                fi <br />
                log_end_msg 0<br />
-               if vmxnet_needed <br />
+<br />
+               vmxnet_needed<br />
+                if [ $? -eq 1 ] <br />
                then<br />
                        rmmod vmxnet<br />
                        modprobe pcnet32<br />
----< cut >----<br />
<br />
<br />
=====================================================<br />
Janåke Rönnblom<br />
IT avdelningen, Teknous, Skellefteå Kommun<br />
Assistentgatan 23<br />
931 77 Skelleftea (Sweden)<br />
-----------------------------------------------------<br />
Phone  : +46-910-58 54 24<br />
Mobile : 070-397 07 43<br />
Fax    : +46-910-58 54 99<br />
URL    : <a href="http://skeria.skelleftea.se" target="_blank">http://skeria.skelleftea.se</a><br />
-----------------------------------------------------<br />
"Those who do not understand Unix are condemned to reinvent it, poorly." -- Henry Spencer<br />
<br />
<br />
</font>
</body>
</html>