Please Help, problem mounting jffs2

David Woodhouse dwmw2 at infradead.org
Fri Jun 13 14:28:09 EDT 2003


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?

> >
> > 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.

-- 
dwmw2




More information about the linux-mtd mailing list