On Tue, Jun 5, 2012 at 12:43 AM, Otavio Salvador <[email protected]>wrote:

> On Tue, Jun 5, 2012 at 12:34 AM, Paul Alfille <[email protected]>wrote:
>
>> What happens with owhttpd?
>>
>
> owhttpd I didn't test but owserver with owdir works fine.
>

With background it fails:

root@ossystems:~# owfs --w1 -m /owfs --debug --background
DEBUG MODE
libow version:
        2.8p15
CONNECT: owfs.c:(96) fuse mount point: /owfs
CONNECT: ow_avahi_link.c:(72) No Avahi support. Library libavahi-client
couldn't be loaded
CONNECT: ow_dnssd.c:(82) Zeroconf/Bonjour is disabled since dnssd library
isn't found
   CALL: ow_parsename.c:(98) path=[]
  DEBUG: owlib.c:(82) Globals temp limits 0C 100C (for simulated adapters)
  DEBUG: fuse_line.c:(82) Added FUSE option 0 OWFS
  DEBUG: fuse_line.c:(82) Added FUSE option 1 /owfs
  DEBUG: fuse_line.c:(82) Added FUSE option 2 -o
  DEBUG: fuse_line.c:(82) Added FUSE option 3 direct_io
  DEBUG: owfs.c:(121) fuse_mnt_opt=[(null)]
  DEBUG: owfs.c:(123) fuse_open_opt=[(null)]
NLMSGHDR: len=48 type=3 (NLMSG_DONE) flags=5 seq=0|1 pid=531
CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=0|1 ack=1 len=12 flags=0
W1_NETLINK_MSG: type=6 (W1_LIST_MASTERS) len=0 id=0
W1_NETLINK_CMD: NULL w1c field
NULL data
NLMSGHDR: len=56 type=3 (NLMSG_DONE) flags=0 seq=0|1 pid=0
CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=0|1 ack=0 len=20 flags=12143
W1_NETLINK_MSG: type=6 (W1_LIST_MASTERS) len=8 id=0
W1_NETLINK_CMD: NULL w1c field
Byte buffer Data, length=8
--000: 02 00 00 00 01 00 00 00
   <........>
NLMSGHDR: len=48 type=3 (NLMSG_DONE) flags=0 seq=0|1 pid=0
CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=0|1 ack=1 len=12 flags=0
W1_NETLINK_MSG: type=6 (W1_LIST_MASTERS) len=0 id=0
W1_NETLINK_CMD: NULL w1c field
NULL data

Without --background, it works:

root@ossystems:~# owfs --w1 -m /owfs --debug
DEBUG MODE
libow version:
        2.8p15
CONNECT: owfs.c:(96) fuse mount point: /owfs
CONNECT: ow_avahi_link.c:(72) No Avahi support. Library libavahi-client
couldn't be loaded
CONNECT: ow_dnssd.c:(82) Zeroconf/Bonjour is disabled since dnssd library
isn't found
   CALL: ow_parsename.c:(98) path=[]
  DEBUG: owlib.c:(82) Globals temp limits 0C 100C (for simulated adapters)
  DEBUG: fuse_line.c:(82) Added FUSE option 0 OWFS
  DEBUG: fuse_line.c:(82) Added FUSE option 1 /owfs
  DEBUG: fuse_line.c:(82) Added FUSE option 2 -o
  DEBUG: fuse_line.c:(82) Added FUSE option 3 direct_io
  DEBUG: fuse_line.c:(82) Added FUSE option 4 -f
  DEBUG: fuse_line.c:(82) Added FUSE option 5 -d
  DEBUG: owfs.c:(121) fuse_mnt_opt=[(null)]
  DEBUG: owfs.c:(123) fuse_open_opt=[(null)]
FUSE library version: 2.8.6
nullpath_ok: 0
  DEBUG: ow_w1_list.c:(54) Sending w1 bus master list message
  DEBUG: ow_w1_send.c:(132) Netlink send -----------------
NLMSGHDR: len=48 type=3 (NLMSG_DONE) flags=5 seq=0|1 pid=548
CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=0|1 ack=1 len=12 flags=0
W1_NETLINK_MSG: type=6 (W1_LIST_MASTERS) len=0 id=0
W1_NETLINK_CMD: NULL w1c field
NULL data
  DEBUG: ow_w1_send.c:(143) NETLINK sent seq=1
  DEBUG: ow_w1_dispatch.c:(167) Dispatch loop
  DEBUG: ow_w1_parse.c:(113) Wait to peek at message
  DEBUG: ow_w1_parse.c:(121) Pre-parse header: 16 bytes len=56 type=3
seq=0|1 pid=0
  DEBUG: ow_w1_parse.c:(142) Netlink read -----------------
NLMSGHDR: len=56 type=3 (NLMSG_DONE) flags=0 seq=0|1 pid=0
CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=0|1 ack=0 len=20 flags=0
W1_NETLINK_MSG: type=6 (W1_LIST_MASTERS) len=8 id=0
W1_NETLINK_CMD: NULL w1c field
Byte buffer Data, length=8
--000: 02 00 00 00 01 00 00 00
   <........>
  DEBUG: ow_w1_dispatch.c:(88) Netlink message directed to root W1 master
  DEBUG: ow_w1_dispatch.c:(126) Sending this packet to root bus
  DEBUG: ow_w1_dispatch.c:(167) Dispatch loop
  DEBUG: ow_w1_parse.c:(113) Wait to peek at message
  DEBUG: ow_w1_parse.c:(121) Pre-parse header: 16 bytes len=48 type=3
seq=0|1 pid=0
  DEBUG: ow_w1_parse.c:(142) Netlink read -----------------
NLMSGHDR: len=48 type=3 (NLMSG_DONE) flags=0 seq=0|1 pid=0
CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=0|1 ack=1 len=12 flags=0
W1_NETLINK_MSG: type=6 (W1_LIST_MASTERS) len=8 id=0
W1_NETLINK_CMD: NULL w1c field
Byte buffer Data, length=8
--000: 02 00 00 00 01 00 00 00
   <........>
  DEBUG: ow_w1_dispatch.c:(88) Netlink message directed to root W1 master
  DEBUG: ow_w1_dispatch.c:(126) Sending this packet to root bus
  DEBUG: ow_w1_dispatch.c:(167) Dispatch loop
  DEBUG: ow_w1_parse.c:(113) Wait to peek at message
  DEBUG: ow_w1_parse.c:(121) Pre-parse header: 16 bytes len=48 type=3
seq=0|1 pid=0
  DEBUG: ow_w1_parse.c:(142) Netlink read -----------------
NLMSGHDR: len=48 type=3 (NLMSG_DONE) flags=0 seq=0|1 pid=0
CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=0|1 ack=1 len=12 flags=0
W1_NETLINK_MSG: type=6 (W1_LIST_MASTERS) len=0 id=0
W1_NETLINK_CMD: NULL w1c field
NULL data
  DEBUG: ow_w1_dispatch.c:(88) Netlink message directed to root W1 master
  DEBUG: ow_w1_dispatch.c:(126) Sending this packet to root bus
  DEBUG: ow_w1_dispatch.c:(167) Dispatch loop
  DEBUG: ow_w1_parse.c:(113) Wait to peek at message
  DEBUG: ow_w1_scan.c:(54) Netlink (w1) list all bus masters
  DEBUG: ow_w1_list.c:(64) W1 List 2 masters
   CALL: ow_parsename.c:(98) path=[]
  DEBUG: ow_w1_addremove.c:(52) Setup structure for w1_bus_master2
  DEBUG: ow_w1_addremove.c:(76) Request master be added: w1_bus_master2.
  DEBUG: ow_add_inflight.c:(26) Request master be added: w1_bus_master2
   CALL: ow_parsename.c:(98) path=[]
  DEBUG: ow_w1_addremove.c:(52) Setup structure for w1_bus_master1
  DEBUG: ow_w1_addremove.c:(76) Request master be added: w1_bus_master1.
  DEBUG: ow_add_inflight.c:(26) Request master be added: w1_bus_master1
  DEBUG: ow_w1_scan.c:(54) Netlink (w1) list all bus masters
  DEBUG: ow_w1_list.c:(64) W1 List 0 masters
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.14
flags=0x0000007b
max_readahead=0x00020000
   INIT: 7.12
   flags=0x00000011
   max_readahead=0x00020000
   max_write=0x00020000
   unique: 1, success, outsize: 40

Any idea how to fix it?

-- 
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to