The reason must be that fuse_main() exits for some reason after the first request...?!? ow_exit(0) is then called and cleans up owfs in owfs/module/owfs/src/c/owfs.c. Do you know which fuse-version you use? Try "fusermount -V" and tell us.
/Christian > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of Shawn Rutledge > Sent: den 18 mars 2007 22:23 > To: [email protected] > Subject: [Owfs-developers] owfs exits, no obvious error > > I just tried to move my ow networks to a different machine, so I have > the latest gentoo fuse, 2.6.19-gentoo-r5 kernel, etc. and just > compiled owfs-2.6p1. When running with debug turned on I see that > everything looks OK, then ow_exit is called for some reason. I also > tried running owserver instead, and connecting to it from owfs; in > that case, owserver runs, but owfs exits. > > [muon][01:58:17 PM] /opt/owfs/bin/owfs --foreground --error_level 9 -u > -F /mnt/ow2 > CONNECT: fuse mount point: /mnt/ow2 > CALL: PARSENAME path=[] > CONNECT: Adapter found: 001/005 > DEFAULT: Opened USB DS9490 adapter at 001/005. > 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=00 00 00 00 00 00 00 00 > DEBUG: Clearing root branch > DATA: DS9490_reset > DATA: DS9490_reset: ok > DEBUG: Transaction send = 0 > DEBUG: Transaction end = 0 > DATA: DS9490_reset > DATA: DS9490_reset: ok > DEBUG: DS9490_next_both SN found: 12 0C 84 11 00 00 00 9F > DEBUG: BUS_next return = 0 12 0C 84 11 00 00 00 9F > DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00 > 00 last path=00 00 00 00 00 00 00 00 > DATA: DS9490_reset > DATA: DS9490_reset: ok > DEBUG: DS9490_next_both SN found: 12 69 C1 11 00 00 00 8C > DEBUG: BUS_next return = 0 12 69 C1 11 00 00 00 8C > DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00 > 00 last path=00 00 00 00 00 00 00 00 > DATA: DS9490_reset > DATA: DS9490_reset: ok > DEBUG: DS9490_next_both SN found: 12 FD 74 11 00 00 00 7C > DEBUG: BUS_next return = 0 12 FD 74 11 00 00 00 7C > DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00 > 00 last path=00 00 00 00 00 00 00 00 > DATA: DS9490_reset > DATA: DS9490_reset: ok > DEBUG: DS9490_next_both SN found: 81 12 93 24 00 00 00 18 > DEBUG: BUS_next return = 0 81 12 93 24 00 00 00 18 > CONNECT: Good DS1421 tag found for 001/005 > DEFAULT: Set DS9490 001/005 unique id to FFFFFF81 12 FFFFFF93 24 00 00 > 00 18 > DEBUG: owfs: ow_exit(0) > CALL: Starting Library cleanup > CALL: Closing Cache > CALL: Closing input devices > DEBUG: FreeIn: busmode=3 > CONNECT: Closed USB DS9490 adapter at 001/005. ret=0 > CALL: Closing outout devices > CALL: Finished Library cleanup > > Something similar happens for a serial port adapter: > > [muon][02:19:37 PM] /opt/owfs/bin/owfs /mnt/ow1 --foreground > --error_level 9 -d /dev/ttyS1 > CONNECT: fuse mount point: /mnt/ow1 > CALL: PARSENAME path=[] > DEBUG: owfs: ow_exit(0) > CALL: Starting Library cleanup > CALL: Closing Cache > CALL: Closing input devices > DEBUG: FreeIn: busmode=1 > DEBUG: COM_close: flush > DEBUG: COM_close: restore > DEBUG: COM_close: close > CALL: Closing outout devices > CALL: Finished Library cleanup > > But owhttpd will work fine with that same serial port. > > ----------------------------------------------------------------------- > -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD > EV > _______________________________________________ > Owfs-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
