03-06-2008
A little bit confusing is your message. If you are using RH3 you should have kernel 2.4, if you have kernel 2.6 then you should have RH4 or RH5.
Actually all the information for Qlogic HBA you will find as you said in /proc/scsi/ directory. For Emulex it's split between two directories in kernel 2.6 (/proc/scsi and /sys/). Also messages files includes information about HBA card.
You can also use Qlogic utility that is available for download from Qlogic webside to query the information about the HBA.
Also if you are using different vendors Arrays you usualy shoud get software that will let you get more information about HBA eg. inq from EMC.
Hope this helps.
Regards,
-Oktawik.
This User Gave Thanks to oktawik For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
i need to write a program to know how many users are presently connected to my ftp server and http server .
i need to keep a count of this and this count should be available to other different software . how to make this GLOBAL so that other softwares can access this count value (7 Replies)
Discussion started by: hariprasad
7 Replies
2. Solaris
Hi there
Now, Ive always support servers that used multi path software with dual cards, e.g. powerpath (emc ) / MPXIO. I got asked a question today, that if a solaris 8/9/10 host had 2 HBA cards, but no multipathing software, what would happen ?? Does the HBA card with the highest id on the... (2 Replies)
Discussion started by: sbk1972
2 Replies
3. UNIX for Dummies Questions & Answers
hi guys
I have a server(x3650 M2) connected to a SAN...it takes a long time to boot with a lot errors like these
any idea how to fix that?
Suse Enterprise 10 SP3
update as soon as I disconnect the HBAs boots up normal and fast and no messages
sdi:end_request: I/O error, dev sdh,... (0 Replies)
Discussion started by: kopper
0 Replies
4. Solaris
Hi,
I was asked to connect a KVM screen to a Sun Fire V440 last night so I connected it up but no joy and nothing on the KVM screen. I was told that a reboot may fix the problem so connected to the ALOM and rebooted. On the plus side, the KVM screen now works but I lost the ALOM connection.
... (0 Replies)
Discussion started by: jimmy54321
0 Replies
5. Red Hat
Hi All,
Need few answers
1) How to check HBA Card in rhel4/5/6.
2) How to HBA is faulty?
3) How to replace an HBA ?
4) How to reconfigure an HBA (3 Replies)
Discussion started by: Devendra.Sachde
3 Replies
6. Solaris
Hi, I have a question regarding HBA configuration. Here are the commands' output:
# cfgadm -al | grep fc
c1 fc-fabric connected unconfigured unknown
c2 fc connected unconfigured unknown
c5 ... (11 Replies)
Discussion started by: aixlover
11 Replies
7. Solaris
Hi All,
How to view all devices connected to Sun E2900.
I wan to view all components attached to it.
Please help
Regards,
NSkumar (3 Replies)
Discussion started by: nskumar
3 Replies
8. Shell Programming and Scripting
Hi,
I have an external hard drive connected to my iMac.
I am logged into a Linux_x86_64 server. Now, if I want to download files directly to the hard drive, is there a way to do it.
Currently, I am chasing cyberduck to download content to the hard drive. (3 Replies)
Discussion started by: jacobs.smith
3 Replies
9. Red Hat
i have a redhat linux 5.3 machine.
i can ping that machine remotely from my laptop.
but when i connect that server via putty after providing username and password there is wait for some minutes and then i get error message
"server unexpectedly closed network connection"
Please guide... (2 Replies)
Discussion started by: rehantayyab82
2 Replies
10. UNIX for Beginners Questions & Answers
All 30 of my students in the Linux Lab here at school have the same message showing on their screen when they try to log into the server.
How can we Authenticate the Server and fix the missing specific parameters on the Solaris Server to fix this issue ?? (6 Replies)
Discussion started by: mwilliams21z
6 Replies
LEARN ABOUT OPENSOLARIS
scsi_hba_fini
scsi_hba_init(9F) Kernel Functions for Drivers scsi_hba_init(9F)
NAME
scsi_hba_init, scsi_hba_fini - SCSI Host Bus Adapter system initialization and completion routines
SYNOPSIS
#include <sys/scsi/scsi.h>
int scsi_hba_init(struct modlinkage *modlp);
void scsi_hba_fini(struct modlinkage *modlp);
INTERFACE LEVEL
Solaris architecture specific (Solaris DDI).
PARAMETERS
modlp Pointer to the Host Bus Adapters module linkage structure.
DESCRIPTION
scsi_hba_init()
scsi_hba_init() is the system-provided initialization routine for SCSI HBA drivers. The scsi_hba_init() function registers the HBA in the
system and allows the driver to accept configuration requests on behalf of SCSI target drivers. The scsi_hba_init() routine must be called
in the HBA's _init(9E) routine before mod_install(9F) is called. If mod_install(9F) fails, the HBA's _init(9E) should call scsi_hba_fini()
before returning failure.
scsi_hba_fini()
scsi_hba_fini() is the system provided completion routine for SCSI HBA drivers. scsi_hba_fini() removes all of the system references for
the HBA that were created in scsi_hba_init(). The scsi_hba_fini() routine should be called in the HBA's _fini(9E) routine if mod_remove(9F)
is successful.
RETURN VALUES
scsi_hba_init() returns 0 if successful, and a non-zero value otherwise. If scsi_hba_init() fails, the HBA's _init() entry point should
return the value returned by scsi_hba_init().
CONTEXT
scsi_hba_init() and scsi_hba_fini() should be called from _init(9E) or _fini(9E), respectively.
SEE ALSO
_fini(9E), _init(9E), mod_install(9F), mod_remove(9F), scsi_pktalloc(9F), scsi_pktfree(9F), scsi_hba_tran(9S)
Writing Device Drivers
NOTES
The HBA is responsible for ensuring that no DDI request routines are called on behalf of its SCSI target drivers once scsi_hba_fini() is
called.
SunOS 5.11 1 Nov 1993 scsi_hba_init(9F)