tech-kern archive

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

Re: Status of revivesa



On Thu, Sep 25, 2008 at 10:57:57AM -0700, Bill Stouder-Studenmund wrote:
> On Thu, Sep 25, 2008 at 04:58:46PM +0200, Manuel Bouyer wrote:
> > # /usr/sbin/named -v
> > BIND 9.3.0
> > # /usr/sbin/named   
> > # uvm_fault(0xc5877b60, 0, 1) -> 0xe
> > fatal page fault in supervisor mode
> > trap type 6 code 0 eip c02d60df cs 9 eflags 10246 cr2 0 ilevel 7
> > kernel: supervisor trap page fault, code=0
> > Stopped in pid 12.2 (named) at  netbsd:sa_getcachelwp+0x2f:     movl    
> > 0xc4(%ebx),%edx
> > db> tr
> > sa_getcachelwp(c5872588,c66e1f80,c65e3b5c,c02cb957,c66e1f82,0,c5872588,c03a4fa7,c66e1f80,0)
> >  at netbsd:sa_getcachelwp+0x2f
> 
> Ok, I'm confused. How was the kernel compiled? I'm guessing not 
> DIAGNOSTIC... There are asserts that should make it clear as to what may 
> be wrong here.
> 
> > sa_switch(c6611c40,c0427797,1,c5864fa8,c04adcfc,c6611c40,c65e3bdc,c02b5ebf,0,0)
> >  a t netbsd:sa_switch+0x2a6
> > sleepq_block(0,0,c0427797,c0449770,c58725ac,0,c65e3bfc,0,c04add74,c5872588) 
> > at netbsd:sleepq_block+0x138
> > cv_wait(c58725ac,c5864f3c,0,c03a4fa7,c6611c40,ffffffff,0,c03a4fa7,c6611dd0,c6611c40)
> >  at netbsd:cv_wait+0xef
> > sigexit(c6611c40,b,b,0,c06f6f90,0,c6611dc0,0,0,0) at netbsd:sigexit+0x17e
> 
> Looks like there's an issue here too. This is a silly time to be firing 
> off a "BLOCKED" upcall.

Yes, it is a silly time. Turns out that this code:

        if (p->p_flag & P_WEXIT) {
                mi_switch(l, NULL);
                return;
        }

didn't get translated to -current right. Should be fixed in kern_sa.c rev 
1.91.2.41.

Take care,

Bill

Attachment: pgpNP8GiF73MV.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index