Please Help, problem mounting jffs2

Frank R Callaghan f.callaghan at ieee.org
Fri Jun 13 14:47:45 EDT 2003


On Friday 13 June 2003 02:28 pm, David Woodhouse wrote:
> On Fri, 2003-06-13 at 19:11, Frank R Callaghan wrote:
> > On Friday 13 June 2003 01:39 pm, David Woodhouse wrote:
> > > Looks like it's waiting for the garbage collect thread. What happened
> > > to it? Can you put a printk into the very beginning of
> > > 'jffs2_garbage_collect_thread()' in background.c, and another printk
> > > after the daemonize() call.
> >
> > Like this:
> >
> > static int jffs2_garbage_collect_thread(void *_c)
> > {
> >         struct jffs2_sb_info *c = _c;
> >
> >         D1(printk(KERN_DEBUG "****jffs2_garbage_collect_thread
> > start...\n"));
> >
> > -----------------
> > No extra output !!!
> > -----------------
>
> Just like that... in which case for some reason kernel_thread() is not
> working. What architecture is it?
>

i486 ELAN(SC520)

> > > Also hit SysRq-T and see exactly where the mount process is waiting --
> > > I suspect it's in jffs2_start_garbage_collect_thread().
> >
> > I'm running this on an embedded system and the console is via minicom
> > (ttyS1), SysRq-T doesn't seem to work !
>
> Hmmm. It may require that there's something in userspace trying to read
> from the port. There are also hacks around to enable sysrq by echoing
> letters to a /proc file. Doesn't really matter -- it's fairly obvious
> it's never actually making it into the kernel thread.

OK, this sounds bad !  Where can I go from here ?
I really need this flash working for the product to be viable !
Is this a kernel bug ? uclibc ? RTAI ?
Is there anyway to hack the code to get it working ?

Help !!!









More information about the linux-mtd mailing list