LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-25-2012, 03:34 AM   #1
drpix
LQ Newbie
 
Registered: Apr 2012
Posts: 5

Rep: Reputation: Disabled
lsmod detalis


i have two question am running redhat 5.4
1-how can i know module name for my network card and fiber card
2-how to scan for lun assign to my linux server.
 
Old 04-25-2012, 03:39 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi, welcome to LQ!

Ad 1) you look at the output of lspci and google for linux module &
the matching device. =o) ... alternatively (naively assuming that Linux has
picked them up correctly) look at the loaded modules (lsmod) and google
for the devices they match.

Ad 2) not sure what you're referring to; if it's assigned on the SAN side
ask the person who assigned you the LUN?



Cheers,
Tink

Last edited by Tinkster; 04-25-2012 at 03:40 AM.
 
Old 04-25-2012, 03:39 AM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
how can i know module name for my network card and fiber card
Code:
# dmesg | grep 'Ethernet driver'
This is for ethernet card.
 
Old 04-25-2012, 04:20 AM   #4
drpix
LQ Newbie
 
Registered: Apr 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
i got the output for fiber card like this
0e:00.0 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 03)
how to get from it the module detalis also the network card i found bnx2 how to get it.
 
Old 04-25-2012, 04:23 AM   #5
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Using lsmod command or using less /proc/modules you can get the modules information.
 
Old 04-25-2012, 05:31 AM   #6
drpix
LQ Newbie
 
Registered: Apr 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
for example i got the modinfo for Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v1.9.3 (March 17, 2009)
and then it was bnx2

how about for this 0e:00.0 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 03)
how to get the modinfo after type #lsmod how can i know what is the fibre module
 
  


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
if you know lsmod... ascetic angel Linux - Kernel 3 02-06-2014 12:56 PM
[SOLVED] understanding lsmod Undermind Linux - Newbie 3 05-29-2010 05:05 AM
lsmod rtrdspok Linux - Newbie 9 08-03-2008 08:43 PM
Can't find lsmod da_marius Linux - Newbie 8 06-19-2006 03:46 PM
lsmod shoot2kill Linux - General 5 04-29-2002 09:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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