Thread: [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]$ |
From: Manish R. J. <man...@gm...> - 2005-11-29 12:56:53
|
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 Creek > 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 goo= d program." |
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> |
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." |