Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 1999 22:01:56 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: Incorrect EAGAIN & select() exceptions 
Message-ID:  <199901192201.WAA16620@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Sun, 10 Jan 1999 13:58:25 GMT." <199901101358.NAA00734@keep.lan.Awfulhak.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Just in case anyone's been losing sleep over this, it was pilot error!
bde@ pointed out the problem, and cron confirmed it :-/

> 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?199901192201.WAA16620>