Tuesday, May 09, 2006

kernel: NETDEV WATCHDOG: eth0: transmit timed ou

kernel: NETDEV WATCHDOG: eth0: transmit timed out
kernel: e1000: eth0: e1000
-----

TCP Segmentation Offload (TSO)
http://www.sys.cs.tuat.ac.jp/~shina/memo/nic.html

# ethtool -i eth0
driver: e1000
version: 5.6.10.1-k2
firmware-version: N/A
bus-info: 0000:02:01.0

# ethtool -k eth0
Offload parameters for eth0:
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
----
# ethtool -K eth0 tso off
# ethtool -k eth0
Offload parameters for eth0:
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: off

下記、どこのサイトで拾ってきたかわすれちゃった…。
----
1.modules.confの[alias eth? e1000]の下に以下を追加
# vi /etc/modules.conf

options e1000 RxIntDelay=0,0

2.再起動
# reboot

3.再起動後、下記のコマンドを実行
# ethtool -K eth0 tso off
# ethtool -K eth1 tso off

4.上記コマンドは再起動すると無効になる為、rc.localに以下を追加

# vi /etc/rc.local

if [ -x /usr/sbin/ethtool ]; then
/usr/sbin/ethtool -K eth0 tso off
/usr/sbin/ethtool -K eth1 tso off
fi

----