kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: kristof@sigsegv.be (Kristof Provost)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Should I do anything about this warning?
Date: Wed, 8 Oct 2014 11:33:57 +0200	[thread overview]
Message-ID: <20141008093357.GE2017@vega.codepro.be> (raw)
In-Reply-To: <20141008071356.GA20385@gmail.com>

On 2014-10-08 12:43:58 (+0530), Sagar Padhye <sgr.m.pdy@gmail.com> wrote:
> I am new at kernel programming. I have written a driver for a custom
> device, running on arm board. It works well (for last few months).  I
> happen to look at kernel logs and I seen,
> 
> [231250.899146] WARNING: at kernel/workqueue.c:1953 process_one_work+0x398/0x52c()
> 
You triggered a warning in the code.

> The device is still working after this. No issues in operation. I am
> just sceptical about analyzing this issue? Do I need to check more? If
> yes how? with this trace?
> 
Yes, this indicates a potential problem.
You start my looking at line 1953 in kernel/workqueue.c, where you'll
see which specific warning you're triggering.

It's probably this one:
>   /* ensure we're on the correct CPU */
>    WARN_ON_ONCE(!(pool->flags & POOL_DISASSOCIATED) &&
>             raw_smp_processor_id() != pool->cpu);

Regards,
Kristof

  reply	other threads:[~2014-10-08  9:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-08  7:13 Should I do anything about this warning? Sagar Padhye
2014-10-08  9:33 ` Kristof Provost [this message]
2014-10-08 11:55   ` Sagar Padhye

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=20141008093357.GE2017@vega.codepro.be \
    --to=kristof@sigsegv.be \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).