From owner-freebsd-current@FreeBSD.ORG Mon Jun 18 18:36:44 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 07DAC16A4C7; Mon, 18 Jun 2007 18:36:44 +0000 (UTC) (envelope-from piso@newluxor.wired.org) Received: from mail.oltrelinux.com (krisma.oltrelinux.com [194.242.226.43]) by mx1.freebsd.org (Postfix) with ESMTP id 2608413C489; Mon, 18 Jun 2007 18:36:43 +0000 (UTC) (envelope-from piso@newluxor.wired.org) Received: from newluxor.wired.org (ip-67-154.sn2.eutelia.it [83.211.67.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.oltrelinux.com (Postfix) with ESMTP id 60FA911AE43; Mon, 18 Jun 2007 20:36:41 +0200 (CEST) Received: (from piso@localhost) by newluxor.wired.org (8.14.1/8.14.1/Submit) id l5IIaSFo002196; Mon, 18 Jun 2007 20:36:28 +0200 (CEST) (envelope-from piso) Date: Mon, 18 Jun 2007 20:36:27 +0200 From: Paolo Pisati To: Hidetoshi Shimokawa Message-ID: <20070618183627.GA2183@tin.it> References: <46734A3E.3010903@gddsn.org.cn> <626eb4530706160525o54234621s2de098e64cdeb4fe@mail.gmail.com> <20070616.173002.-457443410.imp@bsdimp.com> <626eb4530706161858l5f60d67ej55874cb9348e649b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <626eb4530706161858l5f60d67ej55874cb9348e649b@mail.gmail.com> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at krisma.oltrelinux.com Cc: mobile@FreeBSD.org, wsk@gddsn.org.cn, Paolo Pisati , "M. Warner Losh" , current@FreeBSD.org Subject: Re: kernel panic with pccard insert on recent 7.0 CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2007 18:36:44 -0000 On Sun, Jun 17, 2007 at 10:58:12AM +0900, Hidetoshi Shimokawa wrote: > And INTR_FILTER doesn't seem well-tested at least for > handling of stray interrupts for filter only IRQs. > I need the following patch to workaroung the problem. > > http://people.freebsd.org/~simokawa/tmp/kern_intr.c-20070617.patch on which platform? cause, right now, if there's a stray interrupt we disable the irq line if the interrut disable function is hooked to ie_disab: kern_intr.c::intr_event_handle(): ... if (thread & FILTER_HANDLED) { if (ie->ie_eoi != NULL) ie->ie_eoi(ie->ie_source); } else { if (ie->ie_disab != NULL) ie->ie_disab(ie->ie_source); } ... bye, P.