Race condition in ogsmd

Gilles Filippini pini at debian.org
Wed Feb 3 00:43:59 CET 2010


Hi all,

I'm trying to address the race condition which prevent Zhone to
initialize the GSM when the frameworkd's loglevel is too low. Please see
these threads as a background: [1], [2].

Unfortunately, using the Arne's packages doesn't solve the problem at
all for me. So, I've started to dig into the fso-frameworkd code and
here is where I am so far:

The race takes place in subsystems/ogsmd/modems/ti_calypso/modem.py, in
the TiCalypso::pathfactory method at the line:

pts, vc = self._muxeriface.AllocChannel( name, self._channelmap[name] )

This line fails silently for the 'ogsmd.call' channel when the loglevel
is <= INFO. Adding a sleep(1) before this line fixes it reproducibly.

I've no more time this evening to track this further down, but I'd
appreciate some insights at this point.

Thanks in advance,

_g.

[1]
<http://www.mail-archive.com/smartphones-userland@linuxtogo.org/msg01959.html>
[2] <http://www.mail-archive.com/community@lists.openmoko.org/msg56239.html>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxtogo.org/pipermail/smartphones-userland/attachments/20100203/22e53dbf/attachment.pgp>


More information about the Smartphones-userland mailing list