From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 11 15:55:46 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E20AF37B401 for ; Fri, 11 Apr 2003 15:55:46 -0700 (PDT) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id E97B443FBD for ; Fri, 11 Apr 2003 15:55:45 -0700 (PDT) (envelope-from nsouch@free.fr) Received: from armor.fastether (nas-cbv-8-62-147-158-111.dial.proxad.net [62.147.158.111]) by postfix3-2.free.fr (Postfix) with SMTP id 19A4FC0B3 for ; Sat, 12 Apr 2003 00:55:44 +0200 (CEST) Received: (qmail 99644 invoked by uid 1001); 12 Apr 2003 01:07:44 -0000 Date: Sat, 12 Apr 2003 01:07:44 +0000 From: Nicolas Souchu To: Bruce Evans Message-ID: <20030412010744.B99524@armor.free.fr> References: <1049821320.14809.8.camel@builder02.qubesoft.com> <20030409021112.5FC1A2A7EA@canning.wemm.org> <20030409034708.GD30960@elvis.mu.org> <20030409162415.T2279@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030409162415.T2279@gamplex.bde.org>; from bde@zeta.org.au on Wed, Apr 09, 2003 at 04:41:29PM +1000 cc: hackers@FreeBSD.org Subject: Re: In case anybody's interested... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 22:55:47 -0000 On Wed, Apr 09, 2003 at 04:41:29PM +1000, Bruce Evans wrote: [...] > Testing of lpt while debugging this showed other nice races: lpt > (actually ppc) detaches and attaches the interrupt for every i/o. It Indeed for interrupt sharing. Actually, only lpt is used as a ppbus device. > apparently doesn't wait long enough for the last (non-stray) interrupt > from the previous i/o to arrive. The interrupt sometimes arrives in > the window between the detach and the attach. It is then recorded as > "stray". It is stray all right, but "stray" was meant to mean stray > in the hardware and not stray due to software bugs. The interrupt certainly arrive between the the TEARDOWN and SETUP calls in ppc_teardown_intr() of isa/ppc.c -- Nicholas Souchu - nsouch@free.fr - nsouch@FreeBSD.org