linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pandaboard can't reboot on 2.6.38-rc2?
@ 2011-04-11 10:13 Bob Liu
  2011-04-11 16:07 ` Avinash.H.M.
  2011-04-12  4:58 ` Anand Gadiyar
  0 siblings, 2 replies; 4+ messages in thread
From: Bob Liu @ 2011-04-11 10:13 UTC (permalink / raw)
  To: linux-omap

Hi, folks

I am using pandaboard and compiled a 2.6.38-rc2 kernel for it.
Everything works fine except that it can't reboot.

#reboot
#
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system reboot
[  120.742370] Restarting system.

Then hanged...

Has anyone seen similar problem?

Thanks
-- 
Regards,
--Bob

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

* Re: pandaboard can't reboot on 2.6.38-rc2?
  2011-04-11 10:13 pandaboard can't reboot on 2.6.38-rc2? Bob Liu
@ 2011-04-11 16:07 ` Avinash.H.M.
  2011-04-12  4:58 ` Anand Gadiyar
  1 sibling, 0 replies; 4+ messages in thread
From: Avinash.H.M. @ 2011-04-11 16:07 UTC (permalink / raw)
  To: Bob Liu; +Cc: linux-omap

On Mon, Apr 11, 2011 at 06:13:06PM +0800, Bob Liu wrote:
> Hi, folks
> 
> I am using pandaboard and compiled a 2.6.38-rc2 kernel for it.
> Everything works fine except that it can't reboot.
> 
> #reboot
> #
> The system is going down NOW!
> Sent SIGTERM to all processes
> Sent SIGKILL to all processes
> Requesting system reboot
> [  120.742370] Restarting system.
> 
> Then hanged...
> 
> Has anyone seen similar problem?

I have seen a similar issue on OMAP4 SDP. It wasn't rebooting. I added
few prints to see where its failing. My observation is , 

In arm_machine_restart, it is not coming out of 'setup_mm_for_reboot'.
Not sure why.

        setup_mm_for_reboot(mode);
	/* Clean and invalidate caches */
	flush_cache_all();

Thanks ,

- Avinash


> 
> Thanks
> -- 
> Regards,
> --Bob
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* RE: pandaboard can't reboot on 2.6.38-rc2?
  2011-04-11 10:13 pandaboard can't reboot on 2.6.38-rc2? Bob Liu
  2011-04-11 16:07 ` Avinash.H.M.
@ 2011-04-12  4:58 ` Anand Gadiyar
  2011-04-12  5:38   ` Bob Liu
  1 sibling, 1 reply; 4+ messages in thread
From: Anand Gadiyar @ 2011-04-12  4:58 UTC (permalink / raw)
  To: Bob Liu, linux-omap

Bob Liu wrote:
> Hi, folks
>
> I am using pandaboard and compiled a 2.6.38-rc2 kernel for it.
> Everything works fine except that it can't reboot.
>
> #reboot
> #
> The system is going down NOW!
> Sent SIGTERM to all processes
> Sent SIGKILL to all processes
> Requesting system reboot
> [  120.742370] Restarting system.
>
> Then hanged...
>
> Has anyone seen similar problem?

As a quick workaround, turn off CONFIG_ARCH_OMAP2 and
rebuild the kernel. That should get you functional reboots.

Looks like something in the asm code is messed up when building
with OMAP2 support - I don't understand it well enough to solve
it, but maybe this is a data point for people that do know
the code better.

- Anand

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

* Re: pandaboard can't reboot on 2.6.38-rc2?
  2011-04-12  4:58 ` Anand Gadiyar
@ 2011-04-12  5:38   ` Bob Liu
  0 siblings, 0 replies; 4+ messages in thread
From: Bob Liu @ 2011-04-12  5:38 UTC (permalink / raw)
  To: Anand Gadiyar; +Cc: linux-omap

On Tue, Apr 12, 2011 at 12:58 PM, Anand Gadiyar <gadiyar@ti.com> wrote:
> Bob Liu wrote:
>> Hi, folks
>>
>> I am using pandaboard and compiled a 2.6.38-rc2 kernel for it.
>> Everything works fine except that it can't reboot.
>>
>> #reboot
>> #
>> The system is going down NOW!
>> Sent SIGTERM to all processes
>> Sent SIGKILL to all processes
>> Requesting system reboot
>> [  120.742370] Restarting system.
>>
>> Then hanged...
>>
>> Has anyone seen similar problem?
>
> As a quick workaround, turn off CONFIG_ARCH_OMAP2 and
> rebuild the kernel. That should get you functional reboots.
>

It works, Thanks!

> Looks like something in the asm code is messed up when building
> with OMAP2 support - I don't understand it well enough to solve
> it, but maybe this is a data point for people that do know
> the code better.
>
> - Anand
>

-- 
Regards,
--Bob
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2011-04-12  5:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-11 10:13 pandaboard can't reboot on 2.6.38-rc2? Bob Liu
2011-04-11 16:07 ` Avinash.H.M.
2011-04-12  4:58 ` Anand Gadiyar
2011-04-12  5:38   ` Bob Liu

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