From owner-freebsd-net Thu Aug 23 16:48:40 2001 Delivered-To: freebsd-net@freebsd.org Received: from pelissero.org (dyn171-40.sftm-212-159.plus.net [212.159.40.171]) by hub.freebsd.org (Postfix) with ESMTP id 709FF37B406; Thu, 23 Aug 2001 16:48:27 -0700 (PDT) (envelope-from wcp@pelissero.org) Received: (from wcp@localhost) by pelissero.org (8.11.5/8.9.3) id f7NNmJP74598; Fri, 24 Aug 2001 00:48:19 +0100 (BST) (envelope-from wcp) From: "Walter C. Pelissero" Message-ID: <15237.38467.152901.714828@hyde.lpds.sublink.org> Date: Fri, 24 Aug 2001 00:48:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: net@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Serious i386 interrupt mask bug in RELENG_4 (was Re: 4.4-RC NFS panic) In-Reply-To: <200108232134.aa49928@salmon.maths.tcd.ie> References: <200108230228.f7N2SqW80434@harmony.village.org> <200108232134.aa49928@salmon.maths.tcd.ie> X-Mailer: VM 6.90 under 21.1 (patch 13) "Crater Lake" XEmacs Lucid Reply-To: walter@pelissero.org X-Attribution: WP Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ian Dowse writes: > In message <200108230228.f7N2SqW80434@harmony.village.org>, Warner Losh writes: > > > >I think that might be due to a bug in the shared interrupt code that > >Ian Dowse sent me about earlier today. > > Just to add a few details - there is a bug in the update_masks() > function in i386/isa/intr_machdep.c that can cause some interrupts > to occur at times when they should be masked. The problem only > occurs with certain configurations of shared interrupts and devices, > and this code is only present in RELENG_4. Congratulations! I've applied your patch together with the one posted by Warner Losh and now the PCMCIA card is working again and the find/cat test passed without panic. -- walter pelissero http://www.pelissero.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message