All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Galakhov <agalakhov@domain.hid>
To: adeos-main@gna.org
Subject: [Adeos-main] mini2440: ipipe kernel stuck in idle loop after xenomai init
Date: Thu, 05 May 2011 18:20:59 +0600	[thread overview]
Message-ID: <4DC2962B.9060802@domain.hid> (raw)

Hi,

I'm still trying to debug ipipe on the mini2440 board (linux 2.6.35.9 +
ipipe 1.18.01 + Gilles' ARM patches). Now I encounter the following
problem. If any Xenomai skin module is loaded the system hangs. In fact,
it goes into sleep with interrupts off.

The sleep was in pm_idle() and it is done correctly. The problem lies
somewhere else. I tried to use busy-loop instead of sleep, like that:

- if (hlt_counter) {
+ if (1 || hlt_counter) {

in cpu_idle() (arch/arm/kernel/process.c). Now I found that the loop
"while (!need_resched())" never exits, need_resched() is always
returning false and there are no interrupts. Looks like the timer
interrupt either stops ticking or is masked out since xenomai skin is
loaded.

Can you please help to debug it?

--
Alex


             reply	other threads:[~2011-05-05 12:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-05 12:20 Alexey Galakhov [this message]
2011-05-05 12:37 ` [Adeos-main] mini2440: ipipe kernel stuck in idle loop after xenomai init Gilles Chanteperdrix
2011-05-05 12:58   ` Alexey Galakhov
2011-05-05 13:16   ` Alexey Galakhov
2011-05-05 14:02     ` Gilles Chanteperdrix
2011-05-05 14:12       ` Alexey Galakhov
2011-05-05 14:42         ` Gilles Chanteperdrix
2011-05-05 15:23           ` Alexey Galakhov
2011-05-05 15:36             ` Gilles Chanteperdrix
     [not found]               ` <4DC2D0C9.3020605@domain.hid>
     [not found]                 ` <4DC2DDC6.8090909@domain.hid>
2011-05-06  9:28                   ` Alexey Galakhov
2011-05-06  9:33                     ` Gilles Chanteperdrix
2011-05-11 10:29                       ` Alexey Galakhov
2011-05-11 10:50                         ` Gilles Chanteperdrix
2011-05-11 12:24                           ` Gilles Chanteperdrix
2011-05-11 12:35                             ` Alexey Galakhov
2011-05-11 23:51                               ` Gilles Chanteperdrix
2011-05-06  9:55                     ` Gilles Chanteperdrix
2011-05-06 10:44                       ` Alexey Galakhov
2011-05-06 11:02                       ` Alexey Galakhov
2011-05-06  9:32                   ` Alexey Galakhov

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=4DC2962B.9060802@domain.hid \
    --to=agalakhov@domain.hid \
    --cc=adeos-main@gna.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.