LinuxQuestions.org
Register a domain and help support LQ
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, 04: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, 04:39 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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 04:40 AM.
 
Old 04-25-2012, 04:39 AM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

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, 05: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, 05:23 AM   #5
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Using lsmod command or using less /proc/modules you can get the modules information.
 
Old 04-25-2012, 06: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


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


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