mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re[2]: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1
@ 2015-10-15 21:18 shrybman
  0 siblings, 0 replies; 7+ messages in thread
From: shrybman @ 2015-10-15 21:18 UTC (permalink / raw)
  To: Brown, Len, Donald Parsons; +Cc: linux-kernel

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

Hmm. I have booted this kernel with the reverted patch a couple of times
now and it seems good. I will rebuild without the revert and test that? ...

Ok, tested without the revert and still missing the second core. So, the
revert seems to reproducibly fix the problem here.    I dunno.


Shane


^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Re[2]: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1
  2015-10-15 20:21           ` Donald Parsons
@ 2015-10-16  0:03             ` Brown, Len
  0 siblings, 0 replies; 7+ messages in thread
From: Brown, Len @ 2015-10-16  0:03 UTC (permalink / raw)
  To: Donald Parsons; +Cc: shrybman, linux-kernel

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

Same result here.

upstream failed to bring up CPU #1 on 5/5 boots

    Revert "x86/smpboot: Remove APIC.wait_for_init_deassert and atomic init_deasserted"

    This reverts commit 656bba306827a44ed73b3f93f75bb3147de17fae.

Still fails the same way.

Adding "cpu_init_udelay=10000"

does not help.

commence bisect...

cheers,
-Len



^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Re[2]: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1
  2015-10-15  2:53         ` Brown, Len
@ 2015-10-15 20:21           ` Donald Parsons
  2015-10-16  0:03             ` Brown, Len
  0 siblings, 1 reply; 7+ messages in thread
From: Donald Parsons @ 2015-10-15 20:21 UTC (permalink / raw)
  To: Brown, Len; +Cc: shrybman, linux-kernel

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@intel.com>
> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Re[2]: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1
  2015-10-15  2:45       ` Donald Parsons
@ 2015-10-15  2:53         ` Brown, Len
  2015-10-15 20:21           ` Donald Parsons
  0 siblings, 1 reply; 7+ messages in thread
From: Brown, Len @ 2015-10-15  2:53 UTC (permalink / raw)
  To: Donald Parsons; +Cc: shrybman, linux-kernel

> > > 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@intel.com>
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.

cheers,
-Len



^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Re[2]: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1
  2015-10-15  2:09     ` Brown, Len
@ 2015-10-15  2:45       ` Donald Parsons
  2015-10-15  2:53         ` Brown, Len
  0 siblings, 1 reply; 7+ messages in thread
From: Donald Parsons @ 2015-10-15  2:45 UTC (permalink / raw)
  To: Brown, Len; +Cc: shrybman, linux-kernel

On Thu, 2015-10-15 at 02:09 +0000, Brown, Len wrote:
> Donald, Shane,
> Thanks for reporting this.
> 
> > > I also tried suggested /vmlinuz-4.3.0-rc3 parameter in grub:
> > >         "cpu_init_udelay=10000"
> > > which did not help getting missing CPU back online.
> 
> right, if the issue is caused by the patch below,
> that cmdline will not help.
> 
> > 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.


> You have similar hardware:
> 
> Shane:
> 
> smpboot: CPU0: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz (fam: 06, model: 0f, stepping: 06)
> 
> Donald:
> 
> CPU : Intel Core 2 CPU 6600 @ 2.4GHz

Mine is also same (fam: 06, model: 0f, stepping: 06).

> I think I can get ahold of a core2 6xxx box tomorrow.
> Please send me your .config directly, and I'll see if I can reproduce the issue.

Will do.

Don


^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Re[2]: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1
  2015-10-15  0:17   ` Re[2]: " shrybman
@ 2015-10-15  2:09     ` Brown, Len
  2015-10-15  2:45       ` Donald Parsons
  0 siblings, 1 reply; 7+ messages in thread
From: Brown, Len @ 2015-10-15  2:09 UTC (permalink / raw)
  To: shrybman, Donald Parsons; +Cc: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 957 bytes --]

Donald, Shane,
Thanks for reporting this.

> > I also tried suggested /vmlinuz-4.3.0-rc3 parameter in grub:
> >         "cpu_init_udelay=10000"
> > which did not help getting missing CPU back online.

right, if the issue is caused by the patch below,
that cmdline will not help.

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

You have similar hardware:

Shane:

smpboot: CPU0: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz (fam: 06, model: 0f, stepping: 06)

Donald:

CPU : Intel Core 2 CPU 6600 @ 2.4GHz

I think I can get ahold of a core2 6xxx box tomorrow.
Please send me your .config directly, and I'll see if I can reproduce the issue.

thanks,
-Len

ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re[2]: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1
  2015-10-14 19:25 ` Donald Parsons
@ 2015-10-15  0:17   ` shrybman
  2015-10-15  2:09     ` Brown, Len
  0 siblings, 1 reply; 7+ messages in thread
From: shrybman @ 2015-10-15  0:17 UTC (permalink / raw)
  To: Donald Parsons; +Cc: len.brown, linux-kernel

..snip..

> >  smpboot: Total of 1 processors activated (4272.42 BogoMIPS)
> >  devtmpfs: initialized
> > I took a guess and got lucky.
> > Reverting "x86/smpboot: Remove APIC.wait_for_init_deassert and atomic init_deasserted" resolved the issue.
> 
> 
> As a followup, I updated compiler to gcc-5.2 (no help or change).
> I also tried suggested /vmlinuz-4.3.0-rc3 parameter in grub: 
>         "cpu_init_udelay=10000"
> which did not help getting missing CPU back online.


Did you try reverting the "x86/smpboot: Remove APIC.wait_for_init_deassert
and atomic init_deasserted"  patch?






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-16  0:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-15 21:18 Re[2]: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1 shrybman
  -- strict thread matches above, loose matches on Subject: below --
2015-10-14 16:20 shrybman
2015-10-14 19:25 ` Donald Parsons
2015-10-15  0:17   ` Re[2]: " shrybman
2015-10-15  2:09     ` Brown, Len
2015-10-15  2:45       ` Donald Parsons
2015-10-15  2:53         ` Brown, Len
2015-10-15 20:21           ` Donald Parsons
2015-10-16  0:03             ` Brown, Len

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®