From owner-freebsd-current@FreeBSD.ORG Thu Aug 6 13:34:43 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A0D1106566B; Thu, 6 Aug 2009 13:34:43 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by mx1.freebsd.org (Postfix) with ESMTP id 0E8858FC1A; Thu, 6 Aug 2009 13:34:42 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lerami; d=lerctr.org; h=Received:Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:User-Agent:MIME-Version:Content-Type:X-Spam-Score:X-LERCTR-Spam-Score:X-Spam-Report:X-LERCTR-Spam-Report:DomainKey-Status; b=K73mBD5O2Bcf8CntyPhsF37SKeILcmwumIxZSE/v9RQcKiJ0cC/KYtpmgnAjCHQAh6vwQEb6BODXldLgWL2PaCmTFeGMIsQoHV4fNyb9MHcl96vrd33IrIDfsF6rYVYolcPBh4ZE0yWu0cbizTgvpIbBvb7+tXagoLraUvMHrZI=; Received: from thebighonker.lerctr.org ([192.147.25.65]:57503) by thebighonker.lerctr.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MZ37A-0005Yd-VC; Thu, 06 Aug 2009 08:34:42 -0500 Date: Thu, 6 Aug 2009 08:34:38 -0500 (CDT) From: Larry Rosenman To: Robert Watson In-Reply-To: Message-ID: References: <20090804225806.GA54680@hub.freebsd.org> <20090805054115.O93661@maildrop.int.zabbadoz.net> <20090805063417.GA10969@doormat.home> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -4.4 (----) X-LERCTR-Spam-Score: -4.4 (----) X-Spam-Report: SpamScore (-4.4/5.0) ALL_TRUSTED=-1.8,BAYES_00=-2.599 X-LERCTR-Spam-Report: SpamScore (-4.4/5.0) ALL_TRUSTED=-1.8,BAYES_00=-2.599 DomainKey-Status: no signature Cc: jeff@FreeBSD.org, "Bjoern A. Zeeb" , freebsd-current@freebsd.org, kib@FreeBSD.org, Navdeep Parhar , Navdeep Parhar , lstewart@FreeBSD.org Subject: Re: reproducible panic in netisr 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: Thu, 06 Aug 2009 13:34:43 -0000 On Thu, 6 Aug 2009, Robert Watson wrote: > On Tue, 4 Aug 2009, Navdeep Parhar wrote: > >>>> This occurs on today's HEAD + some unrelated patches. That makes it >>>> 8.0BETA2+ code. I haven't tried older builds. >>> >>> We have finally been able to reproduce this ourselves yesterday and >> >> Well, it happens every single time on all of my amd64 machines. After I'd >> already sent my email I noticed that the netisr mutex has an odd address >> (pun intended :-)) >> >> m=0xffffffff8144d867 > > Heh, indeed. We just spotted the same result here. In this case it's > causing a panic because it leads to a non-atomic read due to mtx_lock > spanning a cache line boundary, followed shortly by a panic because it's not > a valid thread pointer when it's dereferenced, as we get a fractional > pointer. [snip] Do we have an ETA for a testable patch? -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893