BUG: scheduling while atomic: iwl3945/0/3680/0x00000002 during resume from suspend - Kernel

This is a discussion on BUG: scheduling while atomic: iwl3945/0/3680/0x00000002 during resume from suspend - Kernel ; Hi, I have noticed BUG condition (%subj) during resume from suspend (see attached dmesg from the resume start) if wireless interface is up during suspend to RAM (BUG doesn't occure when interface is not configured during suspend). Notebook seems to ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: BUG: scheduling while atomic: iwl3945/0/3680/0x00000002 during resume from suspend

  1. BUG: scheduling while atomic: iwl3945/0/3680/0x00000002 during resume from suspend

    Hi,

    I have noticed BUG condition (%subj) during resume from suspend (see
    attached dmesg from the resume start) if wireless interface is up
    during suspend to RAM (BUG doesn't occure when interface is not
    configured during suspend).

    Notebook seems to survive this problem without any noticeable problems
    (wifi is working).

    I am using recent Linus git tree (75fa67706cce5272bcfc51ed646f2da21f3bdb6e)
    with the config attached but the same problem occurs on the 2.6.28-rc2
    and 2.6.27 kernels too (see logs). Traces are not the same, but they are
    very similar.

    Let me know if you need more information or want to try some patches. I
    can bisect down if this is a new problem.

    Thanks
    and
    Best regards
    --
    Michal Hocko
    L3 team
    SUSE LINUX s.r.o.
    Lihovarska 1060/12
    190 00 Praha 9
    Czech Republic


  2. Re: BUG: scheduling while atomic: iwl3945/0/3680/0x00000002 during resume from suspend

    On 11/09/2008 03:14 PM, Michal Hocko wrote:
    > Hi,


    Hi,

    > I have noticed BUG condition (%subj) during resume from suspend (see
    > attached dmesg from the resume start) if wireless interface is up
    > during suspend to RAM (BUG doesn't occure when interface is not
    > configured during suspend).
    >
    > Notebook seems to survive this problem without any noticeable problems
    > (wifi is working).
    >
    > I am using recent Linus git tree (75fa67706cce5272bcfc51ed646f2da21f3bdb6e)
    > with the config attached but the same problem occurs on the 2.6.28-rc2
    > and 2.6.27 kernels too (see logs). Traces are not the same, but they are
    > very similar.


    I think the same as:
    http://marc.info/?l=linux-wireless&m...4514501379&w=2
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  3. Re: BUG: scheduling while atomic: iwl3945/0/3680/0x00000002 during resume from suspend

    On Mon, 2008-11-10 at 01:42 +0800, Jiri Slaby wrote:
    > I think the same as:
    > http://marc.info/?l=linux-wireless&m...4514501379&w=2


    Yup. Try this fix.
    http://git.kernel.org/?p=linux/kerne...a934a130257af4

    Thanks,
    -yi

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  4. Re: BUG: scheduling while atomic: iwl3945/0/3680/0x00000002 during resume from suspend

    Am Montag, 10. November 2008 schrieb Zhu Yi:
    > On Mon, 2008-11-10 at 01:42 +0800, Jiri Slaby wrote:
    > > I think the same as:
    > > http://marc.info/?l=linux-wireless&m...4514501379&w=2

    >
    > Yup. Try this fix.
    >

    http://git.kernel.org/?p=linux/kerne...a934a130257af4

    I got a similar one on
    03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN
    [Kedron] Network Connection (rev 61)

    with a pretty decent git: 2.6.28-rc3-00255-g6209344.
    This version contains the fix for iwlwifi, but I still see this bug.

    [ 2267.565839] Registered led device: iwl-phy0:radio
    [ 2267.565877] Registered led device: iwl-phy0:assoc
    [ 2267.565911] Registered led device: iwl-phy0:RX
    [ 2267.565947] Registered led device: iwl-phy0:TX
    [ 2267.566039] BUG: scheduling while atomic: iwlagn/0/1385/0x00000002
    [ 2267.566043] Modules linked in: psmouse iwlagn ehci_hcd uhci_hcd
    [ 2267.566056] Pid: 1385, comm: iwlagn/0 Not tainted 2.6.28-rc3-00255-g6209344
    #25
    [ 2267.566060] Call Trace:
    [ 2267.566072] [] ? printk+0x18/0x1a
    [ 2267.566081] [] __schedule_bug+0x61/0x70
    [ 2267.566088] [] schedule+0x2b7/0x6d0
    [ 2267.566097] [] ? getnstimeofday+0x4b/0xf0
    [ 2267.566103] [] schedule_timeout+0xad/0xf0
    [ 2267.566109] [] ? lapic_next_event+0x13/0x20
    [ 2267.566117] [] ? clockevents_program_event+0x98/0x150
    [ 2267.566123] [] ? default_spin_lock_flags+0x8/0x10
    [ 2267.566130] [] wait_for_common+0x8a/0x140
    [ 2267.566137] [] ? default_wake_function+0x0/0x10
    [ 2267.566144] [] wait_for_completion+0x12/0x20
    [ 2267.566150] [] synchronize_rcu+0x2d/0x40
    [ 2267.566156] [] ? wakeme_after_rcu+0x0/0x10
    [ 2267.566164] [] __ieee80211_key_todo+0xe/0x230
    [ 2267.566170] [] ? default_spin_lock_flags+0x8/0x10
    [ 2267.566177] [] ? __sta_info_unlink+0xca/0x190
    [ 2267.566182] [] ? default_spin_lock_flags+0x8/0x10
    [ 2267.566189] [] ieee80211_key_todo+0x12/0x20
    [ 2267.566195] [] sta_info_destroy+0x21/0xc0
    [ 2267.566201] [] ieee80211_set_disassoc+0x183/0x210
    [ 2267.566209] [] ieee80211_sta_req_auth+0x83/0x90
    [ 2267.566215] [] ieee80211_notify_mac+0x51/0x80
    [ 2267.566229] [] iwl_bg_alive_start+0x7a/0x2c0 [iwlagn]
    [ 2267.566241] [] ? iwl4965_init_alive_start+0x1c1/0x1d0 [iwlagn]
    [ 2267.566250] [] run_workqueue+0x81/0x150
    [ 2267.566260] [] ? iwl_bg_alive_start+0x0/0x2c0 [iwlagn]
    [ 2267.566277] [] worker_thread+0x88/0xf0
    [ 2267.566283] [] ? autoremove_wake_function+0x0/0x40
    [ 2267.566290] [] ? worker_thread+0x0/0xf0
    [ 2267.566295] [] kthread+0x3c/0x70
    [ 2267.566300] [] ? kthread+0x0/0x70
    [ 2267.566307] [] kernel_thread_helper+0x7/0x14
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  5. Re: BUG: scheduling while atomic: iwl3945/0/3680/0x00000002 during resume from suspend

    On Mon 10-11-08 09:12:20, Zhu Yi wrote:
    > On Mon, 2008-11-10 at 01:42 +0800, Jiri Slaby wrote:
    > > I think the same as:
    > > http://marc.info/?l=linux-wireless&m...4514501379&w=2

    >
    > Yup. Try this fix.
    > http://git.kernel.org/?p=linux/kerne...a934a130257af4


    I have tried this patch (attached to be sure that we are talking about
    the same one), but the problem is still here:

    BUG: scheduling while atomic: iwl3945/0/3677/0x00000002
    Modules linked in: aes_i586 aes_generic i915 drm fuse tun coretemp hwmon arc4 ecb snd_hda_intel snd_pcm snd_seq iwl3945 snd_timer mac80211 led_class snd_seq_device snd cfg80211 snd_page_alloc rtc_cmos rtc_core rtc_lib fujitsu_laptop backlight sky2
    Pid: 3677, comm: iwl3945/0 Not tainted 2.6.28-rc3 #1
    Call Trace:
    [] __schedule_bug+0x48/0x4d
    [] schedule+0xa1/0x8b4
    [] ? enqueue_task_fair+0x2fd/0x305
    [] ? check_preempt_wakeup+0x110/0x13e
    [] ? _spin_unlock_irqrestore+0x11/0x25
    [] ? try_to_wake_up+0x24a/0x255
    [] schedule_timeout+0x17/0xbc
    [] ? __wake_up_common+0x35/0x5b
    [] ? _spin_unlock_irqrestore+0x11/0x25
    [] wait_for_common+0xa8/0xfe
    [] ? default_wake_function+0x0/0xd
    [] wait_for_completion+0x12/0x14
    [] synchronize_rcu+0x2d/0x33
    [] ? wakeme_after_rcu+0x0/0xd
    [] __ieee80211_key_todo+0xe/0x1c1 [mac80211]
    [] ? _spin_unlock_irqrestore+0x11/0x25
    [] ? _spin_lock_irqsave+0x14/0x2e
    [] ? _spin_unlock_irqrestore+0x11/0x25
    [] ? __sta_info_unlink+0xbf/0x163 [mac80211]
    [] ieee80211_key_todo+0x12/0x1e [mac80211]
    [] sta_info_destroy+0x1e/0x9b [mac80211]
    [] ? sta_info_unlink+0x2c/0x31 [mac80211]
    [] ieee80211_set_disassoc+0x1a2/0x1aa [mac80211]
    [] ieee80211_sta_req_auth+0x3f/0x61 [mac80211]
    [] ieee80211_notify_mac+0x39/0x65 [mac80211]
    [] iwl3945_bg_alive_start+0x545/0x5bc [iwl3945]
    [] run_workqueue+0x79/0x101
    [] ? iwl3945_bg_alive_start+0x0/0x5bc [iwl3945]
    [] worker_thread+0xb7/0xc3
    [] ? autoremove_wake_function+0x0/0x33
    [] ? worker_thread+0x0/0xc3
    [] kthread+0x3b/0x61
    [] ? kthread+0x0/0x61
    [] kernel_thread_helper+0x7/0x10

    >
    > Thanks,
    > -yi
    >


    --
    Michal Hocko
    L3 team
    SUSE LINUX s.r.o.
    Lihovarska 1060/12
    190 00 Praha 9
    Czech Republic


  6. Re: BUG: scheduling while atomic: iwl3945/0/3680/0x00000002 during resume from suspend

    On Mon, 2008-11-10 at 17:49 +0800, Christian Borntraeger wrote:
    > Am Montag, 10. November 2008 schrieb Zhu Yi:
    > > On Mon, 2008-11-10 at 01:42 +0800, Jiri Slaby wrote:
    > > > I think the same as:
    > > > http://marc.info/?l=linux-wireless&m...4514501379&w=2

    > >
    > > Yup. Try this fix.
    > >

    > http://git.kernel.org/?p=linux/kerne...a934a130257af4
    >
    > I got a similar one on
    > 03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN
    > [Kedron] Network Connection (rev 61)
    >
    > with a pretty decent git: 2.6.28-rc3-00255-g6209344.
    > This version contains the fix for iwlwifi, but I still see this bug.


    I see. This is a different bug. I'll comment on the previous thread.

    Thanks,
    -yi

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread