BCM5720 Status

Is there an update on the driver for the BCM5720?
We just got a R720 from Dell and need to get the driver update to run FreeBSD 9.0.
 
chodong said:
Is there an update on the driver for the BCM5720?
We just got a R720 from Dell and need to get the driver update to run FreeBSD 9.0.
If you update your kernel sources with net/cvsup or csup(1), rebuld the kernel and reboot, does it work?

If not, post the output from # pciconf -l | grep 14e4. (14e4 is Broadcom's PCI vendor ID.) The bge(4) maintainer, yongari@, does seem to follow this forum and can probably help.
 
Thank you Terry for the reply.

Initially the four NIC ports were not recognized with the release of FreeBSD 9.0 so I simply got the latest copies of the bge driver and made a kernel.

This kernel was able to detect the BCM5720 NIC's four ports but I got NMI errors when I tried to ifconfig the ports.

I can certainly understand that there may be other files required.

I will update my kernel sources and try again.
 
Chodong,

Are you successful in making the driver work? Can you share the steps you carried out for making that driver work?
 
Still no luck.

All four NIC ports are detected at boot time but I am unable to [font="Courier New"]ifconfig[/font] any port.

I get the following error messages:

Code:
NMI ... going to debugger[/font] ->repeated four times
kernel: NMI ISA 20, EISA ff

I did the following:

Code:
# svn checkout svn://svn.freebsd.org/base/stale/9/ /usr/src
# cd /usr/src
# make buildworld
# make buildkernel KERNCONF=GENERIC
# cd release
# make release
I then burnt a CD and booted/installed from it.

The following is the output of
[cmd=]# pciconf -l | grep 14e4[/cmd]

Code:
bge0@pci0:2:0:0      class=0x020000 card=0x1f5b1028 chip=0x165f14e4 rev=0x00 hdr=0x00
bge1@pci0:2:0:1      class=0x020000 card=0x1f5b1028 chip=0x165f14e4 rev=0x00 hdr=0x00
bge2@pci0:1:0:0      class=0x020000 card=0x1f5b1028 chip=0x165f14e4 rev=0x00 hdr=0x00
bge3@pci0:1:0:1      class=0x020000 card=0x1f5b1028 chip=0x165f14e4 rev=0x00 hdr=0x00

I don't know what I did wrong presuming the BCM5720 driver works.

If anyone has any ideas please let me know.
 
I got his reply to a query on the Broadcom web site.


Support from FreeBSD comes from the open source community. The bge(4) driver in HEAD supports the BCM5720 but does not work correctly on the Dell R720 systems due to support for iDRAC on the Dell systems. Driver changes have been submitted for HEAD for the Dell R720 but have not been added to head or back ported to 9.0. Hopefully the changes to HEAD will be available in the next few days.

Dave

Can the maintainer of this driver comment on the status of the integration of the R720 support for iDRAC?

Availability within the next few days would be really sweet.
 
Yongari,

I request you to help us with the driver and speed up your testing as I have no other option than Broadcom NIC. Hope you will understand and thanks a lot for the heads-up!

Sorry if I am just being curious, can I download the patch and test it from my end too?
 
Thanks for sharing the experimental driver even when you are busy with your job.
May I know the expected time you gonna finish up with stable driver?

I always enjoy playing around FreeBSD but unable to get my NIC work and this has really made me stuck.
Please help me with the fix soon.I have been watching this space everyday since a week.
 
Yongari,

I am using the RELEASE version of FreeBSD (I wonder if that will matter?).
Code:
freebsd9_0# uname -arn
FreeBSD freebsd9_0 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     
root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
Where can I download stable version?

I tried replacing if_bge.c and if_bgereg.h to the /usr/src/sys/dev/bge directory. Also, I replaced the downloaded brgphy under the mii directory with this new one. When I tried running:

Code:
#cd /usr/src
#make buildkernel KERNCONF=GENERIC

It threw these errors:

Code:
/usr/src/sys/dev/mii/brgphy.c:147: error: 'MII_MODEL_BROADCOM3_BCM5720C' undeclared here (not in a function)
/usr/src/sys/dev/mii/brgphy.c:147: error: 'MII_STR_BROADCOM3_BCM5720C' undeclared here (not in a function)
/usr/src/sys/dev/mii/brgphy.c:149: error: 'MII_MODEL_BROADCOM3_BCM57780' undeclared here (not in a function)
/usr/src/sys/dev/mii/brgphy.c:149: error: 'MII_STR_BROADCOM3_BCM57780' undeclared here (not in a function)
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Any idea what could be the issue?
 
You're using 9.0-RELEASE. As I said, you need latest 9-stable or CURRENT to build the driver. There were lots of mii(4) changes.
 
Yongari,

Oh..I was little late to respond to you. I have understood that I need to make it to RELENG_9 (STABLE) through my CVSUP. I have started with the upgrading. Will let you know the result.
 
Hi Yongari,

My company just purchased some Dell R720's with built-in BCM5720 NICs. Do you have any update on the development of the drivers?

Thanks!
 
Driver is working !!!

I created a CVSRepo for RELENG_9 and included your driver. It's working like a charm.
Thanks a lot.
 
Does RELENG_9 contain any updates from the files uploaded by yongari? If I do anything other than a ping bge reports a
Code:
watchdog timeout -- resetting
error.
 
The new driver does not work.

It is only successful at ping 90% of the time and then the error "network is unreachable" occurs.

Please provide an update and an ETA for the complete driver.
 
chodong said:
The new driver does not work.

It is only successful at ping 90% of the time and then the error "network is unreachable" occurs.

Please provide an update and an ETA for the complete driver.
I realize this is causing problems for you. However, as far as I know, yongari@ is a volunteer (as are most FreeBSD developers) and not a Broadcom or Dell employee. I've found him to be quite responsive to problem reports. Of course, the more information that's provided, the easier it is to track down the underlying problem.

As a user-to-user suggestion, you might want to re-word your message to something like "I'm still having issues with the BCM5720 card. I'm seeing about a 10% packet loss rate, accompanied by 'network is unreachable' messages. What information should I collect to help you troubleshoot this issue?"

Some things I might try while waiting for a response are:

  • Is there a pattern to the 10% loss?
  • Does varying the packet size change the loss rate?
  • Do ierrs or oerrs show up in # netstat -iIf so, one per dropped packet, or more?
  • Does the BCM5720 work successfully under some other operating system? (Boot from a LiveCD or the Broadcom diagnostic to rule out defective hardware.)
If it is critical to get this system into production and you have an open slot, you might want to consider adding a network card with known driver support (I'm using both Intel em(4) and Broadcom bce(4)/bge(4) cards with success). If the BCM5720 you're having the issue with is on an add-in card, you might just try swapping the card. But I'm guessing it is built onto the R720 mainboard.
 
Terry,

Thank you for your input. I understand the situation quite well.

That the card won't ping is not a complex bug that is difficult to track. We are talking basics here.

I appreciate very much Yongari's volunteering of his time and if I were a network driver developer I would jump in
to help.

I hope there are others that might do so as the R720 is a popular platform and the BCM720 is the default LOM NIC.

I am currently running on dual-port NICs but this configuration cannot be delivered as a beta platform.

Please appreciate that I have project commitments to meet as well and that the cost of purchasing a dozen enterprise class quad-port NICs is not insignificant.

Having committed to FreeBSD I am in a difficult situation when a NIC driver is blocking my progress and the customer delivery looms ever closer.
 
Sorry for late reply. I didn't forget this issue and I didn't give up either.
The experimental driver posted in above URL shows mixed results. It does not seem to work on Dell R720/R620 but I was told the driver works on Dell R420/R320(newer Dell model).
It seems there is some hardware differences on R720/R620 so it would be more helpful to know what is happening on these boxes. If one of R720/R620 owners can setup a remote debugging environments for me it would help a lot to find root cause.
See the following URL for possible remote debugging setup. If you have resources for remote debugging, please send private mail to yongari@FreeBSD.org
http://people.freebsd.org/~yongari/remote_debugging.txt
 
I built a new FreeBSD 9.0 with the experimental driver submitted by you. I installed on R720 and things are working fine for me. I have not testing it yet.

I have those servers(R720/R620) in labs but it is not open to outside world.
We need some volunteer to provide access to Yongari so that he can perform the testing.

I am keen on seeing matured product in this aspect, rather than experimental.
 
Back
Top