SIOCGMIIREG on eth0 failed 错误是什么意思?这导致我们的 POS 网络瘫痪。
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:215E:6A:FF:64
inet addr:10.100.202.254 Bcast:10.100.255.255 Mask:255.255.0.0
inet6 addr: fe80::221:5eff:fe6a:ff64/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5150398 errors:0 dropped:0 overruns:0 frame:0
TX packets:5759767 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000RX bytes:446687229 (425.9 MiB)
TX bytes 411178218 (392.1 MiB)
Memory:91a80000-91aa0000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1922985 errors:0 dropped:0 overruns:0 frame:0
TX packets:1922985 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:490439549 (467.7 MiB) TX bytes 490439549 (467.7 MiB)
MII 诊断:
Using the default interface 'eth0'
SIOCGMIIREC on eth-0 failed: Input/output error
现在正在做:cat /etc/发布
现在执行:网络(netstat -apn)
现在执行:arp(arp -a)
现在执行:sar(静态)
答案1
这可能意味着您的网卡驱动程序不支持您要求它执行的任何操作。当mii-tool
您应该使用 时,通常会看到这种情况ethtool
。