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

    Installing pfSense on a Supermicro 5018A-FTN4 SuperServer

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    31 Posts 13 Posters 19.8k 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.
    • J
      jasonlitka
      last edited by

      @cfipilot:

      Have the same board and setup however when trying to boot in single user mode i get stuck at

      ACPI APIC TABLE < INTEL TIANO   >
      

      Sounds like you're trying to use one of the USB 3.0 ports.  Switch to a 2.0 port and give it another try.

      I can break anything.

      1 Reply Last reply Reply Quote 0
      • JeGrJ
        JeGr LAYER 8 Moderator
        last edited by

        Just to chime in:

        We used the values in the link above (https://forum.pfsense.org/index.php?topic=74772.msg408961#msg408961) as we have a system with a octo-core CPU and a possible second CPU socket (ATM empty) as well as 10igb NICs in the system, so we had quite a few issues booting with mbufs and queues gone completely bonkers ;)
        The values we used were taken from a redmine ticket months ago and nodded at by JimP and ChrisB in our special case. I only mentioned them for troubleshooting and diagnosis, not for general tuning :)

        Lower settings may apply for other devices (C2750 isn't quite as problematic as Xeon E5/7 we used).

        Greets

        Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

        If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

        1 Reply Last reply Reply Quote 0
        • R
          robi
          last edited by

          Two questions:

          • what's the max speed which can be achieved between two interfaces with this newer atom CPU?
          • does the I354 nic handle VLAN tagging well?

          1 Reply Last reply Reply Quote 0
          • 3
            3vian
            last edited by

            Has anyone been able to get to the console via Serial-Over-LAN? Or are we all using KVM?

            1 Reply Last reply Reply Quote 0
            • J
              jasonlitka
              last edited by

              @robi:

              Two questions:

              • what's the max speed which can be achieved between two interfaces with this newer atom CPU?
              • does the I354 nic handle VLAN tagging well?

              I haven't bothered to test more than 1Gbit/s of throughput (in one port, out the other).  The numbers I saw were close enough to line-speed that I'd say it can do at least that much.

              Yes, in as far as I've tested at home, which is to say that I have one test vLAN setup on a single port and it probably handles about 2MB of traffic a day.  It's a high-end Intel NIC.  It's fine.

              @3vian:

              Has anyone been able to get to the console via Serial-Over-LAN? Or are we all using KVM?

              I just use the KVM since I'm running a full install.

              I can break anything.

              1 Reply Last reply Reply Quote 0
              • R
                ridnhard19
                last edited by

                dogbait,

                did you have to change any settings in the bios of that board to get it to detect the drive with the ahci module? I have been unable to get my system to boot with the ahci_load line in my boot config.  I did double check the bios settings and everything looks fine from the factory for those options. I also don't see any of my drives listed when it fails to find it during boot.

                1 Reply Last reply Reply Quote 0
                • R
                  ridnhard19
                  last edited by

                  So I figured out the ahci issue when enabling trim for the SSD I was using. I attempted to use a Crucial M500 which uses a Marvell controller and no matter which settings I changed in the BIOS it refused to mount the / file system you had ahci enabled despite having the proper fstab entries.

                  I tried swapping the M500 out for a Samsung Evo 840 and it solved the problem. I was able to install then enable AHCI without any trouble.

                  Hope this helps others.

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

                    Hi cfipilot
                    Did you ever get pass that point?

                    I too get stuck at:
                    ACPI APIC Table: <intel tiano =""  ="">I first install the system the the SSD. Then I start to do the modifications. When getting to the point of logging in as single-user the system hangs at the point above. It is an Intel SATA SSD.

                    – SOLVED --

                    I could not boot the server in single-user mode, so I ended up reverting the patch that has made it difficult to enable TRIM.

                    I reverted this commit (jsut copy-pasted it back in place):
                    http://freshbsd.org/commit/pfsense/aa87bae5fc11a857c9dc7793fc4a932cc860e94a

                    Then created the file (will make the code above enable TRIM):
                    /root/TRIM_set

                    And did a reboot. That soves the "enable trim" without beeing in single-user mode..</intel>

                    1 Reply Last reply Reply Quote 0
                    • R
                      robi
                      last edited by

                      Does pfSense 2.2 run well on this?

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

                        The 2.1.5 seems to install "as is".
                        The same seems to go for 2.2…

                        You allways need to increase mbuf.

                        I have tried one upgrade from 2.1.5 to 2.2 that crashed the system and required a reinstall. So be close to your box when upgrading.

                        I have had two of these boxes running pfsense 2.2. One was (and is) running with no problems at all. The other had a serious DNS problem so clients on LAN could not resolve addresses. I think I caused the DNS error and not incompatibility between hardware and pfsense. But pay attention anyway.

                        Regarding TRIM if you use SSD then:
                        This part is tricke and could be subject to change…

                        https://forum.pfsense.org/index.php?topic=66622.msg364411#msg364411

                        Login with SSH and open the shell.
                        Run: /usr/local/sbin/ufslabels.sh
                        pres 'y' to accept

                        Add the line ahci_load="YES" to /boot/loader.conf.local
                        reboot the machine

                        ##EITHER REMOTE:
                        Revert patch by editing /root/rc
                        http://freshbsd.org/commit/pfsense/aa87bae5fc11a857c9dc7793fc4a932cc860e94a
                        Login with SSH and open the shell
                        touch /root/TRIM_set; /etc/rc.reboot
                        ##ELSE IF YOU HAVE LOCAL ACCESS
                        Login as single user and run:
                        /sbin/tunefs -t enable /
                        /etc/rc.reboot

                        Once the machine has rebooted check the status with: tunefs -p /
                        See if trim enabled is in the output

                        1 Reply Last reply Reply Quote 0
                        • R
                          ruffle
                          last edited by

                          Nice boxes and I bought a pair on the basis of this thread but the network throughput seems poor.

                          I've got two of them with CARP enabled and doing an iperf test on the CARP interfaces (igb1 on both boxes connected by a 4" cable so no switch involved) I'm only seeing ~550Mb/s (larger iperf windows don't make any difference).

                          Client connecting to 10.10.1.1, TCP port 5001
                          TCP window size: 65.0 KByte (default)
                          ------------------------------------------------------------
                          [  3] local 10.10.1.2 port 64350 connected with 10.10.1.1 port 5001
                          [ ID] Interval       Transfer     Bandwidth
                          [  3]  0.0-10.0 sec   654 MBytes   547 Mbits/sec
                          
                          

                          The NIC's are coming up at a gigabit as you'd expect:

                          
                          igb1: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
                                  options=403bb <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,jumbo_mtu,vlan_hwcsum,tso4,tso6,vlan_hwtso>ether 0c:c4:7a:32:5c:31
                                  inet6 fe80::ec4:7aff:fe32:5c31%igb1 prefixlen 64 scopeid 0x2 
                                  inet 10.10.1.1 netmask 0xffffff00 broadcast 10.10.1.255 
                                  nd6 options=21 <performnud,auto_linklocal>media: Ethernet autoselect (1000baseT <full-duplex>)
                                  status: active</full-duplex></performnud,auto_linklocal></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,jumbo_mtu,vlan_hwcsum,tso4,tso6,vlan_hwtso></up,broadcast,running,simplex,multicast> 
                          

                          I've increased the nmbclusters to 1,000,000 (as suggested on the pfSense website), tried playing with turning off TSO but never seem to see much more than half a gig.

                          I'm running pfSense 2.2.1-RELEASE (amd64), 8GB RAM and a pair of 128GB Samsung Evo pro drives in a GEOM Mirror.

                          As I have a gigabit fibre arriving in a few weeks and I've put these boxes together to replace our aging IPcop firewalls, I really would like to get them running as close to a gigabit as possible.

                          Anyone got any suggestions as to what I can try?

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

                            Don't know if this will do it. But if you use the shaper, then try to disable the "Explicit Congestion Notification". It seems to "eat" a lot of throughput in my networks at least.

                            1 Reply Last reply Reply Quote 0
                            • Q
                              q54e3w
                              last edited by

                              That's a config issue somewhere, these are capable of way greater speeds than you are seeing. dont worry, we just need to find the turbo trigger :)

                              1 Reply Last reply Reply Quote 0
                              • R
                                ruffle
                                last edited by

                                I wish I knew where this turbo trigger was!  :)

                                For fun I connected igb2 on each box as OPT2 (so there was no chance of CARP interfering) and tried iperf on that link:

                                
                                Client connecting to 10.9.8.2, TCP port 5001
                                TCP window size: 65.0 KByte (default)
                                ------------------------------------------------------------
                                [  3] local 10.9.8.1 port 54294 connected with 10.9.8.2 port 5001
                                [ ID] Interval       Transfer     Bandwidth
                                [  3]  0.0-10.0 sec   633 MBytes   531 Mbits/sec
                                
                                

                                so that's pretty much the same speed on a pair of ports being for used for nothing else than the test.

                                I also tried disabling the disabling (!) of the hardware TSO and LRO in Advanced->Networking. No difference.

                                I had ntopng installed on one of the boxes…. deleted that and no difference :(

                                MBuf usage is at 4%, CPU load near zero, 4% RAM used so the systems are basically twiddling their thumbs and doing nothing..... but they still can't pass data between themselves at gigabit speeds. I'm not using shaper.

                                Can anyone suggest what else I can try or do to get these NICs working?

                                1 Reply Last reply Reply Quote 0
                                • R
                                  ruffle
                                  last edited by

                                  Been doing some more testing and it looks like it's a packet filtering issue rather than the NICs themselves.

                                  Using my test OPT2 'network' (igb2 on both machines connected with a short cable) if I disable all packet filtering (System->Advanced->Firewall) the speed reported by iperf leaps up to 900+Mbit/s

                                  
                                  ------------------------------------------------------------
                                  Client connecting to 10.9.8.1, TCP port 5001
                                  TCP window size:  129 KByte (WARNING: requested  128 KByte)
                                  ------------------------------------------------------------
                                  [  3] local 10.9.8.2 port 65147 connected with 10.9.8.1 port 5001
                                  [ ID] Interval       Transfer     Bandwidth
                                  [  3]  0.0-10.0 sec  1.06 GBytes   912 Mbits/sec
                                  
                                  

                                  Turning off the packet filtering on just one of the two boxes doesn't improve things it has to be both.

                                  Firewall wise the packet filtering on OPT2 is simply a pass rule for everything:

                                  The systems are not heavily loaded (load average showing 0) or out of resource.

                                  Quite where this now takes me I don't know.  Turning off pfSense's packet filtering doesn't seem like a Good Move :(

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    doktornotor Banned
                                    last edited by

                                    @ruffle:

                                    Firewall wise the packet filtering on OPT2 is simply a pass rule for everything:

                                    You aware the rule does not allow any traffic, right? The rule is for traffic that's never gonna hit the firewall in the first place. Fix the destination!

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      ruffle
                                      last edited by

                                      Errr no.  ???

                                      If I disable this one and only rule on OPT2 then iperf doesn't connected on the OPT2 network.

                                      However, I've changed the destination to "OPT2 Address"…... and the Bandwidth is still ~550Mb/s unless I disable all packet filtering on both machines.

                                      How do I start debugging this? Any suggestions will be most gratefully received.

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        doktornotor Banned
                                        last edited by

                                        Your rules are completely wrong, end of story.

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          ruffle
                                          last edited by

                                          OK.  You're a Hero and I'm a pfSense newbie so I probably am doing something wrong  :) The clever bit is finding out what!

                                          What should the rule be for this test link ?
                                          NICs configured as OPT2 in two separate boxes connected back to back.
                                          Unique network IP's (10.9.8.1/24 and 10.9.8.2/24) not used in any other part of the config.

                                          For fun I changed the destination of the rule to 'any'….  no difference still ~550Mb/s :(

                                          However.... that's with one thread. Googling around I noticed a post from yourgoodself where you used multiple threads so I played with that.

                                          Two iperf threads (iperf -c 10.8.9.1 -P 2) gives results between ~550 and ~850 Mb/s. Curiously inconsistent.

                                          Push that up higher (tried up to 100 threads) and above 4(ish) threads, the max speed seems to stabilise and plateau around 950 Mb/s.

                                          Am I seeing some facet of pfSense/OpenBSD/C2758 here in that a single thread can't max out the 1Gb/s NIC ?

                                          (all of the above with packet filtering on).

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            ruffle
                                            last edited by

                                            Been doing some more testing and I'm pretty sure the network slowdown is being caused by the PFSense firewalling.

                                            I booted both PFsense boxes on Debian live usb sticks and iperf shows ~950Mb/s in both directions on the OPT2/igb2 interface… so it's not a hardware issue as such; the interfaces can run at ~1Gb/s.

                                            I booted my primary box back into PFSense and left the second PFSense box on Debian and did some more iperf tests on the dedicated OPT2 interface (igb2 with a short link cable between the boxes).

                                            Sending data from the Debian booted box into the PFSense box the speed is limited to around ~550Mb/s.

                                            Sending date from the PFsense booted box to the Debian one the speed is ~940Mb/s.

                                            So it's data coming into the PFSense box that's the problem. If I disable the PFSense firewall (in System->Advanced->Firewall->Disable Firewall) then I can send data into the PFSense box at full speed.

                                            I tried re-enabling the firewall and disabling NAT (Firewall->NAT->Disable Outbound NAT) and that made no difference... still ~550Mb/s.

                                            The firewall rules on OPT2 are a simple allow anything rule but bearing in mind doktornotor's comment I disabled my rule, ran iperf with the PFSense box as the server and then used the 'Add rule' feature' of PFSense's log to add a rule permitting iperf's traffic (as attached).

                                            No difference.... still limited to ~550Mb/s sending data into PFSense.

                                            So the bottom line is..... with firewalling enabled PFSense will not accept inbound data faster than around ~550Mb/s.

                                            Turning off the firewall on my 1Gb/s WAN port really isn't an option  :( so I'm asking for any suggestions as to what I can try to sort this out.

                                            opt3rule.jpg
                                            opt3rule.jpg_thumb

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