From owner-freebsd-net@FreeBSD.ORG Thu Oct 13 22:56:18 2011 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 42A54106564A; Thu, 13 Oct 2011 22:56:18 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.bf1.yahoo.com (mrout1-b.corp.bf1.yahoo.com [98.139.253.104]) by mx1.freebsd.org (Postfix) with ESMTP id E23B68FC12; Thu, 13 Oct 2011 22:56:17 +0000 (UTC) Received: from [127.0.0.1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout1-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id p9DMtwMg019386; Thu, 13 Oct 2011 15:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1318546559; bh=1ydwHYJr5mLK/yxp+aFCLxeGIV2bQwoSmiNxpo92aFE=; h=Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date: Message-ID:Mime-Version:Content-Transfer-Encoding; b=MYVQ0vfFwtqKI4J5HdLEkVtWJtrdmvYFgyUldKxB2+V0YF70FjfyyAzDjlK8Mplm+ wWfmGdobVX59VTLwwvdpZaovQsOjqmX1ht4oTWfKS196bbOP4eb/nJkpJ++oBR24qQ 7skkDUMJdKKYeg1TK6N/5mOSp5kA1nYn159Ilmd8= From: Sean Bruno To: David Christensen In-Reply-To: <5D267A3F22FD854F8F48B3D2B523819385F366A48A@IRVEXCHCCR01.corp.ad.broadcom.com> References: <1318018310.27029.10.camel@hitfishpass-lx.corp.yahoo.com> <20111007205254.GC11808@michelle.cdnetworks.com> <1318264942.1236.6.camel@hitfishpass-lx.corp.yahoo.com> <20111010174749.GA1781@michelle.cdnetworks.com> <1318271046.1236.11.camel@hitfishpass-lx.corp.yahoo.com> <20111010190609.GB1781@michelle.cdnetworks.com> <1318278905.1236.18.camel@hitfishpass-lx.corp.yahoo.com> <20111010204456.GD1781@michelle.cdnetworks.com> <5D267A3F22FD854F8F48B3D2B523819385F3669A7D@IRVEXCHCCR01.corp.ad.broadcom.com> <1318356030.2724.11.camel@hitfishpass-lx.corp.yahoo.com> <20111011181219.GB5661@michelle.cdnetworks.com> <1318362745.2724.22.camel@hitfishpass-lx.corp.yahoo.com> <5D267A3F22FD854F8F48B3D2B523819385F366A48A@IRVEXCHCCR01.corp.ad.broadcom.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 13 Oct 2011 15:55:58 -0700 Message-ID: <1318546558.2658.18.camel@hitfishpass-lx.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 (2.32.3-1.fc14) Content-Transfer-Encoding: 7bit Cc: "pyunyh@gmail.com" , "freebsd-net@freebsd.org" , "davidch@freebsd.org" , Pyun YongHyeon Subject: RE: bce(4) with IPMI 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: Thu, 13 Oct 2011 22:56:18 -0000 On Thu, 2011-10-13 at 13:58 -0700, David Christensen wrote: > > Ran this on my Dell R410. I can clearly see that the tool is > > "disabling" the MFW bit, and that the dell bios interface to the IPMI > > controller/DRAC is impaired, however ... > > > > The system still thinks that the MFW bit is "ON" and proceeds normally > > in this case. The code still fails to detect that MFW is disabled. > > > > In addition, the IPMI driver attaches to "something" and I can poke at > > it via ipmitool. So, from the driver perspective, the attempt to detect > > MFW enabled doesn't work as the chipset still thinks that its "on". > > > > I've commented out the code block that we're trying to work around in > > the yahoo code base for now. > > I have an R210 and running the uxdiag command definitely disabled > management firmware on my system: > > ===[root] ~ # dmesg | grep bce > bce0: mem 0xda000000-0xdbffffff irq 16 at device 0.0 on pci2 > miibus0: on bce0 > bce0: Ethernet address: b8:ac:6f:87:95:f1 > bce0: ASIC (0x57092008); Rev (C0); Bus (PCIe x4, 2.5Gbps); B/C (5.2.2); Bufs (RX:2;TX:2;PG:8); Flags (SPLT|MSI) > bce1: mem 0xdc000000-0xddffffff irq 17 at device 0.1 on pci2 > miibus1: on bce1 > bce1: Ethernet address: b8:ac:6f:87:95:f2 > bce1: ASIC (0x57092008); Rev (C0); Bus (PCIe x4, 2.5Gbps); B/C (5.2.2); Bufs (RX:2;TX:2;PG:8); Flags (SPLT|MSI) > bce0: Gigabit link up! > bce0: Gigabit link up! > bce1: Gigabit link up! > bce1: Gigabit link up! > ===[root] ~ # > > Dave Yeah, that was my results as well. But when I ran Pyun's modifcations to detect this case, there was no change. (this was an r410 btw). Sean