Please Help, problem mounting jffs2

Frank R Callaghan f.callaghan at ieee.org
Mon Jun 16 14:21:23 EDT 2003


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 !





More information about the linux-mtd mailing list