Help with testing the AP+Client Bug

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Help with testing the AP+Client Bug

Post by Eric »

Now that IS interesting.... look at the image you posted! The MAC address changed! That's why it thinks it's a different vendor.

It's good to know I'm not crazy... I had it right the first time. v15465 is killing it.

Now, to figure out which patch is causing the problems... (there are a bunch of patches that changed in 15465). The different MAC is good clue though.

ispyisail: I'm a bit puzzled by the report that 13794 is causing problems on reboot but 13761 is not -- the only change made there is in one of the configuration scripts and it should have absolutely no effect. Are you sure this fail-on-reboot happens reliably between in 13794 but not 13761?

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Help with testing the AP+Client Bug

Post by ispyisail »

ispyisail: I'm a bit puzzled by the report that 13794 is causing problems on reboot but 13761 is not -- the only change made there is in one of the configuration scripts and it should have absolutely no effect. Are you sure this fail-on-reboot happens reliably between in 13794 but not 13761?
I've done more tests

The problem with 13794 is repeatable with the meraki mini but the fault does not show up on my DIR-300.

Looks like it might be a meraki mini specific fault?

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Help with testing the AP+Client Bug

Post by DoesItMatter »

The Fonera 2200, 2201, and 2201+ are all similar as far as functionality goes, and they are also similar to the DIR-300 and the Airlink AR-430W. I suspect the Meraki's are different, especially being that they need a different flash build than the Fons/Airlinks/Dir-300's

Might be fighting multiple issues.

Does the 15464 work ok for you IspyIsail?
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Help with testing the AP+Client Bug

Post by ispyisail »

Does the 15464 work ok for you IspyIsail?
I got my MR3201a out for this test

I found some strange results

Will need to do more tests

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Help with testing the AP+Client Bug

Post by ispyisail »

I can confirm that 15464 works well om the MR3201a

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Help with testing the AP+Client Bug

Post by DoesItMatter »

Nice!

So it does look like 15465 is the problem build.
Or at least the build that causes the most problems and
breaks the AP+Client mode.

I'm currently running 1.0.4 and it's running fine for me,
but I don't normally use the AP+Client mode myself.

If a new test build pops up, I'll be ready to flash it to my Fonera!
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Help with testing the AP+Client Bug

Post by Eric »

Someone named Marek Lindner just submitted a patch to the OpenWrt developers mailing list that may fix the AP+Client bug that's been causing so many problems.

There's one part in particular that I think is important:

Code: Select all

-               if (sc->sc_beacon_cal && (jiffies > sc->sc_lastcal + (ath_calinterval * HZ))) {
+               if (!sc->sc_beacon_cal && (jiffies > sc->sc_lastcal + (ath_calinterval * HZ))) {
                        sc->sc_cal_ch.expires = jiffies + msecs_to_jiffies(10);
                        add_timer(&sc->sc_cal_ch);
                }
I find this code particularly interesting because between r15464 and r15465, the add_timer line was added. So I bet before r15465, the timer causing the race condition was never called and there wasn't a problem. After r15465 the timer gets called, and hence the problems that start then. Then, this patch makes sure the code only gets called at the appropriate time (since the original if statement is wrong), solving the problem in the appropriate way.

This is conjecture of course.. I still need to try it. But it looks like we may have a solution!

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Help with testing the AP+Client Bug

Post by Eric »

The potential solution mentioned in the previous post didn't work, but I believe I have found one that does. If some of you could help by testing the 1.0.14 firmware, it would be greatly appreciated.

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Help with testing the AP+Client Bug

Post by ispyisail »

Tested with MR3201a

Works well

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Help with testing the AP+Client Bug

Post by ispyisail »

Still working and I must say really well :)

Post Reply