From owner-freebsd-current@FreeBSD.ORG Tue May 4 01:04:12 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52E42106566B for ; Tue, 4 May 2010 01:04:12 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 0A7CB8FC1D for ; Tue, 4 May 2010 01:04:11 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O96YS-000455-1K for freebsd-current@freebsd.org; Tue, 04 May 2010 03:04:08 +0200 Received: from ip244.gte215.dsl-acs2.sea.iinet.com ([209.20.215.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 May 2010 03:04:08 +0200 Received: from atkin901 by ip244.gte215.dsl-acs2.sea.iinet.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 May 2010 03:04:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org connect(): No such file or directory From: Mark Atkinson Date: Mon, 03 May 2010 18:02:48 -0700 Lines: 20 Message-ID: References: <20100503195538.GF1231@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ip244.gte215.dsl-acs2.sea.iinet.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: <20100503195538.GF1231@michelle.cdnetworks.com> Subject: Re: exclusive sleep mutex mskc0 (network driver) r = 0 (0xc32c3690) locked @ /usr/src/sys/dev/msk/if_msk.c:3589 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: Tue, 04 May 2010 01:04:12 -0000 On 5/3/2010 12:55 PM, Pyun YongHyeon wrote: > On Mon, May 03, 2010 at 07:01:56AM -0700, Mark Atkinson wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> I updated to current yesterday and got the following 'witness_warn' >> panic upon executing 'reboot': >> >> suspending ithread with the following locks held: >> exclusive sleep mutex mskc0 (network driver) r = 0 (0xc32c3690) locked @ >> /usr/src/sys/dev/msk/if_msk.c:3589 >> panic: witness_warn > > It seems msk(4) didn't honor IFF_DRV_RUNNING in status block update > check so it continued to process received packets. > Would you try attached patch? Now it now longer panics, but the system does hang indefinitely. The hang occurs at the same time the panic does, which is after disks are synced right after the 'rebooting....' message.