From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 19:57:16 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43E3316A407; Thu, 12 Oct 2006 19:57:16 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C5DE43D5E; Thu, 12 Oct 2006 19:56:45 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [10.35.4.65] (65.4-35-10-static.chueca.wifi [10.35.4.65]) by strange.daemonsecurity.com (Postfix) with ESMTP id F16B52E037; Thu, 12 Oct 2006 21:56:43 +0200 (CEST) Message-ID: <452E9DA7.9050008@locolomo.org> Date: Thu, 12 Oct 2006 21:55:19 +0200 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.7 (X11/20060916) MIME-Version: 1.0 To: John Baldwin References: <452E3E0B.6040709@locolomo.org> <200610120919.56698.jhb@freebsd.org> <452E7074.6040001@locolomo.org> <200610121501.48116.jhb@freebsd.org> In-Reply-To: <200610121501.48116.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: ACPI Problems: IRQ conflicts on USB controllers and SATA controller X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2006 19:57:16 -0000 John Baldwin wrote: > On Thursday 12 October 2006 12:42, Erik Norgaard wrote: >> I have dumped dmesg and other stuff with different options at boot, >> since this is pretty verbose I've placed it on my website: >> >> boot -v: >> >> http://www.locolomo.org/src/acpi/dmesg-GENERIC-v >> http://www.locolomo.org/src/acpi/sysctl-GENERIC-v >> http://www.locolomo.org/src/acpi/pciconf-GENERIC-v >> http://www.locolomo.org/src/acpi/lspci-GENERIC-v >> http://www.locolomo.org/src/acpi/vmstat-GENERIC-v > > Nothing here looks wrong. Can you break into the debugger when the box > locks up? The box freezes when apic is disabled but pci_link is enabled. In the above case, both apic and pci_link are enabled, this sucks out resources of the box with 85% cpu on interrupt handling. I will try to see if I can get the debugger when apic is disabled and pci_link enabled. >> boot -v, acpi disabled: > > Doesn't detect APIC. BIOS is too dumb to provide $PIR. That's a new > low for incompetence on the part of BIOS writers. Strange - is ACPI required on this box to find APIC? Sounds wierd when they are both enabled they each seem to fight for control over the devices... >> boot -v, apic disabled: >> >> http://www.locolomo.org/src/acpi/dmesg-GENERIC-v-no_apic > > The problem here is (again) really stupid BIOS writers. Maybe they can't > read. Edit your ASL to change the resources to say that IRQ 10 (which > the BIOS assigns) is ok instead of IRQ 11. You can probably get by just > with fixing LNKD's resource: > > Device (LNKD) > { > Name (_HID, EisaId ("PNP0C0F")) > Name (_UID, 0x04) > Method (_DIS, 0, Serialized) > { > Store (0x80, PDRC) > } > > Name (_PRS, ResourceTemplate () > { > IRQ (Level, ActiveLow, Shared) > {1,3,4,5,6,7,11,12,14,15} > }) > > Replace the '11' here with '10' and update it. In fact, you should > fix the ones with IRQ's '10' and '12' to list '10' and '11' instead > and the ones with '11' and '12' to list '10' and '11' instead. > > 12 is used by your PS/2 mouse/trackpad, so it isn't suitable. Thanks I will try that. I'm new on this, will loading a custom ASL overwrite the existing permanently? I mean, I'm kind of worried that I mess up and have a box that can't boot at all. Secondly, I see there is nothing on IRQ9 in the ASL, yet I have an interrupt storm on IRQ9 also, should 9 be added to the list above? Finally, previously I solved the interrupt storm on IRQ5 by setting hw.pci6.10.INTA.irq=5 in the loader.conf, can this be corrected in the ASL also? Thanks, I hope your advice will solve the remaining problems. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9