LSI2008 controller clobbers first disk with new LSI mps driver

Desai, Kashyap Kashyap.Desai at lsi.com
Wed Feb 22 10:35:10 UTC 2012


Ignore " dump_mapping_svn_2.patch" (it is wrong patch file)

Attached " dump_mapping_svn_3.patch".

` Kashyap

> -----Original Message-----
> From: owner-freebsd-scsi at freebsd.org [mailto:owner-freebsd-
> scsi at freebsd.org] On Behalf Of Desai, Kashyap
> Sent: Wednesday, February 22, 2012 2:09 PM
> To: Jason Wolfe
> Cc: freebsd-scsi at freebsd.org; McConnell, Stephen
> Subject: RE: LSI2008 controller clobbers first disk with new LSI mps
> driver
> 
> Here is a possible root cause of this issue.
> 
> Enclosure which you are using in your setup (might be) not configured
> properly.
> 
> You have Enclosure with 12 Slots + 1 SES Device.
> See below detail from the log.
> 
> 	EventDataLength: 5
> 	AckRequired: 0
> 	Event: SasEnclDeviceStatusChange (0x1d)
> 	EventContext: 0x0
> 	EnclosureHandle: 0x2
> 	ReasonCode: Added
> 	PhysicalPort: 0
> 	NumSlots: 13
> 	StartSlot: 0
> 	PhyBits: 0xff
> 
> StartSlot is 0 in this case.
> Correct behavior should be each device on your enclosure must have
> different slot number starting from 0 till 12.
> I have doubt that SES device has not configured well and it is using
> slot-0 as default. This can create issue for actual device which is
> connected to slot-0.
> So In your setup you will have slot-0 till slot-11 assigned for actual
> Phys of your enclosures and again slot-0 is assigned for SES device
> instead of Slot-12.
> 
> To confirm my doubt: please provide me debug dmesg log using attached
> patch.
> 
> ~ Kashyap
> 
> > -----Original Message-----
> > From: Jason Wolfe [mailto:nitroboost at gmail.com]
> > Sent: Wednesday, February 22, 2012 2:06 AM
> > To: Desai, Kashyap
> > Cc: freebsd-scsi at freebsd.org; McConnell, Stephen
> > Subject: Re: LSI2008 controller clobbers first disk with new LSI mps
> > driver
> >
> > On Tue, Feb 21, 2012 at 10:51 AM, Desai, Kashyap
> > <Kashyap.Desai at lsi.com>
> > wrote:
> > > Jason,
> > >
> > > I am looking at your logs and trying to correlate with code.
> > >
> > > Meanwhile can you try to reduce 4 Drives from you setup and repeat
> > > the
> > same test ?
> > > BTW, Do you have access to "lsiutil" ?
> > >
> > > ~ Kashyap
> >
> > Kashyap,
> >
> > I don't have physical access to the server, it's in one of our remote
> > locations.  If it comes down to it, I could have drives removed, but
> > it's $$.  Let me know if you think it will require that.  I've not
> > seen lsiutil for FreeBSD and I was under the impression it was closed
> > source.  Maybe you can point me in the direction if there is a way I
> > can grab it?
> >
> > Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump_mapping_svn_3.patch
Type: application/octet-stream
Size: 5810 bytes
Desc: dump_mapping_svn_3.patch
Url : http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20120222/4bc4601a/dump_mapping_svn_3.obj


More information about the freebsd-scsi mailing list