From owner-freebsd-net@FreeBSD.ORG Tue Oct 11 19:52:37 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 965A7106566C; Tue, 11 Oct 2011 19:52:37 +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 47EBE8FC14; Tue, 11 Oct 2011 19:52:36 +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 p9BJqQA2022839; Tue, 11 Oct 2011 12:52:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1318362746; bh=92ExSYmk5qeid/sjUj6rgh6GUZKycVqGMikLUfE/LzI=; h=Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date: Message-ID:Mime-Version:Content-Transfer-Encoding; b=GL6sJQTx7zB8nesY5MflZ0c7KOuTk3uZQHwgtokeUNTAlUemZib2gZHAy7kmtM4D9 pbWsWYex85EjrCN4ITCeNq3eRCZvyJzypJQbXJO+0+qkFEt5X2wssL/894y+i39hQh /CR01urMWTThhXRSMQscZEEUc4rPqR3lT1ZVC5cw= From: Sean Bruno To: "pyunyh@gmail.com" In-Reply-To: <20111011181219.GB5661@michelle.cdnetworks.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> Content-Type: text/plain; charset="UTF-8" Date: Tue, 11 Oct 2011 12:52:25 -0700 Message-ID: <1318362745.2724.22.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: "freebsd-net@freebsd.org" , David Christensen , "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: Tue, 11 Oct 2011 19:52:37 -0000 > > > The Broadcom MFW is configured to load/not load through an NVRAM > > > option that is likely not affected by the iDRAC BIOS settings. > > > To disable MFW you'd need to run the user diagnostic utility > > > (UXDIAG.EXE) with the following command line: > > > > > > C:\>uxdiag -mfw 0 > > > > > > To turn it back on run the following: > > > > > > C:\>uxdiag -mfw 1 > > > > > > You can find a bootable CD with the user diagnostic here: > > > http://www.broadcom.com/support/license.php?file=NXII/Xdiag-5.2.2.iso > > > > > > Dave > > > > > > > Ah, ok. > > > > > > Pyun: > > > > Should I do this on a host and validate your changes? > > > > That would be great if you can. Because some part of code is not > executed in my patch when firmware is not running. Previously > bce(4) executed that code regardless of firmware running state. > > > Sean > > > > 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. Sean