Yep - that's pretty much the same behaviour as I get - thought it might be
Cygwin but maybe it's a Kannel problem.

I'm not 100% convinced that the auto speed detect and port opening code on
Kannel in AT2 is as robust as I'd like it to be as sometimes it fails and
inifite loops things like the below. When this happensI have to kill the
processes, go into Hyperterm (or equivalent), clear the serial ports with a
few 'AT' returns and then restart Kannel. Kannel seems to leave the modem in
some sort of semi-blocked/locked state which means it needs flushing, and
the startup code isn't able to do this itself (even though it has quite a
few 'AT' returns in it to try and achieve this).

Any serial port gurus out there think of what might cause this?

Alex

2002-05-16 16:45:01 [5] WARNING: gwthread_sleep: error in poll
2002-05-16 16:45:01 [5] WARNING: System error 13: Permission denied
2002-05-16 16:45:01 [5] ERROR: AT2[Motorola1]: error on select
2002-05-16 16:45:01 [5] ERROR: System error 13: Permission denied
2002-05-16 16:45:01 [5] WARNING: gwthread_sleep: error in poll
2002-05-16 16:45:01 [5] WARNING: System error 13: Permission denied
2002-05-16 16:45:01 [5] ERROR: AT2[Motorola1]: error on select
2002-05-16 16:45:01 [5] ERROR: System error 13: Permission denied
2002-05-16 16:45:01 [5] WARNING: gwthread_sleep: error in poll
2002-05-16 16:45:01 [5] WARNING: System error 13: Permission denied
2002-05-16 16:45:01 [5] ERROR: AT2[Motorola1]: error on select
2002-05-16 16:45:01 [5] ERROR: System error 13: Permission denied
2002-05-16 16:45:01 [5] WARNING: gwthread_sleep: error in poll
2002-05-16 16:45:01 [5] WARNING: System error 13: Permission denied
2002-05-16 16:45:01 [5] ERROR: AT2[Motorola1]: error on select
2002-05-16 16:45:01 [5] ERROR: System error 13: Permission denied
2002-05-16 16:45:01 [5] WARNING: gwthread_sleep: error in poll
2002-05-16 16:45:01 [5] WARNING: System error 13: Permission denied
2002-05-16 16:45:01 [5] ERROR: AT2[Motorola1]: error on select
2002-05-16 16:45:01 [5] ERROR: System error 13: Permission denied
2002-05-16 16:45:01 [5] WARNING: gwthread_sleep: error in poll
2002-05-16 16:45:01 [5] WARNING: System error 13: Permission denied
2002-05-16 16:45:05 [7] ERROR: Error reading from fd 24:
2002-05-16 16:45:05 [7] ERROR: System error 104: Connection reset by peer
2002-05-16 16:45:05 [7] ERROR: Error reading from fd 24:
2002-05-16 16:45:05 [7] ERROR: System error 104: Connection reset by peer

----- Original Message -----
From: "Oded Arbel" <[EMAIL PROTECTED]>
To: "Alex Judd" <[EMAIL PROTECTED]>; "Devel (E-mail)"
<[EMAIL PROTECTED]>
Sent: Monday, June 10, 2002 3:17 PM
Subject: RE: Kannel, AT2 and Cygwin : blocking


> Not on cygwin, but sometimes I get a similar (maybe identical) behaviour
on Linux, where I have to manually open each port in minicom, after a
reboot, before kannel is able to talk to it. still haven't figured this one
out.
>
> --
> Oded Arbel
> m-Wise Mobile Solutions
>
> [EMAIL PROTECTED]
> Mobile: +972-67-340014
> Tel: +972-9-9581711 (ext: 116)
>
> ::..
> Famous Last Words 066-"Oops."
>
>
> > -----Original Message-----
> > From: Alex Judd [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 10, 2002 3:36 PM
> > To: Devel (E-mail)
> > Subject: Kannel, AT2 and Cygwin : blocking
> >
> >
> > On my test servers here I have to manually unblock the serial port
> > connection to each of my modems using Hyperterminal or the
> > like each time I
> > reboot my system before Kannel is able to connect to the
> > modems connected to
> > it.
> >
> > I've read on the CygWin list that there is some potentially different
> > behaviour in the way that O_NONBLOCK works for serial devices
> > which could
> > mean that the open fails when it shouldn't do so - has anyone
> > else seen this
> > or worked around it?
> >
> > Cheers
> >
> > Alex
> >
> > --
> > www.skywire.co.uk
> >
> >
> >
> >
> >


Reply via email to