Comment 0 for bug 280421

Revision history for this message
Sebastian Marsching (sebastian-marsching) wrote :

Binary package hint: ethtool

PROBLEM:

I am running Ubuntu 8.04 in a Xen DomU.

To fix network performance issues, the line "post-up /usr/sbin/ethtool -K eth0 tx off" is needed for the virtual ethernet device within the /etc/network/intefaces file.

Usually this works fine, however if /usr is stored on its own partition this command fails, as /usr is not yet mounted when udev executes ifup for the ethernet device.

Unfortunately this causes some very strange errors like "/etc/init.d/networking stop" to fail bacause the eth0 interface is brought up but not correctly registered in the state file.

The only workaround at the moment is to disable the ifup / ifdown hooks in /etc/udev/rules.d/85-ifupdown.rules.

PROPOSED SOLUTION:

The best solution would be moving /usr/sbin/ethtool to /sbin/ethtool so that it is available on startup before /usr has been mounted.