From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 8 23:27:57 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52E4C106567B for ; Fri, 8 Aug 2008 23:27:57 +0000 (UTC) (envelope-from pingmai@yahoo.com) Received: from web52907.mail.re2.yahoo.com (web52907.mail.re2.yahoo.com [206.190.49.17]) by mx1.freebsd.org (Postfix) with SMTP id DC5948FC1A for ; Fri, 8 Aug 2008 23:27:56 +0000 (UTC) (envelope-from pingmai@yahoo.com) Received: (qmail 17646 invoked by uid 60001); 8 Aug 2008 23:27:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=6HfrwK9DzTDHPv43tpxqEOiGCkrq6T+9AnVPMfioGgd6xNku9EjssaKBhuAj0HXKJVOLAUJvmUZfs9OxSspc7x89LejQ8YaGZIn1lqlIbu8ARIAuyDG02YBPLJ96+T/fvdABuqzFzgXWVVF2sxg/MM4hH7MemqsUXvzp/4OOEjk=; Received: from [68.183.200.11] by web52907.mail.re2.yahoo.com via HTTP; Fri, 08 Aug 2008 16:27:55 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Fri, 8 Aug 2008 16:27:55 -0700 (PDT) From: Ping Mai To: freebsd-acpi@freebsd.org, John Baldwin In-Reply-To: <200808081610.03720.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <755343.17576.qm@web52907.mail.re2.yahoo.com> Cc: freebsd-hackers@freebsd.org, freebsd-drivers@freebsd.org Subject: Re: missing interrupts? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pingmai@yahoo.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 23:27:57 -0000 Thanks John. tried it but didn't help. --- On Fri, 8/8/08, John Baldwin wrote: > From: John Baldwin > Subject: Re: missing interrupts? > To: freebsd-acpi@freebsd.org > Cc: "ping" , freebsd-drivers@freebsd.org, freebsd-hackers@freebsd.org > Date: Friday, August 8, 2008, 1:10 PM > On Friday 08 August 2008 02:16:20 pm ping wrote: > > this is an interrupt handler that's attached to > irq 31 on ioapic1 on a 6.1R > kernel, type INTR_TYPE_NET|INTR_MPSAFE. seems that > it's missing interrupts. > watching the KTR trace, it was running along fine, then it > just stopped. > intr handler stopped getting run. but the interrupt > register on chip was > high. is this a case of lost interrupts? or hardware > problem? > > There is one possible race in the I/O APIC code someone > pointed me at > recently. You can try expanding the scope of the icu_lock > to cover all of > ioapic_program_intpin() to see if it fixes your issue > (sys///io_apic.c) > > -- > John Baldwin