[2.6.28.7] BUG: using smp_processor_id() in preemptible [00000000]code: pageattr-test/207

From: Tilman Schmidt
Date: Mon Feb 23 2009 - 13:55:00 EST


Booting the most recent stable kernel 2.6.28.7 on my workhorse machine
(Pentium D, openSUSE 10.3 32 bit userspace) produces rather a lot of
the following BUG messages:

<3>BUG: using smp_processor_id() in preemptible [00000000] code: pageattr-test/207
<4>caller is paravirt_get_lazy_mode+0xe/0x1b
<4>Pid: 207, comm: pageattr-test Not tainted 2.6.28.7-testing #1
<4>Call Trace:
<4> [<c0204760>] debug_smp_processor_id+0xac/0xc0
<4> [<c011ad90>] paravirt_get_lazy_mode+0xe/0x1b
<4> [<c011c925>] arch_flush_lazy_mmu_mode+0x8/0x19
<4> [<c011d07c>] change_page_attr_set_clr+0x283/0x28e
<4> [<c011d152>] change_page_attr_set+0xf/0x11
<4> [<c011d347>] do_pageattr_test+0x1f3/0x3e3
<4> [<c01247f1>] ? finish_task_switch+0xa0/0xa8
<4> [<c032f799>] ? schedule+0x462/0x472
<4> [<c0331353>] ? _spin_unlock_irqrestore+0x40/0x74
<4> [<c011d154>] ? do_pageattr_test+0x0/0x3e3
<4> [<c0139f1d>] kthread+0x3b/0x62
<4> [<c0139ee2>] ? kthread+0x0/0x62
<4> [<c0104a43>] kernel_thread_helper+0x7/0x10

They occur regularly in bursts of ten, separated by 30 second break.
The previous kernel:

ts@xenon:~> uname -a
Linux xenon 2.6.28.6-testing #1 SMP PREEMPT Wed Feb 18 21:05:30 CET 2009 i686 i686 i386 GNU/Linux

with identical config and userspace (double-checked this time ;-)
runs quite BUG-free.

HTH
Tilman

--
Tilman Schmidt E-Mail: tilman@xxxxxxx
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)


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