Re: bce(4) with IPMI

2011-10-18 Thread John Baldwin
On Tuesday, October 11, 2011 3:52:25 pm Sean Bruno wrote: > 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". The ipmi driver attach

RE: bce(4) with IPMI

2011-10-13 Thread Sean Bruno
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 "

RE: bce(4) with IPMI

2011-10-13 Thread David Christensen
> 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 det

Re: bce(4) with IPMI

2011-10-13 Thread Sean Bruno
On Tue, 2011-10-11 at 15:49 -0700, YongHyeon PYUN wrote: > On Tue, Oct 11, 2011 at 12:52:25PM -0700, Sean Bruno wrote: > > > > > > > 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 y

Re: bce(4) with IPMI

2011-10-11 Thread YongHyeon PYUN
On Tue, Oct 11, 2011 at 12:52:25PM -0700, Sean Bruno wrote: > > > > > 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) w

Re: bce(4) with IPMI

2011-10-11 Thread Sean Bruno
> > > 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 > > >

Re: bce(4) with IPMI

2011-10-11 Thread YongHyeon PYUN
On Tue, Oct 11, 2011 at 11:00:30AM -0700, Sean Bruno wrote: > On Mon, 2011-10-10 at 17:46 -0700, David Christensen wrote: > > > > I attempted to disable IPMI via the Dell BIOS tool (DRAC) and I > > > couldn't > > > > see any driver detection of this status. So, when I add this: > > > > > > > > >

RE: bce(4) with IPMI

2011-10-11 Thread Sean Bruno
On Mon, 2011-10-10 at 17:46 -0700, David Christensen wrote: > > > I attempted to disable IPMI via the Dell BIOS tool (DRAC) and I > > couldn't > > > see any driver detection of this status. So, when I add this: > > > > > > > if ((ifp->if_flags & IFF_UP) == 0 && > > > >(sc->bce_fl

RE: bce(4) with IPMI

2011-10-10 Thread David Christensen
> > I attempted to disable IPMI via the Dell BIOS tool (DRAC) and I > couldn't > > see any driver detection of this status. So, when I add this: > > > > > if ((ifp->if_flags & IFF_UP) == 0 && > > >(sc->bce_flags & BCE_MFW_PRESENT_FLAG) == 0){ > > > printf("%s: BCE d

Re: bce(4) with IPMI

2011-10-10 Thread YongHyeon PYUN
On Mon, Oct 10, 2011 at 01:35:05PM -0700, Sean Bruno wrote: > On Mon, 2011-10-10 at 12:06 -0700, YongHyeon PYUN wrote: > > 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. > > > >

Re: bce(4) with IPMI

2011-10-10 Thread Sean Bruno
On Mon, 2011-10-10 at 12:06 -0700, YongHyeon PYUN wrote: > 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

Re: bce(4) with IPMI

2011-10-10 Thread YongHyeon PYUN
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? > > >

Re: bce(4) with IPMI

2011-10-10 Thread Sean Bruno
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 > >

Re: bce(4) with IPMI

2011-10-10 Thread YongHyeon PYUN
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 whe

Re: bce(4) with IPMI

2011-10-10 Thread Sean Bruno
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

RE: bce(4) with IPMI [puzzling and puzzling]

2011-10-07 Thread David Christensen
> Thanks for testing. > Committed with r226123. > I also noticed that bce(4) may support BCM5716S because brgphy(4) > already supports BCM5709S. Can you test attached patch on BCM5716S? I don't have a 5716S system or NIC for testing. Dave ___ freebsd-n

Re: bce(4) with IPMI [puzzling and puzzling]

2011-10-07 Thread YongHyeon PYUN
On Fri, Oct 07, 2011 at 04:25:56PM -0700, David Christensen wrote: > > > That's a typo then, 5709 and 5716 share the same ASIC ID. > > > > > > > Thanks for confirmation. > > Could you review the attached patch? > > Looks good. ASIC ID matches my Dell R210 system: > > bce0: mem > 0xda00-0x

RE: bce(4) with IPMI [puzzling and puzzling]

2011-10-07 Thread David Christensen
> > That's a typo then, 5709 and 5716 share the same ASIC ID. > > > > Thanks for confirmation. > Could you review the attached patch? Looks good. ASIC ID matches my Dell R210 system: bce0: mem 0xda00-0xdbff irq 16 at device 0.0 on pci2 miibus0: on bce0 bce0: Ethernet address: b8:ac:6

RE: bce(4) with IPMI

2011-10-07 Thread David Christensen
> Because driver already initialized CPUs and context I thought > moving bce_pulse() to bce_init() was too late. If that's doable it > would be more correct way to address this issue. > Moving bce_pulse() is a minimum. It might be necessary to move some other code out of bce_attach()/bce_detach(

Re: bce(4) with IPMI [puzzling and puzzling]

2011-10-07 Thread YongHyeon PYUN
On Fri, Oct 07, 2011 at 02:23:10PM -0700, David Christensen wrote: > > > so, I cracked open my R410 this morning to see what the Ethernet > > chipset > > > had for a indentification mark. It is definitely stamped as a > > BCM5716, > > > so I'm confused. > > > > > > bce(4) has code to handle the 57

Re: bce(4) with IPMI

2011-10-07 Thread YongHyeon PYUN
On Fri, Oct 07, 2011 at 02:17:06PM -0700, David Christensen wrote: > > > Can't explain either but probably stable/6 bce(4) may have used old > > > firmware. > > > > Ok, I can once again reach the IPMI controller if I remove this: > > > > http://svnweb.freebsd.org/base/head/sys/dev/bce/if_bce.c?r1

RE: bce(4) with IPMI [puzzling and puzzling]

2011-10-07 Thread David Christensen
> Whoa ... ok, so now I've run into something horrible. > > According to dmidecode, a Dell R410 has a Broadcom 5716 chipset on it. > On Board Device 2 Information > Type: Ethernet > Status: Enabled > Description: Embedded Broadcom 5716 NIC 1 > On Board Device 3 Information

RE: bce(4) with IPMI

2011-10-07 Thread David Christensen
> > Can't explain either but probably stable/6 bce(4) may have used old > > firmware. > > Ok, I can once again reach the IPMI controller if I remove this: > > http://svnweb.freebsd.org/base/head/sys/dev/bce/if_bce.c?r1=210263&r2=21 > 0262&pathrev=210263 > > Since the driver has control over the

RE: bce(4) with IPMI [puzzling and puzzling]

2011-10-07 Thread David Christensen
> > so, I cracked open my R410 this morning to see what the Ethernet > chipset > > had for a indentification mark. It is definitely stamped as a > BCM5716, > > so I'm confused. > > > > bce(4) has code to handle the 5716 chipset, but its never being > executed > > AFAIK. What's going on here? > >

Re: bce(4) with IPMI

2011-10-07 Thread YongHyeon PYUN
On Fri, Oct 07, 2011 at 04:09:34PM -0400, Arnaud Lacombe wrote: > Hi, > > On Fri, Oct 7, 2011 at 3:11 PM, YongHyeon PYUN wrote: > > On Mon, Oct 03, 2011 at 04:06:18PM -0700, Sean Bruno wrote: > >> On Mon, 2011-10-03 at 15:30 -0700, David Christensen wrote: > >> > > > > I should probably say, this

Re: bce(4) with IPMI

2011-10-07 Thread YongHyeon PYUN
On Fri, Oct 07, 2011 at 01:11:50PM -0700, Sean Bruno wrote: > On Fri, 2011-10-07 at 12:11 -0700, YongHyeon PYUN wrote: > > > What's even more strange is that our freebsd6 instances don't have > > this > > > problem. > > > > > > > Can't explain either but probably stable/6 bce(4) may have used o

Re: bce(4) with IPMI

2011-10-07 Thread Sean Bruno
On Fri, 2011-10-07 at 12:11 -0700, YongHyeon PYUN wrote: > > What's even more strange is that our freebsd6 instances don't have > this > > problem. > > > > Can't explain either but probably stable/6 bce(4) may have used old > firmware. Ok, I can once again reach the IPMI controller if I remov

Re: bce(4) with IPMI

2011-10-07 Thread Arnaud Lacombe
Hi, On Fri, Oct 7, 2011 at 3:11 PM, YongHyeon PYUN wrote: > On Mon, Oct 03, 2011 at 04:06:18PM -0700, Sean Bruno wrote: >> On Mon, 2011-10-03 at 15:30 -0700, David Christensen wrote: >> > > > > I should probably say, this is freebsd7.  So I'll peruse the >> > > changelogs >> > > > > and see if 7

Re: bce(4) with IPMI

2011-10-07 Thread YongHyeon PYUN
On Mon, Oct 03, 2011 at 04:06:18PM -0700, Sean Bruno wrote: > On Mon, 2011-10-03 at 15:30 -0700, David Christensen wrote: > > > > > I should probably say, this is freebsd7. So I'll peruse the > > > changelogs > > > > > and see if 7 is missing something here. > > > > > > > > > > sean > > > > > > >

Re: bce(4) with IPMI [puzzling and puzzling]

2011-10-07 Thread YongHyeon PYUN
On Fri, Oct 07, 2011 at 09:23:30AM -0700, Sean Bruno wrote: > > > > > bce0@pci0:1:0:0:class=0x02 card=0x028c1028 chip=0x163b14e4 > > rev=0x20 hdr=0x00 > > vendor = 'Broadcom Corporation' > > class = network > > subclass = ethernet > > bce1@pci0:1:0:1:cla

Re: bce(4) with IPMI [puzzling and puzzling]

2011-10-07 Thread Sean Bruno
> > bce0@pci0:1:0:0:class=0x02 card=0x028c1028 chip=0x163b14e4 > rev=0x20 hdr=0x00 > vendor = 'Broadcom Corporation' > class = network > subclass = ethernet > bce1@pci0:1:0:1:class=0x02 card=0x028c1028 chip=0x163b14e4 > rev=0x20 hdr=0x00 > vendor

Re: bce(4) with IPMI [puzzling and puzzling]

2011-10-06 Thread Sean Bruno
On Thu, 2011-09-29 at 10:01 -0700, Sean Bruno wrote: > We've been getting reports of odd behavior on our Dell R410 machines > when trying to use IPMI. The servers have two NIC's that we have > assigned as the IPMI interface(bce0) and production interface(bce1) > respectively. > > Since we don't a

RE: bce(4) with IPMI

2011-10-03 Thread Sean Bruno
On Mon, 2011-10-03 at 15:30 -0700, David Christensen wrote: > > > > I should probably say, this is freebsd7. So I'll peruse the > > changelogs > > > > and see if 7 is missing something here. > > > > > > > > sean > > > > > > commenting this change out seems to be helping quite a bit with my > > > i

Re: bce(4) with IPMI

2011-09-29 Thread Sean Bruno
On Thu, 2011-09-29 at 17:53 -0700, Sean Bruno wrote: > On Thu, 2011-09-29 at 12:10 -0700, Sean Bruno wrote: > > On Thu, 2011-09-29 at 10:01 -0700, Sean Bruno wrote: > > > We've been getting reports of odd behavior on our Dell R410 machines > > > when trying to use IPMI. The servers have two NIC's

Re: bce(4) with IPMI

2011-09-29 Thread Sean Bruno
On Thu, 2011-09-29 at 12:10 -0700, Sean Bruno wrote: > On Thu, 2011-09-29 at 10:01 -0700, Sean Bruno wrote: > > We've been getting reports of odd behavior on our Dell R410 machines > > when trying to use IPMI. The servers have two NIC's that we have > > assigned as the IPMI interface(bce0) and pro

Re: bce(4) with IPMI

2011-09-29 Thread Sean Bruno
On Thu, 2011-09-29 at 16:48 -0700, Matthew Franz wrote: > I have a pair of brand new R410's I've been using for CARP+PFSYNC > pair. I believe the LOM was disabled by default and have not tried to > use it, IIRC. Been using bce0 as the outside interface with no issues > and bce1 as the sync >

Re: bce(4) with IPMI

2011-09-29 Thread Matthew Franz
I have a pair of brand new R410's I've been using for CARP+PFSYNC pair. I believe the LOM was disabled by default and have not tried to use it, IIRC. Been using bce0 as the outside interface with no issues and bce1 as the sync I'm running FreeBSD 8.2 though. I can get more details about the ha

Re: bce(4) with IPMI

2011-09-29 Thread Sean Bruno
On Thu, 2011-09-29 at 10:01 -0700, Sean Bruno wrote: > We've been getting reports of odd behavior on our Dell R410 machines > when trying to use IPMI. The servers have two NIC's that we have > assigned as the IPMI interface(bce0) and production interface(bce1) > respectively. > > Since we don't a

Re: bce(4) with IPMI

2011-09-29 Thread Sean Bruno
On Thu, 2011-09-29 at 11:27 -0700, Miroslav Lachman wrote: > Sean Bruno wrote: > > We've been getting reports of odd behavior on our Dell R410 machines > > when trying to use IPMI. The servers have two NIC's that we have > > assigned as the IPMI interface(bce0) and production interface(bce1) > > r

Re: bce(4) with IPMI

2011-09-29 Thread Miroslav Lachman
Sean Bruno wrote: We've been getting reports of odd behavior on our Dell R410 machines when trying to use IPMI. The servers have two NIC's that we have assigned as the IPMI interface(bce0) and production interface(bce1) respectively. Since we don't actually configure bce0 in FreeBSD, we've foun