From owner-freebsd-net@FreeBSD.ORG Tue Sep 11 19:29:00 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8ED316A41A for ; Tue, 11 Sep 2007 19:29:00 +0000 (UTC) (envelope-from robertw@expressyard.com) Received: from ssg1.ssginnovations.com (ssginnovations.com [205.145.135.135]) by mx1.freebsd.org (Postfix) with ESMTP id 77C9D13C467 for ; Tue, 11 Sep 2007 19:29:00 +0000 (UTC) (envelope-from robertw@expressyard.com) Received: from server1.ssgi.local (unknown [205.145.129.164]) by ssg1.ssginnovations.com (Mail Daemon) with ESMTP id 48FC5414C; Tue, 11 Sep 2007 15:02:31 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C7F4A6.2434ACF6" Date: Tue, 11 Sep 2007 15:01:53 -0400 Message-ID: <85D4F2C294E8434CA0AF775741532686623679@server1.ssgi.local> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: FreeBSD nfe driver and IPMI cards Thread-Index: Acf0pjb2qHAkEjsqRA64vCJVVjX+eQ== From: "Robert Wojciechowski" To: X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org, Josh Mouch Subject: FreeBSD nfe driver and IPMI cards X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2007 19:29:00 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C7F4A6.2434ACF6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, =20 I'm the FreeBSD nfe driver from =20 http://www.f.csce.kyushu-u.ac.jp/~shigeaki/software/freebsd-nfe.html with FreeBSD 6-stable with good results for the most part. The only issue I've experienced is that during a detach/shutdown of if_nfe, the IPMI IP address I have set on my servers ceases to respond as well as the ability to manage the servers. =20 I traced the problem down to nfe_stop() and the fact that it completely disables the Rx and Tx on the NIC. I have patched the driver to not disable the Rx/Tx and IPMI continues to work after a 'ifconfig nfe0 down', 'shutdown -p now', etc. =20 Does anyone have any comments on this change I've made and any possible side effects? Can this be included in the mainstream distribution of the nfe drivers (and updated in 7-CURRENT) without causing any adverse problems? =20 Thanks, =20 Robert S Wojciechowski / ExpressYard 810.953.3799 x200 / cell 248.872.4509 ------_=_NextPart_001_01C7F4A6.2434ACF6 Content-Type: application/octet-stream; name="nfe-ipmi.patch" Content-Transfer-Encoding: base64 Content-Description: nfe-ipmi.patch Content-Disposition: attachment; filename="nfe-ipmi.patch" ZGlmZiAtdXdyIG5mZS0yMDA3MDgxNi9pZl9uZmUuYyBuZmUtMjAwNzA4MTYtc3NnaS9pZl9uZmUu YwotLS0gbmZlLTIwMDcwODE2L2lmX25mZS5jCVdlZCBBdWcgMTUgMjI6MDg6MTggMjAwNworKysg bmZlLTIwMDcwODE2LXNzZ2kvaWZfbmZlLmMJVHVlIFNlcCAxMSAxMTo1OTowMyAyMDA3CkBAIC0y NCw3ICsyNCw3IEBACiBfX0ZCU0RJRCgiJEZyZWVCU0Q6IHNyYy9zeXMvZGV2L25mZS9pZl9uZmUu Yyx2IDEuMTkgMjAwNy8wNy8yNCAwMToxMTowMCB5b25nYXJpIEV4cCAkIik7CiAKIC8qIFVuY29t bWVudCB0aGUgZm9sbG93aW5nIGxpbmUgdG8gZW5hYmxlIHBvbGxpbmcuICovCi0vKiAjZGVmaW5l CURFVklDRV9QT0xMSU5HICovCisjZGVmaW5lCURFVklDRV9QT0xMSU5HCiAKICNpZmRlZiBIQVZF X0tFUk5FTF9PUFRJT05fSEVBREVSUwogI2luY2x1ZGUgIm9wdF9kZXZpY2VfcG9sbGluZy5oIgpA QCAtMzAwNCwxMCArM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