* Kernel booting stuck at "CPU1: Booted secondary processor"
@ 2015-03-17 6:14 AYAN KUMAR HALDER
2015-03-17 9:44 ` Arun KS
0 siblings, 1 reply; 2+ messages in thread
From: AYAN KUMAR HALDER @ 2015-03-17 6:14 UTC (permalink / raw)
To: kernelnewbies
Hi,
I am porting kernel (3.14.22) on a custom ARM(Cortex A9 x 3) based platform.
I was able to get it working on uniprocessor mode.
Now I wish to get the SMP mode working as mine is Cortex A9 x3 platform.
However, I see that the booting gets stuck after the following log:-
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x1f9690 - 0x1f96c4
CPU1: Booted secondary processor
When I debugged it further, I found that it waits endlessly in a
arch_spin_lock() :-
while (lockval.tickets.next != lockval.tickets.owner) { // loops here
wfe();
lockval.tickets.owner = ACCESS_ONCE(lock->tickets.owner);
}
It would be great if someone can give me pointers about how to proceed ahead.
Regards,
Ayan kumar Halder
^ permalink raw reply [flat|nested] 2+ messages in thread
* Kernel booting stuck at "CPU1: Booted secondary processor"
2015-03-17 6:14 Kernel booting stuck at "CPU1: Booted secondary processor" AYAN KUMAR HALDER
@ 2015-03-17 9:44 ` Arun KS
0 siblings, 0 replies; 2+ messages in thread
From: Arun KS @ 2015-03-17 9:44 UTC (permalink / raw)
To: kernelnewbies
Hello Ayan,
On Tue, Mar 17, 2015 at 11:44 AM, AYAN KUMAR HALDER
<ayankumarh@gmail.com> wrote:
> Hi,
>
> I am porting kernel (3.14.22) on a custom ARM(Cortex A9 x 3) based platform.
> I was able to get it working on uniprocessor mode.
> Now I wish to get the SMP mode working as mine is Cortex A9 x3 platform.
> However, I see that the booting gets stuck after the following log:-
>
> CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
> Setting up static identity map for 0x1f9690 - 0x1f96c4
> CPU1: Booted secondary processor
>
> When I debugged it further, I found that it waits endlessly in a
> arch_spin_lock() :-
>
> while (lockval.tickets.next != lockval.tickets.owner) { // loops here
> wfe();
> lockval.tickets.owner = ACCESS_ONCE(lock->tickets.owner);
> }
>
> It would be great if someone can give me pointers about how to proceed ahead.
Now that its pretty sure you are hitting a deadlock. Next step is to
understand the code and find out what is causing it.
Thanks,
Arun
>
> Regards,
> Ayan kumar Halder
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-17 9:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-17 6:14 Kernel booting stuck at "CPU1: Booted secondary processor" AYAN KUMAR HALDER
2015-03-17 9:44 ` Arun KS
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.