Date: Tue, 11 Sep 2007 15:01:53 -0400 From: "Robert Wojciechowski" <robertw@expressyard.com> To: <shigeaki@f.csce.kyushu-u.ac.jp> Cc: freebsd-net@freebsd.org, Josh Mouch <jmouch@expressyard.com> Subject: FreeBSD nfe driver and IPMI cards Message-ID: <85D4F2C294E8434CA0AF775741532686623679@server1.ssgi.local>
next in thread | raw e-mail | index | archive | help
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 QCAtMzAwNCwxMCArMzAwNCwxMiBAQAogCWNhbGxvdXRfc3RvcCgmc2MtPm5mZV9zdGF0X2NoKTsK IAogCS8qIGFib3J0IFR4ICovCi0JTkZFX1dSSVRFKHNjLCBORkVfVFhfQ1RMLCAwKTsKKyAgLyog a2VlcCBUeCBhbGl2ZSBmb3IgSU1QSSBhbmQgcGVyaGFwcyBXT0wgKi8KKwkvKiBORkVfV1JJVEUo c2MsIE5GRV9UWF9DVEwsIDApOyAqLwogCiAJLyogZGlzYWJsZSBSeCAqLwotCU5GRV9XUklURShz YywgTkZFX1JYX0NUTCwgMCk7CisgIC8qIGtlZXAgUnggYWxpdmUgZm9yIElNUEkgYW5kIHBlcmhh cHMgV09MICovCisJLyogTkZFX1dSSVRFKHNjLCBORkVfUlhfQ1RMLCAwKTsgKi8KIAogCS8qIGRp c2FibGUgaW50ZXJydXB0cyAqLwogCW5mZV9kaXNhYmxlX2ludHIoc2MpOwo= ------_=_NextPart_001_01C7F4A6.2434ACF6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85D4F2C294E8434CA0AF775741532686623679>