-
1. Re: Ubuntu 7.10 Server (gutsy) incompatibility with ESX 3.0.2 - Network eth0 dissapears when cloning
Joel Duckworth Oct 30, 2007 10:39 PM (in response to Joel Duckworth)Here's the log from my vmware-tools install
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon:-ne done
Guest memory manager:-ne done
Guest vmxnet fast network device:-ne done
Trying to find a suitable vmmemctl module for your running kernel.
None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
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.22-14-server/build/include
Extracting the sources of the vmmemctl module.
Building the vmmemctl module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmemctl-only'
make -C /lib/modules/2.6.22-14-server/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-server'
CC /tmp/vmware-config0/vmmemctl-only/os.o
SHIPPED /tmp/vmware-config0/vmmemctl-only/vmmemctl1.o
LD /tmp/vmware-config0/vmmemctl-only/vmmemctl.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /tmp/vmware-config0/vmmemctl-only/.vmmemctl1.o.cmd for /tmp/vmware-config0/vmmemctl-only/vmmemctl1.o
CC /tmp/vmware-config0/vmmemctl-only/vmmemctl.mod.o
LD /tmp/vmware-config0/vmmemctl-only/vmmemctl.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-server'
cp -f vmmemctl.ko ./../vmmemctl.o
make: Leaving directory `/tmp/vmware-config0/vmmemctl-only'
The module loads perfectly in the running kernel.
Extracting the sources of the vmhgfs module.
Building the vmhgfs module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmhgfs-only'
make -C /lib/modules/2.6.22-14-server/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-server'
CC /tmp/vmware-config0/vmhgfs-only/cpName.o
CC /tmp/vmware-config0/vmhgfs-only/cpNameLinux.o
CC /tmp/vmware-config0/vmhgfs-only/dev.o
CC /tmp/vmware-config0/vmhgfs-only/driver.o
CC /tmp/vmware-config0/vmhgfs-only/hgfsUtil.o
CC /tmp/vmware-config0/vmhgfs-only/main.o
CC /tmp/vmware-config0/vmhgfs-only/staticEscape.o
LD /tmp/vmware-config0/vmhgfs-only/vmhgfs.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config0/vmhgfs-only/vmhgfs.mod.o
LD /tmp/vmware-config0/vmhgfs-only/vmhgfs.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-server'
cp -f vmhgfs.ko ./../vmhgfs.o
make: Leaving directory `/tmp/vmware-config0/vmhgfs-only'
The module loads perfectly in the running kernel.
pcnet32 34820 0
Unloading pcnet32 module
Extracting the sources of the vmxnet module.
Building the vmxnet module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmxnet-only'
make -C /lib/modules/2.6.22-14-server/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-server'
CC /tmp/vmware-config0/vmxnet-only/vmxnet.o
/tmp/vmware-config0/vmxnet-only/vmxnet.c: In function ‘vmxnet_open’:
/tmp/vmware-config0/vmxnet-only/vmxnet.c:816: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config0/vmxnet-only/vmxnet.mod.o
LD /tmp/vmware-config0/vmxnet-only/vmxnet.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-server'
cp -f vmxnet.ko ./../vmxnet.o
make: Leaving directory `/tmp/vmware-config0/vmxnet-only'
The module loads perfectly in the running kernel.
No X install found.
Starting VMware Tools services in the virtual machine:
Switching to guest configuration:-ne done
Guest memory manager:-ne done
Guest vmxnet fast network device:-ne done
DMA setup:-ne done
Guest operating system daemon:-ne done
The configuration of VMware Tools 3.0.2 build-52542 for Linux for this running
kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.
To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/networking stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/networking start
If you wish to configure any experimental features, please run the following
command: "vmware-config-tools.pl --experimental".
Enjoy,
--the VMware team
-
2. Re: Ubuntu 7.10 Server (gutsy) incompatibility with ESX 3.0.2 - Network eth0 dissapears when cloning
Joel Duckworth Oct 31, 2007 12:03 AM (in response to Joel Duckworth)I am aware this isn't a support guest OS yet... but maybe this will help get it on the list a bit quicker
-
3. Re: Ubuntu 7.10 Server (gutsy) incompatibility with ESX 3.0.2 - Network eth0 dissapears when cloning
Joel Duckworth Nov 1, 2007 4:04 PM (in response to Joel Duckworth)I've got the same issue with Feisty Server 7.04 which IS supported as per the supported guest OS guide. I've got a case with VMware support but we're just sitting tight waiting at the moment. If anyone has any insights I'd be really interested.
Perhaps it's got to do with the hardware it's running on: Dell PowerEdge 1850... I doubt it however.
-
4. Re: Ubuntu 7.10 Server (gutsy) incompatibility with ESX 3.0.2 - Network eth0 dissapears when cloning
wwolkers Nov 4, 2007 2:38 PM (in response to Joel Duckworth)Debian (and Ubuntu for that matter) uses a special udev rule to assign a MAC to the same ethx interface (see /etc/udev/rules.d/rules.d/z25_persistent-net.rules which is generated by /etc/udev/persistent-net-generator.rules). Changing the MAC only means changing the eth interface, therefore try eth1, eth2 or something. dmesg should tell you the name.
Personally I just remove the old eth0 from /etc/udev/rules.d/rules.d/z25_persistent-net.rule and change the eth1 to eth0, has always worked for me so far.
probably /etc/udev/persistent-net-generator.rules should be updated in debian and in ubuntu, since they already list a couple of vmware mac addresses in there....
-
5. Re: Ubuntu 7.10 Server (gutsy) incompatibility with ESX 3.0.2 - Network eth0 dissapears when cloning
Joel Duckworth Nov 5, 2007 4:32 PM (in response to wwolkers)Ahhh!
in Ubuntu 7.04 (feisty) this information is in /etc/iftab - I think you might have to just update the MAC address with the new one from the .vmx file
In Ubuntu 7.10 (gutsy) the file is /etc/udev/rules.d/70-persistent-net.rules - You need to remove the first line which has the old MAC address and eth0 then rename the eth1 to eth0 in the new line. The line looks something like:
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS=="00:xx:xx:xx:xx:xx", NAME="eth0"
-
6. Re: Ubuntu 7.10 Server (gutsy) incompatibility with ESX 3.0.2 - Network eth0 dissapears when cloning
PixelBitch Nov 7, 2007 12:09 PM (in response to Joel Duckworth)I found that going to System > Administration > Network, changing the properties on "Wired connection" to disable roaming mode and allow for "Automatic configuration (DHCP)" worked well for me.
No more network issues, and I only had to click a few times in a UI...Linux, is that you hiding under there?
-
7. Re: Ubuntu 7.10 Server (gutsy) incompatibility with ESX 3.0.2 - Network eth0 dissapears when cloning
icottee Nov 9, 2007 1:58 AM (in response to Joel Duckworth)In my case I'm starting from a known point so I'm continually cloning from the same start point. Therefore I deleted 70-persistent-net.rules in my master, shut the machine down and started cloning from it. Everytime you boot up the clone the rule is recreated and your network works straight away. Works for me with Gutsy server.
-
8. Re: Ubuntu 7.10 Server (gutsy) incompatibility with ESX 3.0.2 - Network eth0 dissapears when cloning
lanivdw Nov 20, 2007 9:14 AM (in response to Joel Duckworth)Joel Duckworth, Thank you for your post, I have been looking for the file -> /etc/udev/rules.d/70-persistent-net.rules for sometime. Now I have one question, where can one find infomation about changes like this iftab to udev/rules.d/70-persistent-net.rules?
-
9. Re: Ubuntu 7.10 Server (gutsy) incompatibility with ESX 3.0.2 - Network eth0 dissapears when cloning
hananiel Dec 30, 2007 7:41 PM (in response to PixelBitch)pixelb, that worked for me . Thanks. I had to check the checkbox after that and it started working. I am using gutsy gibbon on xp.
thanks,
