From: Jingsong Fu <jfu@ma...> - 2006-10-20 23:01:56
I have tried fuse-2.6.0-rc3, and still have one issue.
the console hangs.
However with "hello /mnt/fuse -s" or "hello /mnt/fuse -d", then "ls
From: Miklos Szeredi [mailto:miklos@...]=20
Sent: Friday, October 20, 2006 10:38 AM
To: Jingsong Fu
Subject: Re: issue with fuse_dev_writev() and fuse_copy_one()
> I am running fuse-2.5.3, on Linux 184.108.40.206, uclibc/gcc3.4.6, and
> ARM926/SOC. Fuse is configured with disable-mtab, enable-shared=3Dno,
> Hello /mnt/fuse -s -d &
> unique: 1, opcode: ??? (0), nodeid: 0, insize: 48
> unique: 1, error: -5 (Input/output error), outsize: 16
> fuse: writing device: Invalid argument
> The kernel module failed on in fuse_dev_writev(), it seemed
> fuse_copy_one() did not get correct user page/data.
> When I added a printk() in fuse_copy_one() before fuse_copy_fill(),
> and some looping delay before fuse_do_copy() as follows, it fixed
> the error and ran ls /mnt/fuse or cat /mnt/fuse/hello
> correctly. What could be the issues?
CPU cache issues. You can try fuse-2.6.0-rc3, which should have a
workaround for this problem.
> I have tried fuse-2.6.0-rc3, and still have one issue.
> hello /mnt/fuse
> ls /mnt/fuse
> the console hangs.
> However with "hello /mnt/fuse -s" or "hello /mnt/fuse -d", then "ls
> /mnt/fuse" works.
I have no idea what this could be. Do you have a working 'strace'?
Can you try
strace -f -o /tmp/strace hello /mnt/fuse