From owner-freebsd-stable@FreeBSD.ORG Tue Mar 1 10:11:38 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D633016A4CE for ; Tue, 1 Mar 2005 10:11:38 +0000 (GMT) Received: from mail12.syd.optusnet.com.au (mail12.syd.optusnet.com.au [211.29.132.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 370CF43D5A for ; Tue, 1 Mar 2005 10:11:38 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c211-30-75-229.belrs2.nsw.optusnet.com.au [211.30.75.229]) j21ABa6U023938 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 1 Mar 2005 21:11:37 +1100 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1])j21ABa7l099852 for ; Tue, 1 Mar 2005 21:11:36 +1100 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost) by cirb503493.alcatel.com.au (8.12.10/8.12.9/Submit) id j21ABaNZ099851 for freebsd-stable@freebsd.org; Tue, 1 Mar 2005 21:11:36 +1100 (EST) (envelope-from pjeremy) Date: Tue, 1 Mar 2005 21:11:36 +1100 From: Peter Jeremy To: freebsd-stable@freebsd.org Message-ID: <20050301101136.GB28962@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i Subject: Duplicated hardware interrupts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2005 10:11:38 -0000 Whilst tracking down some interrupt latency problems, I've found that I'm getting duplicate interrupts from some, but not all, devices. The double interrupts appear to always occur for some IRQs and never occur on others. Based on those symptoms, I wonder if there's a hardware issue. The system is a GigaByte GA-7VRX-P motherboard (VIA KT333) with an Athlon XP-1800 running 5.3-RELEASE-p5 with APIC and ACPI: CPU: AMD Athlon(tm) XP 1800+ (1533.40-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xc0480000 real memory = 536805376 (511 MB) avail memory = 515629056 (491 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard ... acpi0: on motherboard I'm not seeing duplicate interrupts on atkbd0, rtc, fdc0, psm0 and ata0. I am seeing duplicate interrupts on drm0, rl0 and my video capture card. FWIW, the kernel code I'm using to check the interrupts is attached. Userland just mmap's the buffer, converts it to ASCII and dumps it to disk for later processing. Has anyone else seen anything like this? -- Peter Jeremy