Bug 771094
Summary: | [abrt] kernel: WARNING: at /builddir/build/BUILD/kernel-3.1.fc16/compat-wireless-3.2-rc6-3/include/net/mac80211.h:3574 rate_control_send_low+0x23e/0x250 [mac80211]() | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mattias Ellert <mattias.ellert> | ||||||||||
Component: | kernel | Assignee: | John W. Linville <linville> | ||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | 16 | CC: | AppelonD, bluestealth001, brickjenks100, gandr, gansalmon, gcarter, h.pillay, itamar, jagiello.lukasz, jonathan, kernel-maint, literalsands, madhu.chinakonda, mat.booth, princetonf, quannum, sergio, sgruszka, the.h.westies, wey-yi.w.guy | ||||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||||
Target Release: | --- | ||||||||||||
Hardware: | x86_64 | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | abrt_hash:b9cbb0c1642305e11b1baf9d554ca54d73362203 | ||||||||||||
Fixed In Version: | kernel-3.2.1-1.fc16 | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2012-02-02 15:46:49 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
Mattias Ellert
2012-01-01 09:00:17 UTC
I was connected to the Wireless Company network using 802.1x with a certificate, and was giving a presentation from my system, when this message pop up in the messages area of my gnome-shell next thing there happened was that NetworkManager came out and asked me to validate, but even if I gave my Certificate password, it would not work. From what I could understand of the text, was something about signal there droped to very low and then it all started. Package: kernel OS Release: Fedora release 16 (Verne) Both: kernel-3.1.6-1.fc16.x86_64 kernel-3.1.7-1.fc16.x86_64 got same problem, after hour or little more stop working wifi, can't connect again. Connected with WPA2 Enterprise. rating: (null) Package: kernel Architecture: x86_64 OS Release: Fedora release 16 (Verne) Looks like the WARN_ON_ONCE below (from include/net/mac80211.h): static inline s8 rate_lowest_index(struct ieee80211_supported_band *sband, struct ieee80211_sta *sta) { int i; for (i = 0; i < sband->n_bitrates; i++) if (rate_supported(sta, sband->band, i)) return i; /* warn when we cannot find a rate. */ WARN_ON_ONCE(1); /* and return 0 (the lowest index) */ return 0; } Wey-yi, this is compat-wireless-3.2-rc6-3 w/ the other wireless patches that went into 3.2 after -rc6 applied on top. Any ideas on what might account for this WARNING? not sure, could you try this patch. Wey Created attachment 551673 [details]
check rate before use
just for testing
Test kernels w/ patch from comment 5 building now: http://koji.fedoraproject.org/koji/taskinfo?taskID=3640320 Please try to recreate the problem with those kernels and post the results here -- thanks! *** Bug 767320 has been marked as a duplicate of this bug. *** *** Bug 773770 has been marked as a duplicate of this bug. *** (In reply to comment #6) > Test kernels w/ patch from comment 5 building now: > > http://koji.fedoraproject.org/koji/taskinfo?taskID=3640320 > > Please try to recreate the problem with those kernels and post the results here > -- thanks! Impossible, crash before full boot (photo at attachments) Created attachment 555145 [details]
Crash
Created attachment 555146 [details]
Crash #2
Bad patch :-(, please drop it. I am going back to understand more. Sorry for the trouble. Wey Created attachment 555278 [details]
check for rate supports
Sorry for the trouble, I attach the patch too quickly and grab the wrong testing patch last time.
I re-generated and make sure it is the right patch this time. Could you please give a try.
I could not reproduce the problem here, so this patch will do two things
1. give log to indicate where the problem happen.
2. prevent to call rate_lowest_index if rate not being initialized yet
Thanks
Wey
This is because in compat-wireless we do not have mac80211 scan optimization revert (fix for bug 731365). That patch was applied in fedora, but failed to get 3.2 stable (I'll have to repost it). We have already compat-wireless koji test build with that patch available (for testing bug 772055): http://koji.fedoraproject.org/koji/taskinfo?taskID=3641961 kernel-3.1.9-1.fc16.x86_64 work without problem. Confused, does 3.1.9-1 really work without a problem or you mean 3.1.8-4.bz772055 ? Yes, 3.1.9-1 really work without problem (problem with lost network after random time). Work 6h now and still working, before after ~2h stops. Didn't have time yet to check 3.1.8-4.bz772055 Hmm, so that's probably different problem than rate_control_send_low WARNING, since between 3.2-rc6 and 3.2.1 we have only these patches:
> [stasiu@dhcp-27-172 linux-stable]$ git log v3.2-rc6..v3.2.1 --pretty=oneline --no-merges -- net/mac80211/ drivers/net/wireless/iwlwifi/
> 0b58bf9909d4ef70275921fc1535f21390cf5bb5 iwlagn: fix (remove) use of PAGE_SIZE
> 01b366aa69f33489d59d7a79702987752070fb3a iwlagn: fix TID use bug
> 96f1f05af76b601ab21a7dc603ae0a1cea4efc3d iwlwifi: update SCD BC table for all SCD queues
> 78feb35b8161acd95c33a703ed6ab6f554d29387 iwlwifi: allow to switch to HT40 if not associated
> 81670a491849127cd5f86defd2cd03cef1b08d07 iwlwifi: tx_sync only on PAN context
> 123877b80ed62c3b897c53357b622574c023b642 iwlwifi: do not set the sequence control bit is not needed
and none of them looks like fix for rate_control_send_low related issue.
Closing on the basis of comment 17... Today problem back again, same kernel (3.1.9-1 - yesterday work good), after 4h work suddenly stop working. #v+ Jan 17 12:38:13 p0x NetworkManager[1094]: <info> (wlan0): supplicant interface state: completed -> authenticating Jan 17 12:38:13 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): supplicant interface state: completed -> authenticating Jan 17 12:38:23 p0x kernel: [10281.227213] cfg80211: Calling CRDA to update world regulatory domain Jan 17 12:38:23 p0x kernel: [10281.230212] cfg80211: World regulatory domain updated: Jan 17 12:38:23 p0x kernel: [10281.230215] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) Jan 17 12:38:23 p0x kernel: [10281.230218] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.230221] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.230224] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.230226] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.230229] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.230349] cfg80211: Calling CRDA for country: PL Jan 17 12:38:23 p0x kernel: [10281.232950] cfg80211: Regulatory domain changed to country: PL Jan 17 12:38:23 p0x kernel: [10281.232953] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) Jan 17 12:38:23 p0x kernel: [10281.232957] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.232959] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.232962] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.232964] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm) Jan 17 12:38:23 p0x NetworkManager[1094]: <info> (wlan0): supplicant interface state: authenticating -> associating Jan 17 12:38:23 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): supplicant interface state: authenticating -> associating Jan 17 12:38:23 p0x NetworkManager[1094]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake Jan 17 12:38:23 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake Jan 17 12:38:23 p0x kernel: [10281.538607] cfg80211: Calling CRDA to update world regulatory domain Jan 17 12:38:23 p0x kernel: [10281.541587] cfg80211: World regulatory domain updated: Jan 17 12:38:23 p0x kernel: [10281.541591] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) Jan 17 12:38:23 p0x kernel: [10281.541594] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.541596] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.541599] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.541602] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.541604] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.541731] cfg80211: Calling CRDA for country: PL Jan 17 12:38:23 p0x kernel: [10281.544356] cfg80211: Regulatory domain changed to country: PL Jan 17 12:38:23 p0x kernel: [10281.544358] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) Jan 17 12:38:23 p0x kernel: [10281.544360] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.544363] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.544365] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm) Jan 17 12:38:23 p0x kernel: [10281.544367] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm) Jan 17 12:38:23 p0x NetworkManager[1094]: <info> (wlan0): supplicant interface state: 4-way handshake -> disconnected Jan 17 12:38:23 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): supplicant interface state: 4-way handshake -> disconnected Jan 17 12:38:23 p0x NetworkManager[1094]: <info> (wlan0): supplicant interface state: disconnected -> scanning Jan 17 12:38:23 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): supplicant interface state: disconnected -> scanning Jan 17 12:38:26 p0x NetworkManager[1094]: <info> (wlan0): supplicant interface state: scanning -> authenticating Jan 17 12:38:26 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): supplicant interface state: scanning -> authenticating Jan 17 12:38:26 p0x NetworkManager[1094]: <info> (wlan0): roamed from BSSID B4:A4:E3:1F:4F:92 (ldap.gratka.pl) to (none) ((none)) Jan 17 12:38:26 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): roamed from BSSID B4:A4:E3:1F:4F:92 (ldap.gratka.pl) to (none) ((none)) Jan 17 12:38:26 p0x NetworkManager[1094]: <info> (wlan0): supplicant interface state: authenticating -> associating Jan 17 12:38:26 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): supplicant interface state: authenticating -> associating Jan 17 12:38:26 p0x NetworkManager[1094]: <info> (wlan0): supplicant interface state: associating -> associated Jan 17 12:38:26 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): supplicant interface state: associating -> associated Jan 17 12:38:32 p0x NetworkManager[1094]: <info> (wlan0): roamed from BSSID (none) ((none)) to B4:A4:E3:2E:DC:12 (ldap.gratka.pl) Jan 17 12:38:32 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): roamed from BSSID (none) ((none)) to B4:A4:E3:2E:DC:12 (ldap.gratka.pl) Jan 17 12:38:39 p0x NetworkManager[1094]: <warn> (wlan0): link timed out. Jan 17 12:38:39 p0x NetworkManager[1094]: <info> (wlan0): device state change: activated -> disconnected (reason 'supplicant-timeout') [100 30 11] Jan 17 12:38:39 p0x NetworkManager[1094]: <info> (wlan0): deactivating device (reason 'supplicant-timeout') [11] Jan 17 12:38:39 p0x NetworkManager[1094]: NetworkManager[1094]: <warn> (wlan0): link timed out. Jan 17 12:38:39 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): device state change: activated -> disconnected (reason 'supplicant-timeout') [100 30 11] Jan 17 12:38:39 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): deactivating device (reason 'supplicant-timeout') [11] Jan 17 12:38:39 p0x NetworkManager[1094]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 1553 Jan 17 12:38:39 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 1553 Jan 17 12:38:39 p0x kernel: [10297.368505] cfg80211: Calling CRDA to update world regulatory domain Jan 17 12:38:39 p0x avahi-daemon[1127]: Withdrawing address record for 172.17.1.28 on wlan0. Jan 17 12:38:39 p0x avahi-daemon[1127]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 172.17.1.28. Jan 17 12:38:39 p0x avahi-daemon[1127]: Interface wlan0.IPv4 no longer relevant for mDNS. Jan 17 12:38:39 p0x NetworkManager[1094]: <info> (wlan0): supplicant interface state: associated -> disconnected Jan 17 12:38:39 p0x NetworkManager[1094]: NetworkManager[1094]: <info> (wlan0): supplicant interface state: associated -> disconnected Jan 17 12:38:39 p0x dbus[1145]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper) Jan 17 12:38:39 p0x dbus-daemon[1145]: dbus[1145]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper) Jan 17 12:38:39 p0x kernel: [10297.374676] cfg80211: World regulatory domain updated: Jan 17 12:38:39 p0x kernel: [10297.374681] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) Jan 17 12:38:39 p0x kernel: [10297.374686] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:39 p0x kernel: [10297.374690] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:39 p0x kernel: [10297.374694] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:39 p0x kernel: [10297.374698] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:39 p0x kernel: [10297.374702] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) Jan 17 12:38:39 p0x kernel: [10297.374719] cfg80211: Calling CRDA for country: PL #v- Unable to connect again, reboot and network working again. Maybe you should go back to comment 14 and try 3.1.8-4.bz772055? Yes, tomorrow will work at 3.1.8-4.bz772055 *** Bug 782676 has been marked as a duplicate of this bug. *** 3.1.8-4.bz772055 atm is most stable. 2 days working without problems. This should be fixed now in the latest official build from koji. Hopefully nobody will drop the patch again. *** Bug 783221 has been marked as a duplicate of this bug. *** *** Bug 773455 has been marked as a duplicate of this bug. *** *** Bug 784136 has been marked as a duplicate of this bug. *** *** Bug 785427 has been marked as a duplicate of this bug. *** *** Bug 786609 has been marked as a duplicate of this bug. *** |