Bug 13344
Summary: | gelic get_wireless_stats implementation is not atomic | ||
---|---|---|---|
Product: | Drivers | Reporter: | Stijn Tintel (stijn+bugs) |
Component: | network-wireless | Assignee: | drivers_network-wireless (drivers_network-wireless) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | geoffrey.levand, johannes, kernel, linville |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.30-rc6-02770-g7ef67c0 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
Kernel config
patch to not require stats handler to be atomic Full dmesg as requested. Full dmesg with unpatched kernel |
Description
Stijn Tintel
2009-05-19 13:22:56 UTC
Let's remove the atomic requirement instead -- that should be fairly simple. Created attachment 21429 [details]
patch to not require stats handler to be atomic
This will apply against wireless-testing only.
With wireless-testing + attached patch, I am no longer seeing the scheduling while atomic bug. However, the following line still appears, but I don't know if it's related: gelic_eurus_sync_cmd_worker: cmd issue failed Could you please add your kernel .config file and the full dmesg as attachments to this bug. -Geoff Created attachment 21623 [details]
Full dmesg as requested.
Dmesg attached, config was already there. I don't seem to see the scheduling while atomic error in that dmsg. Maybe you attached the wrong one? -Geoff The attached dmesg is wireless-testing + the patch to not require stats handler to be atomic applied. I'll attach full dmesg of unpatched ps3-linux 2.6.30-rc6-wl-23980-g5a476b9. Created attachment 21696 [details]
Full dmesg with unpatched kernel
Correction, the latest dmesg is not ps3-linux but also wireless-testing kernel. The patch from comment 2 is incorporated here: commit 3d23e349d807177eaf519d444677cee86b1a04cf Author: Johannes Berg <johannes@sipsolutions.net> Date: Tue Sep 29 23:27:28 2009 +0200 wext: refactor Refactor wext to * split out iwpriv handling * split out iwspy handling * split out procfs support * allow cfg80211 to have wireless extensions compat code w/o CONFIG_WIRELESS_EXT After this, drivers need to - select WIRELESS_EXT - for wext support - select WEXT_PRIV - for iwpriv support - select WEXT_SPY - for iwspy support except cfg80211 -- which gets new hooks in wext-core.c and can then get wext handlers without CONFIG_WIRELESS_EXT. Wireless extensions procfs support is auto-selected based on PROC_FS and anything that requires the wext core (i.e. WIRELESS_EXT or CFG80211_WEXT). Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> |