LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-02-2013, 01:23 AM   #1
senthil4984
LQ Newbie
 
Registered: Aug 2013
Posts: 24

Rep: Reputation: Disabled
SIOCGMIIPHY on 'eth0' failed: Operation not supported


Hi ,

I tried to configure the ip for eth0 interface but its not working,so when i check with mii-tool and ethtool the output is like
[root@TNPMWAPP network-scripts]# mii-tool
SIOCGMIIPHY on 'eth0' failed: Operation not supported
eth1: negotiated 100baseTx-FD, link ok
eth2: negotiated 100baseTx-FD, link ok
SIOCGMIIPHY on 'eth3' failed: Operation not supported
You have new mail in /var/spool/mail/root
[root@TNPMWAPP network-scripts]# ethtool eth0
Settings for eth0:
Supported ports: [ ]
Supported link modes:
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised auto-negotiation: No
Speed: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Link detected: no
You have new mail in /var/spool/mail/root
[root@TNPMWAPP network-scripts]# ethtool eth1
Settings for eth1:
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: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Link detected: yes
[root@TNPMWAPP network-scripts]#
so,how tomake that link up and configure the ip,please anyone suggest me
 
Old 12-02-2013, 06:25 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,341

Rep: Reputation: Disabled
Quote:
Originally Posted by senthil4984 View Post
[root@TNPMWAPP network-scripts]# mii-tool
SIOCGMIIPHY on 'eth0' failed: Operation not supported
eth1: negotiated 100baseTx-FD, link ok
eth2: negotiated 100baseTx-FD, link ok
SIOCGMIIPHY on 'eth3' failed: Operation not supported
miitool probably isn't compatible with your NIC. It's generally considered deprecated.
Quote:
Originally Posted by senthil4984 View Post
[root@TNPMWAPP network-scripts]# ethtool eth0
Settings for eth0:
Supported ports: [ ]
Supported link modes:
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised auto-negotiation: No
Speed: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Link detected: no
The highlighed parts are interesting. It seems autonegotiation is not supported (which is so unusual for a copper gigabit NIC that ethtool is probably wrong), and no link is detected (the last line).

When the link status is "down", an Ethernet NIC should typically report 10 Mbps and half duplex, but your NIC seems locked to 1 Gbps and full duplex. Either there's a distribution-specific setting somewhere that forces a specific speed/duplex setting (which would deactivate auto-negotiation and hence explain "Advertised auto-negotiation: No" and "Auto-negotiation: off"), or there's something wrong with either the hardware or the driver (which would explain "Supports auto-negotiation: No").

What kind of NIC is this, and what's the name of the associated kernel module/driver? For that matter, what Linux distribution and kernel version are you running?

Please post the output from:
Code:
lspci -v
ifconfig -v eth0
uname -mr
 
Old 12-03-2013, 03:51 AM   #3
senthil4984
LQ Newbie
 
Registered: Aug 2013
Posts: 24

Original Poster
Rep: Reputation: Disabled
Hi

please find the attaced file for the output of the commands
Attached Files
File Type: txt tnpmwapp details.txt (28.6 KB, 496 views)
 
Old 12-07-2013, 07:08 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,341

Rep: Reputation: Disabled
I see that eth0 and eth1 is a dual-port (IBM branded?) Broadcom Gigabit NIC. I'm not familiar with this particular model, but unless it has on-board SFP fiber tranceivers, it should certainly be capable of auto negotiation. The issue could be related to the bnx2 driver.

You're running a pretty ancient kernel (2.6.18). Can you upgrade to a more recent version?
 
  


Reply



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
"SIOCGMITHY" on Eth0 failed:operation not supported rajes4india Fedora 1 09-15-2011 05:55 PM
SIOCGMIIPHY on 'eth1' failed: Resource temporarily unavailable surendra.adhikari Linux - Newbie 1 10-13-2008 08:11 AM
SET failed on device eth0 ; Operation not supported. rickenbacherus Linux - Wireless Networking 1 04-24-2004 03:18 PM
eth0 Operation Failed cvlinux Linux - Networking 2 09-11-2001 07:25 AM
eth0 Operation failed cvlinux Linux - Networking 0 09-10-2001 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:00 PM.

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