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

    Intel X520-DA2, kernel: CRITICAL: ECC ERROR!! Please Reboot!!

    Scheduled Pinned Locked Moved Hardware
    60 Posts 13 Posters 29.4k 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.
    • ?
      Guest
      last edited by

      have you tried rebooting?

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

        @cmb:

        I've seen that too on one of our test systems. Haven't seen it on any production systems yet. I'm not sure what it means, haven't had time to look into it in much depth yet. -RELEASE wouldn't be any different, the driver didn't change since pre-RC2.

        Even though it doesn't help me, your post gave me more information than google.  :)

        I have commercial support, so i'll ask "the guys" and see what they have to say.

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

          @gonzopancho:

          have you tried rebooting?

          Haven't we all?

          1 Reply Last reply Reply Quote 0
          • G
            gaulfinger
            last edited by

            I have two pfsense test units with 10Gb-Base-LR Intel cards. Neither had this error on 2.03. Both started after the 2.1-RELEASE upgrade.

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              For those seeing this error, do the NICs actually function when they hit this error? Or do they stop passing traffic?

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • W
                wladikz
                last edited by

                Hi,

                NICs are working but some problem with MBUF reuse. i have 2 firewalls with x520-DA2 and x540-T2 cards that crash every 8 hours after MBUFs hit 100%.
                i have 512000 MBUFs defined on each system. i need to find solution for this problem ASAP.

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

                  Hmm, I also get this error with a X520-DA2 on an IBM box after updating to 2.1.
                  I upgraded from a -RC0 around July, that was before the last ixgbe Update before shipping -RELEASE
                  I have the VLAN fix as per wiki documentation.

                  I'll have some chances to beat that thing a little bit and see how the MBUFs develop.
                  Otherwise I'll have to presto go back to 2.1-RC0 which was rock-solid (sorry to say I wasn't able to give -RC1/2 any beating) :-\

                  Update: I might give the .ko module from FreeBSD 8.3 or 8.4 a try - as workaround - since my RC0 at least shipped the version that was (almost) equivalent to what went into 8.4.

                  1 Reply Last reply Reply Quote 0
                  • W
                    wladikz
                    last edited by

                    @MatSim:

                    Hmm, I also get this error with a X520-DA2 on an IBM box after updating to 2.1.
                    I upgraded from a -RC0 around July, that was before the last ixgbe Update before shipping -RELEASE
                    I have the VLAN fix as per wiki documentation.

                    I'll have some chances to beat that thing a little bit and see how the MBUFs develop.
                    Otherwise I'll have to presto go back to 2.1-RC0 which was rock-solid (sorry to say I wasn't able to give -RC1/2 any beating) :-\

                    Update: I might give the .ko module from FreeBSD 8.3 or 8.4 a try - as workaround - since my RC0 at least shipped the version that was (almost) equivalent to what went into 8.4.

                    can you upload your .ko module? i'll try to see if the mbuf problem exists or not

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

                      Hi all

                      While it's certainly not great to see that this issue slipped into 2.1-RELEASE I've heard from ESF crew, that they are actively working on a fix for this issue. If you want to join forces, offer them some of your support hours so they can work for this on paid basis. Anyhow, my not-so quick fiddlings on my part:

                      • The plain, but old ixgbe 2.4.5 from 8.3-RELEASE works with the X520-DA2 I have here.

                      • An experiment with 8.3's source tree + cherry-picks of 8.4's ixgbe paniced about at the level of boot comand disabling the VLAN filter (that was needed since RC0 for VLANs)

                      You can get the modules that I tried on my box here: http://id.gymkl.ch/pfsense/ixgbe
                      That said: This all is not endorsed by ESF crew or anyone else (not even myself). This may, or may not cause problems on your systems, nonetheless, if you are brave give it a try for workaround.

                      
                      # On the pfSense shell
                      cd /boot/kernel
                      fetch http://id.gymkl.ch/pfsense/ixgbe/ixgbe2.4.5-fbsd8.3-amd64.ko
                      chmod 555 ixgbe2.4.5-fbsd8.3-amd64.ko
                      
                      

                      Afterwards you add the following line to your /boot/loader.conf.local and then reboot the system:

                      
                      ixgbe2.4.5-fbsd8.3-amd64_load="YES"
                      
                      

                      You should see the ixgbe 2.4.5 version being loaded in /var/log/dmesg.boot afterwards.

                      1 Reply Last reply Reply Quote 0
                      • W
                        wladikz
                        last edited by

                        hi,

                        As i remember ixgbe version 2.4.5 has problems with VLANs. can some one check?

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

                          I have a couple of VLANs on one of my ix interfaces, yes they do work without hickups here as for now. fingers crossed

                          You can easily check if VLANs are passing through when you fire up a 'tcpdump -i ix<number>_vlan<id>'. If you only see traffic on ix<number>, but not on the VLAN interface then you may want to give that VLAN hw filter a try like it is found on the wiki documentation. I currently have that set from -RC0 times.

                          Although remember this was not required until some builds that brough newer ixgbe drivers with lat BETA and RC builds. I also have followed Intels ixgbe instructions for loader.conf(.local) for the mbufs where they recommend larger nmbcluster than for the 1GE models. The num_queues options was select to 4 since this system has 4 cores / 4 threads so it can use up to 4 queues not use more (and possibly exhaust CPU capacity).

                          
                          kern.ipc.nmbclusters=262144
                          kern.ipc.nmbjumbop=262144
                          hw.ixgbe.num_queues="4"
                          ixgbe2.4.5-fbsd8.3-amd64_load="YES"
                          
                          ```</number></id></number>
                          1 Reply Last reply Reply Quote 0
                          • W
                            wladikz
                            last edited by

                            hi,

                            2.4.5 don't support one of  my 10G cards  :'( Can some one to compile 2.5.1 or 2.5.8?

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

                              Try 2.5.0 that is uploaded alongside, but as said.

                              It made my box panic, but it may work for you, give it a try.

                              It is line by line the same code as is in 8.4 and 8-STABLE.

                              1 Reply Last reply Reply Quote 0
                              • W
                                wladikz
                                last edited by

                                i'll try to set my own build environment for 2.1 and i'll try to build

                                1 Reply Last reply Reply Quote 0
                                • rbgargaR
                                  rbgarga Developer Netgate Administrator
                                  last edited by

                                  I built a new 2.5.15 driver, with some fixes. Could you try it and let me know how it goes?

                                  You can get it at http://files.pfsense.org/garga/ixgbe_modules/2.1/

                                  Just put the ixgbe.ko at /boot/modules and add the following line to /boot/loader.conf.local

                                  ixgbe_load="YES"

                                  Best regards

                                  Renato Botelho

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    wladikz
                                    last edited by

                                    @Renato:

                                    I built a new 2.5.15 driver, with some fixes. Could you try it and let me know how it goes?

                                    You can get it at http://files.pfsense.org/garga/ixgbe_modules/2.1/

                                    Just put the ixgbe.ko at /boot/modules and add the following line to /boot/loader.conf.local

                                    ixgbe_load="YES"

                                    Best regards

                                    can you post also fixes?

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      wladikz
                                      last edited by

                                      @Renato:

                                      I built a new 2.5.15 driver, with some fixes. Could you try it and let me know how it goes?

                                      You can get it at http://files.pfsense.org/garga/ixgbe_modules/2.1/

                                      Just put the ixgbe.ko at /boot/modules and add the following line to /boot/loader.conf.local

                                      ixgbe_load="YES"

                                      Best regards

                                      system crashed  :'(

                                      crashreport.txt

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

                                        Thanks Renato, although wladikz wasn't really lucky, it though seems that there are either different X520-DA2 revisions in the wild or he has another ix card.

                                        I'll give that module tomorrow a try. At least 2.4.5 - if it recognizes the card - seems to work for "older" cards by now.

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

                                          Hi renato, thank you for your efforts, but unfortunately I have the same issue as wladikz and had to revert to 2.4.5:

                                          • The system boots and loads 2.5.15
                                          • Seems to go until NIC initialization (post-kernel stuff, pfSense outputs) and panics

                                          -> I've uploaded the crash log through the Web-UI if that helps and additionnaly to help identify potentially different boards, here is both pciconf and dmesg.boot outputs:

                                          
                                          ix0@pci0:17:0:0:        class=0x020000 card=0x7a128086 chip=0x10fb8086 rev=0x01 hdr=0x00
                                              class      = network
                                              subclass   = ethernet
                                          ix1@pci0:17:0:1:        class=0x020000 card=0x7a128086 chip=0x10fb8086 rev=0x01 hdr=0x00
                                              class      = network
                                              subclass   = ethernet
                                          
                                          

                                          dmesg.boot

                                          
                                          ix0: <intel(r) pro="" 10gbe="" pci-express="" network="" driver,="" version="" -="" 2.4.5="">port 0x2fc0-0x2fdf mem 0x91200000-0x912fffff,0x910fc000-0x910fffff irq 32 at device 0.0 on pci17
                                          ix0: Using MSIX interrupts with 5 vectors
                                          ix0: [ITHREAD]
                                          ix0: [ITHREAD]
                                          ix0: [ITHREAD]
                                          ix0: [ITHREAD]
                                          ix0: [ITHREAD]
                                          ix0: PCI Express Bus: Speed 5.0Gb/s Width x8
                                          ix1: <intel(r) pro="" 10gbe="" pci-express="" network="" driver,="" version="" -="" 2.4.5="">port 0x2fe0-0x2fff mem 0x91100000-0x911fffff,0x910f8000-0x910fbfff irq 36 at device 0.1 on pci17
                                          ix1: Using MSIX interrupts with 5 vectors
                                          ix1: [ITHREAD]
                                          ix1: [ITHREAD]
                                          ix1: [ITHREAD]
                                          ix1: [ITHREAD]
                                          ix1: [ITHREAD]
                                          ix1: PCI Express Bus: Speed 5.0Gb/s Width x8</intel(r)></intel(r)> 
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • rbgargaR
                                            rbgarga Developer Netgate Administrator
                                            last edited by

                                            Hello guys,

                                            Since I don't have hardware I cannot test the patches, but, I found 2 merge issues that were ending with duplicate code. So I did the merge again, revision by revision, and built a module for any of following versions:

                                            2.5.0-8
                                            2.5.7
                                            2.5.8
                                            2.5.13
                                            2.5.15

                                            This 2.5.15 is different from the old one I posted here few days ago.

                                            I built versions >= 2.5.13 with IXGBE_LEGACY_TX option defined to make it work with ALTQ.

                                            You can find all these versions at:

                                            http://files.pfsense.org/garga/ixgbe_modules/2.1/

                                            Please let me know the results when you are able to test it.

                                            Renato Botelho

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