<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get HBS driver info on a SLES 10 machine in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124316#M63807</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have one RHEL5 and one SLES10 machines and each machine has one qlogic HBA.&lt;BR /&gt;&lt;BR /&gt;Generally To get the driver name of a HBA i will use the /Sys file system. &lt;BR /&gt;&lt;BR /&gt;I use the following command to get the HBA driver info.&lt;BR /&gt;&lt;BR /&gt;#cat /sys/class/scsi_host/*/proc_name&lt;BR /&gt;&lt;BR /&gt;The above command is working fine on RHEL4 and SLES10 but it is returning &lt;NULL&gt; on SLES 10 and on RHEL5. Is it a but in SLES10/RHEL5 ?&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;USHA&lt;/NULL&gt;</description>
    <pubDate>Tue, 29 Jan 2008 11:43:16 GMT</pubDate>
    <dc:creator>Masthan</dc:creator>
    <dc:date>2008-01-29T11:43:16Z</dc:date>
    <item>
      <title>How to get HBS driver info on a SLES 10 machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124314#M63805</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Can any one explain the best way to get the HBA driver info on a SLES 10 machine?&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;USHA&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jan 2008 07:14:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124314#M63805</guid>
      <dc:creator>Masthan</dc:creator>
      <dc:date>2008-01-04T07:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get HBS driver info on a SLES 10 machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124315#M63806</link>
      <description>A generic way:&lt;BR /&gt;go to /proc/scsi, find the sub-directory of your HBA driver ("lpfc" for Emulex FC HBAs, "qla2xxx" for Qlogic FC HBAs, various other names for SCSI HBAs). Examine the files in that directory to find some basic information.&lt;BR /&gt;&lt;BR /&gt;Typically the directory has one file per HBA controlled by that particular driver.&lt;BR /&gt;&lt;BR /&gt;The files will be reported as having zero size, as is normal with the /proc filesystem: the content is actually generated dynamically from kernel data structures at the time the file is opened.&lt;BR /&gt;&lt;BR /&gt;To get more information than that, you may need HBA manufacturer-specific tools (for example, the "lputil" command for Emulex HBAs).&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 04 Jan 2008 12:30:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124315#M63806</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-01-04T12:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to get HBS driver info on a SLES 10 machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124316#M63807</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have one RHEL5 and one SLES10 machines and each machine has one qlogic HBA.&lt;BR /&gt;&lt;BR /&gt;Generally To get the driver name of a HBA i will use the /Sys file system. &lt;BR /&gt;&lt;BR /&gt;I use the following command to get the HBA driver info.&lt;BR /&gt;&lt;BR /&gt;#cat /sys/class/scsi_host/*/proc_name&lt;BR /&gt;&lt;BR /&gt;The above command is working fine on RHEL4 and SLES10 but it is returning &lt;NULL&gt; on SLES 10 and on RHEL5. Is it a but in SLES10/RHEL5 ?&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;USHA&lt;/NULL&gt;</description>
      <pubDate>Tue, 29 Jan 2008 11:43:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124316#M63807</guid>
      <dc:creator>Masthan</dc:creator>
      <dc:date>2008-01-29T11:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get HBS driver info on a SLES 10 machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124317#M63808</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;lsmod will tell you which ones are loaded in memory.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 29 Jan 2008 13:41:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124317#M63808</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-01-29T13:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get HBS driver info on a SLES 10 machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124318#M63809</link>
      <description>Hi Shalom,&lt;BR /&gt;&lt;BR /&gt;lsmod gives you the list of loaded driver modules, but i want to figure out which driver is driving a specific HBA.&lt;BR /&gt;&lt;BR /&gt;-USHA</description>
      <pubDate>Wed, 30 Jan 2008 04:16:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124318#M63809</guid>
      <dc:creator>Masthan</dc:creator>
      <dc:date>2008-01-30T04:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get HBS driver info on a SLES 10 machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124319#M63810</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;e.g. lpfc&lt;BR /&gt;&lt;BR /&gt;# cd /sys/class/scsi_host/host1 &lt;BR /&gt;# cat lpfc_drvr_version&lt;BR /&gt;Emulex LightPulse Fibre Channel SCSI driver 8.1.10.3&lt;BR /&gt;&lt;BR /&gt;or:&lt;BR /&gt;&lt;BR /&gt;# cd /sys/module/lpfc&lt;BR /&gt;# cat version&lt;BR /&gt;0:8.1.10.3&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jan 2008 09:26:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124319#M63810</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2008-01-30T09:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get HBS driver info on a SLES 10 machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124320#M63811</link>
      <description>&lt;BR /&gt;Hi Hemmetter,&lt;BR /&gt;&lt;BR /&gt;Thanks for reply!&lt;BR /&gt;&lt;BR /&gt;But I am keen about Qlogic HBA on SLES10/RHEL5.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;USHA</description>
      <pubDate>Wed, 30 Jan 2008 09:48:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124320#M63811</guid>
      <dc:creator>Masthan</dc:creator>
      <dc:date>2008-01-30T09:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get HBS driver info on a SLES 10 machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124321#M63812</link>
      <description>Hi USHA,&lt;BR /&gt;&lt;BR /&gt;It is not easy to explain this in a generic way. The way do get this information changes from kernel to kernel and differs from driver to driver.&lt;BR /&gt;&lt;BR /&gt;Driver version can be retrieved by &lt;BR /&gt;# dmesg | grep "QLogic.*Driver"&lt;BR /&gt;QLogic Fibre Channel HBA Driver: 8.01.02-sles&lt;BR /&gt;&lt;BR /&gt;but even this grep -pattern varies.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can also follow your pci-bus-id to find information under /sys:&lt;BR /&gt;&lt;BR /&gt;# lspci | grep Q&lt;BR /&gt;0000:03:02.0 SCSI storage controller: QLogic Corp. QLA2200 64-bit Fibre Channel &lt;BR /&gt;Adapter (rev 05)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# find /sys | grep 03:02&lt;BR /&gt;/sys/bus/pci/drivers/qla2200/0000:03:02.0&lt;BR /&gt;/sys/bus/pci/devices/0000:03:02.0&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/host6&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/host6/nvram&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/host6/fw_dump&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/host6/power&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/host6/power/state&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/host6/detach_state&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/pools&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/config&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/resource&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/irq&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/class&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/subsystem_device&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/subsystem_vendor&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/device&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/vendor&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/power&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/power/state&lt;BR /&gt;/sys/devices/pci0000:03/0000:03:02.0/detach_state&lt;BR /&gt;&lt;BR /&gt;Now you have to decide yourself if one of these holds the information you are searching for.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And even in the &lt;BR /&gt;/sys/class/scsi_host/host$(X)/*&lt;BR /&gt;you may find something helpful.&lt;BR /&gt;&lt;BR /&gt;You just have to select the right hostX subdirectory. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Or do you want to know what module you have to load to use your QLogic HBA?&lt;BR /&gt;&lt;BR /&gt;#find /lib/modules/ | grep -i qla&lt;BR /&gt;will give you a clue about available kernel modules.&lt;BR /&gt;now you can modprobe one by one until you get a positive response.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jan 2008 11:47:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124321#M63812</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2008-01-30T11:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get HBS driver info on a SLES 10 machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124322#M63813</link>
      <description>&lt;!--!*#--&gt;Do a lspci to locate the device ID for your device.&lt;BR /&gt;&lt;BR /&gt;In my case (I know this machine has an Emulex HBA so i filter that) "lspci |grep -i emul" gives: &lt;BR /&gt;&lt;BR /&gt;0e:00.0 Fibre Channel: Emulex Corporation Zephyr LightPulse Fibre Channel Host Adapter (rev 02)&lt;BR /&gt;&lt;BR /&gt;take that ID and do a search on /sys/bus/pci/drivers/, example:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; find /sys/bus/pci/drivers/ -name "*0e:00.0*"&lt;BR /&gt;/sys/bus/pci/drivers/lpfc/0000:0e:00.0&lt;BR /&gt;&lt;BR /&gt;The name you get in /sys/bus/pci/$NAME/$DID is the module that took the device....&lt;BR /&gt;&lt;BR /&gt;Later you can check the modules info with modinfo:&lt;BR /&gt;&lt;BR /&gt;-------&lt;BR /&gt;modinfo lpfc&lt;BR /&gt;filename:       /lib/modules/2.6.16.46-0.12-xen/kernel/drivers/scsi/lpfc/lpfc.ko&lt;BR /&gt;version:        0:8.1.10.11&lt;BR /&gt;author:         Emulex Corporation - tech.support@emulex.com&lt;BR /&gt;description:    Emulex LightPulse Fibre Channel SCSI driver 8.1.10.11&lt;BR /&gt;license:        GPL&lt;BR /&gt;srcversion:     70F076A0BEAB8A264894692&lt;BR /&gt;alias:          pci:v000010DFd0000FC40sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F111sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F112sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F011sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F015sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F100sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000FC20sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000FC10sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000FC00sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F0A1sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F0A5sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F0E1sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F0E5sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000FE12sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000FE11sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000FE00sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F0D1sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F0D5sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000FD12sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000FD11sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000FD00sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F0F7sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F0F6sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F0F5sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F098sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F095sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F700sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F800sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F900sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000F980sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000FA00sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd00001AE5sv*sd*bc*sc*i*&lt;BR /&gt;alias:          pci:v000010DFd0000FB00sv*sd*bc*sc*i*&lt;BR /&gt;depends:        scsi_mod,scsi_transport_fc&lt;BR /&gt;vermagic:       2.6.16.46-0.12-xen SMP gcc-4.1&lt;BR /&gt;parm:           lpfc_poll:FCP ring polling mode control: 0 - none, 1 - poll with interrupts enabled 3 - poll and disable FCP ring interrupts (int)&lt;BR /&gt;parm:           lpfc_nodev_tmo:Seconds driver will hold I/O waiting for a device to come back (int)&lt;BR /&gt;parm:           lpfc_devloss_tmo:Seconds driver will hold I/O waiting for a device to come back (int)&lt;BR /&gt;parm:           lpfc_log_verbose:Verbose logging bit-mask (int)&lt;BR /&gt;parm:           lpfc_lun_queue_depth:Max number of FCP commands we can queue to a specific LUN (int)&lt;BR /&gt;parm:           lpfc_hba_queue_depth:Max number of FCP commands we can queue to a lpfc HBA (int)&lt;BR /&gt;parm:           lpfc_scan_down:Start scanning for devices from highest ALPA to lowest (int)&lt;BR /&gt;parm:           lpfc_topology:Select Fibre Channel topology (int)&lt;BR /&gt;parm:           lpfc_link_speed:Select link speed (int)&lt;BR /&gt;parm:           lpfc_fcp_class:Select Fibre Channel class of service for FCP sequences (int)&lt;BR /&gt;parm:           lpfc_use_adisc:Use ADISC on rediscovery to authenticate FCP devices (int)&lt;BR /&gt;parm:           lpfc_ack0:Enable ACK0 support (int)&lt;BR /&gt;parm:           lpfc_cr_delay:A count of milliseconds after which an interrupt response is generated (int)&lt;BR /&gt;parm:           lpfc_cr_count:A count of I/O completions after which an interrupt response is generated (int)&lt;BR /&gt;parm:           lpfc_multi_ring_support:Determines number of primary SLI rings to spread IOCB entries across (int)&lt;BR /&gt;parm:           lpfc_multi_ring_rctl:Identifies RCTL for additional ring configuration (int)&lt;BR /&gt;parm:           lpfc_multi_ring_type:Identifies TYPE for additional ring configuration (int)&lt;BR /&gt;parm:           lpfc_fdmi_on:Enable FDMI support (int)&lt;BR /&gt;parm:           lpfc_discovery_threads:Maximum number of ELS commands during discovery (int)&lt;BR /&gt;parm:           lpfc_max_luns:Maximum allowed LUN (int)&lt;BR /&gt;parm:           lpfc_poll_tmo:Milliseconds driver will wait between polling FCP ring (int)&lt;BR /&gt;parm:           lpfc_use_msi:Use Message Signaled Interrupts, if possible (int)&lt;BR /&gt;-------&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Apr 2008 04:58:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-get-hbs-driver-info-on-a-sles-10-machine/m-p/4124322#M63813</guid>
      <dc:creator>Ciro  Iriarte</dc:creator>
      <dc:date>2008-04-10T04:58:44Z</dc:date>
    </item>
  </channel>
</rss>

