From owner-freebsd-alpha Thu Aug 16 21:52:37 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from dragon.nuxi.com (dsl092-013-169.sfo1.dsl.speakeasy.net [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 8810C37B401; Thu, 16 Aug 2001 21:52:34 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.5/8.11.1) id f7H4qYp05836; Thu, 16 Aug 2001 21:52:34 -0700 (PDT) (envelope-from obrien) Date: Thu, 16 Aug 2001 21:52:34 -0700 From: "David O'Brien" To: John Baldwin Cc: alpha@FreeBSD.org Subject: Re: today's kernel + JHB's trap.c patch is *evil* Message-ID: <20010816215234.A5722@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <20010816140739.A1538@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.org on Thu, Aug 16, 2001 at 04:29:27PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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