Subject: Re: lfs problem on amd64
To: Mindaugas R. <rmind@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 11/10/2007 17:41:59
On Sat, Nov 10, 2007 at 06:00:38PM +0200, Mindaugas R. wrote:

> Kurt Schreiner <ks@ub.uni-mainz.de> wrote:
> > Mounting all filesystems...
> > panic: kernel diagnostic assertion "l->l_class == SCHED_OTHER" failed: file
> > "/u/NetBSD/src/sys/kern/sched_m2.c", line 476 Stopped in pid 0.28 (system)
> > at netbsd:breakpoint+0x1:  ret
> > db{0}> bt
> > <...>
> > 
> > What can I do to help getting lfs up and running again?
> 
> Seems it is a missed case from the recent vmlocking merges. The old PINOD
> priority is no longer correct, since priorities were inverted. M2 just helped
> to catch this :)
> 
> http://www.netbsd.org/~rmind/pinod_removal.diff
> 
> Not sure if PRI_IOFLUSH is correct level here..

It doesn't really matter that much, but I think there is a PRI_BIO.

Thanks for catching this.

Andrew