* 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
* 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1
@ 2015-10-14 16:20 shrybman
2015-10-14 19:25 ` Donald Parsons
0 siblings, 1 reply; 7+ messages in thread
From: shrybman @ 2015-10-14 16:20 UTC (permalink / raw)
To: linux-kernel; +Cc: len.brown, dparsons
All 3.4-rc kernels I have tried displayed this issue.
This report looks similar https://lkml.org/lkml/2015/9/26/165.
I also have a Core 2 cpu on a Asus P5B (not deluxe) board.
...
ACPI: Core revision 20150818
ACPI: 1 ACPI AML tables successfully acquired and loaded
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
mce: CPU supports 6 MCE banks
CPU0: Thermal monitoring enabled (TM2)
process: using mwait in idle threads
Last level iTLB entries: 4KB 128, 2MB 4, 4MB 4
Last level dTLB entries: 4KB 256, 2MB 0, 4MB 32, 1GB 0
Freeing SMP alternatives memory: 20K (ffffffff819b5000 - ffffffff819ba000)
ftrace: allocating 18583 entries in 73 pages
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
smpboot: CPU0: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz (fam: 06, model: 0f, stepping: 06)
Performance Events: PEBS fmt0-, 4-deep LBR, Core2 events, Intel PMU driver.
perf_event_intel: PEBS disabled due to CPU errata
... version: 2
... bit width: 40
... generic registers: 2
... value mask: 000000ffffffffff
... max period: 000000007fffffff
... fixed-purpose events: 3
... event mask: 0000000700000003
x86: Booting SMP configuration:
.... node #0, CPUs: #1
smpboot: do_boot_cpu failed(-1) to wakeup CPU#1
x86: Booted up 1 node, 1 CPUs
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.
Regards,
Shane
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 3.4-rc smpboot: do_boot_cpu failed(-1) to wakeup CPU#1
2015-10-14 16:20 shrybman
@ 2015-10-14 19:25 ` Donald Parsons
2015-10-15 0:17 ` Re[2]: " shrybman
0 siblings, 1 reply; 7+ messages in thread
From: Donald Parsons @ 2015-10-14 19:25 UTC (permalink / raw)
To: shrybman; +Cc: linux-kernel, len.brown
On Wed, 2015-10-14 at 12:20 -0400, shrybman wrote:
> All 3.4-rc kernels I have tried displayed this issue.
> This report looks similar https://lkml.org/lkml/2015/9/26/165.
> I also have a Core 2 cpu on a Asus P5B (not deluxe) board.
> ...
> ACPI: Core revision 20150818
> ACPI: 1 ACPI AML tables successfully acquired and loaded
> Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
> Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
> CPU: Physical Processor ID: 0
> CPU: Processor Core ID: 0
> mce: CPU supports 6 MCE banks
> CPU0: Thermal monitoring enabled (TM2)
> process: using mwait in idle threads
> Last level iTLB entries: 4KB 128, 2MB 4, 4MB 4
> Last level dTLB entries: 4KB 256, 2MB 0, 4MB 32, 1GB 0
> Freeing SMP alternatives memory: 20K (ffffffff819b5000 - ffffffff819ba000)
> ftrace: allocating 18583 entries in 73 pages
> ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
> smpboot: CPU0: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz (fam: 06, model: 0f, stepping: 06)
> Performance Events: PEBS fmt0-, 4-deep LBR, Core2 events, Intel PMU driver.
> perf_event_intel: PEBS disabled due to CPU errata
> ... version: 2
> ... bit width: 40
> ... generic registers: 2
> ... value mask: 000000ffffffffff
> ... max period: 000000007fffffff
> ... fixed-purpose events: 3
> ... event mask: 0000000700000003
> x86: Booting SMP configuration:
> .... node #0, CPUs: #1
> smpboot: do_boot_cpu failed(-1) to wakeup CPU#1
> x86: Booted up 1 node, 1 CPUs
> 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.
So all linux-4.3.0-rc[15] lose the second CPU core.
Don
^ 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
* 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: 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 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: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 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
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®