LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-06-2006, 07:50 PM   #1
Chowroc
Member
 
Registered: Dec 2004
Posts: 145

Rep: Reputation: 15
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
 
Old 02-07-2006, 02:39 PM   #2
dbogdan
Member
 
Registered: Feb 2005
Location: Metro Detroit, US
Distribution: Suse/Slackware/Mepis
Posts: 174

Rep: Reputation: 31
Try using ethtool I thought that mii-tool was depreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0 problem with mii-tool ravi_foru Linux - Networking 2 06-28-2005 11:54 PM
mii-tool Bad Address pierre31 Linux - Networking 0 02-26-2005 06:48 AM
mii-tool lie to me czezz Linux - Networking 1 11-09-2004 05:07 AM
mii-tool autostart with redhat9 e-nDrju Linux - Newbie 6 04-05-2004 10:06 AM
A question about mii-tool yi.zhang Linux - Networking 2 04-02-2004 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration