From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-yx0-f174.google.com ([209.85.213.174]:39202 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755270Ab2GKOFy (ORCPT ); Wed, 11 Jul 2012 10:05:54 -0400 Received: by yenl2 with SMTP id l2so1231219yen.19 for ; Wed, 11 Jul 2012 07:05:54 -0700 (PDT) MIME-Version: 1.0 Date: Wed, 11 Jul 2012 19:35:54 +0530 Message-ID: (sfid-20120711_160559_987049_50C1F16E) Subject: warning in iwlwifi on monitor mode in 3.5.0-rc6-wl From: Mohammed Shafi To: Johannes Berg , Emmanuel Grumbach , "Guy, Wey-Yi W" Cc: linux-wireless Mailing List Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi all, i got this warning in bringing up monitor mode with iwlwifi in 3.5.0-rc6-wl [ 4788.914848] iwlwifi 0000:03:00.0: Try to add interface when device not ready [ 4788.914851] ------------[ cut here ]------------ [ 4788.914870] WARNING: at /home/shafi/new-wireless-testing/wireless-testing/net/mac80211/iface.c:357 ieee80211_add_virtual_monitor+0x192/0x2b0 [mac80211]() [ 4788.914872] Hardware name: 64756D6 [ 4788.914874] Modules linked in: iwldvm iwlwifi ath9k(O) mac80211(O) ath9k_common(O) ath9k_hw(O) ath(O) cfg80211(O) binfmt_misc rfcomm bridge stp llc bnep snd_hda_codec_conexant arc4 snd_hda_intel snd_hda_codec i915 fbcon tileblit font bitblit snd_hwdep softcursor snd_pcm_oss snd_mixer_oss snd_pcm drm_kms_helper snd_seq_dummy drm coretemp thinkpad_acpi snd_seq_oss kvm pcmcia snd_seq_midi joydev snd_rawmidi ath3k snd_seq_midi_event uvcvideo btusb snd_seq intel_agp i2c_algo_bit videobuf2_core intel_gtt hid_generic bluetooth snd_timer yenta_socket videodev pcmcia_rsrc psmouse snd_seq_device agpgart usbhid pcmcia_core hid videobuf2_vmalloc videobuf2_memops lpc_ich snd microcode tpm_tis snd_page_alloc serio_raw soundcore tpm lp video nvram parport tpm_bios ahci libahci e1000e [last unloaded: cfg80211] [ 4788.914967] Pid: 7486, comm: ifconfig Tainted: G O 3.5.0-rc6-wl #25 [ 4788.914969] Call Trace: [ 4788.914976] [] warn_slowpath_common+0x72/0xa0 [ 4788.914991] [] ? ieee80211_add_virtual_monitor+0x192/0x2b0 [mac80211] [ 4788.915005] [] ? ieee80211_add_virtual_monitor+0x192/0x2b0 [mac80211] [ 4788.915008] [] warn_slowpath_null+0x22/0x30 [ 4788.915022] [] ieee80211_add_virtual_monitor+0x192/0x2b0 [mac80211] [ 4788.915027] [] ? printk+0x4d/0x4f [ 4788.915041] [] ieee80211_set_monitor_enabled+0x1a/0x50 [mac80211] [ 4788.915050] [] cfg80211_update_iface_num+0x108/0x270 [cfg80211] [ 4788.915058] [] cfg80211_netdev_notifier_call+0x5fe/0x640 [cfg80211] [ 4788.915062] [] ? packet_notifier+0x1c2/0x2b0 [ 4788.915066] [] ? packet_notifier+0x1d6/0x2b0 [ 4788.915070] [] notifier_call_chain+0x42/0xf0 [ 4788.915075] [] raw_notifier_call_chain+0x1f/0x30 [ 4788.915080] [] call_netdevice_notifiers+0x2c/0x60 [ 4788.915085] [] ? trace_hardirqs_on+0xb/0x10 [ 4788.915088] [] __dev_open+0x5c/0xf0 [ 4788.915091] [] ? _raw_spin_unlock_bh+0x35/0x40 [ 4788.915095] [] __dev_change_flags+0x109/0x170 [ 4788.915098] [] dev_change_flags+0x23/0x60 [ 4788.915102] [] devinet_ioctl+0x6a0/0x770 [ 4788.915106] [] inet_ioctl+0x95/0xb0 [ 4788.915109] [] sock_ioctl+0x70/0x270 [ 4788.915113] [] ? sock_fasync+0xc0/0xc0 [ 4788.915117] [] do_vfs_ioctl+0x86/0x5a0 [ 4788.915121] [] ? up_read+0x1b/0x30 [ 4788.915124] [] ? do_page_fault+0x244/0x470 [ 4788.915128] [] ? fget_light+0x355/0x410 [ 4788.915131] [] ? __put_cred+0x34/0x50 [ 4788.915135] [] sys_ioctl+0x77/0x80 [ 4788.915139] [] sysenter_do_call+0x12/0x38 [ 4788.915141] ---[ end trace 2b26c2a43fea3613 ]--- [ 4788.915146] ------------[ cut here ]------------ [ 4788.915160] WARNING: at /home/shafi/new-wireless-testing/wireless-testing/net/mac80211/cfg.c:2993 ieee80211_set_monitor_enabled+0x4c/0x50 [mac80211]() [ 4788.915161] Hardware name: 64756D6 [ 4788.915163] Modules linked in: iwldvm iwlwifi ath9k(O) mac80211(O) ath9k_common(O) ath9k_hw(O) ath(O) cfg80211(O) binfmt_misc rfcomm bridge stp llc bnep snd_hda_codec_conexant arc4 snd_hda_intel snd_hda_codec i915 fbcon tileblit font bitblit snd_hwdep softcursor snd_pcm_oss snd_mixer_oss snd_pcm drm_kms_helper snd_seq_dummy drm coretemp thinkpad_acpi snd_seq_oss kvm pcmcia snd_seq_midi joydev snd_rawmidi ath3k snd_seq_midi_event uvcvideo btusb snd_seq intel_agp i2c_algo_bit videobuf2_core intel_gtt hid_generic bluetooth snd_timer yenta_socket videodev pcmcia_rsrc psmouse snd_seq_device agpgart usbhid pcmcia_core hid videobuf2_vmalloc videobuf2_memops lpc_ich snd microcode tpm_tis snd_page_alloc serio_raw soundcore tpm lp video nvram parport tpm_bios ahci libahci e1000e [last unloaded: cfg80211] [ 4788.915231] Pid: 7486, comm: ifconfig Tainted: G W O 3.5.0-rc6-wl #25 [ 4788.915233] Call Trace: [ 4788.915237] [] warn_slowpath_common+0x72/0xa0 [ 4788.915251] [] ? ieee80211_set_monitor_enabled+0x4c/0x50 [mac80211] [ 4788.915265] [] ? ieee80211_set_monitor_enabled+0x4c/0x50 [mac80211] [ 4788.915268] [] warn_slowpath_null+0x22/0x30 [ 4788.915282] [] ieee80211_set_monitor_enabled+0x4c/0x50 [mac80211] [ 4788.915289] [] cfg80211_update_iface_num+0x108/0x270 [cfg80211] [ 4788.915296] [] cfg80211_netdev_notifier_call+0x5fe/0x640 [cfg80211] [ 4788.915299] [] ? packet_notifier+0x1c2/0x2b0 [ 4788.915303] [] ? packet_notifier+0x1d6/0x2b0 [ 4788.915307] [] notifier_call_chain+0x42/0xf0 [ 4788.915311] [] raw_notifier_call_chain+0x1f/0x30 [ 4788.915314] [] call_netdevice_notifiers+0x2c/0x60 [ 4788.915317] [] ? trace_hardirqs_on+0xb/0x10 [ 4788.915321] [] __dev_open+0x5c/0xf0 [ 4788.915324] [] ? _raw_spin_unlock_bh+0x35/0x40 [ 4788.915327] [] __dev_change_flags+0x109/0x170 [ 4788.915331] [] dev_change_flags+0x23/0x60 [ 4788.915334] [] devinet_ioctl+0x6a0/0x770 [ 4788.915338] [] inet_ioctl+0x95/0xb0 [ 4788.915341] [] sock_ioctl+0x70/0x270 [ 4788.915344] [] ? sock_fasync+0xc0/0xc0 [ 4788.915347] [] do_vfs_ioctl+0x86/0x5a0 [ 4788.915350] [] ? up_read+0x1b/0x30 [ 4788.915353] [] ? do_page_fault+0x244/0x470 [ 4788.915357] [] ? fget_light+0x355/0x410 [ 4788.915360] [] ? __put_cred+0x34/0x50 [ 4788.915363] [] sys_ioctl+0x77/0x80 [ 4788.915367] [] sysenter_do_call+0x12/0x38 [ 4788.915368] ---[ end trace 2b26c2a43fea3614 ]--- [ 4788.915371] -- thanks, shafi