LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-16-2020, 10:15 PM   #1
james000
Member
 
Registered: Sep 2018
Posts: 194

Rep: Reputation: 6
NIC not coming online


Hello,

I have been struggling to bring Dell R740 on network, but no success, need some help. I am installing OVM 3.4.6, which I Linux based from Oracle. There are two 1 gb network card and two 10gb network card. I am concerned about 1gig card as of now because there I will create bonding and will bring server online. 10gig will be used to connect SAN, so that can be ignored as of now.

Network guys enabled switch port and did all cabling, but ethtool shows "Link detected" only for first port, i.e. em1. For rest all interfaces it doesn't show any link. I called Dell and he says that hardware is good and I should be contacting Oracle, because OVM is their OS (Linux) which is not able to see NIC properly. Oracle says that first Link should come online, so ideally Dell should tell this.
With attached 3 screenshot output, can somebody help me to narrow down the issue? Please let me know, if you need more details or screenshot from iDRAC console.
I am suspecting it may be driver issue, but not sure what to download and try installing. On other side, if em1 is coming online then other ports also should come online on same card, so no driver issue?

Please advice.

Thanks
Attached Thumbnails
Click image for larger version

Name:	Capture-1.JPG
Views:	73
Size:	124.1 KB
ID:	34086   Click image for larger version

Name:	Capture-2.JPG
Views:	50
Size:	50.5 KB
ID:	34087   Click image for larger version

Name:	db-servers-back-cabling.jpg
Views:	39
Size:	181.2 KB
ID:	34088  

Last edited by james000; 09-17-2020 at 12:02 AM. Reason: adding one more image
 
Old 09-17-2020, 02:08 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Can you show the output of ip link?

Another way to check connection is cat /sys/class/net/em1/carrier. If 0, the NIC is up and not connected to a switch. If it's 1, up and connected. If an error is produced, the NIC is down.
 
Old 09-17-2020, 02:23 AM   #3
james000
Member
 
Registered: Sep 2018
Posts: 194

Original Poster
Rep: Reputation: 6
Hi.... Please see both attached images.
As per your advice, except em1, all other interfaces are not connected to switch. But I got it checked today in datacenter. All connected cables are traced again and they are connected to switch ports. If support person take out cable from switch port, then I don't see light on port on server end.
Do you want to me check something else?
Attached Thumbnails
Click image for larger version

Name:	ip_link.JPG
Views:	76
Size:	118.0 KB
ID:	34092   Click image for larger version

Name:	carrier.JPG
Views:	71
Size:	66.9 KB
ID:	34093  
 
Old 09-17-2020, 03:10 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
The first screenshot shows that all NICs except em1 are down. That explains why ethtool thinks that they are not connected. The result of the carrier test confirms this.

Dell is probably right: The hardware is OK, and your network configuration is at fault. I don't know specifically how OVM manages network interfaces, but a quick test would be to set em2 up and check again with ethtool and carrier:
Code:
ip link set em2 up     
ethtool em2
cat /sys/class/net/em2/carrier
ip link show em2        # to double check if it is really up
I can't guarantee that it will work, because you may have an aggressive network manager running in the background that resets em2's setting immediately. That's why included the last command.
 
1 members found this post helpful.
Old 09-17-2020, 03:56 AM   #5
james000
Member
 
Registered: Sep 2018
Posts: 194

Original Poster
Rep: Reputation: 6
Wow...that did the trick. I can see interfaces are up.
OVM is almost same as RHEL, so very much Linux.

I did the bonding and gateway was pinging. Thank you so much
 
Old 09-17-2020, 04:18 AM   #6
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Congrats! There is nothing like a good bonding activity with your computer

You need to make your configuration persistent. If it's like RHEL or Centos, you use config files /etc/sysconfig/network-scripts/ifcfg-em2 and so on. If OVM 3.4.6 is based on RHEL 8, you can also use the nmcli command instead. Details are in your documentation or the RHEL networking manual.
 
  


Reply

Tags
dell, linux, nic teaming


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
ethernet not coming online after remote reboot ThatGuywiththeComputer Linux - Networking 7 10-31-2016 05:10 PM
need help urgently!!! display not coming and error mesage coming when user is logging rddreamz Linux - Newbie 0 08-14-2003 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:24 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