Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2003 13:38:49 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        David Sze <dsze@alumni.uwaterloo.ca>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: Dell PowerEdge 1750 and mpt
Message-ID:  <20031015133813.O35236@root.org>
In-Reply-To: <20031015180131.GA25402@pooh.distrust.net>
References:  <6.0.0.22.2.20031014232154.03a0b990@mail.distrust.net> <20031015100215.U34498@root.org> <20031015180131.GA25402@pooh.distrust.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Oct 2003, David Sze wrote:
> On Wed, Oct 15, 2003 at 10:12:49AM -0700, Nate Lawson wrote:
> > On Wed, 15 Oct 2003, David Sze wrote:
> > > The application talks to pass(4) to periodically retrieve the serial
> > > numbers of all devices on the bus (the code is basically copied from
> > > "camcontrol inquiry -S", plus some code to enumerate the bus).  So that is
> > > consistent with how often we are seeing the crashes.  I'll go over the code
> > > to make sure there are no blatant errors on my part.  The only puzzling
> > > thing is that the same code runs flawlessly on a variety of similar
> > > hardware, some machines also with mpt(4), but mostly ahc(4) and ahd(4)
> > > controllers.
> >
> > Try running camcontrol inquiry -S on the same device in a loop and see if
> > it gets the same panic.
>
> Running "camcontrol inquiry pass3 -S" in a loop for 1000 times was just
> fine, there was no panic.

I'm out of time for this thread.  Find the diff between your code and
camcontrol inquiry -S and you'll find the bug.

-Nate



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