Date: Wed, 22 Feb 2012 20:50:30 +0530 From: "Desai, Kashyap" <Kashyap.Desai@lsi.com> To: Jason Wolfe <nitroboost@gmail.com> Cc: "freebsd-scsi@freebsd.org" <freebsd-scsi@freebsd.org>, "McConnell, Stephen" <Stephen.McConnell@lsi.com> Subject: RE: LSI2008 controller clobbers first disk with new LSI mps driver Message-ID: <B2FD678A64EAAD45B089B123FDFC3ED72B96D3483B@inbmail01.lsi.com> In-Reply-To: <CAAAm0r3kKP5weF9BRDvoKPiPxvt0=Y-hwepcC-OMyoXio8hrRw@mail.gmail.com> References: <CAAAm0r2NFhF=eh2bOPMnVN8E6e2o0KfaST0N-M_gWoJHpFOLmQ@mail.gmail.com> <CAAAm0r37H0Pf_HvFTqo%2B1RSCV%2BBkzD5EcXj5M40H9xGREr%2Bfow@mail.gmail.com> <B2FD678A64EAAD45B089B123FDFC3ED72B96D344CA@inbmail01.lsi.com> <CAAAm0r3MVHZixAKDF=ChD977PbNUC8dyiBFB=NzC30S8FeZ3Nw@mail.gmail.com> <B2FD678A64EAAD45B089B123FDFC3ED72B96D344F2@inbmail01.lsi.com> <CAAAm0r02bXNve6Do5C1m1RyzLhWA9xx97KKMeLhcHC66U2SF4g@mail.gmail.com> <B2FD678A64EAAD45B089B123FDFC3ED72B96D34500@inbmail01.lsi.com> <CAFPOs6pwb44oNabH5vabDPJyFutMKa5mhgvHY=HkQVpV20YiYw@mail.gmail.com> <CAAAm0r1pWN-F=madGdk7N%2BoRuZmSD5_MAYwLh6By126L0CTGuw@mail.gmail.com> <B2FD678A64EAAD45B089B123FDFC3ED72B96D34558@inbmail01.lsi.com> <CAAAm0r1x15_ho2MD0tX7Y7A6mnU2N6zihNOz_Qz=jpsyBkDCWQ@mail.gmail.com> <B2FD678A64EAAD45B089B123FDFC3ED72B96D3455B@inbmail01.lsi.com> <B2FD678A64EAAD45B089B123FDFC3ED72B96D34626@inbmail01.lsi.com> <CAAAm0r3_S2jTG=Te4UhLqHPqiXq7_aAOHNp=W3jb4KLJx9PTRg@mail.gmail.com> <B2FD678A64EAAD45B089B123FDFC3ED72B96D34748@inbmail01.lsi.com> <CAAAm0r3oRTcfipyVcp9nE1CL3dcK7cft8AUSf%2BfGYVK90b2A0w@mail.gmail.com> <B2FD678A64EAAD45B089B123FDFC3ED72B96D347BB@inbmail01.lsi.com> <B2FD678A64EAAD45B089B123FDFC3ED72B96D347ED@inbmail01.lsi.com> <CAAAm0r3kKP5weF9BRDvoKPiPxvt0=Y-hwepcC-OMyoXio8hrRw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jason, You may need to set Enclosure settings properly. See below prints. LSI Debug _mapping_get_dev_info 946 sas addr 5000c50033f5cdb5 slot 0 =09 LSI Debug _mapping_get_dev_info 982 8 13 255 LSI Debug _mapping_get_dev_info 946 sas addr 5000c50033f49c01 slot 1=20 LSI Debug _mapping_get_dev_info 946 sas addr 5000c50033f6c799 slot 2=20 LSI Debug _mapping_get_dev_info 946 sas addr 5000c50033e562f5 slot 3=20 LSI Debug _mapping_get_dev_info 946 sas addr 5000c50033f49a41 slot 4=20 LSI Debug _mapping_get_dev_info 946 sas addr 5000c50033f5efe9 slot 5=20 LSI Debug _mapping_get_dev_info 946 sas addr 5000c50033f49a11 slot 6=20 LSI Debug _mapping_get_dev_info 946 sas addr 5000c50033f49c71 slot 7=20 LSI Debug _mapping_get_dev_info 946 sas addr 5000c50033f40fb1 slot 8=20 LSI Debug _mapping_get_dev_info 946 sas addr 5000c50033f6cba9 slot 9=20 .....=20 mps0: (13)->(mpssas_fw_work) Event Free: [1c] mps0: (13)->(mpssas_fw_work) Working on Event: [1c] LSI Debug _mapping_get_dev_info 946 sas addr 5000c50033f650cd slot 10=20 LSI Debug _mapping_get_dev_info 946 sas addr 5000c50033f29109 slot 11=20 LSI Debug _mapping_get_dev_info 946 sas addr 500304800126e3fd slot 0 < -- = SES is on slot-0 and even your first drive is also on slot-0 This is a problem. I hope you can rectify from enclosure settings and don't need further help = from driver side. ~ Kashyap > -----Original Message----- > From: Jason Wolfe [mailto:nitroboost@gmail.com] > Sent: Wednesday, February 22, 2012 8:43 PM > To: Desai, Kashyap > Cc: freebsd-scsi@freebsd.org; McConnell, Stephen > Subject: Re: LSI2008 controller clobbers first disk with new LSI mps > driver >=20 > On Wed, Feb 22, 2012 at 1:39 AM, Desai, Kashyap <Kashyap.Desai@lsi.com> > wrote: > > 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. > > > > =A0 =A0 =A0 =A0EventDataLength: 5 > > =A0 =A0 =A0 =A0AckRequired: 0 > > =A0 =A0 =A0 =A0Event: SasEnclDeviceStatusChange (0x1d) > > =A0 =A0 =A0 =A0EventContext: 0x0 > > =A0 =A0 =A0 =A0EnclosureHandle: 0x2 > > =A0 =A0 =A0 =A0ReasonCode: Added > > =A0 =A0 =A0 =A0PhysicalPort: 0 > > =A0 =A0 =A0 =A0NumSlots: 13 > > =A0 =A0 =A0 =A0StartSlot: 0 > > =A0 =A0 =A0 =A0PhyBits: 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 >=20 > Is the SES device a component of the LSI2008 controller, or is it a > separate piece? In either case, the device would have come configured > this way from LSI/Supermicro as we have not touched the configs. If > this is something we can't resolve in the driver that won't be much fun > :) >=20 > On Wed, Feb 22, 2012 at 3:35 AM, Desai, Kashyap <Kashyap.Desai@lsi.com> > wrote: > > Ignore " dump_mapping_svn_2.patch" (it is wrong patch file) > > > > Attached " dump_mapping_svn_3.patch". > > > > ` Kashyap >=20 > Attached is the boot log with the dump_mapping_svn_3.patch applied >=20 > Jason
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B2FD678A64EAAD45B089B123FDFC3ED72B96D3483B>