kern/188270: mpt unable to communicate with LSI7202XP Fibrechannel

Ian Allison IFAllison at gmail.com
Fri Apr 4 22:00:01 UTC 2014


>Number:         188270
>Category:       kern
>Synopsis:       mpt unable to communicate with LSI7202XP Fibrechannel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 04 22:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Ian Allison
>Release:        10.0
>Organization:
UBC
>Environment:
FreeBSD pauli 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 08:49:04 UTC 2014     root at snap.freebsd.org:/usr/obj/powerpc.powerpc64/usr/src/sys/GENERIC64  powerpc

This is a fresh install from the 10.0 CD image
>Description:
I'm trying to connect to an external storage shelf over fibre channel. My system is a xserve g5 and the shelf is an xserve raid. The HBA in the xserve is a PCI-X card from LSILogic, it is listed as LSI7202XP PCI-X HBA. From mpt(4) I thought this would work, but mptutil returns garbage whenever I try to configure the shelf.


Here are the relevant lines from dmesg

mpt0: <Dual LSILogic FC929X 2Gb/s FC PCI-X Adapter> port 0x400-0x4ff mem 0x90030000-0x9003ffff,0x90020000-0x9002ffff irq 181 at device 3.0 on pci2
mpt0: MPI Version=1.3.2.0
mpt1: <Dual LSILogic FC929X 2Gb/s FC PCI-X Adapter> mem 0x90010000-0x9001ffff,0x90000000-0x9000ffff irq 181 at device 3.1 on pci2
mpt1: MPI Version=1.3.2.0


And here is the output of pciconf -lv

mpt0 at pci1:6:3:0:	class=0x0c0400 card=0x10d01000 chip=0x06261000 rev=0x81 hdr=0x00
    vendor     = 'LSI Logic / Symbios Logic'
    device     = 'FC929X Fibre Channel Adapter'
    class      = serial bus
    subclass   = Fibre Channel
mpt1 at pci1:6:3:1:	class=0x0c0400 card=0x10d01000 chip=0x06261000 rev=0x81 hdr=0x00
    vendor     = 'LSI Logic / Symbios Logic'
    device     = 'FC929X Fibre Channel Adapter'
    class      = serial bus
    subclass   = Fibre Channel


mptutil gives garbled results, for example the show adapter command 

mptutil show adapter
mpt0 Adapter:
       Board Name: 
   Board Assembly: 
        Chip Name: U?
    Chip Revision: 
mptutil: mpt_read_ioc_page(2): Status: 0x2200
mptutil: mpt_read_ioc_page(6): Status: 0x2200


mpt0 Adapter:
       Board Name: 
   Board Assembly: ?\H
        Chip Name: ?a
    Chip Revision: ?#0

mptutil: mpt_read_ioc_page(2): Status: 0x2200
mptutil: mpt_read_ioc_page(6): Status: 0x2200


or show drives

mptutil show drives
mptutil: Reading config page header failed: Status: 0x2200
mptutil: Failed to fetch volume list: Input/output error
mptutil: Failed to get drive list: Input/output error


I have looked at /usr/src/UPDATING but couldn't see anything, and all of my searches turned up nothing relevant.
>How-To-Repeat:
>From 10.0 with GENERIC kernel 

mptutil show adapter
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list