|
|
两个网卡,
- # lspci|grep Eth
- 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
- 05:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
复制代码
驱动编到内核里(模块里也试过)。前者这Eth0,,后者是Eth1
- # ifconfig
- eth0 Link encap:Ethernet HWaddr 00:16:17:8D:E5:4E
- inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
- UP BROADCAST MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
- Interrupt:23 Base address:0xf800
- eth1 Link encap:Ethernet HWaddr 00:50:BA:42:3C:9F
- inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:4425 errors:0 dropped:0 overruns:0 frame:0
- TX packets:4436 errors:0 dropped:0 overruns:0 carrier:0
- collisions:2 txqueuelen:1000
- RX bytes:4261434 (4.0 Mb) TX bytes:890753 (869.8 Kb)
- Interrupt:18 Base address:0xaf00
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:68 errors:0 dropped:0 overruns:0 frame:0
- TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:30757 (30.0 Kb) TX bytes:30757 (30.0 Kb)
- ppp0 Link encap:Point-to-Point Protocol
- inet addr:221.222.78.140 P-t-P:61.51.148.1 Mask:255.255.255.255
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
- RX packets:4393 errors:0 dropped:0 overruns:0 frame:0
- TX packets:4355 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:3
- RX bytes:4162638 (3.9 Mb) TX bytes:785651 (767.2 Kb)
复制代码
pppoe上网,用的是eth1.
现在的问题是一运行amule,过一段时间,或长或短,eth1就不行了,有时不运行amule也会出这个问题。重启服务也不行,内核出错出下:
- [20037.323938] NETDEV WATCHDOG: eth1: transmit timed out
- [20037.324004] eth1: Tx timed out, lost interrupt? TSR=0x3, ISR=0x3, t=3053.
- [20092.212338] NETDEV WATCHDOG: eth1: transmit timed out
- [20092.212407] eth1: Tx timed out, lost interrupt? TSR=0x3, ISR=0x3, t=1547.
- [20152.047447] NETDEV WATCHDOG: eth1: transmit timed out
- [20152.047537] eth1: Tx timed out, lost interrupt? TSR=0x3, ISR=0x3, t=15033.
- [20167.145619] NETDEV WATCHDOG: eth1: transmit timed out
- [20167.145819] eth1: Tx timed out, lost interrupt? TSR=0x3, ISR=0x3, t=3041.
- [20222.009154] NETDEV WATCHDOG: eth1: transmit timed out
- [20222.009223] eth1: Tx timed out, lost interrupt? TSR=0x3, ISR=0x3, t=1524.
复制代码
重启系统后正常。 |
|