SRU: network interface does not come up after installing open-vm-tools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-vm-tools (Debian) |
Fix Released
|
Unknown
|
|||
open-vm-tools (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned | ||
Jaunty |
Fix Released
|
Low
|
Unassigned |
Bug Description
When installing open-vm-tools on Intrepid, the network *immediately* disconnects itself and no longer comes up on boot, because the initscript unloads the pcnet32 driver in order to try to replace it with the vmxnet driver.
This has been fixed in Jaunty by syncing 2008.11.
* Updating initscript to correctly handle vmxnet (Closes: #479090, #488810).
* Correcting typo in dh_installinit call.
* Always prefering vmxnet over pcnet32 through modprobe and initramfs configuration (Closes: #502365).
The effect of these changes is that vmxnet will be loaded instead of pcnet32 at boot, and pcnet32 will never be unloaded while the system is running.
This debdiff also fixes bug #306835 “vmware-guestd crashing” and bug #302226 “vmware-user doesn't autostart”, and descriptions of the corresponding patches are posted there.
The patched package has been in my PPA for four weeks, and confirmed working by three other users. Risk of regression is low, especially given that these three bugs essentially prevent the current Intrepid package from being useful in any way.
===
Binary package hint: open-vm-tools
After installing open-vm-tools, the network will not come up automatically after a reboot.
If the kernel modules have not been built yet, the open-vm-tools init script will rmmod the pcnet32 network driver, then try to modprobe vmxnet, and fail, leaving the system without networking.
If the kernel modules have been built, the open-vm-tools init script will rmmod the pcnet32 network driver, then try to modprobe vmxnet, which works, but the network doesn't come up. You have to rmmod vmxnet then re-modprobe it, then /etc/init.
Seeing as most vmware guests are server, this is a serious issue, as it prevents automated startups.
Changed in open-vm-tools: | |
status: | New → Confirmed |
description: | updated |
Changed in open-vm-tools: | |
importance: | Undecided → High |
Changed in open-vm-tools: | |
status: | Invalid → Confirmed |
description: | updated |
description: | updated |
Changed in open-vm-tools (Debian): | |
status: | Unknown → Fix Released |
The bug here appears to be in the packaging, not the init script and/or code.
Example, I am using pcnet32/vmxnet with init.d. The upstream wiki says that I need to have the following in my modprobe config (I have it in modprobe. d/open- vm-tools) : open-vm- tools.wiki. sourceforge. net/Packaging)
install pcnet32 /sbin/modprobe -q --ignore-install vmxnet; /sbin/modprobe -q --ignore-install pcnet32 $CMDLINE_OPTS; /bin/true;
(source: http://
Without this, rebooting will cause the eth device to fail, as Craig described.