LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   mii-tool: Bad address? (https://www.linuxquestions.org/questions/linux-networking-3/mii-tool-bad-address-412410/)

Chowroc 02-06-2006 07:50 PM

mii-tool: Bad address?
 
A host with 2 integrated ethernet card, suddenly one card down and has no link:
Code:

# mii-tool
eth0: negotiated 100baseTx-FD, link ok
SIOCGMIIPHY on 'eth1' failed: Bad address

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:13:20:7D:29:22 
          inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::213:20ff:fe7d:2922/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:400536 errors:0 dropped:0 overruns:0 frame:0
          TX packets:552397 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:47071055 (44.8 MiB)  TX bytes:166365558 (158.6 MiB)

eth1      Link encap:Ethernet  HWaddr 00:13:20:7D:29:21 
          inet addr:192.168.100.9  Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: fe80::213:20ff:fe7d:2921/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:439877 errors:0 dropped:0 overruns:0 frame:0
          TX packets:280367 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:78168895 (74.5 MiB)  TX bytes:23859906 (22.7 MiB)
          Interrupt:177 Memory:ff720000-0

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:196 errors:0 dropped:0 overruns:0 frame:0
          TX packets:196 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12069 (11.7 KiB)  TX bytes:12069 (11.7 KiB)

I ran ifconfig eth1 down/ifconfig eth1 up, at first serveral times, the system crash when eth1 up. But suddenly it came back OK, has link and can ping, But still "Bad address" with mii-tool. What is wrong?

Thanks

Code:

# dmesg
...
NET: Registered protocol family 10
Disabled Privacy Extensions on device ffffffff803e8620(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
eth0: no IPv6 routers present
eth1: no IPv6 routers present
eth1: network connection down
eth1: network connection up using port A
    speed:          100
    autonegotiation: yes
    duplex mode:    full
    flowctrl:        none
    irq moderation:  disabled
    tcp offload:    enabled
    scatter-gather:  enabled
    tx-checksum:    enabled
    rx-checksum:    enabled
eth1: no IPv6 routers present
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (4076 buckets, 32608 max) - 456 bytes per conntrack
audit(1139111322.491:0): avc:  denied  { execute } for  pid=3243 path=/etc/ld.so.cache dev=dm-0 ino=5261420 scontext=root:system_r:ntpd_t tcontext=system_u:object_r:ld_so_cache_t tclass=file


dbogdan 02-07-2006 02:39 PM

Try using ethtool I thought that mii-tool was depreciated.


All times are GMT -5. The time now is 02:07 AM.