From owner-freebsd-current@FreeBSD.ORG Fri Sep 10 17:26:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3878116A4CF; Fri, 10 Sep 2004 17:26:25 +0000 (GMT) Received: from artax.karlin.mff.cuni.cz (artax.karlin.mff.cuni.cz [195.113.31.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDBC243D41; Fri, 10 Sep 2004 17:26:24 +0000 (GMT) (envelope-from cernm0bm@artax.karlin.mff.cuni.cz) Received: by artax.karlin.mff.cuni.cz (Postfix, from userid 10663) id 78C66561C; Fri, 10 Sep 2004 19:26:23 +0200 (CEST) Date: Fri, 10 Sep 2004 19:26:23 +0200 From: Marian Cerny To: Robert Watson Message-ID: <20040910172623.GA1111@artax.karlin.mff.cuni.cz> References: <20040910170913.GT72089@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i cc: "Bjoern A. Zeeb" cc: John-Mark Gurney cc: freebsd-current@freebsd.org Subject: Re: LOR (re0 and user map) + PANIC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 17:26:25 -0000 On 2004-09-10 13:15 -0400, Robert Watson wrote: > > On Fri, 10 Sep 2004, John-Mark Gurney wrote: > > > Marian Cerny wrote this message on Fri, Sep 10, 2004 at 12:22 +0200: > > > Heh, I noticed one more LOR. This one happens when I turn the laptop off > > > using 'halt -p' after syncing disks. It's *hand*-rewritten, because the > > > laptop turned itself off after 10 seconds, despite the fact, that I was > > > inside kernel debugger (I took a shot with my digital photo camera). > > > > > > lock order reversal > > > 1st 0xc177b6e8 re0 (network driver) @ /usr/src/sys/dev/re/if_re.c:1752 > > > 2nd 0xc08adee4 user map (user map) @ /usr/src/sys/vm/vm_map.c:2997 > > > > What version of if_re.c are you running? neither RELENG_5 nor HEAD has > > a lock on line 1752. It is v 1.28 from BETA3. 1752: RL_LOCK(sc); > While this would be useful to know, the actual bug (per my earlier e-mail) > is a NULL pointer deref: > > > > --- trap 0xc, eip = 0xc0575b76, esp = 0xceef9cc0, ebp = 0xceef9cdc --- > > > re_rxeof(c177b000) at re_rxeof+0x2ae > > It would be very useful to know the revision of the file, as well as what > line in the code re_rxeof+0x2ae is. Is there any way how to find it out? re_rxoef() is called 4 times in that file. -- Marian Cerny Jabber: jojo@njs.netlab.cz [ UNIX is user friendly. It's just selective about who its friends are. ]