From owner-freebsd-current@FreeBSD.ORG Mon Nov 14 09:11:57 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org 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 E88B916A41F for ; Mon, 14 Nov 2005 09:11:57 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C16143D49 for ; Mon, 14 Nov 2005 09:11:57 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id jAE9BrSW070059 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Nov 2005 12:11:54 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id jAE9Brx0070058; Mon, 14 Nov 2005 12:11:53 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 14 Nov 2005 12:11:53 +0300 From: Gleb Smirnoff To: XueFeng Deng Message-ID: <20051114091153.GI1647@cell.sick.ru> References: <20051114015710.48094.qmail@web15705.mail.cnb.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="24zk1gE8NUlDmwG9" Content-Disposition: inline In-Reply-To: <20051114015710.48094.qmail@web15705.mail.cnb.yahoo.com> User-Agent: Mutt/1.5.6i Cc: freebsd-current@FreeBSD.org Subject: Re: 6.0 LOR and panic on my laptop X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 14 Nov 2005 09:11:58 -0000 --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline On Mon, Nov 14, 2005 at 09:57:09AM +0800, XueFeng Deng wrote: X> hey, X> yestoday, I update my laptop(HP NX7000) to 6_0, it panic when restarting. X> re_rxeof(c1a50000,0,c06d917a,726,c1a94380) at re_rxeof+0x33d X> re_intr(c1a50000,0,c06e27df,225,d3942d00) at re_intr+0xca X> ithread_loop(c19bd900,d3942d38,c06e25d6,30d,0) at ithread_loop+0x182 X> fork_exit(c0524ef0,c19bd900,d3942d38) at fork_exit+0xc1 X> fork_trampoline() at fork_trampoline+0x8 Can you please try out the attached diff? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="re_intr.diff" Index: if_re.c =================================================================== RCS file: /home/ncvs/src/sys/dev/re/if_re.c,v retrieving revision 1.56 diff -u -r1.56 if_re.c --- if_re.c 1 Oct 2005 18:56:17 -0000 1.56 +++ if_re.c 14 Nov 2005 09:09:33 -0000 @@ -1835,13 +1835,15 @@ if ((status & RL_INTRS_CPLUS) == 0) break; - if ((status & RL_ISR_RX_OK) || - (status & RL_ISR_RX_ERR)) + if (((status & RL_ISR_RX_OK) || + (status & RL_ISR_RX_ERR)) && + ifp->if_drv_flags & IFF_DRV_RUNNING) re_rxeof(sc); - if ((status & RL_ISR_TIMEOUT_EXPIRED) || + if (((status & RL_ISR_TIMEOUT_EXPIRED) || (status & RL_ISR_TX_ERR) || - (status & RL_ISR_TX_DESC_UNAVAIL)) + (status & RL_ISR_TX_DESC_UNAVAIL)) && + ifp->if_drv_flags & IFF_DRV_RUNNING) re_txeof(sc); if (status & RL_ISR_SYSTEM_ERR) { --24zk1gE8NUlDmwG9--