Re: [Flickrfs-users] fuse: reading device: Bad file descriptor
Brought to you by:
manishrjain
From: Manish R. J. <man...@gm...> - 2005-11-30 08:37:48
|
And this step? [Also, copy over libfuse.so.2 (from /usr/local/lib) to /usr/lib. In case yo= u can't find it at /usr/local/lib, then can do an 'slocate libfuse.so.2'.] Actually, the problem lies with fuse configuration, so probably if even thi= s step is fine, then you may want to post to fuse-mailing list regarding this issue. Manish On 11/30/05, Geoffrey <geo...@le...> wrote: > > Yes - > > [root@Arial fuse-2.4.1]# ls -al /dev/fuse > crw-rw-rw- 1 root root 10, 229 Nov 8 13:00 /dev/fuse > > No joy. > > Manish Rai Jain wrote: > > Did you try out checking if normal user has enuf write permissions on > /dev/fuse, also if that is a character device. > $ ls -l /dev/fuse > crw-rw-rw- 1 root root 10, 229 Nov 16 04:21 /dev/fuse > > Manish > > > On 11/29/05, Geoffrey <geo...@le...> wrote: > > > > 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=3D/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=3Dinstall /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=3D"$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=3Dinstall /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 Cree= k > > 05.jpg:with id:68237338 > > [geoffrey@Arial flickrfs-1.1.9]$ > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > > _______________________________________________ > > Flickrfs-users mailing list > > Fli...@li... > > https://lists.sourceforge.net/lists/listinfo/flickrfs-users > > > > > > -- > http://tuxmann.blogspot.com > > "If I have seen further it is by standing on the shoulders of Giants" > "Software is like sex: it's better when it's free." > "An infinite number of monkeys typing into GNU emacs would never make a > good program." > > > -- http://tuxmann.blogspot.com "If I have seen further it is by standing on the shoulders of Giants" "Software is like sex: it's better when it's free." "An infinite number of monkeys typing into GNU emacs would never make a goo= d program." |