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

    Kernel: ath0: stuck beacon; resetting (bmiss count 4)

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    50 Posts 12 Posters 49.5k 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
      cmb
      last edited by

      It may be possible this is related to one of our mbuf patches that was reverted and deferred to a future version, I really doubt it as it would likely be universal and cause panics but it's possible, try today's snapshot or newer.

      1 Reply Last reply Reply Quote 0
      • U
        UrbanSk
        last edited by

        Hi!
        I have had this for a while also.

        Try setting hw.ath.bstuck to 8 in system/advanced/system tunables (add new row).

        I also added hw.ath.longcal  and value 30.

        For me WiFi now works better.

        /UrbanSk

        1 Reply Last reply Reply Quote 0
        • X
          xbipin
          last edited by

          i was surprised to see replies to this thread coz i just stopped getting mails regarding new posts from the forum for some reason.

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

            @xbipin:

            i was surprised to see replies to this thread coz i just stopped getting mails regarding new posts from the forum for some reason.

            Looks like the mail queue is backlogged. I'm getting the notifications, they're just extremely slow.

            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
            • S
              strumf666
              last edited by

              For me changing wifi channel worked a few times already (as I get this error from time to time).

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

                @xbipin:

                i was surprised to see replies to this thread coz i just stopped getting mails regarding new posts from the forum for some reason.

                Hmm, weird :P

                Here it seemed like I just had to choose the right settings, although I haven't got a clue which setting it might have been that solved it…
                (About the issue you created this topic for, not the email problem ;) )

                1 Reply Last reply Reply Quote 0
                • X
                  xbipin
                  last edited by

                  i was planning to post a bounty to start with $100 and mayb more ppl can contribute to it to make wireless hotspot more robust and alos get rid of these stuck beacon if any1 was willing to complete it.

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

                    Which wifi card are you using btw?

                    1 Reply Last reply Reply Quote 0
                    • X
                      xbipin
                      last edited by

                      Compex WLM54G atheros 5414 chipset but it reports as this:
                      dev.ath.0.%desc: Atheros 5413

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

                        Hmm…

                        Well, maybe this bug is fixed in a newer version of the ath(4) driver.
                        I've been told someone is working on it and also adding N support.

                        Only I don't know where to get the most recent version of this driver and how to update the one that currently comes with pfSense.

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

                          same problem here:

                          kernel: ath0: stuck beacon; resetting (bmiss count 4)

                          hardware is:

                          kernel: ath0: <atheros 5212="">mem 0xfd8f0000-0xfd8fffff irq 17 at device 1.0 on pci5
                          kernel: ath0: [ITHREAD]
                          kernel: ath0: AR2413 mac 7.9 RF2413 phy 4.5

                          Version 2.0-BETA5 (i386)
                          built on Thu Feb 24 17:17:04 EST 2011</atheros>

                          1 Reply Last reply Reply Quote 0
                          • X
                            xbipin
                            last edited by

                            probably only the devs would know i guess on how and where to get the updated drivers, i would be very much interested in it.

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

                              I asked on the FreeBSD forum, got this:

                              svn co http://svn.freebsd.org/base/head/sys/dev/ath
                              

                              But does pfSense have svn? Haven't looked at that yet…

                              • might not work if there where changes in the kernel that are needed by the updated driver.
                              1 Reply Last reply Reply Quote 0
                              • B
                                bartgrefte
                                last edited by

                                Installed svn using```
                                pkg_add -r subversion

                                Then I used scp to copy over these from my FreeBSD virtual pc because svn needed them.
                                /usr/lib/libgssapi.so.10
                                /usr/lib/libheimntlm.so.10
                                /usr/lib/libkrb5.so.10
                                /usr/lib/libhx509.so.10
                                /usr/lib/libasn1.so.10
                                /usr/lib/libroken.so.10
                                
                                The svn command downloaded all files from that link. Now have to figure out what to do next.
                                1 Reply Last reply Reply Quote 0
                                • jimpJ
                                  jimp Rebel Alliance Developer Netgate
                                  last edited by

                                  You can't compile on the firewall - having that code on the firewall doesn't do you any good. You would need to download that to a local FreeBSD installation or VM and compile there, and move the resulting files over. (But even then it may not do what you expect…)

                                  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
                                  • B
                                    bartgrefte
                                    last edited by

                                    Ow okay.

                                    Downloaded sourcefiles in virtual pc with FreeBSD 8.2, now trying to compile it, but no luck so far.
                                    Whole bunch of errors when running make on each of the *.c files.

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

                                      I did an upgrade to RC1 this morning, broke my wifi. So did a clean install, started from scratch, running into the error the reason this topic was made for. Then after changing the channel couple of times + reboot I managed to get rid of it.

                                      But now a whole different problem, that I thought a clean install would solve, guess not:

                                      Mar 1 15:06:35 hostapd: ath0_wlan0: STA 00:27:10:ce:03:6c IEEE 802.11: deassociated 
                                      Mar 1 15:06:35 hostapd: ath0_wlan0: STA 00:27:10:ce:03:6c IEEE 802.11: deauthenticated due to local deauth request 
                                      Mar 1 15:06:32 hostapd: ath0_wlan0: STA 00:27:10:ce:03:6c IEEE 802.11: associated 
                                      Mar 1 15:06:32 hostapd: ath0_wlan0: STA 00:27:10:ce:03:6c IEEE 802.11: deassociated 
                                      Mar 1 15:06:32 hostapd: ath0_wlan0: STA 00:27:10:ce:03:6c IEEE 802.11: deauthenticated due to local deauth request 
                                      Mar 1 15:06:31 hostapd: ath0_wlan0: STA 00:27:10:ce:03:6c WPA: received EAPOL-Key 2/4 Pairwise with unexpected replay counter 
                                      Mar 1 15:06:31 hostapd: ath0_wlan0: STA 00:27:10:ce:03:6c IEEE 802.11: associated
                                      

                                      I think something changed between beta 5 feb.4 snapshot and RC1, since this problem showed up after the upgrade, but what?
                                      Also the upgrade did not fix the "stuck beacon"-bug, so that is still in there as well. Although it is no longer a pain in the a** at the moment.

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

                                        @bartgrefte:

                                        I think something changed between beta 5 feb.4 snapshot and RC1, since this problem showed up after the upgrade, but what?

                                        nothing wireless related has changed in months. These driver issues come and go for some people for unknown reasons. We don't write, maintain or have any control of wireless drivers which is where these issues are, these things need to be reported upstream.

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

                                          Hmm…

                                          Well, I managed to compile a newer version of the driver using the source, but now I need to figure out how to get pfSense to (try to) use that one instead of the one already in the kernel. Google explained how to disable and load drivers, but not how to "override" one already in the kernel without having to rebuild that.

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

                                            According to someone on the FreeBSD forum the only way to use the new driver is to completely rebuild/recompile the kernel.

                                            Already found this: http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso , but what if I only want the kernel? Any howto's on that?
                                            Someone already asked that but did not get response: http://forum.pfsense.org/index.php/topic,26188.msg163743.html#msg163743

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