Hi,

On Sat, Dec 15, 2007 at 12:48:51PM +0100, Johan Hoeke wrote:
> Hi all,
> 
> Am having trouble getting hbaping to work. Heartbeat 2.1.2, qlogic
> qla2400 cards (HPAE311A).
> 
> Anybody seen this or have any suggestions?
> 
> ha-log error part:
> 
> Dec 15 10:41:29 julia heartbeat: [5738]: ERROR: glib: failure of
> HBA_GetFcpTargetMapping: 1
> Dec 15 10:41:29 julia heartbeat: [5738]: ERROR: cannot open hbaping
> qlogic-qla2xxx-0
> 
> 
> from ha.cf:
> hbaping qlogic-qla2xxx-0
> 
> Note the error on the end here!
> 
> [EMAIL PROTECTED] log]# /var/tmp/hbaapi_src_2.2/hbaapitest
> HBA API Library version is 2
> Number of HBA's is 1
> 
> ********************************************
> Adapter number 0 is named: qlogic-qla2xxx-0
> Adapter Attributes
>    Manufacturer:QLogic Corporation:
>    SerialNumber:MY50730FK9:
>    Model:HPAE311A:
>    ModelDesc:QLogic HPAE311A:
>    NodeWWN:0x500110A000172583
>    NodeSymName:HPAE311A HBA Driver:
>    HardwareVersion:PX2510401-11  E:
>    DriverVersion:v.8.01.07.25:
>    OptionROMVersion:v.1.09:
>    FirmwareVersion:v. 4.00.90:
>    VendorSpecificID:0:
>    NumberOfPorts:1:
>    DriverName:qla2xxx:
>   PortIndex:0
>    Adapter Port Attributes
>      NodeWWN:0x500110A000172583
>      PortWWN:0x500110A000172582
>      PortFcId:0x066600
>      PortType:5
>      PortState:2
>      PortSupportedClassofService:0
>      PortSupportedFc4Types: 02 01 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>      PortActiveFc4Types: 02 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>      PortSymbolicName::
>      OSDeviceName:/proc/scsi/qla2xxx/0:
>      PortSupportedSpeed:2
>      PortSpeed:0
>      PortMaxFrameSize:2048
>      FabricName:0x0000000000000000
>      NumberofDiscoveredPorts:2
>    Adapter Port Statistics:
>      SecondsSinceLastReset: -1
>      TxFrames: -1
>      TxWords: -1
>      RxFrames: -1
>      RxWords: -1
>      LIPCount: 3
>      NOSCount: -1
>      ErrorFrames: 0
>      DumpedFrames: -1
>      LinkFailureCount: 0
>      LossOfSyncCount: 0
>      LossOfSignalCount: 0
>      PrimitiveSeqProtocolErrCount: 0
>      InvalidTxWordCount: 0
>      InvalidCRCCount: 0
>    Discovered Port Attributes (index=0)
>      NodeWWN:0x50001FE1500405D0
>      PortWWN:0x50001FE1500405DC
>      PortFcId:0x016600
>      PortType:1
>      PortState:1
>      PortSupportedClassofService:0
>      PortSupportedFc4Types: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>      PortActiveFc4Types: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>      PortSymbolicName::
>      OSDeviceName::
>      PortSupportedSpeed:0
>      PortSpeed:1
>      PortMaxFrameSize:2048
>      FabricName:0x0000000000000000
>      NumberofDiscoveredPorts:0
>    Discovered Port Attributes (index=1)
>      NodeWWN:0x50001FE1500405D0
>      PortWWN:0x50001FE1500405D9
>      PortFcId:0x026500
>      PortType:1
>      PortState:1
>      PortSupportedClassofService:0
>      PortSupportedFc4Types: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>      PortActiveFc4Types: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>      PortSymbolicName::
>      OSDeviceName::
>      PortSupportedSpeed:0
>      PortSpeed:1
>      PortMaxFrameSize:2048
>      FabricName:0x0000000000000000
>      NumberofDiscoveredPorts:0
> failure of HBA_GetFcpTargetMapping, status=1  <=== note the error!
> 

Perhaps you should see which version of hbaapi the vendor
recommends.

HTH.

Dejan

> thanks in advance for the help.
> regards,
> 
> Johan
> 



> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

-- 
Dejan
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to