From owner-freebsd-net@FreeBSD.ORG Tue Jul 30 18:32:40 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D21795B4 for ; Tue, 30 Jul 2013 18:32:40 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm47-vm8.bullet.mail.bf1.yahoo.com (nm47-vm8.bullet.mail.bf1.yahoo.com [216.109.115.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6E99E23CB for ; Tue, 30 Jul 2013 18:32:40 +0000 (UTC) Received: from [98.139.212.145] by nm47.bullet.mail.bf1.yahoo.com with NNFMP; 30 Jul 2013 18:27:22 -0000 Received: from [98.139.211.162] by tm2.bullet.mail.bf1.yahoo.com with NNFMP; 30 Jul 2013 18:27:22 -0000 Received: from [127.0.0.1] by smtp219.mail.bf1.yahoo.com with NNFMP; 30 Jul 2013 18:27:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1375208842; bh=F9PytKHOfZIHVLfZyRezfEUgc7SVl2XjRyb3VQawALE=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=S6wKY1XDjGviott5p7y6umETHIDDYR9J2YYfJ4pbzCVt8zLnN2PsZwdrjqeSa4PH5TrJpSkt3PwJdllVlp3DZYSyHh6aGCPfhK0qfRNNcogV7dOv4UgQ/53Mqa+OoeiTMwbwspBaowFgk2iG18Jd+qu6i4puPQ075PawqHHx2/M= X-Yahoo-Newman-Id: 829118.39889.bm@smtp219.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: QcbNsAYVM1mgEcSEOGJi5jqfief25wjSEH3EqwUouj315vQ Gt4sxuQUv536G8dm3JiYEbLu6K.pAddEX8q.ODpMRHTxv65yg0Xs4jk4kOm9 JL3ad85fnItltxG4xE4K8WWpg8.lgFB0XCc6Nw0jOKEmTXbq0hhiy5Xj8BNH WvtAAvxBbvcUa5WEi9adKms1JdsPx9UMaU2U8Xq_76L5yZEe7IHYVjlRB5MC 4w2ivrF15EZEzV4xhb0tEnvgSqQDTpMxflVZe3TL2YQPT7gRV3vmYcKayBf0 ilcxMnlXRYPic5.nGKnV8DE5KwxMjkJ6NI2dl7UFA21QWRQ0APA6AyI.wjCY zHkZ40j8jiYoXYn97M9yYuCHIsg9Tueexq79FocX1dKAyw3bwciADafWig5d 8kKuKQtvyVtsJZBpus9rJ5jWhAvIN3mtxDMqY7gQHi9yVDDa3RTQ9oMKDdG4 lB3kuEGkn96Jw.lYGlaS6fGp8fRwDtb1sTqFjjJSkZhOgNJoLzJAlWq51Sng x8fsYYlKGePcdMIbLtozKJ__K28xwcO45wdluYCo4.SSkYjevuL1T3ESTyDT _AWGJl0no23QiuD_iaE4IY1M776D1MnhWCAwS2KqbxRDAIA3LSiHXBQXS7fS DtgLB.6qnB.JrIJz0ULgOnTEFsQ-- X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [10.73.160.242] (sean_bruno@209.131.62.116 with ) by smtp219.mail.bf1.yahoo.com with SMTP; 30 Jul 2013 11:27:22 -0700 PDT Subject: Re: bce(4) panics, 9.2rc1 [redux] From: Sean Bruno To: sbruno@freebsd.org In-Reply-To: <1375145809.1488.3.camel@localhost> References: <1374700042.1493.14.camel@localhost> <1375145809.1488.3.camel@localhost> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-HdUJJQVh2YPKFBdf9Qve" Date: Tue, 30 Jul 2013 11:27:21 -0700 Message-ID: <1375208841.1496.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jul 2013 18:32:41 -0000 --=-HdUJJQVh2YPKFBdf9Qve Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > http://svnweb.freebsd.org/base?view=3Drevision&revision=3D236216 >=20 >=20 Ok, confirmed after ~50 reboots. There is a timing problem in this revision that I don't fully understand. Adding printf's inside bce_reset() will cause the existing code to succeed, and sometimes the existing code in this revision will work (about 10% of the time). In the failure mode, the network interface, bce0, will not come up into service *without* and network restart, after which it works fine. I suspect that we are missing a DELAY or UDELAY somewhere in the restoral of the emac_status settings that needs to be implemented. Sean p.s. sorry for the late report as the commit is well over a year old. --=-HdUJJQVh2YPKFBdf9Qve Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (FreeBSD) iQEcBAABAgAGBQJR+AWBAAoJEBkJRdwI6BaHcc8H+wQFw1ZHNAHW2a+GfN4iqMkf PAMsB+W/lhLi65Ao2W+c6XPRT4P6bbcQArd0KQA3sKMRnm1+dCsxj3yc4RemvpD7 xhlLfeCP53GoMIC6Q/qZJ5uiK24bKA2ncVBwoktsiKRtw0jpH2/FC+XYGZJA6WqI grm5lirVQZCWawRKVWswuZDbK2RPxt1mbcM//SyCm2wDqNpUgeBv8kftA/1lhlXG e2in0qosXUFSby05bPsCJAOnXSEusrUwxybc0fcuBhsbnWJRy9XP1PduNOEZCqzq NlDPlwlsRCqckTlKX/OcuE2CuIwYdQ0T9Mu7LqJegLrJkovE8pT3naakYonDBqA= =7Ywm -----END PGP SIGNATURE----- --=-HdUJJQVh2YPKFBdf9Qve--