From owner-freebsd-current@FreeBSD.ORG Tue Nov 6 21:38:31 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B01AA16A53E; Tue, 6 Nov 2007 21:38:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 492A113C481; Tue, 6 Nov 2007 21:38:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8p) with ESMTP id 218050829-1834499 for multiple; Tue, 06 Nov 2007 16:38:44 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id lA6LbxQu076173; Tue, 6 Nov 2007 16:38:09 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 6 Nov 2007 15:26:32 -0500 User-Agent: KMail/1.9.6 References: <200711011940.18510.max@love2party.net> In-Reply-To: <200711011940.18510.max@love2party.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711061526.32946.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 06 Nov 2007 16:38:10 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/4684/Tue Nov 6 14:09:39 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Max Laier , freebsd-acpi@freebsd.org Subject: Re: apic vs. ASUS P5N-E (nforce 650) 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: Tue, 06 Nov 2007 21:38:31 -0000 On Thursday 01 November 2007 02:40:12 pm Max Laier wrote: > Hi, > > I'm having big trouble with this board. It works fine once I set > hint.apic.0.disabled=1, but unfortunately without using the second core. > When the apic is used, the nforce IDE/ATA controller and the nforce NIC > are not working at all. No disks or CDROMs are recognized, the NIC > doesn't send or receive any packets. > > Attached are verbose dmesgs (captured via serial): > boot_v.apic - ACPI enabled APIC enabled > boot_v.noacpi - ACPI disabled APIC enabled > boot_v.noapic - ACPI enabled APIC disabled (this works) > > FWIW, linux (knoppix CD) does boot and seems to use the apic (dmesg > attached). FreeBSD + ACPI uses the same IRQs for the nvidia ata0 and ata1 (legacy IRQs 14 and 15) and for nfe0 (GSI 23 which in FreeBSD is IRQ 23 via an ACPI PCI link device) as Linux. > I suspect that there is something wrong with the ACPI interrupt overrides. > IRQ9 is listed as (level, high) and IRQ0->2 seems only to make sense if > the HEPT is being used, but neither ACPI_Q_MADT_IRQ0 nor forcing (level, > low) for IRQ9 in madt.c doesn't seem to do the trick. No, those are quite normal. The 0 => 2 has nothing to do with HPET but is because normally pin 0 on the first I/O APIC is an ExtINT pin connected to the master 8259A and IRQ0 is hooked up to pin 2 instead. Also, I've seen lots of odd settings for IRQ 9 (normally used for ACPI SCI), so that is probably fine. -- John Baldwin