From owner-freebsd-net@FreeBSD.ORG Wed Jul 31 06:54:59 2013 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9B806F6; Wed, 31 Jul 2013 06:54:59 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8CBD42D51; Wed, 31 Jul 2013 06:54:58 +0000 (UTC) Received: from alph.d.allbsd.org (p2049-ipbf1102funabasi.chiba.ocn.ne.jp [122.26.101.49]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id r6V6seQH011418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 31 Jul 2013 15:54:50 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.5/8.14.5) with ESMTP id r6V6sdTN066433; Wed, 31 Jul 2013 15:54:39 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Wed, 31 Jul 2013 15:54:06 +0900 (JST) Message-Id: <20130731.155406.1300421756782257141.hrs@allbsd.org> To: sbruno@FreeBSD.org, sean_bruno@yahoo.com, yongari@FreeBSD.org, davidch@FreeBSD.org Subject: Re: bce(4) panics, 9.2rc1 [redux] From: Hiroki Sato In-Reply-To: <1375208841.1496.3.camel@localhost> References: <1374700042.1493.14.camel@localhost> <1375145809.1488.3.camel@localhost> <1375208841.1496.3.camel@localhost> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Wed_Jul_31_15_54_06_2013_316)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Wed, 31 Jul 2013 15:54:50 +0900 (JST) X-Spam-Status: No, score=-90.4 required=13.0 tests=CONTENT_TYPE_PRESENT, DIRECTOCNDYN,DYN_PBL,QENCPTR1,RCVD_IN_PBL,SPF_SOFTFAIL,TO_NO_BRKTS_PCNT, USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: freebsd-net@FreeBSD.org, hrs@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 06:54:59 -0000 ----Security_Multipart(Wed_Jul_31_15_54_06_2013_316)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit [Added yougari@ and davidch@ to the To:/Cc: list] I confirmed that my issue reported on -current@ is due to the bxe(4) driver (BCM57711). If it is disabled, shutdown works fine without NMI. Also, I received several reports about the same box that NMI occurred even on bge(4) (BCM5717) driver when probing during power-cycle test. The probability was about once per 30 power-cycles. Once it occurred, an AC on/off cycle was required (resetting a system reproduced the NMI in the same timing). Sean Bruno wrote in <1375208841.1496.3.camel@localhost>: se> se> se> > http://svnweb.freebsd.org/base?view=revision&revision=236216 se> > se> > se> se> se> Ok, confirmed after ~50 reboots. se> se> There is a timing problem in this revision that I don't fully se> understand. Adding printf's inside bce_reset() will cause the existing se> code to succeed, and sometimes the existing code in this revision will se> work (about 10% of the time). se> se> In the failure mode, the network interface, bce0, will not come up into se> service *without* and network restart, after which it works fine. se> se> I suspect that we are missing a DELAY or UDELAY somewhere in the se> restoral of the emac_status settings that needs to be implemented. se> se> Sean se> se> p.s. sorry for the late report as the commit is well over a year old. ----Security_Multipart(Wed_Jul_31_15_54_06_2013_316)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iEYEABECAAYFAlH4tI4ACgkQTyzT2CeTzy1/egCgnIMUjbvmbKJwTIGwFs6J8iXa Gw4AmgP7pjruhnMdZP6gNjqVU3bRtxQj =GINz -----END PGP SIGNATURE----- ----Security_Multipart(Wed_Jul_31_15_54_06_2013_316)----