[Bug 574] timing issues / buffer parsing issues in gsmd

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Fri Jul 27 13:58:10 CEST 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=574





------- Additional Comments From alphaone at openmoko.org  2007-07-27 13:58 -------
Another thing I just noticed with regard to the gsmd timer:

root at fic-gta01:~$ tail -f /tmp/gsm.log 
Wed Feb  2 02:08:27 2000 <1> usock.c:69:usock_cmd_cb() entering(cmd=0x1a7e8,
gu=0x1a8d0)
Wed Feb  2 02:08:27 2000 <1> usock.c:53:usock_cmd_enqueue() enqueueing usock cmd
0x1a968 for user 0x1a8d0
Wed Feb  2 02:08:27 2000 <1> usock.c:940:gsmd_usock_user_cb() successfully sent
cmd 0x1a968 to user 0x1a8d0, freeing
Wed Feb  2 02:08:27 2000 <1> usock.c:96:usock_rcv_passthrough() submitting
cmd=0x1a7e8, gu=0x1a8d0
Wed Feb  2 02:08:27 2000 <1> atcmd.c:452:atcmd_submit() submitting command `at+creg'
Wed Feb  2 02:08:27 2000 <1> atcmd.c:180:ml_parse() buf=`OK'(2)
Wed Feb  2 02:08:27 2000 <1> atcmd.c:338:ml_parse() Calling cmd->cb()
Wed Feb  2 02:08:57 2000 <1> gsmd.c:74:alive_tmr_cb() gsmd_alive timer expired
Wed Feb  2 02:08:57 2000 <3> gsmd.c:80:alive_tmr_cb() modem alive!
Wed Feb  2 02:10:32 2000 <1> usock.c:904:gsmd_usock_user_cb() EOF, this client
has just vanished
Wed Feb  2 02:12:03 2000 <1> atcmd.c:180:ml_parse() buf=`%CSQ:  26, 99, 3'(16)
Wed Feb  2 02:12:03 2000 <1> atcmd.c:248:ml_parse() extd reply `%CSQ:  26, 99,
3' to cmd `+creg', must be unsolicited
Wed Feb  2 02:12:03 2000 <1> vendor_ti.c:78:csq_parse() entering csq_parse
param=` 26, 99, 3'
Wed Feb  2 02:12:03 2000 <1> unsolicited.c:69:usock_evt_send() entering evt=6
Wed Feb  2 02:12:06 2000 <1> atcmd.c:180:ml_parse() buf=`%CPRI: 1,2'(10)
Wed Feb  2 02:12:06 2000 <1> atcmd.c:248:ml_parse() extd reply `%CPRI: 1,2' to
cmd `+creg', must be unsolicited
Wed Feb  2 02:12:06 2000 <1> unsolicited.c:69:usock_evt_send() entering evt=13
Wed Feb  2 02:12:32 2000 <1> atcmd.c:180:ml_parse() buf=`%CSQ:  23, 99, 2'(16)
Wed Feb  2 02:12:32 2000 <1> atcmd.c:248:ml_parse() extd reply `%CSQ:  23, 99,
2' to cmd `+creg', must be unsolicited
Wed Feb  2 02:12:32 2000 <1> vendor_ti.c:78:csq_parse() entering csq_parse
param=` 23, 99, 2'
Wed Feb  2 02:12:32 2000 <1> unsolicited.c:69:usock_evt_send() entering evt=6
Wed Feb  2 02:13:27 2000 <1> gsmd.c:119:alive_interval_tmr_cb() interval
expired, starting next alive inquiry
Wed Feb  2 02:13:27 2000 <1> atcmd.c:452:atcmd_submit() submitting command `ATE0'
Wed Feb  2 02:13:27 2000 <1> atcmd.c:180:ml_parse() buf=`OK'(2)
Wed Feb  2 02:13:27 2000 <1> atcmd.c:338:ml_parse() Calling cmd->cb()
Wed Feb  2 02:13:27 2000 <1> usock.c:69:usock_cmd_cb() entering(cmd=0x1a7e8,
gu=0x1a8d0)
Wed Feb  2 02:13:27 2000 <1> usock.c:53:usock_cmd_enqueue() enqueueing usock cmd
0x1a9d8 for user 0x1a8d0
Wed Feb  2 02:13:57 2000 <1> gsmd.c:74:alive_tmr_cb() gsmd_alive timer expired
Wed Feb  2 02:13:57 2000 <8> gsmd.c:77:alive_tmr_cb() modem dead!
gsmd - (C) 2006-2007 by Harald Welte <laforge at gnumonks.org>
This program is FREE SOFTWARE under the terms of GNU GPL

I can't really make much sense of it, but it seems to me that the alive timer
steals the first OK from the usock_cb and the next time the alive timer sends
ATE0 the OK is not passed back to the alive timer.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list