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

Rafael J. Wysocki
2009-06-09T23:19:36Z

On Tuesday 09 June 2009, Stephen Hemminger wrote:
> On Tue, 09 Jun 2009 21:42:55 +0300
> Avi Kivity <avi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>
> > Stephen Hemminger wrote:
> >
> >
> >
> > >> This only affects reboots. But yes, the cpumask code has bugs. Does
> > >> the .config involved select MAXSMP?
> > >>
> > >>
> > >
> > > Patch does not fix the problem. Not sure if it is KVM only problem.
> > > Look like possible cpumask always equals what ACPI / SMP tables report.
> > > So currently looking into alloc_percpu which may not handle the possible
> > > but never used cpus.
> > >
> > >
> >
> > Right, it shouldn't have.
> >
> > > It is x86-64 config and does not have MAXSMP set. It does have NR_CPUS set.
> > >
> >
> > So it's not cpumask. Dare I suggest a bisect?
> >
>
> I did some testing of different versions.
>
> * Problem does not exist with 2.6.30-rc8 (so regression should be closed).

Done.

Thanks,
Rafael