From owner-freebsd-stable@FreeBSD.ORG Fri Jun 23 05:05:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 F157816A494 for ; Fri, 23 Jun 2006 05:05:18 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D6E743D6D for ; Fri, 23 Jun 2006 05:05:18 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k5N54Yma030970; Thu, 22 Jun 2006 23:04:38 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 22 Jun 2006 23:04:33 -0600 (MDT) Message-Id: <20060622.230433.24902227.imp@bsdimp.com> To: doconnor@gsoft.com.au From: "M. Warner Losh" In-Reply-To: <200606221424.14380.doconnor@gsoft.com.au> References: <200606221424.14380.doconnor@gsoft.com.au> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Asus A8V IRQ/serial problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 05:05:19 -0000 In message: <200606221424.14380.doconnor@gsoft.com.au> "Daniel O'Connor" writes: : I have 2 Asus A8V motherboards running FreeBSD 6.0 and 6.1 (amd64) and I see : the following in dmesg.. : : sio0: configured irq 3 not in bitmap of probed irqs 0 : sio0: port may not be enabled : sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0 : sio0: type 16550A : sio1: configured irq 4 not in bitmap of probed irqs 0 : sio1: port may not be enabled : sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 : sio1: type 16550A : : The ports are enabled in the BIOS and do seem to work.. mostly. I have had odd : problems trying to talk to stuff connected to the on occasion though. : : I have another [custom] driver that is based on sio.c and it shows the same : warning (it is a PCI RS485 card). : : I have tried playing with various ACPI & ATPIC settings in the BIOS but no : change. If I disable ACPI in the kernel the IDE driver fails to activate it's : IRQ and then panics a bit later... : : I have updated to the latest BIOS but it had made no change. : : Hmm actually I just looked through the code.. It appears that this happens : because isa_irq_pending() is a noop unless isa is in the kernel, and it isn't : in GENERIC. Perhaps those tests in sio.c should be conditionalised on isa : too? isa_irq_pending can only really be called on isa bus attachments... Why don't you have ISA in your kernel. I thought it was still required. Warner