[Madwifi-devel] reproducible "scheduling while atomic" in "iwpriv ath0 mode 3"
Status: Beta
Brought to you by:
otaku
From: Daniel Wu <dy...@gm...> - 2006-01-11 00:54:56
|
Hi, I was wondering if this can be tried by others before I put it into a ticket. list of commands used: modprobe ath_pci wlanconfig ath0 create wlandev wifi0 wlanmode wds iwpriv ath0 mode 3 <or> iwpriv ath0 mode 1 which will give this trace: Debug: sleeping function called from invalid context at kernel/sched.c:3239 in_atomic():1, irqs_disabled():0 [<c030b985>] wait_for_completion+0x1a/0xf9 [<c0129c05>] __queue_work+0x45/0x54 [<c0129bab>] call_usermodehelper_keys+0xe7/0xfc [<c0129a74>] __call_usermodehelper+0x0/0x50 [<c01298cc>] request_module+0x9c/0xdd [<e0bd09c7>] ieee80211_load_module+0xb/0x11 [wlan] [<e0bc9df7>] ieee80211_scanner_get+0x23/0x2c [wlan] [<e0bca13a>] ieee80211_start_scan+0x2a/0x275 [wlan] [<e0836811>] journal_stop+0x153/0x218 [jbd] [<e08c7dfa>] ext3_mark_iloc_dirty+0xf/0x16 [ext3] [<e08c7ec5>] ext3_mark_inode_dirty+0x38/0x3f [ext3] [<e0bc94d4>] __ieee80211_newstate+0x240/0x781 [wlan] [<e0bc9b6f>] ieee80211_newstate+0x15a/0x22f [wlan] [<e098dad6>] ath_newstate+0xec/0x762 [ath_pci] [<e098a4b2>] ath_wme_update+0x79/0x86 [ath_pci] [<e0bc8c21>] ieee80211_wme_updateparams_locked+0xd5/0x1ed [wlan] [<c030cb48>] _spin_unlock_bh+0x5/0xa [<e0bc9284>] ieee80211_new_state+0x26/0x36 [wlan] [<e0bcd4ee>] ieee80211_ioctl_setmode+0x164/0x184 [wlan] [<c0206937>] acpi_pci_link_set+0x8/0x17f [<c02b92cf>] wireless_process_ioctl+0x12e/0x6f6 [<c014aaa7>] do_no_page+0x16e/0x301 [<e0bcd38a>] ieee80211_ioctl_setmode+0x0/0x184 [wlan] [<c02afd05>] dev_ioctl+0x250/0x297 [<c02a55d8>] sock_ioctl+0x0/0x25a [<c0169ff9>] do_ioctl+0x19/0x55 [<c030d91e>] do_page_fault+0x25e/0x640 [<c016a127>] vfs_ioctl+0x50/0x1aa [<c016a2de>] sys_ioctl+0x5d/0x6b [<c0102edd>] syscall_call+0x7/0xb scheduling while atomic: iwpriv/0x00000100/6937 [<c030b8b4>] schedule+0x504/0x5bb [<c0102edd>] syscall_call+0x7/0xb [<c012b1a6>] __kernel_text_address+0x1c/0x27 [<c0103329>] show_trace+0x2a/0x78 [<c0102edd>] syscall_call+0x7/0xb [<c030ba05>] wait_for_completion+0x9a/0xf9 [<c0117614>] default_wake_function+0x0/0xc [<c0129bab>] call_usermodehelper_keys+0xe7/0xfc [<c0129a74>] __call_usermodehelper+0x0/0x50 [<c01298cc>] request_module+0x9c/0xdd [<e0bd09c7>] ieee80211_load_module+0xb/0x11 [wlan] [<e0bc9df7>] ieee80211_scanner_get+0x23/0x2c [wlan] [<e0bca13a>] ieee80211_start_scan+0x2a/0x275 [wlan] [<e0836811>] journal_stop+0x153/0x218 [jbd] [<e08c7dfa>] ext3_mark_iloc_dirty+0xf/0x16 [ext3] [<e08c7ec5>] ext3_mark_inode_dirty+0x38/0x3f [ext3] [<e0bc94d4>] __ieee80211_newstate+0x240/0x781 [wlan] [<e0bc9b6f>] ieee80211_newstate+0x15a/0x22f [wlan] [<e098dad6>] ath_newstate+0xec/0x762 [ath_pci] [<e098a4b2>] ath_wme_update+0x79/0x86 [ath_pci] [<e0bc8c21>] ieee80211_wme_updateparams_locked+0xd5/0x1ed [wlan] [<c030cb48>] _spin_unlock_bh+0x5/0xa [<e0bc9284>] ieee80211_new_state+0x26/0x36 [wlan] [<e0bcd4ee>] ieee80211_ioctl_setmode+0x164/0x184 [wlan] [<c0206937>] acpi_pci_link_set+0x8/0x17f [<c02b92cf>] wireless_process_ioctl+0x12e/0x6f6 [<c014aaa7>] do_no_page+0x16e/0x301 [<e0bcd38a>] ieee80211_ioctl_setmode+0x0/0x184 [wlan] [<c02afd05>] dev_ioctl+0x250/0x297 [<c02a55d8>] sock_ioctl+0x0/0x25a [<c0169ff9>] do_ioctl+0x19/0x55 [<c030d91e>] do_page_fault+0x25e/0x640 [<c016a127>] vfs_ioctl+0x50/0x1aa [<c016a2de>] sys_ioctl+0x5d/0x6b [<c0102edd>] syscall_call+0x7/0xb I'm now wondering how people changed to different a/b/g configs when in wds mode ? I'm thinking it has to do with the ieee80211_load_module+0xb/0x11, ieee80211_scanner_get+0x23/0x2c, ieee80211_start_scan+0x2a/0x275 calls. I thought this might also be related to the "wlan_scan_sta" not loaded things since there is no "wlan_scan_wds" out there. this also happens in monitor mode, System is a Fedora Core 4, 2.6.14-1.1637_FC4, Wireless-tools version 28, wireless extensions v19. latest svn copy of madwifi (1393), ath_hal: module license 'Proprietary' taints kernel. ath_hal: 0.9.16.13 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, DFS) wlan: 0.8.4.2 (Atheros/multi-bss) ath_rate_sample: 1.2 ath_pci: 0.9.4.5 (Atheros/multi-bss) wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wifi0: H/W encryption support: WEP AES AES_CCM TKIP wifi0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 wifi0: Use hw queue 1 for WME_AC_BE traffic wifi0: Use hw queue 0 for WME_AC_BK traffic wifi0: Use hw queue 2 for WME_AC_VI traffic wifi0: Use hw queue 3 for WME_AC_VO traffic wifi0: Use hw queue 8 for CAB traffic wifi0: Use hw queue 9 for beacons wifi0: Atheros 5212: mem=3D0x90080000, irq=3D11 --dyqith |