Re: 2.6.24-rc7-rt1

From: Gregory Haskins
Date: Tue Jan 15 2008 - 11:57:16 EST


>>> On Tue, Jan 15, 2008 at 4:28 AM, in message
<1200389315.4130.3.camel@xxxxxxxxxxxxxxxx>, Mike Galbraith <efault@xxxxxx>
wrote:

> debug resume trace
>
> static inline int pick_optimal_cpu(int this_cpu, cpumask_t *mask)
> {
> int first;
>
> /* "this_cpu" is cheaper to preempt than a remote processor */
> if ((this_cpu != -1) && cpu_isset(this_cpu, *mask))
> return this_cpu;
>
> first = first_cpu(*mask);
> if (first != NR_CPUS) {
> if (!cpu_online(first)) {
> WARN_ON_ONCE(1);
> return -1;
> }
> return first;
> }
>
> return -1;
> }
>
> [ 156.344352] CPU1 is down
> [ 3.726557] Intel machine check architecture supported.
> [ 3.726565] Intel machine check reporting enabled on CPU#0.
> [ 3.726567] CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
> [ 3.726570] CPU0: Thermal monitoring enabled
> [ 3.726576] Back to C!
> [ 3.727107] Force enabled HPET at resume
> [ 3.727193] Enabling non-boot CPUs ...
> [ 3.727446] CPU0 attaching NULL sched-domain.
> [ 3.727550] WARNING: at kernel/sched_rt.c:385 pick_optimal_cpu()
> [ 3.727553] Pid: 27, comm: events/0 Not tainted 2.6.24-rt2-smp #73
> [ 3.727556] [<b010522a>] show_trace_log_lvl+0x1a/0x30
> [ 3.727564] [<b0105ccd>] show_trace+0x12/0x14
> [ 3.727567] [<b010641f>] dump_stack+0x6c/0x72
> [ 3.727569] [<b0120b0f>] find_lowest_rq+0x199/0x1af
> [ 3.727573] [<b0120beb>] push_rt_task+0x6e/0x1ed
> [ 3.727575] [<b01276a3>] switched_to_rt+0x39/0x55
> [ 3.727579] [<b0128cd1>] task_setprio+0xbf/0x18f
> [ 3.727581] [<b014c21e>] __rt_mutex_adjust_prio+0x19/0x1c
> [ 3.727585] [<b014c943>] task_blocks_on_rt_mutex+0x14e/0x17e
> [ 3.727588] [<b02f2e18>] rt_spin_lock_slowlock+0xed/0x16a
> [ 3.727593] [<b02f351a>] __rt_spin_lock+0x41/0x48
> [ 3.727596] [<b02f3529>] rt_spin_lock+0x8/0xa
> [ 3.727598] [<b013f2c2>] finish_wait+0x25/0x49
> [ 3.727602] [<b013c746>] worker_thread+0x64/0xe1
> [ 3.727605] [<b013efb2>] kthread+0x39/0x5b
> [ 3.727607] [<b0104e83>] kernel_thread_helper+0x7/0x14
> [ 3.727610] =======================
> [ 3.727624] SMP alternatives: switching to SMP code
> [ 3.728314] Booting processor 1/1 eip 3000

This gives me a much better hint, Mike. Thanks!

-Greg

--
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/