From owner-freebsd-current Tue Jan 19 14:13:37 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA14766 for freebsd-current-outgoing; Tue, 19 Jan 1999 14:13:37 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA14758 for ; Tue, 19 Jan 1999 14:13:32 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (root@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id WAA14441 for ; Tue, 19 Jan 1999 22:13:23 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.2/8.9.1) with ESMTP id WAA16620; Tue, 19 Jan 1999 22:01:57 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199901192201.WAA16620@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Brian Somers cc: current@FreeBSD.ORG Subject: Re: Incorrect EAGAIN & select() exceptions In-reply-to: Your message of "Sun, 10 Jan 1999 13:58:25 GMT." <199901101358.NAA00734@keep.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 19 Jan 1999 22:01:56 +0000 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > > 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