Bug 419871
Summary: | Wireless connection drops out with wlan0: No STA entry for own AP | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bevis King <brwk> | ||||
Component: | kernel | Assignee: | John W. Linville <linville> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 8 | CC: | cebbert, davej, mb, wk | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | ia64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 2.6.23.13-105.fc8 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-01-22 20:05:56 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Bevis King
2007-12-11 15:20:10 UTC
Instead of a reboot, does a 'iwlist wlan0 scan' bring it back? If not, how about a 'iwconfig wlan0 essid SCSECM01'? Does this occur during active use? Or after at least some period of network inactivity? >Does this occur during active use? Or after at least some period of network
>inactivity?
So far it's been during relative inactivity - ie > 2 mins.
I'll get you answers on the top two questions next time it falls over.
Regards, Bevis.
It is b43. It is another duplicate of bug 412861. No, it isn't. Yes. it is! bug 412861 is about dropped connections, as this bug is. bug 413291 is about slow connections Stop pretending you are dealing with irrelevant rare user-specific issues. This is all in the same damn untested wireless updates that you delivered. Oh well, this one is on x86_64.. big deal. Now we know that it is not only on i386. I believe that mac80211 drops the connection too early. If I read the code correctly, it drops the connection immediately, if it failed to receive one probe response (after two seconds of idle). I think it should send like 4 or 5 probes and drop the connection if all of these failed. One probe response might easily get lost in a bad or busy network (due to another STA violating the NAV or something else for example.) Created attachment 286371 [details]
do not disassoc on probe failure
Can you test the patch I just attached? It will completely disable disassociation after failed probes. Please check if the device keeps working if you apply this and don't move it around. Note that this patch is just a hack for testing. It will disable automatic STA timeout. Re: comment 5 You are merely confusing things with all your attempts to call every bug a duplicate of every other. Please pipe down. Hi guys - not quite following the thread of the discussion here - however here are the results of the tests you asked for: iwlist wlan0 scan This produces a scan list of the available access points including the one it was talking to. It *APPEARS* to be continuing to report the lost access point into dmesg after this point (not certain about that but pretty sure). I also tried a ifconfig wlan0 down immediately followed by a ifconfig wlan0 up - that did not recover it. Then I tried the: iwconfig wlan0 essid bevteccom (bevteccom is my own domain/ESSID at home) That brought the link back up and I could ping the local subnet ONLY. The loss of connection had dropped the default route out of the kernel routing table and it had to be added back in manually before normal connection was resumed. Hope that info helps. Regards, Bevis. OK, I've looked at the patch - It certainly makes sense to me. When I get a moment or three I'll download the kernel sources, apply the patch and let you know how it responds with the patch in place. Thanks for that. Regards, Bevis. I have problem with two wireless cards loosing connection when left idle for several minutes or so. The cards are based on RTL8185 and ZD1211, both use mac80211. Usually, cycling the interface down and then back up restores the connection. I have Broadcom 4312. I have the same connection drops with the same messages (never mind my posts to the other bugs). For me, it is usually relatively weak connections that are dropped. Strong connections seems to be never dropped. The strength of the link is, however, set pretty randomly around my house, which is strange. I seem to have noticed a pattern: - After fresh F8 boot, the connection is usually weaker. - After reboot from Win XP, the connection is usually stronger. I hope this helps. (In reply to comment #13) > I have Broadcom 4312. I have the same connection drops with the same messages > (never mind my posts to the other bugs). For me, it is usually relatively weak > connections that are dropped. Strong connections seems to be never dropped. > > The strength of the link is, however, set pretty randomly around my house, which > is strange. I seem to have noticed a pattern: > > - After fresh F8 boot, the connection is usually weaker. > - After reboot from Win XP, the connection is usually stronger. > > I hope this helps. Did you try latest wireless-2.6#everything git tree? It contains an important RX SSI fix. I'll get an F8 kernel built w/ the latest stuff from wireless-2.6 either today or tomorrow... However, I don't think there is anything in there that resolves the general mac80211 problem for this bug. With kernel 2.6.23.9-85.fc8 connection still get lost from time to time for RTL8185 based card. No test for ZD1211 due to missing module. 2.6.23-12-99 looks really good so far. No dropped connections yet With kernel 2.6.23.12-99 I still have dropped connection with 8185 when interface is left idle for several minutes. I get this single message in dmesg on disconnect: No ProbeResp from current AP 00:06:4f:42:6f:e5 - assume out of range Can someone try my patch, please? A patch was merged upstream to at least partially address this issue. It is available in these kernels: http://koji.fedoraproject.org/koji/buildinfo?buildID=31090 Can you recreate the issue with those kernels? John - thanks. I'll take a look at this as soon as I can - probably tomorrow as I didn't bring the laptop in today - however a recent kernel update has completely hosed the wireless support and suspend/resume, so I need to get back the status quo before I can move forward. Regards, Bevis. RTL8185 wireless card works stable for me with 2.6.23.14_111 kernel. Connection dropped only once after 2 days of testing. Also ZD1211 appears to work much better with this kernel. OK, so far, so good. This 2.6.23.13-105.fc8.x86_64 kernel fixes the issues I was previously seeing with the 2.6.23.9-85.fc8.x86_64 kernel which was not functional at all with the Broadcom BCM4312 chipset I have in my Dell Latitude D430 laptop. With this -105 kernel, it seems to be working normally again. I'll continue to test over the next few days and report back. Regards, Bevis. (In reply to comment #23) > OK, so far, so good. This 2.6.23.13-105.fc8.x86_64 kernel fixes the issues I > was previously seeing with the 2.6.23.9-85.fc8.x86_64 kernel which was not > functional at all with the Broadcom BCM4312 chipset I have in my Dell Latitude > D430 laptop. > > With this -105 kernel, it seems to be working normally again. Great. Thanks a lot for testing. |