from the fuse/examples directory,
./hello /mountpoint
should make a filesystem with a single file named "hello" and contents of "Hello, World!"
Since you don't get that, I think there is a version mismatch in your fuse kernel/library/header/something.
Another clue was that you weren't seeing callback activity in OWFS.
Also the "short message" usually signals version mismatch.
The fuse support list is very helpful.Once you clear up this problem, everything will work smoothly.
Paul Alfille
On 9/14/06, Andrew Lord
<[EMAIL PROTECTED]> wrote:
Hi Paul,
Mmmm. OK. I previously had fuse2-2.3.0-2.1.2006mdk ( and libfuse2,
libfuse2-devel & libfuse2-static-devel) installed. I've now uninstalled
those rpms and have compiled and installed fuse-2.5.3. Then recompiled and
installed owfs-2.5-p1.
I'm no expert at interpreting ./configure output, so I've pasted the fuse
configure out put below. It does contain two lines which may (or may not) be
of relevance.
## checking if FUSE is configured in the kernel... no
## checking if kernel has extended attribute support... yes
During "make" of fuse, I get the following initial output:
## Making all in kernel
## make[1]: Entering directory
`/backup/AllProgs/hardware/ibuttons/fuse- 2.5.3/kernel'
## make -C /usr/src/linux-2.6.12-25mdk
SUBDIRS=/backup/AllProgs/hardware/ibuttons/fuse-2.5.3/kernel modules
## make[2]: Entering directory `/usr/src/linux-2.6.12-25mdk'
##
## WARNING: Symbol version dump /usr/src/linux- 2.6.12-25mdk/Module.symvers
## is missing; modules will have no dependencies and modversions.
##
## CC [M] /backup/AllProgs/hardware/ibuttons/fuse-2.5.3/kernel/dev.o
## CC [M] /backup/AllProgs/hardware/ibuttons/fuse- 2.5.3/kernel/dir.o
## CC [M] /backup/AllProgs/hardware/ibuttons/fuse-2.5.3/kernel/file.o
## CC [M] /backup/AllProgs/hardware/ibuttons/fuse-2.5.3/kernel/inode.o
## LD [M] /backup/AllProgs/hardware/ibuttons/fuse- 2.5.3/kernel/fuse.o
## Building modules, stage 2.
## MODPOST
## CC /backup/AllProgs/hardware/ibuttons/fuse-2.5.3/kernel/fuse.mod.o
## LD [M] /backup/AllProgs/hardware/ibuttons/fuse-2.5.3/kernel/fuse.ko
## make[2]: Leaving directory `/usr/src/linux-2.6.12-25mdk'
There are no indications of actual errors during make.
At make install, the lines show below are repeated.
## WARNING: Symbol version dump /usr/src/linux- 2.6.12-25mdk/Module.symvers
## is missing; modules will have no dependencies and modversions.
If i enter the directory 'examples' (in the fuse directory) and run, say,
'./hello /mnt/onewire', then the cursor simply moves to the next line. I'm
not at all sure what I should expect to see. When I then cd /mnt/onewire and
type 'ls', the cursor simply moves to the next line, failing to list
anything.
Nevertheless, assuming all is well with fuse, I reconfigured, recompiled &
reinstalled owfs. That seemed to go flawlessly. Output from ./configure
included the lines:
## checking fuse.h usability... yes
## checking fuse.h presence... yes
## checking for fuse.h... yes
## checking for fuse_main in -lfuse... yes
## checking For supported FUSE API version... yes
## checking For FUSE version ... 2.2 or later
I then restart owfs with the line:
'/opt/owfs/bin/owfs -u --mountpoint /mnt/onewire/ --foreground
--error_level=9'
and see the following output in shell:
CONNECT: fuse mount point: /mnt/onewire/
CALL: PARSENAME path=[]
CONNECT: Adapter found: 002/002
DEFAULT: Opened USB DS9490 adapter at 002/002.
DATA: DS9490_setup_adapter: done (ret=0)
DATA: DS9490_overdrive()
DEBUG: Start of directory path= device=00 00 00 00 00 00 00 00
DATA: BUS_first: No data will be returned
DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00 00 last
path=01 00 00 00 00 00 00 00
DEBUG: Clearing root branch
DATA: DS9490_reset
DATA: DS9490_reset: ok
DATA: DS9490_reset
DATA: DS9490_reset: ok
DEBUG: DS9490_next_both SN found: 81 3C 67 25 00 00 00 8B
DEBUG: BUS_next return = 0 81 3C 67 25 00 00 00 8B
CONNECT: Good DS1421 tag found for 002/002
DEFAULT: Set DS9490 002/002 unique id to FFFFFF81 3C 67 25 00 00 00 FFFFFF8B
DEBUG: fuse_mnt_opt=[(null)]
DEBUG: fuse_open_opt=[(null)]
unique: 2, opcode: INIT (26), nodeid: 0, insize: 44
INIT: 1.0
INIT: 7.5
unique: 2, error: 0 (Success), outsize: 24
short read on fuse device
DEBUG: owfs: ow_exit(0)
DEBUG: owfs: LibClose()
CALL: Starting Library cleanup
CALL: Closing Cache
CALL: Closing input devices
CONNECT: Closed USB DS9490 adapter at 002/002. ret=0
CALL: Closing outout devices
CALL: Finished Library cleanup
DEBUG: owfs: call _exit(0)
When I check which processes are running, I find that owfs ran briefly. I
guess that's the 'owfs: call_exit(0)' line, shown above.
Again, going to /mnt/onewire and typing 'ls' simply moves the cursor to a new
prompt (no output). Typing 'tree' gives a "dot" on the next line, then a
blank (empty) line, then a line saying '0 directories, 0 files', then a new
prompt line.
Not sure to do from here, besides uninstalling fuse-2.5.3 and reinstalling the
rpm versions of fuse2-2.3. But that would put me back where I started.
Mmmmm....
Do you think the warning about 'Module.symvers' is likely to be relavant ?
Any insights would be greatly appreciated.
Cheers,
Andrew
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
