|
From: Kevin D. <the...@gm...> - 2007-01-04 05:05:14
|
> > Hello, > > I've written a fuse app that accesses data stored on our vendor's hardware through their proprietary API. > The filesystem works well when in debug mode (passing -d to the fuse app). But when not in debug mode, and > when reading a file in the fuse-mounted directory (e.g. more filename), it hangs forever. strace shows it > stopping on the read function, specifically it lists 'read(3, '; there is nothing printed for the buffer. > It's been some time since I wrote the fuse app, but I seem to remember a problem like this if I had printf's in > the code. If not in debug mode, there's no place for the output to go, so it would hang (?). When I put it in > debug mode however, I do not see any output other than normal debug output. I installed the latest version > of fuse (2.6.1), but that did not help. Any ideas? > > Tim This caught my attention as I am having an almost identica problem. However, I have further information to present. Fuse Version: 2.6.1 Kernel Version: 2.6.18.2 (vanilla) with fuse compiled in I used the three fuse programs to test and repeat this problem: 1) sshfs 2) the example program: hello.c 3) the example program: fusexmp.c Without debug mode '-d' passed: - mount some directory /tmp/test - ls /tmp/test - "cannot access /tmp/test: Transport endpoint is not connected" - instead of above, it sometimes hangs indefinitely as with Tim - mount some directory /tmp/test with '-d' - ls /tmp/test - shows contents of the mount correctly I am wondering if it the kernel fuse library might be broken, i am compiling 2.6.18.6 and will be testing 2.6.17, in which I have used in the past on this system with no problems. But that was fuse-2.6.0. |