bin/143972: mptutil(8) segfault

Charles Owens cowens at greatbaysoftware.com
Mon Feb 15 22:20:01 UTC 2010


>Number:         143972
>Category:       bin
>Synopsis:       mptutil(8) segfault
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 15 22:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Charles Owens
>Release:        8.0-RELEASE-p2
>Organization:
Great Bay Software
>Environment:
FreeBSD beacon 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #2: Thu Feb 11 20:00:47 UTC 2010     cowens at newcastle.greatbaysoftware.com:/usr/obj/usr/src/sys/BEACON  i386

>Description:
(Note:  kernel config is essentially PAE)

This work is being performed on a IBM System x3350 M2.  It has the ServeRAID-BR10i SAS/SATA Controller which is based on the LSI 1068E processor, as described here:
http://www-01.ibm.com/common/ssi/rep_ca/4/872/ENUSAG09-0104/index.html

Initially, the mptutil(8) appeared to work just fine.  We used it to put the storage system through its paces, trying to simulate all stages in a RAID array's life-cycle (volume creation, disk failure & replacement, volume deletion and recreation).  After having gone through these steps several times, behavior abruptly changed.  All invocations of the mptutil command except for "show adapter" and "show volume" now die with segfault.

We've done everything we can think of to try to get the controller/array back to a clean initial state, but to no avail. (This includes using the LSI in-BIOS manager to create/delete volumes -- which in and of itself works fine).  The mptutil command just keeps on segfaulting as described.

Note, if a volume does exist, we can /use/ it just fine (to install/run FreeBSD), so the problem doesn't appear to be directly with the mpt(4) driver itself.

Here's the output of "mptutil show adapter":

mpt0 Adapter:
       Board Name: SR-BR10i
   Board Assembly: L3-25116-01H
        Chip Name: C1068E
    Chip Revision: UNUSED
      RAID Levels: RAID0, RAID1, RAID1E
    RAID0 Stripes: 64K
   RAID1E Stripes: 64K
 RAID0 Drives/Vol: 1-10
 RAID1 Drives/Vol: 2
RAID1E Drives/Vol: 3-10
>How-To-Repeat:
On system with LSI 1068-based controller (or possibly other types of controllers supported by mpt(4)), boot from non-RAID media into context that includes the mptutil(8) command.  This could be a non-RAID hard drive or repair shell using FreeBSD livefs CD or similar.

Use mptutil repeatedly as described to create & delete volumes and list adapter, drive, and volume status.  Try rebooting if need be.  Eventually (if you're lucky) something will go wrong and mptutil will begin dying as described for most forms of usage.
>Fix:


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


More information about the freebsd-bugs mailing list