RE: Re[2]: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1

From: Donald Parsons
Date: Thu Oct 15 2015 - 16:21:31 EST


On Thu, 2015-10-15 at 02:53 +0000, Brown, Len wrote:
> > > > Did you try reverting the "x86/smpboot: Remove
> > APIC.wait_for_init_deassert
> > > > and atomic init_deasserted" patch?
> > >
> > > Yes, please let me know if reverting that patch helps you too.
> >
> > How? Please send a patch or git cmd(s). I have the
> > git/stable/linux-stable.git on my PC. Thanks.
>
> git log calls it this:
>
> commit 656bba306827a44ed73b3f93f75bb3147de17fae
> Author: Len Brown <len.brown@xxxxxxxxx>
> Date: Sun Aug 16 11:45:48 2015 -0400
>
> x86/smpboot: Remove APIC.wait_for_init_deassert and atomic init_deasserted
>
> So you want to simply do this:
>
> $ git revert 656bba306827a44ed73b3f93f75bb3147de17fae
>
> build and test.

I did the revert in linux-stable (last tag being v4.3-rc4) gave a revert
description so it would be applied.

built and tested. Result: did not help, still missing the second core.

I am sure the revert happened but I am uncertain as to how to build in a
git tree. I think I did it correctly
cp .config into linux-stable tree
edit Makefile to add -rev to: EXTRAVERSION = -rc4-rev
make oldconfig
make -j3 >> ../mak/mak_430-rc4-rev.log 2>&1 &

The before/after kernels are:
3965280 Oct 4 15:20 vmlinuz-4.3.0-rc4
3965408 Oct 15 13:45 vmlinuz-4.3.0-rc4-rev
The reverted vmlinuz is 128 bytes bigger; .config's are identical. I
see the revert adds back in some code so sizes seem appropriate.

Don

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