BUG: using smp_processor_id() in preemptible [00000000] code: ondemand/1327

From: andrew hendry
Date: Sun May 30 2010 - 04:02:46 EST


I get 6 of these logged together about 1 minute after startup on an i7-860.
Config attached. Distro is Ubuntu 10.04 64 bit.
Is this one known or should I start a bisect?

[ 64.924201] BUG: using smp_processor_id() in preemptible [00000000]
code: ondemand/1327
[ 64.924625] caller is nr_iowait_cpu+0x1a/0x40
[ 64.924627] Pid: 1327, comm: ondemand Not tainted 2.6.34 #2
[ 64.924629] Call Trace:
[ 64.924634] [<ffffffff81288548>] debug_smp_processor_id+0xd8/0xf0
[ 64.924637] [<ffffffff81042c7a>] nr_iowait_cpu+0x1a/0x40
[ 64.924641] [<ffffffff81089f42>] update_ts_time_stats+0x72/0x90
[ 64.924645] [<ffffffff81012759>] ? read_tsc+0x9/0x20
[ 64.924647] [<ffffffff81084733>] ? ktime_get+0x63/0xe0
[ 64.924650] [<ffffffff8108a162>] get_cpu_idle_time_us+0x52/0x80
[ 64.924654] [<ffffffff8140a44c>] cpufreq_governor_dbs+0x1dc/0x430
[ 64.924657] [<ffffffff81407af5>] __cpufreq_governor+0xc5/0x190
[ 64.924660] [<ffffffff81407552>] ? lock_policy_rwsem_write+0x52/0x90
[ 64.924662] [<ffffffff81407d07>] __cpufreq_set_policy+0x147/0x190
[ 64.924665] [<ffffffff81408125>] store_scaling_governor+0xe5/0x210
[ 64.924667] [<ffffffff81408480>] ? handle_update+0x0/0x20
[ 64.924672] [<ffffffff8151dc00>] ? _raw_write_unlock_irq+0x40/0x50
[ 64.924675] [<ffffffff814075f7>] store+0x67/0xa0
[ 64.924679] [<ffffffff811a1375>] sysfs_write_file+0xe5/0x170
[ 64.924682] [<ffffffff8113b088>] vfs_write+0xb8/0x180
[ 64.924685] [<ffffffff8113b231>] sys_write+0x51/0x90
[ 64.924689] [<ffffffff8100b0f2>] system_call_fastpath+0x16/0x1b

Attachment: config.gz
Description: GNU Zip compressed data