Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2001 21:52:34 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        alpha@FreeBSD.org
Subject:   Re: today's kernel + JHB's trap.c patch is *evil*
Message-ID:  <20010816215234.A5722@dragon.nuxi.com>
In-Reply-To: <XFMail.010816162927.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Thu, Aug 16, 2001 at 04:29:27PM -0700
References:  <20010816140739.A1538@dragon.nuxi.com> <XFMail.010816162927.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 16, 2001 at 04:29:27PM -0700, John Baldwin wrote:
> > Mounting root from ufs:/dev/da0a
> > SMP: AP CPU #1 Launched!
> > 
> > fatal kernel trap:
> > 
> >     trap entry     = 0x2 (memory management fault)
> >     cpuid          = 0
> >     faulting va    = 0x0
> 
> NULL pointer deref.
> 
> >     type           = access violation
> >     cause          = load instructon
> >     pc             = 0xfffffc00003c3814
> 
> Do you have a debug kernel?  If so, can you do 'gdb -k kernel.debug' and then
> do 'l *0xfffffc00003c3814'?

0xfffffc00003c3814 is in _mtx_unlock_sleep
(../../../kern/kern_mutex.c:492).
487     
488             p1 = TAILQ_FIRST(&m->mtx_blocked);
489             MPASS(p->p_magic == P_MAGIC);
490             MPASS(p1->p_magic == P_MAGIC);
491     
492             TAILQ_REMOVE(&m->mtx_blocked, p1, p_procq);
493     
494             if (TAILQ_EMPTY(&m->mtx_blocked)) {
495                     LIST_REMOVE(m, mtx_contested);
496                     _release_lock_quick(m);

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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