LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-05-2011, 01:34 PM   #1
austinbravo
LQ Newbie
 
Registered: Jul 2008
Posts: 23

Rep: Reputation: 0
Smile How to find qlogic NIC card presence??


Hi,

We had a problem with the NIC 10Gig Qlogic NICs and had to swap them with Emulex 10Gig NIC cards. The swap has been done. There are several severs (about 100)for which we need to check if the hands-on still left the q logic card in them. So, I wrote a script using dmesg and grepped for "qlogic" or " NC522SFp" and my script checked for all the servers and returned no presence of "qlogic". But few of them have q logic still in them. So, is there any other way through which we can exactly tell whether q logic card is still present or not? I used:

dmesg | grep -i "qlogic" or
dmesg | grep -i " NC522SFp"

and found nothing in the o/p. But when I checked using ifconfig -a, then I see the q logic mac ids for eth4 & eth5, which means the Q logic is still present.But not sure whether ifconfig is the real way to find out the presence of these cards.

Any help would be great!! Thank you
 
Old 07-05-2011, 01:40 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Hi,

I'm not sure if ifconfig doesn't show a NIC even if it is no longer there.

I'd recommend to use
Code:
lspci | grep -i qlogiq
note that it would be very helpful for you to have at least one computer with the qlogiq-card in order to find out how the output of for example lspci or dmesg for such card really looks.

Markus
 
  


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
qlogic qla 1240 scsi card driver rhel 4 or 5 ppanyam Linux - Server 1 06-14-2011 01:16 PM
What can I do to find out if my NIC card is compatible with Linux? sharee Linux - Newbie 3 04-30-2010 06:42 PM
LXer: How To Easily Find The WWN's Of A QLogic HBA On RedHat Linux LXer Syndicated Linux News 0 10-01-2008 04:00 PM
NIC card works - how do i find which module its using? crazytigger Linux - Hardware 3 09-02-2005 09:38 AM
SCSI generic, RedHat 9.0, Qlogic Fibre Channel card niverson Linux - Hardware 2 07-12-2003 02:15 PM


All times are GMT -5. The time now is 10:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration