linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lee <lee-in-berlin@web.de>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [regression]AP with hostapd 0.7.3 can't receive packets beyond authentication (2.6.36, rt73usb)
Date: Tue, 26 Oct 2010 04:04:24 +0200	[thread overview]
Message-ID: <4CC63728.4030009@web.de> (raw)
In-Reply-To: <20101025174957.GD2414@tuxdriver.com>

On 25/10/10 19:49, John W. Linville wrote:
> On Sat, Oct 23, 2010 at 09:58:59PM +0200, Lee wrote:
>> On 22/10/10 01:47, Lee wrote:
>>> Hi everyone,
>>>
>>> I noticed a bug (details later) in Linus' git tree, which wasn't there in
>>> 2.6.35.7. So I went on to bisect the bug. 12 compiles and reboots later, I
>>> could narrow it down to this commit:
>>>
>>> # bad: [05318bc905467237d4aa68a701f6e92a2b332218] Merge branch 'master' of
>>> git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
>>>
>>> Unfortunately, I couldn't further bisect down wireless-next, because all three
>>> commits I picked were unworkable (bringing down an interface caused the kernel
>>> to oops, which made my test case impossible).
>>>
>>> The test case is as follows: I have eth0 and wlan0 (the interface to an
>>> rt37usb device) in a bridge lan0. I have a properly configured hostapd. When I
>>> try to connect with a client to my hostapd AP, I can successfully
>>> authenticate, but all further packets don't reach the interface of the AP.
>>>
>>> However, I can see broadcast packets *from* the AP on my client, but not the
>>> other way round (DHCP requests from client to AP). To make sure the bug was
>>> not specific to broadcast packets, I manually set an IP on my client and tried
>>> to ping the AP, but those packets didn't come through, either.
>>>
>>> Right now I'm a bit clueless on how to get to the root of this bug, so any
>>> help is appreciated.
>>>
>>> Regards,
>>> Lee
>>
>> I checked vanilla 2.6.36, the bug is still there. Is this a known
>> bug? Does anyone care to give me some hints? Are any details needed?
>
> Hard to say if you can't complete the bisect.
>
> The bisect you mention is a merge from wireless-next-2.6 at 88c1f4f.
> The preceding merge from wireless-next-2.6 was from abf52f8.  It looks
> like there were a number of rt2x00 commits in between.
>
> So, you might try a new bisect:
>
> 	git bisect start 88c1f4f abf52f8
>
> If you still get commits that don't work but in an apparently unrelated
> way, you can use 'git bisect skip'.
>
> Does that help you to narrow things down?
>
> John

I found a way to work around that oops I was hitting, so I took your two 
commit points to start off a new bisect.

 > 1df90809f79b765fd4e8868c2b182d948f198a17 is the first bad commit

I tried to revert that commit on top of v2.6.36, but there were a few commits 
to rt2800lib.c. But since that file doesn't get compiled in my .config, I just 
reverted the changes to rt2x00dev.c and tried that kernel. It compiled fine, 
but didn't fix my problem.

I don't really understand the code, so I guess I'll stop fiddling around with 
it. I've got a working test-case, though, so I'm happy to test any patches 
that are sent in my direction.

Lee

  reply	other threads:[~2010-10-26  2:04 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21 23:47 [regression]AP with hostapd 0.7.3 can't receive packets beyond authentication (2.6.36-, rt73usb) Lee
2010-10-23 19:58 ` [regression]AP with hostapd 0.7.3 can't receive packets beyond authentication (2.6.36, rt73usb) Lee
2010-10-25 17:49   ` John W. Linville
2010-10-26  2:04     ` Lee [this message]
2010-10-26  5:40   ` Helmut Schaa
2010-10-26 10:19     ` Johannes Stezenbach
2010-10-26 11:03     ` Johannes Stezenbach
2010-10-26 15:40       ` Johannes Stezenbach
2010-10-28  8:16     ` Lee
2010-10-28  8:20       ` Ivo Van Doorn
2010-10-28  8:23       ` Helmut Schaa
2010-10-28 19:06         ` Lee
2010-10-28 19:54           ` Gertjan van Wingerde
2010-10-28 20:36             ` Ivo Van Doorn
2010-10-28 20:40               ` Gertjan van Wingerde
2010-10-28 22:17             ` Helmut Schaa
2010-10-29 21:39               ` Lee
2010-10-30 12:30                 ` Helmut Schaa
2010-11-02 12:50                   ` Johannes Stezenbach
2010-11-02 14:46                     ` Johannes Stezenbach
2010-11-02 14:58                       ` Ivo Van Doorn
2010-11-02 15:05                         ` Helmut Schaa
2010-11-02 15:49                           ` Johannes Stezenbach
2010-11-03 14:14                     ` Johannes Stezenbach
2010-11-03 14:50                       ` Ivo Van Doorn
2010-11-03 15:08                         ` Johannes Stezenbach
2010-11-03 14:51                       ` Ivo Van Doorn
2010-11-03 14:59                         ` Johannes Stezenbach
2010-11-03 15:21                           ` Helmut Schaa
2010-11-03 14:53                       ` Helmut Schaa
2010-10-29 16:17             ` Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CC63728.4030009@web.de \
    --to=lee-in-berlin@web.de \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).