Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Need help building module for broadcom 5719

    Scheduled Pinned Locked Moved Development
    22 Posts 7 Posters 8.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      shikka
      last edited by

      Ok here we are

      vmstat -i before
      irq256: bge0    2          0
      irq257: bge1    642      1

      vmstat -i after
      irq256: bge0    2          0
      irq257: bge1    937      1

      i'am not familiar with this, but for me it seems like there is no interrupt throughput.

      I've tried the snapshot from 2013-04-21 where the patch was active and it worked.

      1 Reply Last reply Reply Quote 0
      • T
        tuyan
        last edited by

        Hi,

        I have a new set of patches from stable 8, and i am currently testing them with 5719 and 5720 .
        I will attach them here once the testing is done.

        Thanks.

        1 Reply Last reply Reply Quote 0
        • S
          shikka
          last edited by

          sounds good
          if you need help to test let me know

          Thanks

          1 Reply Last reply Reply Quote 0
          • T
            tuyan
            last edited by

            Could you guys please test these ? I am seeing excessive mbuf usage on an R420, maybe i am missing something.

            http://www.4inarow.net/pfsense/bge.zip

            you need to extract the zip under from-8-STABLE directory, and add

            -p1from-8-STABLE/bge/if_bge.c.patch~
            -p1
            from-8-STABLE/bge/if_bgereg.h.patch~
            -p1from-8-STABLE/bge/mii_brgphy.c.patch~
            -p1
            from-8-STABLE/bge/pcireg.h.patch~
            -p1~~from-8-STABLE/bge/pcireg.h.2.patch~

            to patches.RELENG_8_3 file.

            1 Reply Last reply Reply Quote 0
            • S
              shikka
              last edited by

              Hi,

              sorry had some trouble with my build environment.

              The result:

              fresh boot:  16% (4182/25600)
              

              will report after a few tests.

              Thanks

              
              01 Hour 18% (4726/25600)
              ITEM                     SIZE     LIMIT      USED      FREE  REQUESTS  FAILURES
              mbuf_packet:              256,        0,     2048,     1536,   226584,        0
              mbuf:                     256,        0,       12,     1279,   314311,        0
              mbuf_cluster:            2048,    25600,     3585,     1141,    27111,        0
              mbuf_jumbo_page:         4096,    12800,        0,      119,     6973,        0
              mbuf_jumbo_9k:           9216,     6400,        0,        0,        0,        0
              mbuf_jumbo_16k:         16384,     3200,        0,        0,        0,        0
              mbuf_ext_refcnt:            4,        0,        0,        0,        0,        0
              
              
              
              02 Hours: 18% (4726/25600)
              ITEM                     SIZE     LIMIT      USED      FREE  REQUESTS  FAILURES
              mbuf_packet:              256,        0,     2048,     1536,   338428,        0
              mbuf:                     256,        0,       14,     1277,   429467,        0
              mbuf_cluster:            2048,    25600,     3585,     1141,    35477,        0
              mbuf_jumbo_page:         4096,    12800,        0,      119,     8797,        0
              mbuf_jumbo_9k:           9216,     6400,        0,        0,        0,        0
              mbuf_jumbo_16k:         16384,     3200,        0,        0,        0,        0
              mbuf_ext_refcnt:            4,        0,        0,        0,        0,        0
              
              
              
              5hour: 19% (4854/25600)
              mbuf_packet:              256,        0,     2048,     1664,   903442,        0
              mbuf:                     256,        0,       13,     1270,  1163233,        0
              mbuf_cluster:            2048,    25600,     3713,     1141,    75512,        0
              mbuf_jumbo_page:         4096,    12800,        0,      119,    11718,        0
              mbuf_jumbo_9k:           9216,     6400,        0,        0,        0,        0
              mbuf_jumbo_16k:         16384,     3200,        0,        0,        0,        0
              mbuf_ext_refcnt:            4,        0,        0,        0,        0,        0
              
              
              1 Reply Last reply Reply Quote 0
              • T
                tuyan
                last edited by

                Are you able to use all of the ports on the card ? On dell R420, I was having DMA timeouts up until patched the kernel to increase the ata request timeout.

                1 Reply Last reply Reply Quote 0
                • S
                  shikka
                  last edited by

                  At the moment I use 3 ports without any DMA timeouts. Can try the 4th port tomorrow, when I have patched one more line.

                  4 Ports no problems :-)
                  mbuf is constant

                  1 Reply Last reply Reply Quote 0
                  • T
                    tuyan
                    last edited by

                    Perfect. on my local tests, i see about 984Mbps of throughput on a single port wan. And ~1.94 Gbps on 2 ports bridged on the lan side.

                    Ok. Is there any possibility to see what were the issues in operation with the previous backport? If we can verify those , i can send a pull request to repo for these patches.

                    1 Reply Last reply Reply Quote 0
                    • S
                      shikka
                      last edited by

                      Sounds great.

                      http://forum.pfsense.org/index.php/topic,63484.0.html

                      Unfortunately I have no intel network card  to test.

                      1 Reply Last reply Reply Quote 0
                      • D
                        DJP
                        last edited by

                        Hello,

                        I'm interested to have a pfsense release with BCM5719 working. How can I do since the current release doesn't seems to be compatible ?

                        Thanks,
                        Regards,

                        1 Reply Last reply Reply Quote 0
                        • S
                          shikka
                          last edited by

                          Hi,
                          sorry for the delay. You can compile a pfsense iso with the diffs from tuyan (http://www.4inarow.net/pfsense/bge.zip). Works for me.

                          1 Reply Last reply Reply Quote 0
                          • D
                            DJP
                            last edited by

                            Hi,

                            Is there a way to upload your compiled iso ? I don't have the environment to recompile the iso and i'm not sure how to do it :-(

                            I can provide an FTP or smth if you want…

                            Many thanks.

                            1 Reply Last reply Reply Quote 0
                            • S
                              shikka
                              last edited by

                              Have fun  :)

                              http://www.share-online.biz/dl/OQ4XR5YM8N3C

                              1 Reply Last reply Reply Quote 0
                              • D
                                DJP
                                last edited by

                                Hi Santa Shikka, :)

                                Oh many many thanks. I'll try this out asap !

                                Regards,

                                1 Reply Last reply Reply Quote 0
                                • B
                                  BKAS2014
                                  last edited by

                                  Thank you very much for this image.

                                  Now i can install pfsense on our Dell R320 Servers.

                                  The only Problem i have, that i cant update to a snapshot version 2.1.1

                                  I hope the broadcom drivers will be included in another release.

                                  Kind Regards

                                  Boris

                                  PS.: Sorry for the poor English :-)

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    fernandopsilveira
                                    last edited by

                                    Hi! I'm also having this issue with Broadcom BCM5719/BCM5720. I would like to try shikka's build, but link is broken.

                                    Could someone please upload it again?  :D
                                    Thank you!!

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      charliem
                                      last edited by

                                      If you are experimenting, why not try a 2.2 alpha snapshot, and report any problems you have, rather than backporting a driver to 2.1.x?  FreeBSD 10.0 used in pfSense 2.2 should have the newer bge chipsets supported.

                                      Also, even if someone does have the iso you referenced, a link to a user-compiled iso will not last long in this forum, given the recent crackdowns on pfSense development in the wild.

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        fernandopsilveira
                                        last edited by

                                        Unfortunatelly I'm stucked on pfSense 2.1 right now.  :-\

                                        It would be great if someone could at least republish tuyan's patches, since the given link (http://www.4inarow.net/pfsense/bge.zip) is broken…  :P

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          fernandopsilveira
                                          last edited by

                                          Finally!  :D
                                          I was able to build BCM5719/BCM5720 drivers (both 32-bit and 64-bit) using pfsense-tools RELENG_2_1 patches, no need for any additional patches. If someone need those drivers, just PM me ;)

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            mirage22
                                            last edited by

                                            I know this is off topic. But does this device support inline IPS?

                                            Also do you know where can I get updated firmware for this device.

                                            Thanks in advance!

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.