tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SPL NOT ZERO ON SYSCALL ENTRY



On Mon, Apr 28, 2008 at 02:09:59PM +0100, Andrew Doran wrote:
> On Thu, Mar 20, 2008 at 09:15:34PM +0100, Matthias Drochner wrote:
> 
> > ad%NetBSD.org@localhost said:
> > > It's unlikely to be related for the reason given above, and because
> > > the snapshot of activity you get from CPUs other than the CPU that
> > > originally panic'ed is from some time after the panic happened.
> > 
> > Yes I know, but I was hoping that there is at least some correlation.
> > 
> > > Hmm, it would be
> > > worthwhile to add another KASSERT() in softint_execute()
> > 
> > I've just tried with kern_softint.c rev. 1.13, but my
> > breakpoint at "not lowered on syscall exit" did fire
> > before.
> 
> I just made some changes to i386/lock_stubs.S that prevent the same errors
> when running with a preemptive kernel. There is a good chance that it also
> fixes this problem..

FYI, it turns out that this was a device driver problem - sleeping with a
spinlock held.

Andrew 


Home | Main Index | Thread Index | Old Index