'newer' Qlogic HBA support on amd64

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

'newer' Qlogic HBA support on amd64

Pete Vickers-3
Hi,
I have a an amd64 server (HP DL360 G5), with an Qlogic FC HBA in it. It appears to be based on the ISP2400 series, and isp man page says the driver only supports up to the ISP2300 series. However the driver appears to try to attach the device irrespective (and fail). Does anyone know how different the 2400 series are, or if there is work in progress to support them ?

thanks

/Pete

Some relevant info below:


$ dmesg | grep isp0
isp0 at pci8 dev 0 function 0 "QLogic ISP2432" rev 0x02: apic 8 int 17
isp0: Polled Mailbox Command (0x8) Timeout (100000us)
isp0: Polled Mailbox Command (0x8) Timeout (100000us)
isp0: Mailbox Command 'ABOUT FIRMWARE' failed (TIMEOUT)


# pcidump -v 19:0:0
 19:0:0: QLogic ISP2432
        0x0000: Vendor ID: 1077 Product ID: 2432
        0x0004: Command: 0147 Status ID: 0010
        0x0008: Class: 0c Subclass: 04 Interface: 00 Revision: 02
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10
        0x0010: BAR io addr: 0x00005000/0x0100
        0x0014: BAR mem 64bit addr: 0x00000000fdff0000/0x00004000
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 103c Product ID: 7040
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 07 Min Gnt: 00 Max Lat: 00
        0x0044: Capability 0x01: Power Management
        0x004c: Capability 0x10: PCI Express
                Link Speed: 2.5 / 2.5 GT/s Link Width: x4 / x4
        0x0064: Capability 0x05: Message Signaled Interrupts (MSI)
        0x0074: Capability 0x03: Vital Product Data (VPD)
        0x007c: Capability 0x11: Extended Message Signaled Interrupts (MSI-X)


$ dmesg | head                                                                                                                                                              
OpenBSD 5.3 (GENERIC.MP) #62: Tue Mar 12 18:21:20 MDT 2013
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP


# sysctl hw  
hw.machine=amd64
hw.model=Intel(R) Xeon(R) CPU E5420 @ 2.50GHz
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:20008a7ae6c37c52,cd0:
hw.diskcount=2
hw.sensors.cpu0.temp0=37.00 degC
hw.sensors.cpu1.temp0=37.00 degC
hw.sensors.cpu2.temp0=37.00 degC
hw.sensors.cpu3.temp0=37.00 degC
hw.sensors.acpitz0.temp0=8.30 degC (zone temperature)
hw.sensors.ciss0.drive0=online (sd0), OK
hw.cpuspeed=2500
hw.setperf=100
hw.vendor=HP
hw.product=ProLiant DL360 G5
hw.physmem=4292161536
hw.usermem=4292136960
hw.ncpufound=4
hw.allowpowerdown=1

Reply | Threaded
Open this post in threaded view
|

Re: 'newer' Qlogic HBA support on amd64

Ted Unangst-6
On Thu, Mar 13, 2014 at 18:44, Pete Vickers wrote:
> Hi,
> I have a an amd64 server (HP DL360 G5), with an Qlogic FC HBA in it. It
> appears to be based on the ISP2400 series, and isp man page says the
> driver only supports up to the ISP2300 series. However the driver appears
> to try to attach the device irrespective (and fail). Does anyone know how
> different the 2400 series are, or if there is work in progress to support
> them ?

In 5.5 and later, that's supported by the qle driver. The isp driver
is being broken into parts (qlw, qla, qle) depending on generation.
I'd try a snapshot. It should work better. And if it doesn't work,
we'd like to know.

Reply | Threaded
Open this post in threaded view
|

Re: 'newer' Qlogic HBA support on amd64

Pete Vickers-3
Hi,

Sorry for the delay. I finally upgraded the box (very quick and easy process - nice ) and the HBA is now attached by the qle driver. However whilst it 'sees' the SAN disk behind it, it remain unable to talk to it.
 

# uname -mrv
5.5 GENERIC.MP#315 amd64


# dmesg | egrep -i "qle|scsibus1"
qle0 at pci8 dev 0 function 0 "QLogic ISP2432" rev 0x02: msi
qle0: bad startup mboxes: 0 0
qle0: firmware rev 4.0.20, attrs 0x2
scsibus1 at qle0: 2048 targets, WWPN 50060b000066644e, WWNN 50060b000066644f
sd1 at scsibus1 targ 130 lun 0: <DGC, RAID 5, 0223> SCSI2 0/direct fixed naa.600601601b662700d837603da8efe011
sd2 at scsibus1 targ 131 lun 0: <DGC, RAID 5, 0223> SCSI2 0/direct fixed naa.600601601b662700d837603da8efe011


sd1 & sd2 : Are these duplicates due to redundant paths in SAN fabric ?


# fdisk sd1
fdisk: DIOCGPDINFO: Input/output error
fdisk: Can't get disk geometry, please use [-chs] to specify.



# pcidump  -v 19:0:0
 19:0:0: QLogic ISP2432
        0x0000: Vendor ID: 1077 Product ID: 2432
        0x0004: Command: 0147 Status: 0010
        0x0008: Class: 0c Subclass: 04 Interface: 00 Revision: 02
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10
        0x0010: BAR io addr: 0x00005000/0x0100
        0x0014: BAR mem 64bit addr: 0x00000000fdff0000/0x00004000
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 103c Product ID: 7040
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 07 Min Gnt: 00 Max Lat: 00
        0x0044: Capability 0x01: Power Management
        0x004c: Capability 0x10: PCI Express
                Link Speed: 2.5 / 2.5 GT/s Link Width: x4 / x4
        0x0064: Capability 0x05: Message Signaled Interrupts (MSI)
        0x0074: Capability 0x03: Vital Product Data (VPD)
        0x007c: Capability 0x11: Extended Message Signaled Interrupts (MSI-X)

e.g. http://filedownloads.qlogic.com/files/datasheets/32359/83432-580-00D.pdf



(let me know if you want list spam with full dmesg).


/Pete


On 13. mars 2014, at 18:48, Ted Unangst <[hidden email]> wrote:

> On Thu, Mar 13, 2014 at 18:44, Pete Vickers wrote:
>> Hi,
>> I have a an amd64 server (HP DL360 G5), with an Qlogic FC HBA in it. It
>> appears to be based on the ISP2400 series, and isp man page says the
>> driver only supports up to the ISP2300 series. However the driver appears
>> to try to attach the device irrespective (and fail). Does anyone know how
>> different the 2400 series are, or if there is work in progress to support
>> them ?
>
> In 5.5 and later, that's supported by the qle driver. The isp driver
> is being broken into parts (qlw, qla, qle) depending on generation.
> I'd try a snapshot. It should work better. And if it doesn't work,
> we'd like to know.

Reply | Threaded
Open this post in threaded view
|

Re: 'newer' Qlogic HBA support on amd64

Johan Huldtgren-7
Quoting Pete Vickers <[hidden email]>:

> # dmesg | egrep -i "qle|scsibus1"
> qle0 at pci8 dev 0 function 0 "QLogic ISP2432" rev 0x02: msi
> qle0: bad startup mboxes: 0 0
> qle0: firmware rev 4.0.20, attrs 0x2
> scsibus1 at qle0: 2048 targets, WWPN 50060b000066644e, WWNN 50060b000066644f
> sd1 at scsibus1 targ 130 lun 0: <DGC, RAID 5, 0223> SCSI2 0/direct  
> fixed naa.600601601b662700d837603da8efe011
> sd2 at scsibus1 targ 131 lun 0: <DGC, RAID 5, 0223> SCSI2 0/direct  
> fixed naa.600601601b662700d837603da8efe011
>
>
> sd1 & sd2 : Are these duplicates due to redundant paths in SAN fabric ?

yes, the naa.60... number is the uid of the volume, same uid, same volume. an
easy way to confirm is if you assign another volume from your frame (looks
like a CX or VNX) you should get two new devices with different uids.

.jh

Reply | Threaded
Open this post in threaded view
|

Re: 'newer' Qlogic HBA support on amd64

David Gwynne-5
In reply to this post by Pete Vickers-3
hey pete,

could you try enabling the emc driver too?

cheers,
dlg

On 16 May 2014, at 7:47 pm, Pete Vickers <[hidden email]> wrote:

> Hi,
>
> Sorry for the delay. I finally upgraded the box (very quick and easy process - nice ) and the HBA is now attached by the qle driver. However whilst it 'sees' the SAN disk behind it, it remain unable to talk to it.
>
>
> # uname -mrv
> 5.5 GENERIC.MP#315 amd64
>
>
> # dmesg | egrep -i "qle|scsibus1"
> qle0 at pci8 dev 0 function 0 "QLogic ISP2432" rev 0x02: msi
> qle0: bad startup mboxes: 0 0
> qle0: firmware rev 4.0.20, attrs 0x2
> scsibus1 at qle0: 2048 targets, WWPN 50060b000066644e, WWNN 50060b000066644f
> sd1 at scsibus1 targ 130 lun 0: <DGC, RAID 5, 0223> SCSI2 0/direct fixed naa.600601601b662700d837603da8efe011
> sd2 at scsibus1 targ 131 lun 0: <DGC, RAID 5, 0223> SCSI2 0/direct fixed naa.600601601b662700d837603da8efe011
>
>
> sd1 & sd2 : Are these duplicates due to redundant paths in SAN fabric ?
>
>
> # fdisk sd1
> fdisk: DIOCGPDINFO: Input/output error
> fdisk: Can't get disk geometry, please use [-chs] to specify.
>
>
>
> # pcidump  -v 19:0:0
> 19:0:0: QLogic ISP2432
>        0x0000: Vendor ID: 1077 Product ID: 2432
>        0x0004: Command: 0147 Status: 0010
>        0x0008: Class: 0c Subclass: 04 Interface: 00 Revision: 02
>        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10
>        0x0010: BAR io addr: 0x00005000/0x0100
>        0x0014: BAR mem 64bit addr: 0x00000000fdff0000/0x00004000
>        0x001c: BAR empty (00000000)
>        0x0020: BAR empty (00000000)
>        0x0024: BAR empty (00000000)
>        0x0028: Cardbus CIS: 00000000
>        0x002c: Subsystem Vendor ID: 103c Product ID: 7040
>        0x0030: Expansion ROM Base Address: 00000000
>        0x0038: 00000000
>        0x003c: Interrupt Pin: 01 Line: 07 Min Gnt: 00 Max Lat: 00
>        0x0044: Capability 0x01: Power Management
>        0x004c: Capability 0x10: PCI Express
>                Link Speed: 2.5 / 2.5 GT/s Link Width: x4 / x4
>        0x0064: Capability 0x05: Message Signaled Interrupts (MSI)
>        0x0074: Capability 0x03: Vital Product Data (VPD)
>        0x007c: Capability 0x11: Extended Message Signaled Interrupts (MSI-X)
>
> e.g. http://filedownloads.qlogic.com/files/datasheets/32359/83432-580-00D.pdf
>
>
>
> (let me know if you want list spam with full dmesg).
>
>
> /Pete
>
>
> On 13. mars 2014, at 18:48, Ted Unangst <[hidden email]> wrote:
>
>> On Thu, Mar 13, 2014 at 18:44, Pete Vickers wrote:
>>> Hi,
>>> I have a an amd64 server (HP DL360 G5), with an Qlogic FC HBA in it. It
>>> appears to be based on the ISP2400 series, and isp man page says the
>>> driver only supports up to the ISP2300 series. However the driver appears
>>> to try to attach the device irrespective (and fail). Does anyone know how
>>> different the 2400 series are, or if there is work in progress to support
>>> them ?
>>
>> In 5.5 and later, that's supported by the qle driver. The isp driver
>> is being broken into parts (qlw, qla, qle) depending on generation.
>> I'd try a snapshot. It should work better. And if it doesn't work,
>> we'd like to know.