[Flickrfs-users] fuse: reading device: Bad file descriptor
Brought to you by:
manishrjain
From: Geoffrey <geo...@le...> - 2005-11-29 11:08:26
|
I'm still getting the "fuse: reading device: Bad file descriptor" error. I have su'd, done a make install, and checked /dev/fuse as per the install instructions & FAQ, but still get reams of 'bad file descriptor' errors. Session transcript (Fedora Core 2, Fuse v 2.4.1, Flickrfs v1.1.9) below. [geoffrey@Arial flickrfs-1.1.9]$ su - Password: [root@Arial root]# cd /home/geoffrey/fuse-2.4.1 [root@Arial fuse-2.4.1]# make install Making install in kernel make[1]: Entering directory `/home/geoffrey/fuse-2.4.1/kernel' make -C /lib/modules/2.6.10-1.12_FC2smp/build SUBDIRS=/home/geoffrey/fuse-2.4.1/kernel modules make[2]: Entering directory `/lib/modules/2.6.10-1.12_FC2smp/build' Building modules, stage 2. MODPOST make[2]: Leaving directory `/lib/modules/2.6.10-1.12_FC2smp/build' mkdir -p /lib/modules/2.6.10-1.12_FC2smp/kernel/fs/fuse /usr/bin/install -c -m 644 fuse.ko /lib/modules/2.6.10-1.12_FC2smp/kernel/fs/fuse/fuse.ko /sbin/depmod -a make[1]: Leaving directory `/home/geoffrey/fuse-2.4.1/kernel' Making install in include make[1]: Entering directory `/home/geoffrey/fuse-2.4.1/include' make[2]: Entering directory `/home/geoffrey/fuse-2.4.1/include' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/local/include/fuse" || mkdir -p -- "/usr/local/include/fuse" /usr/bin/install -c -m 644 'fuse.h' '/usr/local/include/fuse/fuse.h' /usr/bin/install -c -m 644 'fuse_compat.h' '/usr/local/include/fuse/fuse_compat.h' /usr/bin/install -c -m 644 'fuse_common.h' '/usr/local/include/fuse/fuse_common.h' /usr/bin/install -c -m 644 'fuse_lowlevel.h' '/usr/local/include/fuse/fuse_lowlevel.h' test -z "/usr/local/include" || mkdir -p -- "/usr/local/include" /usr/bin/install -c -m 644 'old/fuse.h' '/usr/local/include/fuse.h' make[2]: Leaving directory `/home/geoffrey/fuse-2.4.1/include' make[1]: Leaving directory `/home/geoffrey/fuse-2.4.1/include' Making install in lib make[1]: Entering directory `/home/geoffrey/fuse-2.4.1/lib' make[2]: Entering directory `/home/geoffrey/fuse-2.4.1/lib' test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib" /bin/sh ../libtool --mode=install /usr/bin/install -c 'libfuse.la' '/usr/local/lib/libfuse.la' /usr/bin/install -c .libs/libfuse.so.2.4.1 /usr/local/lib/libfuse.so.2.4.1 (cd /usr/local/lib && rm -f libfuse.so.2 && ln -s libfuse.so.2.4.1 libfuse.so.2) (cd /usr/local/lib && rm -f libfuse.so && ln -s libfuse.so.2.4.1 libfuse.so) /usr/bin/install -c .libs/libfuse.lai /usr/local/lib/libfuse.la /usr/bin/install -c .libs/libfuse.a /usr/local/lib/libfuse.a ranlib /usr/local/lib/libfuse.a chmod 644 /usr/local/lib/libfuse.a PATH="$PATH:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/geoffrey/fuse-2.4.1/lib' make[1]: Leaving directory `/home/geoffrey/fuse-2.4.1/lib' Making install in util make[1]: Entering directory `/home/geoffrey/fuse-2.4.1/util' make[2]: Entering directory `/home/geoffrey/fuse-2.4.1/util' test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'fusermount' '/usr/local/bin/fusermount' /usr/bin/install -c fusermount /usr/local/bin/fusermount mkdir -p -- /sbin /usr/bin/install -c ./mount.fuse /sbin/mount.fuse make install-exec-hook make[3]: Entering directory `/home/geoffrey/fuse-2.4.1/util' chown root /usr/local/bin/fusermount chmod u+s /usr/local/bin/fusermount make[3]: Leaving directory `/home/geoffrey/fuse-2.4.1/util' mkdir -p -- /etc/udev/rules.d /usr/bin/install -c -m 644 ./udev.rules /etc/udev/rules.d/40-fuse.rules make[2]: Leaving directory `/home/geoffrey/fuse-2.4.1/util' make[1]: Leaving directory `/home/geoffrey/fuse-2.4.1/util' Making install in example make[1]: Entering directory `/home/geoffrey/fuse-2.4.1/example' make[2]: Entering directory `/home/geoffrey/fuse-2.4.1/example' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/geoffrey/fuse-2.4.1/example' make[1]: Leaving directory `/home/geoffrey/fuse-2.4.1/example' make[1]: Entering directory `/home/geoffrey/fuse-2.4.1' make[2]: Entering directory `/home/geoffrey/fuse-2.4.1' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/local/lib/pkgconfig" || mkdir -p -- "/usr/local/lib/pkgconfig" /usr/bin/install -c -m 644 'fuse.pc' '/usr/local/lib/pkgconfig/fuse.pc' make[2]: Leaving directory `/home/geoffrey/fuse-2.4.1' make[1]: Leaving directory `/home/geoffrey/fuse-2.4.1' [root@Arial fuse-2.4.1]# ls -al /dev/fuse crw-rw-rw- 1 root root 10, 229 Nov 8 13:00 /dev/fuse [root@Arial fuse-2.4.1]# cd ../flickrfs-1.1.9 [root@Arial flickrfs-1.1.9]# ./flickrfs.py /mnt/flickrfs fuse: reading device: Bad file descriptor fuse: reading device: Bad file descriptor <and so on until KILLed> [root@Arial flickrfs-1.1.9]# logout [geoffrey@Arial flickrfs-1.1.9]$ ./flickrfs.py /mnt/flickrfs fuse: reading device: Bad file descriptor <snip - lots> fuse: reading device: Bad file descriptor fuse: reading device: BKilled [geoffrey@Arial flickrfs-1.1.9]$ tail ~/.flickrfs/log 11/29/05 19:00:16 DEBUG Got cached inode: /tags 11/29/05 19:00:16 INFO sets_thread: started 11/29/05 19:00:16 DEBUG parentDir:/: 11/29/05 19:00:16 DEBUG Creating directory:/sets 11/29/05 19:00:16 DEBUG Got cached inode: / 11/29/05 19:00:17 DEBUG parentDir:/sets: 11/29/05 19:00:17 DEBUG Creating directory:/sets/Family 11/29/05 19:00:17 DEBUG Got cached inode: /sets 11/29/05 19:00:22 DEBUG parentDir:/sets/Family: 11/29/05 19:00:22 DEBUG Creating file:/sets/Family/Wanggoolba Creek 05.jpg:with id:68237338 [geoffrey@Arial flickrfs-1.1.9]$ |