Am Montag, 22. August 2011, 23:27:59 schrieb Jan Kandziora:
> [...]
>
> No debug output is produced. The target machine uses busybox (but standard
> glibc) for the the syslog. Maybe that's why no debug messages, not even on
> stderr?
>
Actually, the spec file specified --disable-debug. Gnarf, my fault. Here is
the debug output from owserver:
$ owserver -d /dev/ttyS0 --error_level=9 --error_print=2 --foreground
---other session---
$ owwrite 29.C33B01000000/set_alarm 311111111
---------------------------------------------------------------------------------
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 24 bytes Time: 10.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 24 - 0 = 24
DEBUG: from_client.c:FromClient(67) FromClient payload=35 size=9 type=3
sg=0x10A offset=0
DEBUG: from_client.c:FromClient(75) FromClient (no servermessage) payload=35
size=9 type=3 controlflags=0x10A offset=0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 35 bytes Time: 10.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 35 - 0 = 35
DEBUG: handler.c:SingleHandler(155) START handler 29.C33B01000000/set_alarm
CALL: data.c:DataHandler(106) DataHandler: parse
path=29.C33B01000000/set_alarm
DEBUG: ow_parseobject.c:OWQ_create(164) 29.C33B01000000/set_alarm
CALL: ow_parsename.c:FS_ParsedName_anywhere(95)
path=[29.C33B01000000/set_alarm]
DEBUG: ow_cache.c:Cache_Get_Device(908) Looking for device 29 C3 3B 01 00 00
00 9E
DEBUG: ow_cache.c:Cache_Get_Common(1064) Search in cache sn 29 C3 3B 01 00
00 00 9E pointer=0xb7f46a3c index=0 size=4
DEBUG: ow_cache.c:Cache_Get_Common(1100) Value not found in cache
DETAIL: ow_presence.c:CheckPresence(80) Checking presence of
/29.C33B01000000/set_alarm
DEBUG: ow_select.c:BUS_select(71) Selecting a path (and device)
path=/29.C33B01000000/set_alarm SN=29 C3 3B 01 00 00 00 9E last path=00 00 00
00 00 00 00 00
DEBUG: ow_select.c:BUS_select(79) Continuing root branch
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 25 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 25 - 0 = 25
DEBUG: ow_transaction.c:BUS_transaction_single(215) verify = 0
DEBUG: ow_transaction.c:BUS_transaction_single(201) end = 0
DEBUG: ow_presence.c:CheckThisConnection(247) Presence of 29 C3 3B 01 00 00
00 9E FOUND on bus /dev/ttyS0
DEBUG: ow_cache.c:Cache_Add_Device(550) Adding device location 29 C3 3B 01
00 00 00 9E bus=0
DEBUG: ow_cache.c:Cache_Add_Common(639) Add to cache sn 29 C3 3B 01 00 00 00
9E pointer=0xb7f46a3c index=0 size=4
DEBUG: ow_cache.c:Cache_Add_Device(550) Adding device location 29 C3 3B 01
00 00 00 9E bus=0
DEBUG: ow_cache.c:Cache_Add_Common(639) Add to cache sn 29 C3 3B 01 00 00 00
9E pointer=0xb7f46a3c index=0 size=4
CALL: data.c:DataHandler(152) Write message
DEBUG: write.c:WriteHandler(52) WriteHandler: hd->sm.payload=35 hd-
>sm.size=9 hd->sm.offset=0 OWQ_size=9 OWQ_offset=0
OWQ OneWireQuery structure of /29.C33B01000000/set_alarm
OneWireQuery size=9 offset=0, extension=0
Byte buffer OneWireQuery buffer, length=9
--000: 33 31 31 31 31 31 31 31 31
<311111111>
Cleanup = 0002 OneWireQuery I=311111111 U=311111111 F=1.53709E-315
Y=311111111 D=Sat Nov 10 20:45:11 1979
--- OneWireQuery done
DEBUG: ow_write.c:FS_w_local(333) Write an non-array element
/29.C33B01000000/set_alarm
DEBUG: ow_select.c:BUS_select(71) Selecting a path (and device)
path=/29.C33B01000000/set_alarm SN=29 C3 3B 01 00 00 00 9E last path=00 00 00
00 00 00 00 00
DEBUG: ow_select.c:BUS_select(79) Continuing root branch
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 9 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 9 - 0 = 9
DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 10 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 10 - 0 = 10
DEBUG: ow_transaction.c:BUS_transaction_single(124) readin = 0
DEBUG: ow_transaction.c:BUS_transaction_single(178) CRC16 = 0
DEBUG: ow_transaction.c:BUS_transaction_single(201) end = 0
DEBUG: ow_select.c:BUS_select(71) Selecting a path (and device)
path=/29.C33B01000000/set_alarm SN=29 C3 3B 01 00 00 00 9E last path=00 00 00
00 00 00 00 00
DEBUG: ow_select.c:BUS_select(79) Continuing root branch
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 9 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 9 - 0 = 9
DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 2 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 2 - 0 = 2
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_transaction.c:BUS_transaction_single(201) end = 0
DEBUG: ow_select.c:BUS_select(71) Selecting a path (and device)
path=/29.C33B01000000/set_alarm SN=29 C3 3B 01 00 00 00 9E last path=00 00 00
00 00 00 00 00
DEBUG: ow_select.c:BUS_select(79) Continuing root branch
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 9 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 9 - 0 = 9
DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 10 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 10 - 0 = 10
DEBUG: ow_transaction.c:BUS_transaction_single(124) readin = 0
DEBUG: ow_transaction.c:BUS_transaction_single(178) CRC16 = 0
DEBUG: ow_transaction.c:BUS_transaction_single(201) end = 0
DEBUG: ow_cache.c:Cache_Del_Common(1354) Delete from cache sn 29 C3 3B 01 00
00 00 9E in=0xb7f36438 index=0
DEBUG: ow_write.c:FS_write_owq(388) Write /29.C33B01000000/set_alarm
Extension 0 Gives result -22
DEBUG: ow_select.c:BUS_select(71) Selecting a path (and device)
path=/29.C33B01000000/set_alarm SN=29 C3 3B 01 00 00 00 9E last path=00 00 00
00 00 00 00 00
DEBUG: ow_select.c:BUS_select(79) Continuing root branch
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 25 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 25 - 0 = 25
DEBUG: ow_transaction.c:BUS_transaction_single(215) verify = 0
DEBUG: ow_transaction.c:BUS_transaction_single(201) end = 0
DEBUG: ow_presence.c:CheckThisConnection(247) Presence of 29 C3 3B 01 00 00
00 9E FOUND on bus /dev/ttyS0
DEBUG: ow_cache.c:Cache_Add_Device(550) Adding device location 29 C3 3B 01
00 00 00 9E bus=0
DEBUG: ow_cache.c:Cache_Add_Common(639) Add to cache sn 29 C3 3B 01 00 00 00
9E pointer=0xb7f46a3c index=0 size=4
DEBUG: ow_write.c:FS_w_local(333) Write an non-array element
/29.C33B01000000/set_alarm
DEBUG: ow_select.c:BUS_select(71) Selecting a path (and device)
path=/29.C33B01000000/set_alarm SN=29 C3 3B 01 00 00 00 9E last path=00 00 00
00 00 00 00 00
DEBUG: ow_select.c:BUS_select(79) Continuing root branch
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 9 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 9 - 0 = 9
DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 10 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 10 - 0 = 10
DEBUG: ow_transaction.c:BUS_transaction_single(124) readin = 0
DEBUG: ow_transaction.c:BUS_transaction_single(178) CRC16 = 0
DEBUG: ow_transaction.c:BUS_transaction_single(201) end = 0
DEBUG: ow_select.c:BUS_select(71) Selecting a path (and device)
path=/29.C33B01000000/set_alarm SN=29 C3 3B 01 00 00 00 9E last path=00 00 00
00 00 00 00 00
DEBUG: ow_select.c:BUS_select(79) Continuing root branch
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 9 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 9 - 0 = 9
DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 2 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 2 - 0 = 2
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_transaction.c:BUS_transaction_single(201) end = 0
DEBUG: ow_select.c:BUS_select(71) Selecting a path (and device)
path=/29.C33B01000000/set_alarm SN=29 C3 3B 01 00 00 00 9E last path=00 00 00
00 00 00 00 00
DEBUG: ow_select.c:BUS_select(79) Continuing root branch
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 9 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 9 - 0 = 9
DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 10 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 10 - 0 = 10
DEBUG: ow_transaction.c:BUS_transaction_single(124) readin = 0
DEBUG: ow_transaction.c:BUS_transaction_single(178) CRC16 = 0
DEBUG: ow_transaction.c:BUS_transaction_single(201) end = 0
DEBUG: ow_cache.c:Cache_Del_Common(1354) Delete from cache sn 29 C3 3B 01 00
00 00 9E in=0xb7f36438 index=0
DEBUG: ow_write.c:FS_write_owq(388) Write /29.C33B01000000/set_alarm
Extension 0 Gives result -22
DEBUG: ow_write.c:FS_w_local(333) Write an non-array element
/29.C33B01000000/set_alarm
DEBUG: ow_select.c:BUS_select(71) Selecting a path (and device)
path=/29.C33B01000000/set_alarm SN=29 C3 3B 01 00 00 00 9E last path=00 00 00
00 00 00 00 00
DEBUG: ow_select.c:BUS_select(79) Continuing root branch
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 9 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 9 - 0 = 9
DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 10 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 10 - 0 = 10
DEBUG: ow_transaction.c:BUS_transaction_single(124) readin = 0
DEBUG: ow_transaction.c:BUS_transaction_single(178) CRC16 = 0
DEBUG: ow_transaction.c:BUS_transaction_single(201) end = 0
DEBUG: ow_select.c:BUS_select(71) Selecting a path (and device)
path=/29.C33B01000000/set_alarm SN=29 C3 3B 01 00 00 00 9E last path=00 00 00
00 00 00 00 00
DEBUG: ow_select.c:BUS_select(79) Continuing root branch
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 9 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 9 - 0 = 9
DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 2 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 2 - 0 = 2
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_transaction.c:BUS_transaction_single(201) end = 0
DEBUG: ow_select.c:BUS_select(71) Selecting a path (and device)
path=/29.C33B01000000/set_alarm SN=29 C3 3B 01 00 00 00 9E last path=00 00 00
00 00 00 00 00
DEBUG: ow_select.c:BUS_select(79) Continuing root branch
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 9 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 9 - 0 = 9
DEBUG: ow_transaction.c:BUS_transaction_single(84) select = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 3 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 3 - 0 = 3
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_tcp_read.c:tcp_read(64) attempt 10 bytes Time: 5.000000 seconds
DEBUG: ow_tcp_read.c:tcp_read(114) read: 10 - 0 = 10
DEBUG: ow_transaction.c:BUS_transaction_single(124) readin = 0
DEBUG: ow_transaction.c:BUS_transaction_single(178) CRC16 = 0
DEBUG: ow_transaction.c:BUS_transaction_single(201) end = 0
DEBUG: ow_cache.c:Cache_Del_Common(1354) Delete from cache sn 29 C3 3B 01 00
00 00 9E in=0xb7f36438 index=0
DEBUG: ow_write.c:FS_write_owq(388) Write /29.C33B01000000/set_alarm
Extension 0 Gives result -22
DEBUG: ow_write.c:FS_write_postparse(189) Error writing to
/29.C33B01000000/set_alarm
DEBUG: ow_parsename.c:FS_ParsedName_destroy(59) /29.C33B01000000/set_alarm
DEBUG: data.c:DataHandler(197) DataHandler: FS_ParsedName_destroy done
DEBUG: data.c:DataHandler(211) DataHandler: cm.ret=-22
DEBUG: to_client.c:ToClient(56) payload=0 size=0, ret=-22, sg=0x10A offset=0
DEBUG: data.c:DataHandler(231) Finished with client request
DEBUG: handler.c:Handler(137) OWSERVER handler done
DEBUG: ow_net_server.c:ProcessAcceptSocket(236) Normal exit.
---------------------------------------------------------------------------------
Kind regards
Jan
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers