linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC8641D SMP "Processor 1 is stuck"
@ 2014-08-12 14:29 Chris Enrique
  2014-08-13 23:02 ` Scott Wood
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Enrique @ 2014-08-12 14:29 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 3544 bytes --]

Hello,

i am currently working on a GE PPC9A board which has a MPC8641D processor.

My work on this board is currently based on the yocto project (where i also
put this issue on the mailinglist) but the issue affects mainly the
kernel's SMP feature so i want to share this issue here as well and see if
anybody can help:

i created a BSP for this board and yocto generates a fully working 3.14
kernel and rootfs as well as devicetree.

the only thing which is causing problems is SMP. i included the following
kernel options:

CONFIG_SMP=y
CONFIG_SCHED_SMT=y
CONFIG_NR_CPUS=64

Unfortunately, only one CPU is brought up during boot:

...
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Sorting __ex_table...
Memory: 2066916K/2097152K available (4312K kernel code, 188K rwdata, 952K
rodata, 200K init, 131K bss, 30236K reserved, 1310716K highmem)
Kernel virtual memory layout:
  * 0xffbdf000..0xfffff000  : fixmap
  * 0xff400000..0xff800000  : highmem PTEs
  * 0xff3dd000..0xff400000  : early ioremap
  * 0xf1000000..0xff3dd000  : vmalloc & ioremap
Preemptible hierarchical RCU implementation.
    Dump stacks of tasks blocking RCU-preempt GP.
    RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS:512 nr_irqs:512 16
mpic: Setting up MPIC " MPIC     " version 1.2 at fef40000, max 2 CPUs
mpic: ISU size: 256, shift: 8, mask: ff
mpic: Initializing for 256 sources
clocksource: timebase mult[7800001] shift[24] registered
Console: colour dummy device 80x25
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
mpic: requesting IPIs...
ProcePID hash table entries: 4096 (order: 12, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2044396k/2097152k available (4464k kernel code, 51632k reserved,
148k data, 145k bss, 196k init)
Kernel virtual memory layout:
  * 0xfffe0000..0xfffff000  : fixmap
  * 0xff800000..0xffc00000  : highmem PTEs
  * 0xff3db000..0xff800000  : early ioremap
  * 0xf1000000..0xff3db000  : vmalloc & ioremap
NR_IRQS:512
mpic: Setting up MPIC " MPIC     " version 1.2 at fef40000, max 2 CPUs
mpic: ISU size: 256, shift: 8, mask: ff
mpic: Initializing for 256 sources
clocksource: timebase mult[1e00000] shift[22] registered
Console: colour dummy device 80x25
Mount-cache hash table entries: 512
smp_prepare_cpus
mpic: requesting IPIs ...
smp: kicking cpu 1
Processor 1 is stuck.
Brought up 1 CPUs
NET: Registered protocol family 16
...

GE had also released a kernel for this board (2009 2.6 kernel), SMP seems
to fail there as well:

...
Kernel virtual memory layout:
  * 0xfffe0000..0xfffff000  : fixmap
  * 0xff800000..0xffc00000  : highmem PTEs
  * 0xff3db000..0xff800000  : early ioremap
  * 0xf1000000..0xff3db000  : vmalloc & ioremap
NR_IRQS:512
mpic: Setting up MPIC " MPIC     " version 1.2 at fef40000, max 2 CPUs
mpic: ISU size: 256, shift: 8, mask: ff
mpic: Initializing for 256 sources
clocksource: timebase mult[1e00000] shift[22] registered
Console: colour dummy device 80x25
Mount-cache hash table entries: 512
smp_prepare_cpus
mpic: requesting IPIs ...
smp: kicking cpu 1
Processor 1 is stuck.
Brought up 1 CPUs
...

Does anybody have an idea what might cause this problem?

Kind regards,
Chris

[-- Attachment #2: Type: text/html, Size: 4074 bytes --]

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

* Re: MPC8641D SMP "Processor 1 is stuck"
  2014-08-12 14:29 MPC8641D SMP "Processor 1 is stuck" Chris Enrique
@ 2014-08-13 23:02 ` Scott Wood
  0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2014-08-13 23:02 UTC (permalink / raw)
  To: Chris Enrique; +Cc: linuxppc-dev

On Tue, 2014-08-12 at 16:29 +0200, Chris Enrique wrote:
> Hello,
> 
> i am currently working on a GE PPC9A board which has a MPC8641D
> processor.
> 
> 
> My work on this board is currently based on the yocto project (where i
> also put this issue on the mailinglist) but the issue affects mainly
> the kernel's SMP feature so i want to share this issue here as well
> and see if anybody can help:
> 
> 
> 
> i created a BSP for this board and yocto generates a fully working
> 3.14 kernel and rootfs as well as devicetree.
> 
> the only thing which is causing problems is SMP. i included the
> following kernel options:
> 
> CONFIG_SMP=y
> CONFIG_SCHED_SMT=y
> CONFIG_NR_CPUS=64
> 
> 
> Unfortunately, only one CPU is brought up during boot:

Which U-Boot version are you using?

If experimenting with U-Boot versions doesn't help, you could try
instrumenting the spin table code, and/or using JTAG to see what the
second core is up to.

-Scott

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

end of thread, other threads:[~2014-08-13 23:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-12 14:29 MPC8641D SMP "Processor 1 is stuck" Chris Enrique
2014-08-13 23:02 ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).