Closed GoogleCodeExporter closed 9 years ago
By first available version, do you mean "0.1.0b004"? If so, please upgrade to
the most recent release and see if
you still have this problem. There *was* a panic condition in that release, so
we must make sure if we are
looking at a new problem or an old one that's already been fixed.
Original comment by si...@gmail.com
on 25 Jan 2007 at 5:50
Can you also tell me what your setup is? You have a host and a client. These
are two different machines, right
(you are not connecting to the same machine)? Which one is running MacFUSE and
which one is running your file
system. Is your file system an in-kernel VFS?
Original comment by si...@gmail.com
on 25 Jan 2007 at 5:52
I've just tried the latest version (0.1.7) but, unfortunately, the bug is still
shown under the same conditions.
The panic message is the same too.
I have the following setup:
The host machine runs Mac OS X 10.4.7.
The remote machine runs NetBSD 3.1 and my filesystem. Again, it is buggy, it
may represent files not 100%
correct (in fact, it doesn't care about permissions/date and some other things,
so that probably SSHFS couldn't
obtain all necessary information about the remote file). BUT however the remote
filesystem works, it must not
damage the host.
I think the key point is those appearing error messages - "Bad file descriptor"
that appear when I issue, for
instance, the ls command on the remote file system. I don't know under which
conditions ls(1) prints "Bad file
descriptor", but it doesn't matter anyway.
According to the Darwin source code (xnu-792.6.76/bsd/vfs/vfs_subr.c) the given
panic occurs if vp->v_data
isn't NULL. Looks like that due to some reason fuse doesn't set it to NULL.
Original comment by Kirill.K...@gmail.com
on 26 Jan 2007 at 3:17
I need a way to reproduce this. Would it be possible to have access to your
file system?
Original comment by si...@gmail.com
on 26 Jan 2007 at 6:33
In any case, what's the minimum set of operations (exact sequence) that you can
do in your setup to cause this?
Original comment by si...@gmail.com
on 26 Jan 2007 at 7:01
OK. Try to use the following commands:
(NB: asingh, check out your gmail mailbox - I've sent you all confidential
information via email)
$ cd tmp; mkdir test
$ sshfs USERNAME@HOSTNAME:/ test
$ ls test/mnt/mp/
(NB: at this point you'll see "Bad file descriptor" messages)
$ umount test
and this leads to panic.
Original comment by Kirill.K...@gmail.com
on 27 Jan 2007 at 12:18
Fixed in the upcoming release.
Original comment by si...@gmail.com
on 28 Jan 2007 at 9:30
Original issue reported on code.google.com by
Kirill.K...@gmail.com
on 25 Jan 2007 at 8:45