Package: nictools-pci
Version: 1.3.8-1
Hello
mii-diag mii-tool not working with nforce3 or kernel 2.6.3
SIOCGMIIPHY on eth3 failed: Operation not supported
SIOCGMIIPHY on 'eth?' failed: Operation not permitted
Most kernels restrict access to root.
I am root!
eth3 is up and working eth3...(nforce)
Just to proof it is generally working:
SIOCGMIIPHY on eth4 failed: Invalid argument
SIOCGMIIPHY on 'eth?' failed: Invalid argument
If the interface is not running (up), kernel will
refuse to report its link state.
eth4 was down, eth4 (VIA6105)
"via-diag" works flawlessly, even on a down interface!
There seems not to be an equivalent "diag" for nforce?
# via-diag -aem
via-diag.c:v2.10 2/28/2005 Donald Becker (bec...@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a VIA VT6105 Rhine-III (type 3106) adapter at 0xe800.
Station address 00:08:54:37:b6:d4.
Tx disabled, Rx disabled, half-duplex (0x0804).
Receive mode is 0x00: Unknown/invalid.
Transmit mode is 0x00: Normal transmit, 128 byte threshold.
VIA VT6105 Rhine-III (type 3106) chip registers at 0xe800
0x000: 37540800 0000d4b6 00000804 00000000 00000000 00000000 00000000 00000000
0x020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000400
0x040: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 a2004211
0x060: 00000000 00000000 00000000 0e091301 78494180 08000080 82040000 00000000
0x080: 001f0000 00000000 00000000 f000ffff 0000ff80 00000000 00000000 00000000
0x0A0: 00041000 00041000 00000000 00000000 ffffffff ffffffff ffffffff ffffffff
0x0C0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x0E0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
No interrupt sources are pending (0000).
Access to the EEPROM has been disabled (0x80).
Direct reading or writing is not possible.
Decoded EEPROM contents:
Ethernet MAC Station Address 00:00:08:00:54:00.
PHY at MII #55.
PCI Subsystem IDs -- Vendor 0x00d4, Device 0x00b6.
PCI IDs -- Vendor 0000, Device 0000.
PCI timer settings -- minimum grant 0, maximum latency 0.
Checksum computed as 00, read as 00.
MII PHY found at address 1, status 0x7849.
MII PHY #1 transceiver registers:
3100 7849 0101 8f44 05e1 0000 0004 2001
0000 0000 0000 0000 0000 0000 0000 0000
0800 f7ff 0800 fffc 0000 0000 0000 0000
0000 0000 0012 c500 000c 0010 0000 0000.
# mii-diag
Using the default interface 'eth0'.
SIOCGMIIPHY on eth0 failed: No such device
# mii-diag eth0
SIOCGMIIPHY on eth0 failed: No such device
# mii-diag eth1
SIOCGMIIPHY on eth1 failed: No such device
# mii-diag eth2
SIOCGMIIPHY on eth2 failed: No such device
# mii-diag eth3
SIOCGMIIPHY on eth3 failed: Operation not supported
# mii-diag eth4
SIOCGMIIPHY on eth4 failed: Invalid argument
# mii-diag eth5
SIOCGMIIPHY on eth5 failed: No such device
# mii-diag eth6
SIOCGMIIPHY on eth6 failed: No such device
#
# mii-tool
SIOCGMIIPHY on 'eth3' failed: Operation not supported
SIOCGMIIPHY on 'eth4' failed: Invalid argument
no MII interfaces found
# ifconfig -a
eth3 Protokoll:Ethernet Hardware Adresse 00:19:66:...
inet Adresse:10.... Bcast:10.... Maske:255.255.254.0
inet6 Adresse: fe80::219:66ff:fe42:7fd4/64 Gⁿltigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:364 errors:0 dropped:0 overruns:0 frame:0
TX packets:383 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 SendewarteschlangenlΣnge:1000
RX bytes:248651 (242.8 KiB) TX bytes:29862 (29.1 KiB)
Interrupt:16 Basisadresse:0xc000
eth4 Protokoll:Ethernet Hardware Adresse 00:08:54:...
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
Kollisionen:0 SendewarteschlangenlΣnge:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:19 Basisadresse:0xe800
# lspci
00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management (rev a1)
00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0 Controller (rev a2)
00:05.0 Bridge: nVidia Corporation CK8S Ethernet Controller (rev a2)
00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller (v2.5) (rev a2)
00:0a.0 IDE interface: nVidia Corporation CK8S Serial ATA Controller (v2.5) (rev a2)
00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI Bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
02:06.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
# lsmod
Module Size Used by
dvb_ttpci 94152 0
lnbp21 3328 1 dvb_ttpci
l64781 7812 1 dvb_ttpci
saa7146_vv 46464 1 dvb_ttpci
video_buf 24708 1 saa7146_vv
saa7146 19848 2 dvb_ttpci,saa7146_vv
videodev 28032 1 saa7146_vv
v4l2_common 17792 2 saa7146_vv,videodev
v4l1_compat 13572 2 saa7146_vv,videodev
ves1820 7300 1 dvb_ttpci
tda8083 6788 1 dvb_ttpci
sp8870 7820 1 dvb_ttpci
firmware_class 10752 2 dvb_ttpci,sp8870
stv0297 8192 1 dvb_ttpci
ves1x93 7300 1 dvb_ttpci
ttpci_eeprom 3584 1 dvb_ttpci
stv0299 10888 1 dvb_ttpci
dvb_core 75688 2 dvb_ttpci,stv0299
ipv6 243364 18
cpufreq_userspace 5924 1
ac 6660 0
battery 13320 0
lirc_dev 15236 0
aoe 26144 0
w83627ehf 20356 0
hwmon_vid 3968 1 w83627ehf
eeprom 8208 0
cpufreq_ondemand 9356 0
powernow_k8 19648 1
freq_table 6432 2 cpufreq_ondemand,powernow_k8
loop 18436 0
tsdev 9280 0
snd_usb_audio 76512 0
snd_pcm 73476 1 snd_usb_audio
snd_timer 22404 1 snd_pcm
snd_page_alloc 11272 1 snd_pcm
snd_usb_lib 16768 1 snd_usb_audio
irtty_sir 9216 0
snd_rawmidi 23840 1 snd_usb_lib
snd_seq_device 8972 1 snd_rawmidi
sir_dev 16900 1 irtty_sir
snd_hwdep 10116 1 snd_usb_audio
snd 50020 6 snd_usb_audio,snd_pcm,snd_timer,snd_rawmidi,snd_seq_device,snd_hwdep
psmouse 37520 0
ftdi_sio 34312 0
i2c_nforce2 7424 0
irda 176700 2 irtty_sir,sir_dev
soundcore 9056 1 snd
usbserial 34024 1 ftdi_sio
parport_pc 35620 0
parport 35528 1 parport_pc
shpchp 32276 0
i2c_core 24832 12 dvb_ttpci,lnbp21,l64781,ves1820,tda8083,sp8870,stv0297,ves1x93,ttpci_eeprom,stv0299,eeprom,i2c_nforce2
serio_raw 7812 0
k8temp 6656 0
button 9360 0
pci_hotplug 29856 1 shpchp
crc_ccitt 3200 1 irda
rtc 13848 0
amd64_agp 13188 1
agpgart 32972 1 amd64_agp
evdev 10624 0
ext3 127112 5
jbd 68276 1 ext3
dm_mirror 23168 0
dm_snapshot 18088 0
dm_mod 54208 2 dm_mirror,dm_snapshot
sd_mod 28672 6
amd74xx 14108 0 [permanent]
generic 5892 0 [permanent]
pata_amd 13572 6
usb_storage 76736 0
ide_core 118084 3 amd74xx,generic,usb_storage
ata_generic 8836 0
sata_nv 20100 0
libata 114996 3 pata_amd,ata_generic,sata_nv
ehci_hcd 32396 0
ohci_hcd 21764 0
via_rhine 25224 0
mii 6400 1 via_rhine
scsi_mod 138252 3 sd_mod,usb_storage,libata
usbcore 132744 8 snd_usb_audio,snd_usb_lib,ftdi_sio,usbserial,usb_storage,ehci_hcd,ohci_hcd
forcedeth 47752 0
thermal 16668 0
processor 36936 2 powernow_k8,thermal
fan 6148 0
#ifup eth4
# mii-diag eth4
Basic registers of MII PHY #1: 3100 7849 0101 8f44 05e1 0000 0004 2001.
Basic mode control register 0x3100: Auto-negotiation enabled.
Basic mode status register 0x7849 ... 7849.
Link status: not established.
End of basic transceiver information.
# uname -a
Linux vdr 2.6.23x2 #2 SMP PREEMPT Sat Oct 20 03:08:47 CEST 2007 i686 GNU/Linux
Main board: Asrock AM2NF3-VAT/A/ASR
# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 107
model name : AMD Athlon(tm) X2 Dual Core Processor BE-2350
stepping : 1
cpu MHz : 1000.000
...
processor : 1
...