All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Cc: "Gadiyar, Anand" <gadiyar@ti.com>
Subject: Re: Kernel hang on OMAP3 based Beagle board, RTC issue?
Date: Sat, 05 Jul 2008 09:25:42 +0200	[thread overview]
Message-ID: <486F21F6.7020208@googlemail.com> (raw)
In-Reply-To: <AF70E37B-038B-4117-B69F-B2BCD9EFF6AA@student.utwente.nl>

Koen Kooi wrote:
> 
> Op 2 jul 2008, om 22:03 heeft Gadiyar, Anand het volgende geschreven:
> 
>>> At Beagle IRC there was some discussion [1] [2] today about kernel
>>> hang on OMAP3 based Beagle board. I'll try to summarize discussion  and
>>> Khasim's findings, maybe somebody here has an idea.
>>>
>>> Latest OMAP git kernel seems to hang on beagle board after some time.
>>> You don't see any crash, but after a while typing, anything doesn't
>>> work. SD stops as well, so you can only do stuff that's in ram, any  IO
>>> will block. It can take >1 day to get there, but mostly it's ~30  
>>> minutes.
>>>
>>> Khasim found that it seems disabling RTC will remove the hang. When
>>> booting the git kernel after some time there are no timer or PRCM
>>> interrupts and the control resides in cpu_idle. We don't know where
>>> exactly the problem in RTC is, but while browsing the history of  files
>>> related to RTC Khasim found that some changes were done to the files
>>> to handle T2 interrupts in a centralized way for USB, Battery and  RTC.
>>> It seems even Battery broke with this patch set
>>>
>>> http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=68d7477caca19c0b52b5d4e85700cd3e6115577f 
>>>
>>>
>>> May be this is the change that is affecting RTC. But it's unclear why
>>> it is affecting GP timer and PRCM interrupts.
>>>
>>> Any idea?
>>>
>>> Thanks and please correct if something is wrong in the summary
>>>
>>> Dirk
>>
>>
>> Khasim also found that T2 RTC is not enabled by default in 3430sdp
>> defconfig, but it appears to be enabled in the beagleboard defconfig.
>> Maybe you can get by by simply disabling T2 RTC in menuconfig for now?
> 
> 
> Tried that and I get the same hang, so I don't think the RTC is to  blame.

Short update just in case anybody has an idea:

Gadiyar spent some time with git-bisect (thanks!):

It seems that the bad commit is probably between:
# good: [3ffec4e18484c34838fa341de3848306c29ecd5d] 24XX: PM: Move pm.c 
to pm24xx.c
and sleep.S to sleep24xx.S
and # bad: [458776cfe389ff03bd6c56c47e059df0778cdfca] OMAP3430SDP: 
Enable config
options CONFIG_OMAP_RESET_CLOCKS and CONFIG_SUSPEND

This is a 9-patch series by Jouni Hogander related to suspend and 
power-management.

Dirk



  reply	other threads:[~2008-07-05  7:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-02 19:55 Kernel hang on OMAP3 based Beagle board, RTC issue? Dirk Behme
2008-07-02 20:03 ` Gadiyar, Anand
2008-07-02 20:18   ` Koen Kooi
2008-07-05  7:25     ` Dirk Behme [this message]
2008-07-05  9:53       ` Gadiyar, Anand
2008-07-05 13:22         ` Gadiyar, Anand
2008-07-07  7:34           ` Högander Jouni
2008-07-14 13:27             ` Gadiyar, Anand
2008-07-15  7:18               ` Koen Kooi
2008-07-15  7:49                 ` Paul Walmsley
2008-07-15  7:54                   ` Koen Kooi
2008-07-15 11:21                 ` Gadiyar, Anand
2008-07-31 13:08                   ` Syed Mohammed, Khasim
2008-07-31 13:33                     ` Koen Kooi
2008-07-31 13:47                       ` Syed Mohammed, Khasim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=486F21F6.7020208@googlemail.com \
    --to=dirk.behme@googlemail.com \
    --cc=gadiyar@ti.com \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.