Problem with /alarm and latest CVS
Jan Kandziora <jjj <at> gmx.de>
2009-05-08 21:27:35 GMT
Hello,
I recently returned to the onewire part of my project and I'm still hunting
bugs... With latest CVS version, /alarm or even /alarm/uncached are always
empty. I *know* the DS2408 connected to the bus *must* be in alarm state
after power up, so there has to be something wrong with my software setup or
recent owfs (it worked with CVS from January). I checked with
# /opt/owfs/bin/owserver --foreground --error_level=9 --error_print=2 /dev/ttyS0
2>alarm_log
and
# /opt/owfs/bin/owget alarm/uncached
Please see the attached log. Anyone else having problems with this? Adapter is
DS9097U, if that matters.
Kind regards
Jan
--
Linux, Playboy Edition: nichts als die nackte Kommandozeile...
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[]
DEBUG: owlib.c:SetupTemperatureLimits(83) Globals temp limits 0C 100C (for simulated adapters)
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[]
Byte buffer Attempt serial write:, length=1
--000: C1
<.>
Byte buffer Attempt serial write:, length=1
--000: 71
<q>
Byte buffer Attempt serial write:, length=1
--000: 0F
<.>
Byte buffer Serial read:, length=1
--000: 00
<.>
Byte buffer Attempt serial write:, length=1
--000: C5
<.>
Byte buffer Serial read:, length=1
--000: CD
<.>
Byte buffer Attempt serial write:, length=1
--000: 71
<q>
Byte buffer Attempt serial write:, length=1
--000: 0F
<.>
Byte buffer Serial read:, length=1
--000: 00
<.>
Byte buffer Attempt serial write:, length=1
--000: C5
<.>
Byte buffer Serial read:, length=1
--000: CD
<.>
Byte buffer Attempt serial write:, length=1
--000: 45
<E>
Byte buffer Serial read:, length=1
--000: 44
<D>
Byte buffer Attempt serial write:, length=1
--000: 5B
<[>
Byte buffer Serial read:, length=1
--000: 5A
<Z>
Byte buffer Attempt serial write:, length=1
--000: 3F
<?>
Byte buffer Serial read:, length=1
--000: 3E
<>>
Byte buffer Attempt serial write:, length=1
--000: 29
<)>
Byte buffer Serial read:, length=1
--000: 28
<(>
Byte buffer Attempt serial write:, length=1
--000: 95
<.>
Byte buffer Serial read:, length=1
--000: 97
<.>
Byte buffer Attempt serial write:, length=1
--000: C5
<.>
Byte buffer Serial read:, length=1
--000: CD
<.>
DEBUG: owserver.c:main(158) main_threadid = 3085231808
DEBUG: ow_net_server.c:ServerProcessOut(252) 3084843920
DEBUG: ow_zero.c:OW_Announce(150) end
DEBUG: ow_net_server.c:ServerProcess(321) Wait for output device 0 to setup.
DEBUG: ow_net_server.c:ServerProcessOut(273) Output device setup is done. index=0
DEBUG: ow_net_server.c:ServerProcessAccept(189) [3084843920] try lock 0
DEBUG: ow_net_server.c:ServerProcessAccept(195) [3084843920] locked 0
DEBUG: ow_net_server.c:ServerProcess(324) Output device 0 setup done.
DEBUG: ow_net_server.c:ServerProcessAccept(203) [3084843920] accept 0 fd=8
DEBUG: ow_net_server.c:ServerProcessAcceptUnlock(177) unlock 3084843920
DEBUG: ow_net_server.c:ServerProcessAcceptUnlock(179) unlock 3084843920 done
DEBUG: ow_net_server.c:ServerProcessAccept(216) [3084843920] unlock 0
DEBUG: ow_tcp_read.c:tcp_read(60) attempt 24 bytes Time:(10,0)
Byte buffer NETREAD, length=24
--000: 00 00 00 00 00 00 00 0F 00 00 00 07 00 00 01 0A
--016: 00 00 00 00 00 00 00 00
<........................>
DEBUG: ow_tcp_read.c:tcp_read(108) n=24 nleft=0 n-nleft=24
DEBUG: from_client.c:FromClient(65) FromClient payload=15 size=0 type=7 sg=0x10A offset=0
DEBUG: from_client.c:FromClient(73) FromClient (no servermessage) payload=15 size=0 type=7
sg=0x10A offset=0
DEBUG: ow_tcp_read.c:tcp_read(60) attempt 15 bytes Time:(10,0)
Byte buffer NETREAD, length=15
--000: 61 6C 61 72 6D 2F 75 6E 63 61 63 68 65 64 00
<alarm/uncached.>
DEBUG: ow_tcp_read.c:tcp_read(108) n=15 nleft=0 n-nleft=15
CALL: data.c:DataHandler(102) DataHandler: parse path=alarm/uncached
DEBUG: ow_parseobject.c:FS_OWQ_create(26) alarm/uncached
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[alarm/uncached]
CALL: data.c:DataHandler(145) Directory message (all at once)
DEBUG: dirall.c:DirallHandler(66) OWSERVER Dir-All SpecifiedBus=0 path = /alarm/uncached
DEBUG: ow_dir.c:FS_dir_remote(74) path=/alarm/uncached
CALL: ow_dir.c:FS_dir_both(102) path=/alarm/uncached
DEBUG: ow_select.c:BUS_select(71) Selecting a path (and device) path=/alarm/uncached SN=00 00 00 00 00
00 00 00 last path=00 00 00 00 00 00 00 00
DEBUG: ow_select.c:BUS_select(78) Clearing root branch
Byte buffer Attempt serial write:, length=1
--000: C5
<.>
DEBUG: ow_net_server.c:ServerProcessAccept(243) 3084843920 CLOSING
DEBUG: ow_net_server.c:ServerProcessAccept(189) [3084843920] try lock 0
DEBUG: ow_net_server.c:ServerProcessAccept(195) [3084843920] locked 0
Byte buffer Serial read:, length=1
--000: CD
<.>
Byte buffer Attempt serial write:, length=3
--000: E1 CC 66
<..f>
Byte buffer Serial read:, length=2
--000: CC 66
<.f>
DEBUG: ow_transaction.c:BUS_transaction_single(98) send = 0
DEBUG: ow_transaction.c:BUS_transaction_single(167) end = 0
Byte buffer Attempt serial write:, length=2
--000: E3 C5
<..>
Byte buffer Serial read:, length=1
--000: CD
<.>
Byte buffer Attempt serial write:, length=2
--000: E1 EC
<..>
Byte buffer Serial read:, length=1
--000: EC
<.>
Byte buffer Attempt serial write:, length=2
--000: E3 B5
<..>
Byte buffer Attempt serial write:, length=17
--000: E1 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
--016: 00
<.................>
Byte buffer Serial read:, length=12
--000: FF FF FF FF FF FF FF FF FF FF FF FF
<............>
Byte buffer Serial read:, length=4
--000: FF FF FF FF
<....>
Byte buffer Attempt serial write:, length=2
--000: E3 A5
<..>
DEBUG: ow_search.c:BUS_next(84) return = -5 | 00 00 00 00 00 00 00 00
DEBUG: ow_dir.c:FS_alarmdir(419) BUS_first_alarm = -5
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[/alarm/uncached/bus.0]
DEBUG: ow_cache.c:Cache_Get_SerialNumber(979) Antialiasing bus.0 unsuccesssful
DEBUG: ow_parsename.c:FS_ParsedName_destroy(64) /alarm/uncached/bus.0
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[/alarm/uncached/settings]
DEBUG: ow_cache.c:Cache_Get_SerialNumber(979) Antialiasing settings unsuccesssful
DEBUG: ow_parsename.c:FS_ParsedName_destroy(64) /alarm/uncached/settings
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[/alarm/uncached/system]
DEBUG: ow_cache.c:Cache_Get_SerialNumber(979) Antialiasing system unsuccesssful
DEBUG: ow_parsename.c:FS_ParsedName_destroy(64) /alarm/uncached/system
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[/alarm/uncached/statistics]
DEBUG: ow_cache.c:Cache_Get_SerialNumber(979) Antialiasing statistics unsuccesssful
DEBUG: ow_parsename.c:FS_ParsedName_destroy(64) /alarm/uncached/statistics
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[/alarm/uncached/structure]
DEBUG: ow_cache.c:Cache_Get_SerialNumber(979) Antialiasing structure unsuccesssful
DEBUG: ow_parsename.c:FS_ParsedName_destroy(64) /alarm/uncached/structure
DEBUG: ow_dir.c:FS_dir_both(184) ret=-5
DEBUG: ow_parseobject.c:FS_OWQ_destroy(141) /alarm/uncached
DEBUG: ow_parsename.c:FS_ParsedName_destroy(64) /alarm/uncached
DEBUG: data.c:DataHandler(162) DataHandler: FS_ParsedName_destroy done
DEBUG: data.c:DataHandler(176) DataHandler: cm.ret=-5
DEBUG: data.c:DataHandler(193) DataHandler: done
DEBUG: handler.c:Handler(150) OWSERVER handler done
DEBUG: ow_net_server.c:ServerProcessAccept(203) [3084843920] accept 0 fd=9
DEBUG: ow_net_server.c:ServerProcessAcceptUnlock(177) unlock 3084843920
DEBUG: ow_net_server.c:ServerProcessAcceptUnlock(179) unlock 3084843920 done
DEBUG: ow_net_server.c:ServerProcessAccept(216) [3084843920] unlock 0
DEBUG: ow_tcp_read.c:tcp_read(60) attempt 24 bytes Time:(10,0)
Byte buffer NETREAD, length=24
--000: 00 00 00 00 00 00 00 0F 00 00 00 04 00 00 01 0A
--016: 00 00 00 00 00 00 00 00
<........................>
DEBUG: ow_tcp_read.c:tcp_read(108) n=24 nleft=0 n-nleft=24
DEBUG: from_client.c:FromClient(65) FromClient payload=15 size=0 type=4 sg=0x10A offset=0
DEBUG: from_client.c:FromClient(73) FromClient (no servermessage) payload=15 size=0 type=4
sg=0x10A offset=0
DEBUG: ow_tcp_read.c:tcp_read(60) attempt 15 bytes Time:(10,0)
Byte buffer NETREAD, length=15
--000: 61 6C 61 72 6D 2F 75 6E 63 61 63 68 65 64 00
<alarm/uncached.>
DEBUG: ow_tcp_read.c:tcp_read(108) n=15 nleft=0 n-nleft=15
CALL: data.c:DataHandler(102) DataHandler: parse path=alarm/uncached
DEBUG: ow_parseobject.c:FS_OWQ_create(26) alarm/uncached
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[alarm/uncached]
CALL: data.c:DataHandler(141) Directory message (one at a time)
CALL: dir.c:DirHandler(80) DirHandler: pn->path=/alarm/uncached
DEBUG: dir.c:DirHandler(85) OWSERVER SpecifiedBus=0 path=/alarm/uncached
DEBUG: ow_dir.c:FS_dir_remote(74) path=/alarm/uncached
CALL: ow_dir.c:FS_dir_both(102) path=/alarm/uncached
DEBUG: ow_select.c:BUS_select(71) Selecting a path (and device) path=/alarm/uncached SN=00 00 00 00 00
00 00 00 last path=00 00 00 00 00 00 00 00
Byte buffer Attempt serial write:, length=1
--000: C5
<.>
DEBUG: ow_net_server.c:ServerProcessHandler(165) Normal exit.
DEBUG: ow_net_server.c:ServerProcessAccept(243) 3084843920 CLOSING
DEBUG: ow_net_server.c:ServerProcessAccept(189) [3084843920] try lock 0
DEBUG: ow_net_server.c:ServerProcessAccept(195) [3084843920] locked 0
Byte buffer Serial read:, length=1
--000: CD
<.>
Byte buffer Attempt serial write:, length=2
--000: E1 EC
<..>
Byte buffer Serial read:, length=1
--000: EC
<.>
Byte buffer Attempt serial write:, length=2
--000: E3 B5
<..>
Byte buffer Attempt serial write:, length=17
--000: E1 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
--016: 00
<.................>
Byte buffer Serial read:, length=12
--000: FF FF FF FF FF FF FF FF FF FF FF FF
<............>
Byte buffer Serial read:, length=4
--000: FF FF FF FF
<....>
Byte buffer Attempt serial write:, length=2
--000: E3 A5
<..>
DEBUG: ow_search.c:BUS_next(84) return = -5 | 00 00 00 00 00 00 00 00
DEBUG: ow_dir.c:FS_alarmdir(419) BUS_first_alarm = -5
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[/alarm/uncached/bus.0]
DEBUG: ow_cache.c:Cache_Get_SerialNumber(979) Antialiasing bus.0 unsuccesssful
DEBUG: ow_parsename.c:FS_ParsedName_destroy(64) /alarm/uncached/bus.0
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[/alarm/uncached/settings]
DEBUG: ow_cache.c:Cache_Get_SerialNumber(979) Antialiasing settings unsuccesssful
DEBUG: ow_parsename.c:FS_ParsedName_destroy(64) /alarm/uncached/settings
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[/alarm/uncached/system]
DEBUG: ow_cache.c:Cache_Get_SerialNumber(979) Antialiasing system unsuccesssful
DEBUG: ow_parsename.c:FS_ParsedName_destroy(64) /alarm/uncached/system
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[/alarm/uncached/statistics]
DEBUG: ow_cache.c:Cache_Get_SerialNumber(979) Antialiasing statistics unsuccesssful
DEBUG: ow_parsename.c:FS_ParsedName_destroy(64) /alarm/uncached/statistics
CALL: ow_parsename.c:FS_ParsedName_anywhere(115) path=[/alarm/uncached/structure]
DEBUG: ow_cache.c:Cache_Get_SerialNumber(979) Antialiasing structure unsuccesssful
DEBUG: ow_parsename.c:FS_ParsedName_destroy(64) /alarm/uncached/structure
DEBUG: ow_dir.c:FS_dir_both(184) ret=-5
DEBUG: ow_parseobject.c:FS_OWQ_destroy(141) /alarm/uncached
DEBUG: ow_parsename.c:FS_ParsedName_destroy(64) /alarm/uncached
DEBUG: data.c:DataHandler(162) DataHandler: FS_ParsedName_destroy done
DEBUG: data.c:DataHandler(176) DataHandler: cm.ret=-5
DEBUG: data.c:DataHandler(193) DataHandler: done
DEBUG: handler.c:Handler(150) OWSERVER handler done
DEBUG: ow_net_server.c:ServerProcessHandler(165) Normal exit.
DEBUG: ow_net_server.c:ServerProcess(346) break signo=2
DEBUG: ow_net_server.c:ServerProcess(354) shutdown initiated
DEBUG: ow_net_server.c:ServerProcess(358) Shutting down 0 of 1 thread 3084843920
DEBUG: ow_net_server.c:ServerProcess(372) pthread_kill (0 of 1) tid=3084843920 signo=15 rc=0 [Success]
DEBUG: ow_net_server.c:ServerProcess(378) all threads cancelled
DEBUG: ow_net_server.c:ServerProcess(382) join 3084843920
DEBUG: owserver.c:exit_handler(71) exit_handler: for signo=15, errno 0, code -6, pid=15775,
self=3084843920 main=3085231808
DEBUG: owserver.c:exit_handler(76) exit_handler: shutdown already in progress. signo=15,
self=3084843920, main=3085231808
DEBUG: ow_net_server.c:ServerProcessAccept(200) shutdown_in_progress [3084843920] accept 0
DEBUG: ow_net_server.c:ServerProcessAcceptUnlock(177) unlock 3084843920
DEBUG: ow_net_server.c:ServerProcessAcceptUnlock(179) unlock 3084843920 done
DEBUG: ow_net_server.c:ServerProcessAccept(216) [3084843920] unlock 0
DEBUG: ow_net_server.c:ServerProcessAccept(220) [3084843920] shutdown_in_progress 0 return
DEBUG: ow_net_server.c:ServerProcessOut(282) 3084843920 CLOSING ()
DEBUG: ow_net_server.c:ServerProcessOut(284) Normal exit.
DEBUG: ow_net_server.c:ServerProcess(386) join 3084843920 done
DEBUG: ow_net_server.c:ServerProcess(394) shutdown done
DEBUG: owserver.c:main(163) ServerProcess done
DEBUG: owserver.c:ow_exit(51) ow_exit 0
CALL: ow_lib_close.c:LibClose(21) Starting Library cleanup
CALL: ow_lib_stop.c:LibStop(24) Clear Cache
CALL: ow_lib_stop.c:LibStop(27) Closing input devices
DEBUG: ow_com.c:COM_close(80) COM_close: flush
DEBUG: ow_com.c:COM_close(82) COM_close: restore
DEBUG: ow_com.c:COM_close(86) COM_close: close
CALL: ow_lib_stop.c:LibStop(29) Closing outout devices
CALL: ow_lib_close.c:LibClose(56) Finished Library cleanup
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers