From owner-freebsd-net@FreeBSD.ORG Sun Jan 15 19:17:52 2012 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 10B59106566C for ; Sun, 15 Jan 2012 19:17:52 +0000 (UTC) (envelope-from andrey@zonov.org) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9704C8FC0C for ; Sun, 15 Jan 2012 19:17:51 +0000 (UTC) Received: by bke17 with SMTP id 17so13807bke.13 for ; Sun, 15 Jan 2012 11:17:50 -0800 (PST) Received: by 10.204.151.69 with SMTP id b5mr3721294bkw.14.1326655070429; Sun, 15 Jan 2012 11:17:50 -0800 (PST) Received: from [10.254.254.77] (ppp95-165-126-65.pppoe.spdop.ru. [95.165.126.65]) by mx.google.com with ESMTPS id ek9sm3208376bkb.10.2012.01.15.11.17.49 (version=SSLv3 cipher=OTHER); Sun, 15 Jan 2012 11:17:50 -0800 (PST) Message-ID: <4F13265C.1040200@zonov.org> Date: Sun, 15 Jan 2012 23:17:48 +0400 From: Andrey Zonov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: em loses link after IPMI reset 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: Sun, 15 Jan 2012 19:17:52 -0000 Hi, I have a few boxes with Intel 82574L NIC that run under 8.2-STABLE. After execution `ipmitool mc reset cold' NIC loses link and after negotiation it sets 100TX media type (normal is 1000T). Under Linux on the same box this problem doesn't occur, after BMC reset driver doesn't lose link. It seems that em driver sets (or doesn't set) some IPMI relied registers. In Linux there is some magic about 82574/82583 chips and IPMI [1]. What do you think this is a solution for my problem or this is about something else? [1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/net/ethernet/intel/e1000e/netdev.c;h=3911401ed65d59ceafe9b28080a6630f4adf6371;hb=HEAD#l2696 -- Andrey Zonov