From: Jan Kiszka <jan.kiszka@domain.hid>
To: Giammarco Zacheo <g.zacheo@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] BUG while modprobing nucleus - no SMI workaround
Date: Sun, 09 Dec 2007 17:04:31 +0100 [thread overview]
Message-ID: <475C120F.9020107@domain.hid> (raw)
In-Reply-To: <b054e88e0711290957v17aac9b1vf30cd76c171bc1ac@domain.hid>
Giammarco Zacheo wrote:
> Just installed kernel 2.6.23.9 with Xenomai 2.4-rc7 on my quad-core
> machine, and I got this on the console:
>
> BUG: using smp_processor_id() in preemptible [00000001] code: modprobe/4776
> caller is flat_send_IPI_allbutself+0x17/0x32
>
> Call Trace:
> [<ffffffff80319796>] debug_smp_processor_id+0xde/0xec
> [<ffffffff80219fb5>] flat_send_IPI_allbutself+0x17/0x32
> [<ffffffff8021651a>] ipipe_critical_enter+0x84/0xaf
> [<ffffffff80253239>] ipipe_register_domain+0x65/0x225
> [<ffffffff8025387e>] rthal_init+0x164/0x1fd
> [<ffffffff803da4e7>] rthal_domain_entry+0x0/0x3d
> [<ffffffff88103059>] :xeno_nucleus:__xeno_sys_init+0x3e/0x1d4
> [<ffffffff8024bfb2>] sys_init_module+0x1565/0x16c5
> [<ffffffff8020b482>] system_call+0x92/0x97
Looks like a harmless false positive. Does this patch help?
Index: linux-2.6.23.8-xeno_64/lib/smp_processor_id.c
===================================================================
--- linux-2.6.23.8-xeno_64.orig/lib/smp_processor_id.c
+++ linux-2.6.23.8-xeno_64/lib/smp_processor_id.c
@@ -19,7 +19,7 @@ unsigned int debug_smp_processor_id(void
if (likely(preempt_count))
goto out;
- if (irqs_disabled())
+ if (irqs_disabled() || irqs_disabled_hw())
goto out;
/*
Jan
next prev parent reply other threads:[~2007-12-09 16:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-29 17:57 [Xenomai-core] BUG while modprobing nucleus - no SMI workaround Giammarco Zacheo
2007-12-09 16:04 ` Jan Kiszka [this message]
2007-12-10 11:24 ` Giammarco Zacheo
2007-12-09 16:11 ` Jan Kiszka
2007-12-09 16:26 ` Gilles Chanteperdrix
[not found] ` <b054e88e0712100258l4a52db06m1efd4b0cc2c4e4be@domain.hid>
2007-12-10 11:25 ` Giammarco Zacheo
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=475C120F.9020107@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=g.zacheo@domain.hid \
--cc=xenomai@xenomai.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 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.