==============================================================
에러코드
==============================================================
SIOCGMIIPHY on ‘eth0′ failed: Operation not supported
==============================================================
가상머신
==============================================================
http://communities.vmware.com/blogs/VMwareKoreaGSS_L3TechSupport/2013/02/04/kb1001805%EA%B0%80%EC%83%81%EB%A8%B8%EC%8B%A0%EC%9D%98-%EB%84%A4%ED%8A%B8%EC%9B%8C%ED%81%AC-%EC%96%B4%EB%8E%81%ED%84%B0-%EC%84%A0%ED%83%9D%ED%95%98%EA%B8%B0
VMware ESX Server supports the following virtual network devices:
- vlance ? AMD Lance PCNet32 ethernet adapter
- e1000 ? Intel e1000 ethernet adapter
- vmxnet ? VMware high speed virtual ethernet adapter
see: http://www.sanbarrow.com/vmx/vmx-network.html
# mii-tool
SIOCGMIIPHY on 'eth0' failed: Operation not supported
no MII interfaces found
hb1:~# modinfo -d e1000
Intel(R) PRO/1000 Network Driver
hb1:~# modinfo -d vmxnet3
VMware Virtual Ethernet driver
hb1:~# modinfo -d pcnet32
Driver for PCnet32 and PCnetPCI based ethercards
Which modules are existing?
hb1:~# modprobe -l | egrep 'pcnet32|vmxnet|e1000'
/lib/modules/2.6.26-2-686/misc/vmxnet3.ko
/lib/modules/2.6.26-2-686/misc/vmxnet.ko
/lib/modules/2.6.26-2-686/kernel/drivers/net/e1000e/e1000e.ko
/lib/modules/2.6.26-2-686/kernel/drivers/net/e1000/e1000.ko
/lib/modules/2.6.26-2-686/kernel/drivers/net/pcnet32.ko
Which modules are loaded?
hb1:~# lsmod | egrep 'pcnet32|vmxnet|e1000'
vmxnet 18100 0
Only module vmxnet is loaded!
Now load module e1000:
hb1:~# modprobe e1000
hb1:~# lsmod | egrep 'pcnet32|vmxnet3|e1000'
e1000 102656 0
vmxnet 18100 0
Shutdown guest machine, open file virtualmachinename.vmx per notepad edit:
under line ethernet0.present = "TRUE" ---> 이랫 라인에 추가 한다.
ethernet0.virtualDev = "e1000" ---> 이녀석으르 변경...
and do it for all NICs ethernet[0]…ethernet[n]
Power on the Linux client, run mii-tool and ethtool again:
hb1:~# mii-tool
eth0: negotiated 1000baseT-FD flow-control, link ok
hb1:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: yes
========================================
리눅스 시스템
========================================
$ mii-tool -v
SIOCGMIIPHY on 'eth0' failed: Operation not supported
SIOCGMIIPHY on 'eth1' failed: Operation not supported
no MII interfaces found
$ ethtool eth1 Settings for eth1:
Link detected: yes
$ ethtool eth0
Settings for eth0:
Link detected: yes
댓글 없음:
댓글 쓰기