public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Frank R Callaghan <f.callaghan@ieee.org>
To: linux-mtd@lists.infradead.org
Subject: Re: Please Help, problem mounting jffs2
Date: Mon, 16 Jun 2003 14:21:23 -0400	[thread overview]
Message-ID: <200306161421.23307.f.callaghan@ieee.org> (raw)
In-Reply-To: <1055780708.2233.18.camel@passion.cambridge.redhat.com>


On Monday 16 June 2003 12:25 pm, David Woodhouse wrote:
> On Mon, 2003-06-16 at 17:06, Frank R Callaghan wrote:
> > Hi All,
> >
> > I methodically removed code from my usrland programs until I'm left with
> >
> > int main()
> > {
> >     while(1) {
> >     //  sleep(1);
> >     }
> > }
> >
> > With no RTAI modules loaded, the gc thread still stalls.
> > With the sleep(1) works fine !
> >
> > Does this mean that the gc thread has such a low priority that it never
> > runs ?
>
> No, it looks like your userspace program has such a _high_ priority
> that the GC thread never runs. A subtle difference :)
>

I have reniced the test program to +20 but the mount is still hung !

> > What should I do/try next ?
>
> This is an RTAI-specific issue. I suspect your test program above has
> its priority set such that when it's eating 100% CPU time in a tight
> loop, nothing else gets to run. Have you asked on the RTAI mailing
> lists?

yes - no response yet !

I'm not sure how rtai can be interfering if there are no-rtai modules
loaded - unless the kernel patches messed something up !

  reply	other threads:[~2003-06-16 18:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-13 14:51 Please Help, problem mounting jffs2 Frank R Callaghan
2003-06-13 15:47 ` Sid Gluckman
2003-06-13 15:53   ` Frank R Callaghan
2003-06-13 16:31     ` David Woodhouse
2003-06-13 16:58       ` Frank R Callaghan
2003-06-13 17:39         ` David Woodhouse
2003-06-13 18:11           ` Frank R Callaghan
2003-06-13 18:28             ` David Woodhouse
2003-06-13 18:47               ` Frank R Callaghan
2003-06-13 19:18                 ` David Woodhouse
2003-06-13 22:52                   ` Thomas Gleixner
2003-06-13 22:54                     ` Frank R Callaghan
2003-06-16 16:06                       ` Frank R Callaghan
2003-06-16 16:25                         ` David Woodhouse
2003-06-16 18:21                           ` Frank R Callaghan [this message]
2003-06-16 20:21                             ` Thomas Gleixner

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=200306161421.23307.f.callaghan@ieee.org \
    --to=f.callaghan@ieee.org \
    --cc=linux-mtd@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox