Panic in 7.1-PRERELEASE (was: Re: kgdb on sparc64)

Marius Strobl marius at alchemy.franken.de
Tue Dec 16 15:06:38 PST 2008


On Tue, Dec 16, 2008 at 03:03:11PM +0100, Ruben de Groot wrote:
> On Tue, Dec 09, 2008 at 10:36:13PM +0100, Marius Strobl typed:
> > On Tue, Dec 02, 2008 at 12:56:53PM +0100, Ruben de Groot wrote:
> > > On Mon, Dec 01, 2008 at 10:18:06PM +0100, Marius Strobl typed:
> > > > On Thu, Nov 20, 2008 at 06:47:11AM +0100, Ruben de Groot wrote:
> > > > > 
> > > > > Thanks. I've moved all websites away from this machine, so it's available for any
> > > > > further tests to help find a solution. 
> > > > > 
> > > > 
> > > > Could you please give the patch at:
> > > > http://people.freebsd.org/~marius/dc_bitbang_delay.diff
> > > > a try? It's based on information gained from other drivers for
> > > > the same chips that there should be an delay after every write
> > > > when bit-banging the MII, which hopefully solves the bus wedging
> > > > you're seeing. So far I didn't manage to reproduce the problem
> > > > though, so I can't test whether the patch makes an actual
> > > > difference either.
> > > 
> > > Thanks for looking into this.
> > > Running with this patch right now. It'll take some time to conclude if this
> > > fixes the issue, as the panics normally happen only once every 2-3 days.
> > > 
> > 
> > How is it doing so far?
> 
> Yes, well, the server has been running for exactly 14 days with your patch now
> without any troubles. So today I switched the websites back from my -current
> machine as the latter was developing some (unrelated) problems.
> 
> So I'd say the issue looks like it's solved. Thanks again!
> 

Could you please switch to the version that is in 7-STABLE
(if_dc.c 1.192.2.6/if_dcreg.h 1.54.2.3 or r186137 if you
use svn) now? Relative to the version you're running it
has an edge case fixed and isn't as inefficient with the
register access. I don't expect regressions from this
version compared to the old patch but nevertheless it
would be great to use the remaining time until 7.1-RELEASE
for verifying whether what's in the tree now actually
also solves the problem you were seeing.

Marius



More information about the freebsd-sparc64 mailing list