All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mohammed Shafi <shafi.wireless@gmail.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Emmanuel Grumbach <egrumbach@gmail.com>,
	"Guy, Wey-Yi W" <wey-yi.w.guy@intel.com>,
	linux-wireless Mailing List <linux-wireless@vger.kernel.org>,
	Michal Kazior <michal.kazior@tieto.com>
Subject: Re: warning in iwlwifi on monitor mode in 3.5.0-rc6-wl
Date: Wed, 11 Jul 2012 19:59:00 +0530	[thread overview]
Message-ID: <CAD2nsn3j4TeopXJtsGACpie6oxo1U+8vYtdv8h65t9jdgqRk1Q@mail.gmail.com> (raw)
In-Reply-To: <CAD2nsn2JrWd4qo_ELZbTmkU_EcL6YFL3x3rmssh_SrF88UXS_g@mail.gmail.com>

On Wed, Jul 11, 2012 at 7:54 PM, Mohammed Shafi
<shafi.wireless@gmail.com> wrote:
> On Wed, Jul 11, 2012 at 7:48 PM, Johannes Berg
> <johannes@sipsolutions.net> wrote:
>> This isn't really related to iwlwifi...
>>
>> Looks like this might be due to Michal's changes, maybe the monitor
>> callback is coming too early?
>
> ath9k got bailed out of drv_add_interface as this flag
> IEEE80211_HW_WANT_MONITOR_VIF
> was not supported

Johannes, i had put few manual prints in mac80211 for something else, if you
want i can a give fresh call trace with proper function offsets.

>
>
>>
>> johannes
>>
>>
>> On Wed, 2012-07-11 at 19:35 +0530, Mohammed Shafi wrote:
>>> 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]  [<c0136322>] warn_slowpath_common+0x72/0xa0
>>> [ 4788.914991]  [<f98164b2>] ?
>>> ieee80211_add_virtual_monitor+0x192/0x2b0 [mac80211]
>>> [ 4788.915005]  [<f98164b2>] ?
>>> ieee80211_add_virtual_monitor+0x192/0x2b0 [mac80211]
>>> [ 4788.915008]  [<c0136372>] warn_slowpath_null+0x22/0x30
>>> [ 4788.915022]  [<f98164b2>] ieee80211_add_virtual_monitor+0x192/0x2b0
>>> [mac80211]
>>> [ 4788.915027]  [<c06bb3c6>] ? printk+0x4d/0x4f
>>> [ 4788.915041]  [<f98185ea>] ieee80211_set_monitor_enabled+0x1a/0x50 [mac80211]
>>> [ 4788.915050]  [<f8fa5688>] cfg80211_update_iface_num+0x108/0x270 [cfg80211]
>>> [ 4788.915058]  [<f8fa5dee>] cfg80211_netdev_notifier_call+0x5fe/0x640
>>> [cfg80211]
>>> [ 4788.915062]  [<c0690142>] ? packet_notifier+0x1c2/0x2b0
>>> [ 4788.915066]  [<c0690156>] ? packet_notifier+0x1d6/0x2b0
>>> [ 4788.915070]  [<c06c2982>] notifier_call_chain+0x42/0xf0
>>> [ 4788.915075]  [<c0162d4f>] raw_notifier_call_chain+0x1f/0x30
>>> [ 4788.915080]  [<c05b156c>] call_netdevice_notifiers+0x2c/0x60
>>> [ 4788.915085]  [<c019738b>] ? trace_hardirqs_on+0xb/0x10
>>> [ 4788.915088]  [<c05b209c>] __dev_open+0x5c/0xf0
>>> [ 4788.915091]  [<c06bee35>] ? _raw_spin_unlock_bh+0x35/0x40
>>> [ 4788.915095]  [<c05b0e29>] __dev_change_flags+0x109/0x170
>>> [ 4788.915098]  [<c05b2003>] dev_change_flags+0x23/0x60
>>> [ 4788.915102]  [<c061cf10>] devinet_ioctl+0x6a0/0x770
>>> [ 4788.915106]  [<c061f725>] inet_ioctl+0x95/0xb0
>>> [ 4788.915109]  [<c059d2b0>] sock_ioctl+0x70/0x270
>>> [ 4788.915113]  [<c059d240>] ? sock_fasync+0xc0/0xc0
>>> [ 4788.915117]  [<c02656a6>] do_vfs_ioctl+0x86/0x5a0
>>> [ 4788.915121]  [<c016197b>] ? up_read+0x1b/0x30
>>> [ 4788.915124]  [<c06c2714>] ? do_page_fault+0x244/0x470
>>> [ 4788.915128]  [<c0255c75>] ? fget_light+0x355/0x410
>>> [ 4788.915131]  [<c0163314>] ? __put_cred+0x34/0x50
>>> [ 4788.915135]  [<c0265c37>] sys_ioctl+0x77/0x80
>>> [ 4788.915139]  [<c06c65e3>] 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]  [<c0136322>] warn_slowpath_common+0x72/0xa0
>>> [ 4788.915251]  [<f981861c>] ? ieee80211_set_monitor_enabled+0x4c/0x50
>>> [mac80211]
>>> [ 4788.915265]  [<f981861c>] ? ieee80211_set_monitor_enabled+0x4c/0x50
>>> [mac80211]
>>> [ 4788.915268]  [<c0136372>] warn_slowpath_null+0x22/0x30
>>> [ 4788.915282]  [<f981861c>] ieee80211_set_monitor_enabled+0x4c/0x50 [mac80211]
>>> [ 4788.915289]  [<f8fa5688>] cfg80211_update_iface_num+0x108/0x270 [cfg80211]
>>> [ 4788.915296]  [<f8fa5dee>] cfg80211_netdev_notifier_call+0x5fe/0x640
>>> [cfg80211]
>>> [ 4788.915299]  [<c0690142>] ? packet_notifier+0x1c2/0x2b0
>>> [ 4788.915303]  [<c0690156>] ? packet_notifier+0x1d6/0x2b0
>>> [ 4788.915307]  [<c06c2982>] notifier_call_chain+0x42/0xf0
>>> [ 4788.915311]  [<c0162d4f>] raw_notifier_call_chain+0x1f/0x30
>>> [ 4788.915314]  [<c05b156c>] call_netdevice_notifiers+0x2c/0x60
>>> [ 4788.915317]  [<c019738b>] ? trace_hardirqs_on+0xb/0x10
>>> [ 4788.915321]  [<c05b209c>] __dev_open+0x5c/0xf0
>>> [ 4788.915324]  [<c06bee35>] ? _raw_spin_unlock_bh+0x35/0x40
>>> [ 4788.915327]  [<c05b0e29>] __dev_change_flags+0x109/0x170
>>> [ 4788.915331]  [<c05b2003>] dev_change_flags+0x23/0x60
>>> [ 4788.915334]  [<c061cf10>] devinet_ioctl+0x6a0/0x770
>>> [ 4788.915338]  [<c061f725>] inet_ioctl+0x95/0xb0
>>> [ 4788.915341]  [<c059d2b0>] sock_ioctl+0x70/0x270
>>> [ 4788.915344]  [<c059d240>] ? sock_fasync+0xc0/0xc0
>>> [ 4788.915347]  [<c02656a6>] do_vfs_ioctl+0x86/0x5a0
>>> [ 4788.915350]  [<c016197b>] ? up_read+0x1b/0x30
>>> [ 4788.915353]  [<c06c2714>] ? do_page_fault+0x244/0x470
>>> [ 4788.915357]  [<c0255c75>] ? fget_light+0x355/0x410
>>> [ 4788.915360]  [<c0163314>] ? __put_cred+0x34/0x50
>>> [ 4788.915363]  [<c0265c37>] sys_ioctl+0x77/0x80
>>> [ 4788.915367]  [<c06c65e3>] sysenter_do_call+0x12/0x38
>>> [ 4788.915368] ---[ end trace 2b26c2a43fea3614 ]---
>>> [ 4788.915371]
>>>
>>>
>>
>>
>
>
>
> --
> thanks,
> shafi



-- 
thanks,
shafi

  reply	other threads:[~2012-07-11 14:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-11 14:05 warning in iwlwifi on monitor mode in 3.5.0-rc6-wl Mohammed Shafi
2012-07-11 14:18 ` Johannes Berg
2012-07-11 14:24   ` Mohammed Shafi
2012-07-11 14:29     ` Mohammed Shafi [this message]
2012-07-11 14:30       ` Johannes Berg
2012-07-12 13:24       ` Johannes Berg
2012-07-12 15:10         ` Mohammed Shafi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAD2nsn3j4TeopXJtsGACpie6oxo1U+8vYtdv8h65t9jdgqRk1Q@mail.gmail.com \
    --to=shafi.wireless@gmail.com \
    --cc=egrumbach@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=michal.kazior@tieto.com \
    --cc=wey-yi.w.guy@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.