Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 2015 22:52:01 +0000
From:      John <jwd@FreeBSD.org>
To:        FreeBSD-SCSI <freebsd-scsi@freebsd.org>
Subject:   9300-16e does not see 6G shelf
Message-ID:  <20150501225201.GA8570@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi Folks,

   I'm running 10-STABLE with some LSI (Avago) 9300-16e HBA
cards with the mpr driver. These cards work great with 12G
shelves (system & shelves from SuperMicro).

   However, if I hook a set of 6G shelves from a system
using LSI 9207-8e HBA cards (a nicely working config), the mpr
driver complains that no active slots are found and the shelf is
not registered - leading to no drives being discovered.

   I am not mixing speeds on the bus. I'm using only 6G shelves
in this configuration.

   The shelf information from a 9207 based system:

ses0 at mps1 bus 0 scbus7 target 169 lun 0
ses0: <HP D2700 SAS AJ941A 0131> Fixed Enclosure Services SCSI-5 device 
ses0: 600.000MB/s transfers
ses0: Command Queueing enabled
ses0: SCSI-3 SES Device

   From the system with the 9300-16e cards (verbose boot):

mpr0: <LSI SAS3008> port 0xf000-0xf0ff mem 0xfbd40000-0xfbd4ffff,0xfbd00000-0xfbd3ffff irq 56 at device 0.0 on pci132
mpr0: IOCFacts  :
        MsgVersion: 0x205
        HeaderVersion: 0x2300
        IOCNumber: 0
        IOCExceptions: 0x0
        MaxChainDepth: 128
        NumberOfPorts: 1
        RequestCredit: 10112
        ProductID: 0x2221
        IOCRequestFrameSize: 32
        MaxInitiators: 32
        MaxTargets: 1024
        MaxSasExpanders: 64
        MaxEnclosures: 65
        HighPriorityCredit: 120
        MaxReplyDescriptorPostQueueDepth: 65504
        ReplyFrameSize: 32
        MaxVolumes: 0
        MaxDevHandle: 1128
        MaxPersistentEntries: 128
mpr0: Firmware: 08.00.00.00, Driver: 05.255.05.00-fbsd
mpr0: IOCCapabilities: 7a85c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,MSIXIndex,HostDisc>
mpr0: attempting to allocate 1 MSI-X vectors (96 supported)
msi: routing MSI-X IRQ 302 to local APIC 0 vector 100
mpr0: using IRQ 302 for MSI-X


   and then the following:


mpr_mapping_enclosure_dev_status_change_event: enclosure with handle = 0x2 reported 0 slots
_mapping_get_dev_info: failed to add the device with handle 0x000a because the enclosure is not in the mapping table
_mapping_get_dev_info: failed to add the device with handle 0x000b because the enclosure is not in the mapping table
_mapping_get_dev_info: failed to add the device with handle 0x000c because the enclosure is not in the mapping table
_mapping_get_dev_info: failed to add the device with handle 0x000d because the enclosure is not in the mapping table
_mapping_get_dev_info: failed to add the device with handle 0x000e because the enclosure is not in the mapping table

   Followed by many more of the above messages for each of the disks.

   I've started looking at the Mpi2EventDataSasEnclDevStatusChange_t
structure - and I'm not convinced it's filled out fully.

   I can drop the 9207 cards in the new system and things
work fine - but I would like to use the newer cards if possible.

   Is there something I've missed? A configuration knob?

   Thoughts?

Thanks,
John




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150501225201.GA8570>