在我在这台机器上运行 openSuse 并且没有出现以太网问题之后,我安装了 Ubuntu 14.04,却遇到了奇怪的以太网问题。我的同事在相同类型的计算机上安装了 Ubuntu 12.04,没有出现任何问题。
我的问题是,当我启动时,大约有 3 次中有 2 次,以太网连接需要很长时间才能建立,然后仍然无法工作(ping 会显示“目标主机不可达”)。
以下是 ethtool eth0 的输出:
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 2
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
和 ethtool -i eth0:
driver: e1000e
version: 2.3.2-k
firmware-version: 0.13-4
bus-info: 0000:00:19.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no
有人遇到过类似的问题吗?我应该从哪里开始寻找解决方案?
谢谢!
编辑1 以下是非工作状态下 dmesg | grep eth0 的输出,希望它能有所帮助:
dmesg | grep eth0
[ 1.800540] e1000e 0000:00:19.0 eth0: registered PHC clock
[ 1.800542] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 90:1b:0e:1b:07:79
[ 1.800543] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[ 1.800593] e1000e 0000:00:19.0 eth0: MAC: 11, PHY: 12, PBA No: FFFFFF-0FF
[ 7.018035] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.910448] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.910657] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 24.366988] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[ 24.366991] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
[ 24.367023] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
编辑2
所以,我想我应该做一个错误报告。有人能建议我在报告错误之前应该收集哪些有用的信息和背景吗?