Re: [Flickrfs-users] fuse: reading device: Bad file descriptor
Brought to you by:
manishrjain
From: Geoffrey <geo...@le...> - 2005-11-29 23:09:20
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Yes - <br> <br> [root@Arial fuse-2.4.1]# ls -al /dev/fuse <br> crw-rw-rw- 1 root root 10, 229 Nov 8 13:00 /dev/fuse<br> <br> No joy.<br> <br> Manish Rai Jain wrote: <blockquote cite="mid...@ma..." type="cite">Did you try out checking if normal user has enuf write permissions on /dev/fuse, also if that is a character device. <br> $ ls -l /dev/fuse<br> crw-rw-rw- 1 root root 10, 229 Nov 16 04:21 /dev/fuse<br> <br> Manish<br> <br> <br> <div><span class="gmail_quote">On 11/29/05, <b class="gmail_sendername">Geoffrey</b> <<a href="mailto:geo...@le...">geo...@le...</a>> wrote:</span> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm still getting the "fuse: reading device: Bad file descriptor"<br> error. I have su'd, done a make install, and checked /dev/fuse as per<br> the install instructions & FAQ, but still get reams of 'bad file <br> descriptor' errors. Session transcript (Fedora Core 2, Fuse v 2.4.1,<br> Flickrfs v1.1.9) below.<br> <br> [geoffrey@Arial flickrfs-1.1.9]$ su -<br> Password:<br> [root@Arial root]# cd /home/geoffrey/fuse-2.4.1<br> [root@Arial fuse-2.4.1]# make install<br> Making install in kernel<br> make[1]: Entering directory `/home/geoffrey/fuse-2.4.1/kernel'<br> make -C /lib/modules/2.6.10-1.12_FC2smp/build<br> SUBDIRS=/home/geoffrey/fuse-2.4.1/kernel modules <br> make[2]: Entering directory `/lib/modules/2.6.10-1.12_FC2smp/build'<br> Building modules, stage 2.<br> MODPOST<br> make[2]: Leaving directory `/lib/modules/2.6.10-1.12_FC2smp/build'<br> mkdir -p /lib/modules/2.6.10-1.12_FC2smp/kernel/fs/fuse <br> /usr/bin/install -c -m 644 fuse.ko<br> /lib/modules/2.6.10-1.12_FC2smp/kernel/fs/fuse/fuse.ko<br> /sbin/depmod -a<br> make[1]: Leaving directory `/home/geoffrey/fuse-2.4.1/kernel'<br> Making install in include<br> make[1]: Entering directory `/home/geoffrey/fuse- 2.4.1/include'<br> make[2]: Entering directory `/home/geoffrey/fuse-2.4.1/include'<br> make[2]: Nothing to be done for `install-exec-am'.<br> test -z "/usr/local/include/fuse" || mkdir -p -- "/usr/local/include/fuse" <br> /usr/bin/install -c -m 644 'fuse.h' '/usr/local/include/fuse/fuse.h'<br> /usr/bin/install -c -m 644 'fuse_compat.h'<br> '/usr/local/include/fuse/fuse_compat.h'<br> /usr/bin/install -c -m 644 'fuse_common.h'<br> '/usr/local/include/fuse/fuse_common.h' <br> /usr/bin/install -c -m 644 'fuse_lowlevel.h'<br> '/usr/local/include/fuse/fuse_lowlevel.h'<br> test -z "/usr/local/include" || mkdir -p -- "/usr/local/include"<br> /usr/bin/install -c -m 644 'old/fuse.h' '/usr/local/include/fuse.h' <br> make[2]: Leaving directory `/home/geoffrey/fuse-2.4.1/include'<br> make[1]: Leaving directory `/home/geoffrey/fuse-2.4.1/include'<br> Making install in lib<br> make[1]: Entering directory `/home/geoffrey/fuse-2.4.1/lib'<br> make[2]: Entering directory `/home/geoffrey/fuse-2.4.1/lib'<br> test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"<br> /bin/sh ../libtool --mode=install /usr/bin/install -c '<a href="http://libfuse.la"> libfuse.la</a>'<br> '/usr/local/lib/libfuse.la'<br> /usr/bin/install -c .libs/libfuse.so.2.4.1 /usr/local/lib/libfuse.so.2.4.1<br> (cd /usr/local/lib && rm -f libfuse.so.2 && ln -s libfuse.so.2.4.1<br> libfuse.so.2 )<br> (cd /usr/local/lib && rm -f libfuse.so && ln -s libfuse.so.2.4.1 libfuse.so)<br> /usr/bin/install -c .libs/libfuse.lai /usr/local/lib/libfuse.la<br> /usr/bin/install -c .libs/libfuse.a /usr/local/lib/libfuse.a <br> ranlib /usr/local/lib/libfuse.a<br> chmod 644 /usr/local/lib/libfuse.a<br> PATH="$PATH:/sbin" ldconfig -n /usr/local/lib<br> ----------------------------------------------------------------------<br> Libraries have been installed in: <br> /usr/local/lib<br> <br> If you ever happen to want to link against installed libraries<br> in a given directory, LIBDIR, you must either use libtool, and<br> specify the full pathname of the library, or use the `-LLIBDIR' <br> flag during linking and do at least one of the following:<br> - add LIBDIR to the `LD_LIBRARY_PATH' environment variable<br> during execution<br> - add LIBDIR to the `LD_RUN_PATH' environment variable<br> during linking <br> - use the `-Wl,--rpath -Wl,LIBDIR' linker flag<br> - have your system administrator add LIBDIR to `/etc/ld.so.conf'<br> <br> See any operating system documentation about shared libraries for<br> more information, such as the ld(1) and ld.so(8) manual pages.<br> ----------------------------------------------------------------------<br> make[2]: Nothing to be done for `install-data-am'.<br> make[2]: Leaving directory `/home/geoffrey/fuse-2.4.1/lib'<br> make[1]: Leaving directory `/home/geoffrey/fuse- 2.4.1/lib'<br> Making install in util<br> make[1]: Entering directory `/home/geoffrey/fuse-2.4.1/util'<br> make[2]: Entering directory `/home/geoffrey/fuse-2.4.1/util'<br> test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin" <br> /bin/sh ../libtool --mode=install /usr/bin/install -c 'fusermount'<br> '/usr/local/bin/fusermount'<br> /usr/bin/install -c fusermount /usr/local/bin/fusermount<br> mkdir -p -- /sbin<br> /usr/bin/install -c ./mount.fuse /sbin/mount.fuse <br> make install-exec-hook<br> make[3]: Entering directory `/home/geoffrey/fuse-2.4.1/util'<br> chown root /usr/local/bin/fusermount<br> chmod u+s /usr/local/bin/fusermount<br> make[3]: Leaving directory `/home/geoffrey/fuse- 2.4.1/util'<br> mkdir -p -- /etc/udev/rules.d<br> /usr/bin/install -c -m 644 ./udev.rules /etc/udev/rules.d/40-fuse.rules<br> make[2]: Leaving directory `/home/geoffrey/fuse-2.4.1/util'<br> make[1]: Leaving directory `/home/geoffrey/fuse- 2.4.1/util'<br> Making install in example<br> make[1]: Entering directory `/home/geoffrey/fuse-2.4.1/example'<br> make[2]: Entering directory `/home/geoffrey/fuse-2.4.1/example'<br> make[2]: Nothing to be done for `install-exec-am'. <br> make[2]: Nothing to be done for `install-data-am'.<br> make[2]: Leaving directory `/home/geoffrey/fuse-2.4.1/example'<br> make[1]: Leaving directory `/home/geoffrey/fuse-2.4.1/example'<br> make[1]: Entering directory `/home/geoffrey/fuse- 2.4.1'<br> make[2]: Entering directory `/home/geoffrey/fuse-2.4.1'<br> make[2]: Nothing to be done for `install-exec-am'.<br> test -z "/usr/local/lib/pkgconfig" || mkdir -p -- "/usr/local/lib/pkgconfig"<br> /usr/bin/install -c -m 644 'fuse.pc' '/usr/local/lib/pkgconfig/fuse.pc'<br> make[2]: Leaving directory `/home/geoffrey/fuse-2.4.1'<br> make[1]: Leaving directory `/home/geoffrey/fuse-2.4.1'<br> [root@Arial fuse-2.4.1]# ls -al /dev/fuse <br> crw-rw-rw- 1 root root 10, 229 Nov 8 13:00 /dev/fuse<br> [root@Arial fuse-2.4.1]# cd ../flickrfs-1.1.9<br> [root@Arial flickrfs-1.1.9]# ./flickrfs.py /mnt/flickrfs<br> fuse: reading device: Bad file descriptor<br> fuse: reading device: Bad file descriptor <br> <and so on until KILLed><br> [root@Arial flickrfs-1.1.9]# logout<br> [geoffrey@Arial flickrfs-1.1.9]$ ./flickrfs.py /mnt/flickrfs<br> fuse: reading device: Bad file descriptor<br> <snip - lots><br> fuse: reading device: Bad file descriptor <br> fuse: reading device: BKilled<br> [geoffrey@Arial flickrfs-1.1.9]$ tail ~/.flickrfs/log<br> 11/29/05 19:00:16 DEBUG Got cached inode: /tags<br> 11/29/05 19:00:16 INFO sets_thread: started<br> 11/29/05 19:00:16 DEBUG parentDir:/: <br> 11/29/05 19:00:16 DEBUG Creating directory:/sets<br> 11/29/05 19:00:16 DEBUG Got cached inode: /<br> 11/29/05 19:00:17 DEBUG parentDir:/sets:<br> 11/29/05 19:00:17 DEBUG Creating directory:/sets/Family <br> 11/29/05 19:00:17 DEBUG Got cached inode: /sets<br> 11/29/05 19:00:22 DEBUG parentDir:/sets/Family:<br> 11/29/05 19:00:22 DEBUG Creating <a class="moz-txt-link-freetext" href="file:/sets/Family/Wanggoolba">file:/sets/Family/Wanggoolba</a> Creek<br> 05.jpg:with id:68237338<br> [geoffrey@Arial flickrfs-1.1.9]$<br> <br> <br> -------------------------------------------------------<br> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files<br> for problems? Stop! Download the new AJAX search engine that makes <br> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!<br> <a href="http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click">http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click</a><br> _______________________________________________<br> Flickrfs-users mailing list<br> <a href="mailto:Fli...@li...">Fli...@li...</a><br> <a href="https://lists.sourceforge.net/lists/listinfo/flickrfs-users">https://lists.sourceforge.net/lists/listinfo/flickrfs-users</a><br> </blockquote> </div> <br> <br clear="all"> <br> -- <br> <a href="http://tuxmann.blogspot.com">http://tuxmann.blogspot.com</a><br> <br> "If I have seen further it is by standing on the shoulders of Giants" <br> "Software is like sex: it's better when it's free."<br> "An infinite number of monkeys typing into GNU emacs would never make a good program." </blockquote> <br> </body> </html> |