RE: LSI supported mps(4) driver available

From: Desai, Kashyap <Kashyap.Desai_at_lsi.com>
Date: Tue, 7 Feb 2012 21:00:28 +0530
Can you to reproduce issue with below mentioned changes..

In mps.c 

mps_get_tunables(struct mps_softc *sc)
{
    char tmpstr[80];
 
    /* XXX default to some debugging for now */
    sc->mps_debug = MPS_FAULT;

Instead of above line make
    sc->mps_debug = 0xd;


This will dump debug prints on screen at the time of boot itself.

~ Kashyap

> -----Original Message-----
> From: owner-freebsd-current_at_freebsd.org [mailto:owner-freebsd-
> current_at_freebsd.org] On Behalf Of Desai, Kashyap
> Sent: Tuesday, February 07, 2012 8:37 PM
> To: Stas Orlov
> Cc: freebsd-scsi_at_freebsd.org; freebsd-current_at_freebsd.org; Kenneth D.
> Merry; Dennis Glatting
> Subject: RE: LSI supported mps(4) driver available
> 
> 
> 
> > -----Original Message-----
> > From: Stas Orlov [mailto:sennaar_at_gmail.com]
> > Sent: Monday, February 06, 2012 11:54 PM
> > To: Desai, Kashyap
> > Cc: Kenneth D. Merry; freebsd-scsi_at_freebsd.org; freebsd-
> > current_at_freebsd.org; Dennis Glatting
> > Subject: Re: LSI supported mps(4) driver available
> >
> > Sorry for the swarm of screenshots :)
> >
> > Spare drive should be a iDRAC Virtual usb.
> >
> > On that particular machine, as I said, two RAID arrays (1 and 10)
> 
> Is this all SATA drives part of your raid1 and raid10 ?
> 
> >
> > http://oi39.tinypic.com/10hlfmg.jpg -- they initialized as they
> should.
> >
> > http://oi43.tinypic.com/2db83g8.jpg -- loader recognizes 3 disks (3rd
> > one is the iDRAC usb as I suppose)
> >
> > So, I flashed the FW and installed the latest one from Dell
> > (7.15.08.00 \ 7.03.05.00), and things have gone slightly better.
> >
> > http://oi39.tinypic.com/69dtuq.jpg -- controller .
> >
> > http://oi44.tinypic.com/10s6jxi.jpg -- still.
> >
> 
> I am debugging this issue. ! I can understand the issue, but not sure
> how to progress.
> Do you willing to make more test with my debug builds ?
> 
> Here In my setup I am not able to reproduce the issue.
> 
> ~ Kashyap
> 
> > http://oi42.tinypic.com/ipmh37.jpg -- It boots in single user, in
> > multiuser it prints probe errors, skips them and hang on the daemon
> > startup.
> >
> > http://oi43.tinypic.com/13yhz02.jpg -- in single user they
> > initialized\UFSed\mounted just fine.
> >
> > To sum everything up, FW upgrade helped, still some device handle
> > errors and SCSI errors, hangs in multiuser-mode(may or may not be
> > related).
> >
> > Tested with the same FreeBSD10-CURRENT r230857, I saw ken@'s commit to
> > -STABLE and will try it somewhere tomorrow.
> > Thanks for your time:)
> 
> >
> >
> > On Fri, Feb 3, 2012 at 12:10 PM, Desai, Kashyap
> > <Kashyap.Desai_at_lsi.com>
> > wrote:
> > >
> > >
> > > From: Stas Orlov [mailto:sennaar_at_gmail.com]
> > > Sent: Thursday, February 02, 2012 8:29 PM
> > > To: Desai, Kashyap
> > > Cc: Kenneth D. Merry; freebsd-scsi_at_freebsd.org; freebsd-
> > current_at_freebsd.org; Dennis Glatting
> > > Subject: Re: LSI supported mps(4) driver available
> > >
> > >>> (Again clarify which version of FreeBSD you are using)
> > >
> > > As I've stated earlier it's current snapshot from the other day, to
> > > be
> > more specific FreeBSD10-CURRENT r230857
> > >
> > > Ok, I'll try to upgrade firmware.
> > > On Thu, Feb 2, 2012 at 6:43 PM, Desai, Kashyap
> > > <Kashyap.Desai_at_lsi.com>
> > wrote:
> > >
> > >
> > >>>
> > > Can you switch your mail client to default <text mode> reply. It is
> > always turning into html format and difficult for inline reply.
> > > I have done some analysis on of your logs provided at
> > "http://oi40.tinypic.com/25gdw8o.jpg"
> > >
> > > 1. it seems Driver is somehow not handling error condition which
> > should be better handled at driver.
> > >    e.a driver does not reinit HBA if any config request time out.
> > >    I will add this feature sometime later, since I have some more
> > > item
> > queued up as well.
> > > 2. Your logs mentioned there are three different handled got from FW
> > to add as Bare Drive. (it is not a volume entry)
> > > So just curious to know why those entries are coming as bare drive.
> ?
> > (do you have any other bare drives in your topology ? )
> > >
> > >
> > > ` Kashyap
> > >
> > > From: Stas Orlov [mailto:sennaar_at_gmail.com]
> > > Sent: Thursday, February 02, 2012 7:45 PM
> > > To: Desai, Kashyap
> > > Cc: Kenneth D. Merry; freebsd-scsi_at_freebsd.org; freebsd-
> > current_at_freebsd.org; Dennis Glatting
> > > Subject: Re: LSI supported mps(4) driver available Sure, I've made
> > > two RAID (1 and 10 ) arrays within LSI Config Utility
> > and tried to install fresh current, every time I get error linked
> > above, so yes, it's reproducible.
> > > -> What I understood here is, you have two raid volumes RAID1 and
> > RAID10, and trying to install FreeBSD (Again clarify which version of
> > FreeBSD you are using)
> > >
> > >
> > > Try erasing a controller FW completely and re-install everything
> > > from
> > fresh.
> > > (Here make sure you flash completely. Hope you are aware of
> > > controller
> > firmware upgrade process)
> > >
> > > Our board has DPM tables and for Raid volume it is maximum 2 entry.
> > > When you have more than two inactive volumes, we cannot add another
> > raid volume.
> > > There is some implementation recently done by BIOS team related to
> > this area. Where BIOS itself will erase inactive Raid volume entry
> > from DPM pages.
> > >
> > > ~ Kashyap
> > >
> > >
> > > MPT Firmware 2.15.63.00-IR
> > > Package Version 7.01.33.00
> > >
> > > I do have another spare R610 with that card, I'll test it with
> > > current
> > later this evening.
> > >
> > > On Thu, Feb 2, 2012 at 5:53 PM, Desai, Kashyap
> > > <Kashyap.Desai_at_lsi.com>
> > wrote:
> > >
> > >
> > >> -----Original Message-----
> > >> From: owner-freebsd-scsi_at_freebsd.org [mailto:owner-freebsd-
> > >> scsi_at_freebsd.org] On Behalf Of Stas Orlov
> > >> Sent: Thursday, February 02, 2012 6:48 PM
> > >> To: Kenneth D. Merry
> > >> Cc: freebsd-scsi_at_freebsd.org; freebsd-current_at_freebsd.org; Dennis
> > >> Glatting
> > >> Subject: Re: LSI supported mps(4) driver available
> > >>
> > >> Hi,
> > >>
> > >> We have a pack of identical Dell R610 mahcines with H200 cards.
> > >>
> > >> pciconf from R610 with FreeBSD9 on ZFS, disks in JBOD mode.
> > >>
> > >> mps0_at_pci0:3:0:0:        class=0x010700 card=0x1f1e1028
> > chip=0x00721000
> > >> rev=0x02 hdr=0x00
> > >>      vendor     = 'LSI Logic / Symbios Logic'
> > >>      device     = 'SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]'
> > >>      class      = mass storage
> > >>      subclass   = SAS
> > >>      bar   [10] = type I/O Port, range 32, base 0xfc00, size 256,
> > >> enabled
> > >>      bar   [14] = type Memory, range 64, base 0xdf2b0000, size
> > >> 65536, enabled
> > >>      bar   [1c] = type Memory, range 64, base 0xdf2c0000, size
> > 262144,
> > >> enabled
> > >>      cap 01[50] = powerspec 3  supports D0 D1 D2 D3  current D0
> > >>      cap 10[68] = PCI-Express 2 endpoint max data 128(4096) link
> > x4(x8)
> > >>      cap 03[d0] = VPD
> > >>      cap 05[a8] = MSI supports 1 message, 64 bit
> > >>      cap 11[c0] = MSI-X supports 15 messages in map 0x14 enabled
> > >>
> > >>
> > >> We all aware of the state of things with the old mps driver, so I
> > tried
> > >> to
> > >> pass a hardware array with the new one.
> > >> Current snapshot from yesterday fails with following -
> > >> http://oi40.tinypic.com/25gdw8o.jpg

> > > Can you explain more about your setup and how to reproduce it ?
> > > I will have look on this issue if it is reproducible ?
> > >
> > > Also what is Firmware version you are using on H200 card ?
> > >
> > > ~ Kashyap
> > >
> > >>
> > >> iirc, Dell has a nasty habit of writing its own firmware.
> > >>
> > >>
> > >> On Thu, Jan 26, 2012 at 8:54 AM, Kenneth D. Merry <ken_at_freebsd.org>
> > >> wrote:
> > >>
> > >> > On Wed, Jan 25, 2012 at 20:47:37 -0800, Dennis Glatting wrote:
> > >> > > On Fri, 2012-01-20 at 13:44 -0700, Kenneth D. Merry wrote:
> > >> > > > The LSI-supported version of the mps(4) driver that supports
> > their
> > >> 6Gb
> > >> > SAS
> > >> > > > HBAs as well as WarpDrive controllers, is available here:
> > >> > > >
> > >> > > > http://people.freebsd.org/~ken/lsi/mps_lsi.20120120.1.txt

> > >> > > >
> > >> > > > I plan to check it in to head next week, and then MFC it into
> > >> stable/9
> > >> > a
> > >> > > > week after that most likely.
> > >> > > >
> > >> > > > Please test it out and let me know if you run into any
> > problems.
> > >> > > >
> > >> > > > In addition to supporting WarpDrive, the driver also supports
> > >> > Integrated
> > >> > > > RAID.
> > >> > > >
> > >> > > > Thanks to LSI for doing the work on this driver!
> > >> > > >
> > >> > >
> > >> > > Does this include the SAS2008 series chips? I have two systems,
> > one
> > >> a
> > >> > > Tyan FT48-B8812 with a S8812 MB and Interlagos chips, where I
> > >> > > am interested in using a driver under 9.0 amd64.
> > >> >
> > >> > Yes.  The driver in 9.0 supports the 2008 as well.
> > >> >
> > >> > Ken
> > >> > --
> > >> > Kenneth Merry
> > >> > ken_at_FreeBSD.ORG
> > >> > _______________________________________________
> > >> > freebsd-current_at_freebsd.org mailing list
> > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-current

> > >> > To unsubscribe, send any mail to "freebsd-current-
> > >> unsubscribe_at_freebsd.org"
> > >> >
> > >> _______________________________________________
> > >> freebsd-scsi_at_freebsd.org mailing list
> > >> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi

> > >> To unsubscribe, send any mail to "freebsd-scsi-
> > unsubscribe_at_freebsd.org"
> > >
Received on Tue Feb 07 2012 - 14:30:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:23 UTC