From owner-freebsd-net@FreeBSD.ORG Mon Oct 10 19:07:58 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 CEC48106564A; Mon, 10 Oct 2011 19:07:58 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id F1B438FC08; Mon, 10 Oct 2011 19:07:57 +0000 (UTC) Received: by wyj26 with SMTP id 26so9677664wyj.13 for ; Mon, 10 Oct 2011 12:07:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=IC1PTQIZd7r5xthNO7MrtRfTAY9G9VdJZCiDFlSp0+E=; b=pKlIExdD/GlbzV80L+2oapCUWHA3TyPlJlPD/oUgmcW8BjP8kgelk+B5At0iJY8sgq 1GVlSwyTRiU+JdZtTGmJ31hNZDDwAJym7HQH9PFDKE7TyOFWqQFFuitKd0aGyUMtXvYD OttxuhDRidpm86ZWhd1Mwi+s8LDSsowxiSIho= Received: by 10.227.195.77 with SMTP id eb13mr6751350wbb.79.1318273676776; Mon, 10 Oct 2011 12:07:56 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id o7sm34220093wbh.8.2011.10.10.12.07.52 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Oct 2011 12:07:55 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 10 Oct 2011 12:06:09 -0700 From: YongHyeon PYUN Date: Mon, 10 Oct 2011 12:06:09 -0700 To: Sean Bruno Message-ID: <20111010190609.GB1781@michelle.cdnetworks.com> References: <1317343996.2777.33.camel@hitfishpass-lx.corp.yahoo.com> <1317346748.2777.36.camel@hitfishpass-lx.corp.yahoo.com> <5D267A3F22FD854F8F48B3D2B523819385F35B4738@IRVEXCHCCR01.corp.ad.broadcom.com> <1317683178.15510.25.camel@hitfishpass-lx.corp.yahoo.com> <20111007191154.GB11808@michelle.cdnetworks.com> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1318271046.1236.11.camel@hitfishpass-lx.corp.yahoo.com> User-Agent: Mutt/1.4.2.3i 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 Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2011 19:07:59 -0000 On Mon, Oct 10, 2011 at 11:24:06AM -0700, Sean Bruno wrote: > On Mon, 2011-10-10 at 10:47 -0700, YongHyeon PYUN wrote: > > On Mon, Oct 10, 2011 at 09:42:22AM -0700, Sean Bruno wrote: > > > On Fri, 2011-10-07 at 13:52 -0700, YongHyeon PYUN wrote: > > > > > > > > Could you try attached patch? > > > > > > Yeah, this does work on the r410 ... however, I can't test the > > > "negative" case here where the bce(4) driver runs across a chipset where > > > sc->bce_flags & BCE_MFW_ENABLE_FLAG == 0 > > > > > > I tried disabling the Dell IPMI controller, but the h/w is still there > > > doing "things". So, this may not be the flag you want to use. > > > > > > > Hmm, then could you try attached patch again? > > > > > Sean > > > > > hrm indeed. I don't know that the Dell DRAC thing actually does > anythign to the running IPMI controller on the host. Disabling the > IPMI/DRAC completely in the BIOS of the DRAC does seem to have any > effect on this flag. > > -bash-4.2$ dmesg |grep -i bce > bce0: mem > 0xd8000000-0xd9ffffff irq 36 at device 0.0 on pci1 > bce0: Reserved 0x2000000 bytes for rid 0x10 type 3 at 0xd8000000 > bce0: attempting to allocate 1 MSI vectors (16 supported) > bce0: using IRQ 256 for MSI > miibus0: on bce0 > bce0: bpf attached > bce0: Ethernet address: a4:ba:db:2b:6d:58 > bce0: [MPSAFE] > bce0: [ITHREAD] > bce0: ASIC (0x57092008); Rev (C0); Bus (PCIe x4, 2.5Gbps); B/C (5.2.2); > Flags (MSI|MFW); MFW (NCSI 2.0.8) > bce1: mem > 0xdc000000-0xddffffff irq 48 at device 0.1 on pci1 > bce1: Reserved 0x2000000 bytes for rid 0x10 type 3 at 0xdc000000 > bce1: attempting to allocate 1 MSI vectors (16 supported) > bce1: using IRQ 257 for MSI > miibus1: on bce1 > bce1: bpf attached > bce1: Ethernet address: a4:ba:db:2b:6d:59 > bce1: [MPSAFE] > bce1: [ITHREAD] > bce1: ASIC (0x57092008); Rev (C0); Bus (PCIe x4, 2.5Gbps); B/C (5.2.2); > Flags (MSI|MFW); MFW (NCSI 2.0.8) > bce1: link state changed to UP > Did you capture this message generated after disabling IPMI/DRAC in BIOS? I thought you had to use Broadcom's separate program to disable management firmware. Does the last patch solve the problem? It's still not clear to me. The last patch allows accessing PHY status when there is a management firmware regardless of its running state. >