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

In/Out errors :(

Scheduled Pinned Locked Moved Wireless
97 Posts 27 Posters 79.7k 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.
  • C
    covex
    last edited by Mar 3, 2008, 6:32 AM

    hey guys!
    why would i have my in errors skyrocketing and our errors stay at the same level?
    see attach…
    tnx

    1.JPG
    1.JPG_thumb

    1 Reply Last reply Reply Quote 0
    • N
      neonsigns
      last edited by Mar 4, 2008, 12:01 AM

      @ermal:

      can you please try by forcing the media manually?

      ermal, how do I do that?

      My loader.conf does not have kern.ipc.nmbclusters="0". What does this setting do?

      1 Reply Last reply Reply Quote 0
      • L
        lsf
        last edited by Mar 4, 2008, 8:52 AM

        [20070116, update 20070212] Systems with very heavy network activity have been observed to have some problems with the kernel memory allocator. Symptoms are processes that get stuck in zonelimit state, or system livelocks. One partial workaround for this problem is to add the following line to /boot/loader.conf and reboot:

        kern.ipc.nmbclusters="0"

        Setting this to 0 removes the max limit on allocating nmbclusters, this can be a problem if you have very large amounts of connections and not a lot of memory, So use it with caution.

        -lsf

        1 Reply Last reply Reply Quote 0
        • N
          neonsigns
          last edited by Mar 4, 2008, 2:39 PM

          I set the media to OFDM/54Mbps 11g and the kern.ipc.nmbclusters="32768" but I am still getting "In" errors and random disconnections.

          1 Reply Last reply Reply Quote 0
          • F
            firestar
            last edited by Mar 4, 2008, 6:40 PM

            @neonsigns:

            but I am still getting "In" errors and random disconnections.

            Same problem. Is it ok for a wireless interface?
            How does pfSense get those data (in/out errors displayed in Status-Interfaces)? What is the equivalent command from the shell?

            Thanks

            1 Reply Last reply Reply Quote 0
            • N
              neonsigns
              last edited by Mar 5, 2008, 2:29 AM

              @firestar:

              @neonsigns:

              but I am still getting "In" errors and random disconnections.

              Same problem. Is it ok for a wireless interface?
              How does pfSense get those data (in/out errors displayed in Status-Interfaces)? What is the equivalent command from the shell?

              Thanks

              Don't know what is causing the errors. Athstats shows that the two biggest errors are:

              "rx failed 'cuz of FIFO overrun" and "beacon setup failed 'cuz no mbuf"

              Anyone have any insights?

              1 Reply Last reply Reply Quote 0
              • B
                bardelot
                last edited by Mar 8, 2008, 5:38 PM

                Same problem here, very high "in errors" rate.

                Compex WLM54SAG 200mW (Chipset should be Atheros AR5414)

                Tried increasing the hw.ath.txbuf and hw.ath.rxbuf but it wouldn't help.

                $ sysctl -a | grep ath.0
                dev.ath.0.%desc: Atheros 5212
                dev.ath.0.%driver: ath
                dev.ath.0.%location: slot=12 function=0
                dev.ath.0.%pnpinfo: vendor=0x168c device=0x001b subvendor=0x168c subdevice=0x2062 class=0x020000
                dev.ath.0.%parent: pci0
                dev.ath.0.smoothing_rate: 95
                dev.ath.0.sample_rate: 10
                dev.ath.0.countrycode: 0
                dev.ath.0.regdomain: 0
                dev.ath.0.slottime: 9
                dev.ath.0.acktimeout: 23
                dev.ath.0.ctstimeout: 23
                dev.ath.0.softled: 0
                dev.ath.0.ledpin: 0
                dev.ath.0.ledon: 0
                dev.ath.0.ledidle: 270
                dev.ath.0.txantenna: 1
                dev.ath.0.rxantenna: 1
                dev.ath.0.diversity: 0
                dev.ath.0.txintrperiod: 5
                dev.ath.0.diag: 0
                dev.ath.0.tpscale: 1
                dev.ath.0.tpc: 1
                dev.ath.0.tpack: 63
                dev.ath.0.tpcts: 63
                dev.ath.0.monpass: 24
                
                $ sysctl hw.ath
                hw.ath.hal.swba_backoff: 0
                hw.ath.hal.sw_brt: 10
                hw.ath.hal.dma_brt: 2
                hw.ath.hal.version: 0.9.17.2
                hw.ath.txbuf: 3000
                hw.ath.rxbuf: 6000
                hw.ath.regdomain: 0
                hw.ath.countrycode: 0
                hw.ath.xchanmode: 1
                hw.ath.outdoor: 1
                hw.ath.calibrate: 30
                hw.ath.dwell: 200
                
                1 Reply Last reply Reply Quote 0
                • J
                  jjstecchino
                  last edited by Mar 29, 2008, 3:23 PM

                  Hi all,
                  I am experiencing , as many other posting in this thread, a ton of IN and some OUT error on the wireless interface.
                  Also the performance of the wireless link is sluggish at best. This is unfortunate because pfSense is such an excellent product and would be soooo nice to have an all around firewall/wireless AP working solution.
                  My setup is an alix 2c3 with a Compex WLM54G 200mW. The chipset is an atheros AR2413. I am running pfSense 1.2 release with the wireless card in AP mode, bridged to the LAN interface.

                  athstats results are similar to what has been posted by others, a ton of rx failed 'cuz FIFO buffer overrun' and many beacon setup failed 'cuz no mbuf'.

                  Changing the size of the rx and tx buffer ameliorate but does not solve the problem.

                  Reading the previous posts it is not clear if the problem we are all experiencing is related to:

                  a) setup (PC hw vs Embedded platform, mini pci/pci wireless network card).
                  b) a particular chipset or family of
                  c) configuration (Access point ?)
                  d) atheros driver support for that specific chipset/card

                  Maybe could be useful to ask people having the problem but even more useful people who are NOT experiencing the problem to specify their setup.

                  The bulk of the errors are receive FIFO buffer overrun which would indicate a problem to timely move out the receive buffer data. It would appear (since we can change the size of the buffer) that the buffer itself is a chunk of main memory allocated by the atheros driver. The inability to timely move this data from the driver allocated memory to the OS would point to a problem in the interaction between FreeBSD kernel and the ath driver however this interaction may be complicated by specific hardware issues.

                  It would be useful to know from people with working configuration, experiencing good wireless throughput and few or no errors about their setup and configuration.
                  I am convinced what we are experiencing is a ath driver issue that become evident with specific hw configurations.
                  By collecting the above info we will know what works and what doesn't. We could submit bug requests to FreeBSD however the issue will not be taken care in useful time.

                  Being pragmatic it would be easier to buy a card known to work with a specific motherboard and pfSense.

                  1 Reply Last reply Reply Quote 0
                  • F
                    firestar
                    last edited by Mar 29, 2008, 9:41 PM

                    It would be interesting to setup a FreeBSD 7.0 installation as an access point and try the wifi network for at least a week. This would ensure us it is a problem related to FreeBSD 6.x drivers or anything else in the worst case. Wifi networks are source of trouble. That's why I prefer ethernet cables, though I use pfSense as an AP and I experience this issue. :(
                    If somebody has enough knowledge to do it, do it a let us know. ;D

                    1 Reply Last reply Reply Quote 0
                    • J
                      jjstecchino
                      last edited by Mar 30, 2008, 3:41 AM

                      pfSense 1.3 should be out soon and we will be able to try freebsd 7.
                      In the meantime it would be intresting to know from whoever is not experiencing in/out errors what kind of setup they are using so we can compile a list of working/non working components. In particular it would be intresting to know about what motherboard, wireless card and pfsense version and working/non working status.

                      1 Reply Last reply Reply Quote 0
                      • K
                        KoalaTNR
                        last edited by May 1, 2008, 11:18 AM May 1, 2008, 11:16 AM

                        Hello,

                        I had the same problems.

                        Setup 1

                        Hardware: Wrap, Compex WLM54SAG23, 1 antenna
                        Software: PfSense 1.2 Release

                        iMac –> Mac OS X --> very good WLAN performance and few in/out errors
                        Dell Notebook with Intel Wlan --> Windows --> very poor WLAN performance and many in/out errors

                        In/out errors 381789/0 in one day

                        ==> with a second antenna I've the same errors.
                        ==> that's not an problem of antenna-settings but rather problem with the wlan-adapters and freebsd.

                        Setup 2

                        Hardware: Wrap, Compex WLM54SAG23, 1 antenna
                        Software: PfSense 1.2 Release (special Build that based on FreeBSD 6.3 instead 6.2)

                        iMac –> Mac OS X --> very good WLAN performance and few in/out errors
                        Dell Notebook with Intel Wlan --> Windows --> very good WLAN performance and few in/out errors

                        In/out errors 216/0 in one day (If I setup the antenna-settings correctly or connect the second antenna than I get no in/out errors)

                        The 6.3 based PfSense 1.2 can downloaded here:

                        http://cvs.pfsense.org/~sullrich/testing_images/6/FreeBSD_RELENG_6_3/pfSense_RELENG_1_2/

                        Greetings
                        Thomas

                        1 Reply Last reply Reply Quote 0
                        • C
                          covex
                          last edited by May 8, 2008, 7:10 PM

                          If I setup the antenna-settings correctly…

                          what do you mean by that? could you please post your settings here…

                          1 Reply Last reply Reply Quote 0
                          • J
                            jjstecchino
                            last edited by May 10, 2008, 12:35 AM

                            I updated to the image you suggested (released 4-10-2008), unfortunately I am having the same amount of in/out (expecially IN) errors as previously.
                            The setup is an alix board (3LAN) and the same compex card you have and 2 antennas.
                            I am glad it worked for you.

                            Johnny

                            1 Reply Last reply Reply Quote 0
                            • J
                              jjstecchino
                              last edited by May 11, 2008, 5:15 PM

                              On a positive note, after some testing, even with a large number of IN errors and few OUTt errors, wireless performance is much better, no disconnections that I can tell and fast speed. The 1.2 with FreeBSD 6.3 has made a difference.

                              Thanks

                              Johnny

                              1 Reply Last reply Reply Quote 0
                              • C
                                covex
                                last edited by May 12, 2008, 3:50 AM

                                jjstecchino, stupid question… alix-embedded... which image did you use from there

                                1 Reply Last reply Reply Quote 0
                                • G
                                  GoldServe
                                  last edited by May 15, 2008, 2:55 PM

                                  Just to report back, 6.3 freebsd based 1.2 works very well! Speed didn't get faster but no disconnections ever! Cheers!!!!!

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jjstecchino
                                    last edited by May 16, 2008, 2:23 AM

                                    @covex:

                                    jjstecchino, stupid question… alix-embedded... which image did you use from there

                                    Sorry covex, I failed to mention that I am not running the embedded image but the regular one on a microdrive.

                                    Johnny

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      MageMinds
                                      last edited by May 16, 2008, 11:07 AM

                                      @covex:

                                      jjstecchino, stupid question… alix-embedded... which image did you use from there

                                      I installed the following file onto a CF on my computer, it is the embedded version of pfSense 1.2 running on FreeBSD 6.3

                                      http://cvs.pfsense.org/~sullrich/testing_images/6/FreeBSD_RELENG_6_3/pfSense_RELENG_1_2/pfSense.img.gz

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        covex
                                        last edited by May 17, 2008, 4:25 AM

                                        MageMinds, r u sure? this image is 116MB when i'm downloading it… 0_o

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          eri--
                                          last edited by May 19, 2008, 10:52 AM

                                          Can please the users having errors say if they have traffic shaping enabled?
                                          If yes, deactivating it does make things better?

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received