All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Mushtaq Khan <mushtaqk921@gmail.com>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: BUG: scheduling while atomic
Date: Tue, 17 Feb 2015 11:18:01 +0100	[thread overview]
Message-ID: <20150217101800.GH26177@linutronix.de> (raw)
In-Reply-To: <CAP6rfc-1i2LkwVJory31cj8XzaYfXrBcpmKLPE2GP709LEw=Jg@mail.gmail.com>

* Mushtaq Khan | 2014-09-17 14:42:30 [+0530]:

>Hi,
> I see error message "BUG: scheduling while atomic"intermittently. As
>per other post on similar  issue, this happens when schedule is called
>from either interrupt
> context or some other atomic operation (Might be after acquiring
>spinlock). But from the call trace am not getting any clue, please
>help me guide  on this issue.
>Using Linux 3.4rt.

That P in your drivers suggests that you have non GPL code in your
kernel.
You could increase the debugging level and check who disabled preemption
and then working around it.

> BUG: scheduling while atomic: dslmgmt/538/0x00000201
>  pwrmngtd(P) init_addr(  (null) -   (null)), core_addr(c032e000 - c032f54c)
>  bcmvlan(P) init_addr(  (null) -   (null)), core_addr(c030a000 - c031a598)
>  p8021ag(P) init_addr(  (null) -   (null)), core_addr(c02e0000 - c02e1120)
>  bcmarl(P) init_addr(  (null) -   (null)), core_addr(c02d7000 - c02d7e74)
>  nciTMSkmod(P) init_addr(  (null) -   (null)), core_addr(c0280000 - c029ffc8)
>  bcm_enet init_addr(  (null) -   (null)), core_addr(c01e4000 - c02078f4)
>  adsldd(P) init_addr(  (null) -   (null)), core_addr(c011b000 - c0150c78)
>  bcmxtmcfg(P) init_addr(  (null) -   (null)), core_addr(c009a000 - c00a5e28)
>  pktflow(P) init_addr(  (null) -   (null)), core_addr(c0067000 - c0074800)
>  bcm_bpm(P) init_addr(  (null) -   (null)), core_addr(c0045000 - c0046470)
>  bcm_ingqos(P) init_addr(  (null) -   (null)), core_addr(c003a000 - c003b070)
>  chipinfo(P) init_addr(  (null) -   (null)), core_addr(c0031000 - c0031198)

Sebastian

  reply	other threads:[~2015-02-17 10:18 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-17  9:12 BUG: scheduling while atomic Mushtaq Khan
2015-02-17 10:18 ` Sebastian Andrzej Siewior [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-08-05 14:09 James Courtier-Dutton
2018-08-06  0:48 ` Qu Wenruo
     [not found]   ` <CAAMvbhGJdGobexGS0QEGDexNeZpZkJY3o_s9N4izZeEJ7-HWtA@mail.gmail.com>
2018-08-06  6:26     ` Qu Wenruo
2018-08-10 22:14       ` James Courtier-Dutton
2018-08-10 23:26         ` Qu Wenruo
     [not found] <CABOM9ZqSazS-NkD980f6sUyy=hk1aLVY+Vjwcxs3mGybvbkgaQ@mail.gmail.com>
2012-04-18  6:44 ` Arun KS
2012-04-18  7:31   ` Dave Hylands
2012-04-18  8:08     ` Arun KS
2012-04-18  8:14       ` Dave Hylands
2012-04-18  8:27       ` Srivatsa S. Bhat
2012-04-18  8:40         ` Arun KS
2012-04-18  8:58   ` Arun KS
2012-04-18 15:40     ` Dave Hylands
2012-02-13  8:08 Florian Tobias Schandinat
2012-02-13  8:08 ` Florian Tobias Schandinat
2011-12-09 10:00 Amon Ott
2011-12-14 23:59 ` Samuel Just
2011-12-05  9:12 Bug:scheduling " sandeep kumar
2011-12-05 19:03 ` Jonathan Neuschäfer
2011-12-05 19:16 ` Jonathan Neuschäfer
2011-05-10  5:51 BUG: scheduling " sandeep kumar
2011-05-10  6:08 ` Dave Hylands
2010-08-27  7:59 Sergey Senozhatsky
2010-08-27  7:59 Sergey Senozhatsky
2010-08-27 19:02 ` Rafael J. Wysocki
2010-08-27 19:02 ` Rafael J. Wysocki
2010-08-28  6:42   ` Pavel Machek
2010-08-30  7:29     ` Sergey Senozhatsky
2010-08-30  7:29     ` Sergey Senozhatsky
2010-08-30 10:04     ` Sergey Senozhatsky
2010-08-30 10:04     ` Sergey Senozhatsky
2010-08-28  6:42   ` Pavel Machek
2009-06-27 11:10 Michael Guntsche
2009-06-27 13:06 ` Alan Cox
2009-06-27 16:07   ` Michael Guntsche
2009-07-06  7:43     ` Herbert Xu
2009-07-06  8:31       ` Herbert Xu
2009-07-06 15:28         ` Michael Guntsche
2009-07-06 15:32         ` Alan Cox
2009-07-06 17:17           ` Alan Cox
2009-07-06 18:07             ` Michael Guntsche
2009-07-06 18:18               ` Alan Cox
2009-07-06 18:37                 ` Michael Guntsche
2009-07-06 10:00       ` Alan Cox
2009-06-19 18:15 Sergey Senozhatsky
2009-06-20 17:43 ` Rabin Vincent
2009-06-20 18:54   ` Sergey Senozhatsky
2009-06-22  9:04     ` Alan Cox
2009-06-22  9:57     ` Alan Cox
2009-06-22 11:33       ` Sergey Senozhatsky
2009-06-22 12:36         ` Alan Cox
2009-06-22 13:59           ` Sergey Senozhatsky
2009-07-06  7:55           ` Herbert Xu
2009-04-07  6:29 Bug:scheduling " Vijay Nikam
2009-04-07  6:42 ` Kumar Gala
2008-03-17 15:00 BUG: scheduling " Holger Schurig
2008-03-17 15:13 ` Johannes Berg
2008-03-17 15:54   ` Holger Schurig
2008-02-19 22:22 John Linn
2007-07-30 17:07 Girish kathalagiri
2006-12-08 15:47 Christian
2006-06-02  9:39 fonseka
2006-06-02 12:37 ` Roger Luethi
2006-06-02 14:07   ` fonseka

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=20150217101800.GH26177@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=mushtaqk921@gmail.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.