From owner-freebsd-stable@FreeBSD.ORG Thu Sep 20 01:07:48 2007 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 831D516A469 for ; Thu, 20 Sep 2007 01:07:48 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.232]) by mx1.freebsd.org (Postfix) with ESMTP id 27F9313C442 for ; Thu, 20 Sep 2007 01:07:47 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so280064nzf for ; Wed, 19 Sep 2007 18:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=TvF6lOO7R5Z8xosH9RvRzCXxJLLjLMfTTdAwJsVOiSo=; b=XE5Y62NiQ5JmSw5S6Cpa535wRPGXT8eW+AA+yqPjE8z8RbvCLM5daIjJD4EVcJ/n6Mlgg610/Wp161LXy/8YJxG2x33uqfuX+nmDVlASI/dBOF9Qeh6xCzBxxwe3IWvncKMbIMtT76Js1gFby2hIHXplDeA1EIXVpEY9Ka+toTE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=ueHUWCZfiBVH8kI3eMlteis/XrMc9NfYF5lWrJczcw+EXnVsO52kpi5VRMDNTJxR3mH3laP9NUFvvy2IHQx/u7wUWav7LWV5CKXdHarItfNO5rdJ2XqeB1q0NUlDxDSzYP5YOwfRyM53u0ZpmUDuHAfoDRH62koGaXCaaAznT9A= Received: by 10.114.156.1 with SMTP id d1mr468791wae.1190249007197; Wed, 19 Sep 2007 17:43:27 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id v35sm2194853wah.2007.09.19.17.43.23 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Sep 2007 17:43:26 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l8K0eeV8041080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Sep 2007 09:40:40 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l8K0ecaW041079; Thu, 20 Sep 2007 09:40:38 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Thu, 20 Sep 2007 09:40:38 +0900 From: Pyun YongHyeon To: Mike Harding Message-ID: <20070920004038.GA40749@cdnetworks.co.kr> References: <20070919160656.0ADDA170A2@bsd.mvh> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <20070919160656.0ADDA170A2@bsd.mvh> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org Subject: Re: crash during shutdown -after- disks unmounted X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2007 01:07:48 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 19, 2007 at 09:06:56AM -0700, Mike Harding wrote: > > I had a panic during shutdown, in the if_re.c interrupt handler, > likely because I had > > ifconfig_re0="inet 192.168.0.2 netmask 255.255.255.0 -rxcsum -txcsum" > > in /etc/rc.conf. > > Please feel free to contact me for details. This is a very recent -stable. > Would you try attached patch? -- Regards, Pyun YongHyeon --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="re.patch" Index: if_re.c =================================================================== RCS file: /home/ncvs/src/sys/dev/re/if_re.c,v retrieving revision 1.46.2.33 diff -u -r1.46.2.33 if_re.c --- if_re.c 15 Sep 2007 09:52:19 -0000 1.46.2.33 +++ if_re.c 20 Sep 2007 00:42:01 -0000 @@ -1968,7 +1968,8 @@ status = CSR_READ_2(sc, RL_ISR); CSR_WRITE_2(sc, RL_ISR, status); - if (sc->suspended || !(ifp->if_flags & IFF_UP)) { + if (sc->suspended || + (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { RL_UNLOCK(sc); return; } --a8Wt8u1KmwUX3Y2C--