Bug 188270 - [mpt] mpt unable to communicate with LSI7202XP Fibrechannel
Summary: [mpt] mpt unable to communicate with LSI7202XP Fibrechannel
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-04 23:00 UTC by Ian Allison
Modified: 2017-12-31 22:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Allison 2014-04-04 23:00:00 UTC
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@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@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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-04-16 02:33:07 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-scsi

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:33 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped