[ << | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: RE: CIPE link went down again
From: SBNelson,AT,thermeon,DOT,com
Date: Mon, 1 Apr 2002 17:28:15 +0200

I don't have the source handy but the message suggests that the read() call
wasn't prepared to handle being interrupted.

User mode programs must be prepared for interrupted system calls.  For
example (for read()):

do {
        ret = read(fd, buf, sizeof(buf));
} while ((ret == -1) && (errno == EINTR));

> -----Original Message-----
> From: Arik Baratz [SMTP:arikb,AT,vidius,DOT,co,DOT,il
> Sent: Sunday, March 31, 2002 12:21 AM
> To:   cipe-l,AT,inka,DOT,de
> Subject:      CIPE link went down again
> 
> 
> Hi all
> 
> I'm using CIPE for a few months now, and besides this annoyance I have
> found
> it to be extremely reliable, convinient and simple to use.
> 
> For the second time this month, though, one of my VPN connections has gone
> down twice, leaving the following trail:
> 
> Mar 29 02:04:03 callisto ciped-cb[23992]: keepalive timeout
> Mar 29 02:04:33 callisto last message repeated 2 times
> Mar 29 02:04:48 callisto ciped-cb[23992]: kxchg: read(r): Interrupted
> system
> call
> Mar 29 02:04:48 callisto ciped-cb[23992]: Interface stats 21261992  155892
> 1   0    0     1          0         0 18305924  160717    0    0    0
> 0
> 0          0
> Mar 29 02:04:48 callisto ciped-cb[23992]: KX stats: rreq=0, req=21842,
> ind=7906, indb=0, ack=7, ackb=0, unknown=0
> Mar 29 02:04:48 callisto ciped-cb[23992]: cipcb0: daemon exiting
> 
> Did anyone else encounter this particular problem?
> 
> callisto is an old Mandrake with kernel 2.4.5-5mdk, cipe 1.5.2 without the
> small packet patch, compiled from source. The other peer behaves normally,
> and it is a Redhat Linux 7.1 with kernel 2.4.3-12, and cipe 1.5.2 without
> the small packet patch, compiled from source.
> 
> Arik Baratz
> System Engineer
> arikb,AT,vidius,DOT,com
> 
> Office:
> 4 Hamelacha St.
> Raa'nana 43661
> ISRAEL
> 
> Tel:    +972 (9) 743-9250 ext. 214
> Fax:   +972 (9) 743-9251
> Cell:  +972 (52) 354 959
> eFax: +1 (978) 926-8913
> ICQ:  210 8214
> 
> Privileged and / or confidential Information may be contained in this
> electronic mail message. 
> 
> You may not copy or deliver this message to anyone without my consent.
> 
> If you are not the addressee indicated in this message, or you feel that
> this message is not intended for you, Please destroy this message and
> kindly
> notify the sender by replying to this electronic mail.
> 
> Please advise immediately if you or your employer do not agree to the use
> of
> Internet email for messages of this kind.
> 
> Opinions, conclusions and other information in this message that do not
> relate to the official business of Vidius shall be understood as neither
> given nor endorsed by it.
> 
> 
> --
> Message sent by the cipe-l,AT,inka,DOT,de mailing list.
> Unsubscribe: mail majordomo,AT,inka,DOT,de, "unsubscribe cipe-l" in body
> Other commands available with "help" in body to the same address.
> CIPE info and list archive:
> <URL:http://sites.inka.de/~bigred/devel/cipe.html>





[ << | Thread Index | >> ]    [ << | Date Index | >> ]