From: Bob Z. <zha...@16...> - 2006-12-01 02:33:32
|
hello Chris , =09Maybe , this is page cache problem ,I happened this problem on ARM you may try to modify fuse-2.6.0/kernel/dev.c , maybe it is useful to you FYI : /* Do as much copy to/from userspace buffer as we can */ static inline int fuse_copy_do(struct fuse_copy_state *cs, void **val, unsigned *size) { unsigned ncpy =3D min(*size, cs->len); if (val) { flush_cache_all();=09//patch from mailing list ,it is very= important ,otherwise,can' mount or ls /mnt/hello_tmp will hang if (cs->write) memcpy(cs->buf, *val, ncpy); else memcpy(*val, cs->buf, ncpy); *val +=3D ncpy; } *size -=3D ncpy; cs->len -=3D ncpy; cs->buf +=3D ncpy; } --- Best Regards Bob , > Guys, I've cross compiled fuse to run on CE2 Linux under MIPS, and > am having some problems. > > The insmod works fine, and I'm using the hello example fs to test. > The mounting works fine (to /mnt/upnp). But, when I do: > > ls /mnt/up(tab for autocompletion), it hangs. I've loaded up the > code with printf's, and printk's, and have found where it's > hanging. It's in function: fuse_get_req, and it's this line: > > intr =3D wait_event_interruptible(fc->blocked_waitq, !fc->blocked); > > It goes in, and NEVER comes out. > > Has this been seen before? Can anyone ID my problem? > > Thanks! > Chris > > _________________________________________________________________ > Talk now to your Hotmail contacts with Windows Live Messenger. > http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=3Dhttp > ://get.live.com/messenger/overview > > > -------------------------------------------------------------------- > ----- Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys - and > earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDEV > DEV _______________________________________________ fuse-devel > mailing list fus...@li... > https://lists.sourceforge.net/lists/listinfo/fuse-devel |