Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 1999 13:58:25 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        current@FreeBSD.ORG
Subject:   Incorrect EAGAIN & select() exceptions
Message-ID:  <199901101358.NAA00734@keep.lan.Awfulhak.org>

next in thread | raw e-mail | index | archive | help
Hi,

Something weird is happening in -current.  I installed world, a 
kernel and bootblocks on Jan 6 - I can't say for sure that it wasn't 
happening before this as I usually do all ppp testing via the 
loopback interface on a single machine for convenience.

Yesterday, I tried using ppp on the above -current via a tty and got 
two weird results, both happen at random intervals, but are 
reasonably easy to reproduce.

1.  I select() on a tty descriptor for reading (and writing & 
    exceptions).  Select comes back with the read descriptor set, 
    I do a read() and get -1 with errno EAGAIN.  This must be 
    wrong !

2.  I select() on a tty descriptor for reading, writing and 
    exceptions and get the exception fd_set bit set.  This has never 
    happened before, and it was only a few weeks ago that I even had 
    ppp not always abend when an exception is detected.

Does anybody know what's going on (before I look into things further) ?
Help would be appreciated if anyone has any su{spicions,gestions}.

Cheers.
-- 
Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour !





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901101358.NAA00734>