Re: [Bug #13116] Can't boot with nosmp

Dan Williams
2009-06-02T17:47:32Z

On Sat, 2009-05-30 at 12:37 -0700, Rafael J. Wysocki wrote:
> This message has been generated automatically as a part of a report
> of recent regressions.
>
> The following bug entry is on the current list of known regressions
> from 2.6.29. Please verify if it still should be listed and let me know
> (either way).
>
>
> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13116
> Subject : Can't boot with nosmp
> Submitter : Stephen Hemminger <shemminger-ZtmgI6mnKB3QT0dZR+AlfA@public.gmane.org>
> Date : 2009-04-15 4:18 (46 days old)
> References : http://marc.info/?l=linux-kernel&m=123976917817920&w=4
> Handled-By : Dan Williams <dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Still open as "can't reproduce" on my end. Stephen can you reproduce
with the following patch to confirm that the cpumasks are sane?

Thanks,
Dan

diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c
index 5a87384..4cdcbc6 100644
--- a/drivers/dma/dmaengine.c
+++ b/drivers/dma/dmaengine.c
@@ -444,6 +444,7 @@ static void dma_channel_rebalance(void)
else
chan = nth_chan(cap, -1);

+ pr_info("%s: cpu: %d cap: %d\n", __func__, cpu, cap);
per_cpu_ptr(channel_table[cap], cpu)->chan = chan;
}
}