Package: mii-diag
Version: 2.09-1

See Bug#301239 but here 
Some more infos from an other system.

Test script:

ping -c2 n.n.n.n
mii-tool -v -r eth0
for (( ; 1 ; ))
do
  date
  ping -c 2  n.n.n.n
  mii-tool -v eth0
done


 
restarting autonegotiation...


Mon Aug  1 13:34:29 CEST 2005
PING  n.n.n.n
---  ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1018ms

eth0: negotiated 100baseTx-FD flow-control, link ok
  product info: vendor 00:50:43, model 5 rev 4
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
flow-control
  link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
flow-control

Mon Aug  1 13:34:40 CEST 2005
PING n.n.n.n (n.n.n.n) 56(84) bytes of data.
--- n.n.n.n ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1014ms

eth0: negotiated 100baseTx-FD flow-control, link ok
  product info: vendor 00:50:43, model 5 rev 4
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD

....
Mon Aug  1 13:35:13 CEST 2005
PING 
64 bytes: icmp_seq=1 ttl=128 time=0.263 ms
64 bytes: icmp_seq=2 ttl=128 time=0.330 ms
---  ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1004ms



#cat /var/log/messages 
Aug  1 13:34:28 debmini mii-tool: eth0: 10 Mbit, full duplex, no link
Aug  1 13:34:29 debmini mii-tool: eth0: no link
Aug  1 13:34:31 debmini kernel: e1000: eth0: e1000_watchdog: NIC Link is Up 
1000 Mbps Full Duplex
Aug  1 13:34:31 debmini mii-tool: eth0: negotiated 100baseTx-FD flow-control, 
link ok




But dmesg and console indicates:
Dmesg:
e1000: eth0: e1000_watchdog: NIC Link is Down
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex



# aptitude show mii-diag
Package: mii-diag
State: installed
Automatically installed: no
Version: 2.09-1


# mii-tool --version
mii-tool.c 1.9 2000/04/28 00:56:08 (David Hinds)
eth0: negotiated 100baseTx-FD flow-control, link ok


eth0: negotiated 100baseTx-FD flow-control, link ok
  product info: vendor 00:50:43, model 5 rev 4
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
flow-control
  link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
flow-control
Mon Aug  1 13:35:27 CEST 2005


#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:03:47:77:
lo        Link encap:Local Loopback


lspci -v

0000:01:07.0 Ethernet controller: Intel Corp. 82543GC Gigabit Ethernet
Controller (Copper) (rev 02)
        Subsystem: Intel Corp. PRO/1000 T Server Adapter
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 5
        Memory at f4120000 (32-bit, non-prefetchable) [size=128K]
        Memory at f4100000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [dc] Power Management version 2

0000:01:07.0 0200: 8086:1004 (rev 02)
        Subsystem: 8086:2004
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 5
        Memory at f4120000 (32-bit, non-prefetchable) [size=128K]
        Memory at f4100000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [dc] Power Management version 2

# hd /proc/bus/pci/01/07.0
00000000  86 80 04 10 16 01 30 02  02 00 00 02 08 40 00 00
|[EMAIL PROTECTED]|
00000010  00 00 12 f4 00 00 10 f4  00 00 00 00 00 00 00 00
|................|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 86 80 04 20
|............... |
00000030  00 00 00 00 dc 00 00 00  00 00 00 00 05 01 ff 00
|................|
00000040  00 00 00 00 00 00 00 00  02 00 00 00 00 00 00 00
|................|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
|................|
*
00000080  00 00 00 00 00 00 00 00  02 00 00 00 00 00 00 00
|................|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
|................|
*
000000c0  00 00 00 00 00 00 00 00  02 00 00 00 00 00 00 00
|................|
000000d0  00 00 00 00 00 00 00 00  00 00 00 00 01 00 22 00
|..............".|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
|................|
*
00000100


#hwinfo
  <6>Intel(R) PRO/1000 Network Driver - version 5.4.11-k1
  <6>Copyright (c) 1999-2004 Intel Corporation.
  <6>e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
  <3>i810_rng: RNG not detected
  <3>hw_random: RNG not detected
  <6>e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex
  <6>e1000: eth0: e1000_watchdog: NIC Link is Down
  <6>loop: loaded (max 64 devices)





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to