From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 16 20:20:30 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 6BC8416A415; Mon, 16 Oct 2006 20:20:30 +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 1661943D8C; Mon, 16 Oct 2006 20:20:24 +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 93A6A2E037; Mon, 16 Oct 2006 22:20:23 +0200 (CEST) Message-ID: <4533E930.70804@locolomo.org> Date: Mon, 16 Oct 2006 22:18:56 +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> <200610121606.22200.jhb@freebsd.org> <452FC5C6.1080304@locolomo.org> <200610131449.39621.jhb@freebsd.org> In-Reply-To: <200610131449.39621.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: Mon, 16 Oct 2006 20:20:30 -0000 John Baldwin wrote: > Ah, I didn't MFC the patch to let you specify invalid links. Try the patch > below (MFC of 1.54 of acpi_pci_link.c): OK, I applied the patch and tried setting hw.pci.link.LNKB.irq=10 hw.pci.link.LNKD.irq=10 hw.pci.link.LNKF.irq=10 As you suggested, but no luck: a) Only IRQ's set as above in loader.conf: 85% interrupt, surprisingly, the usb stick appears fast and mounts fast, but the system is slow: I tried timing make on the acpi kernel module, after 7 minutes it hadn't finished. b) As above but pci_link disabled: >85% interrupt, and trying to get out of top crashed the system. c) As a) but with apic disabled: Won't boot: hangs when kernel finish identifying devices, sometimes before. ACPI errors: ACPI-0800 AcpiEvGpeDispatch No handler or method for GPE[ 6] disabling event d) b+c: USB stick is found after significant amount of time and won't mount. The dmesg etc are here http://www.locolomo.org/src/acpi/, all with the keyword "patch" in the file name. :( Looking at the dmesg's something seems to be going on on usb2: rr232x: no controller detected. ACPI-0800: *** Error: AcpiEvGpeDispatch: No handler or method for GPE[ 6], disabling event ACPI-0800: *** Error: AcpiEvGpeDispatch: No handler or method for GPE[ 6], disabling event ACPI-0800: *** Error: AcpiEvGpeDispatch: No handler or method for GPE[ 6], disabling event ACPI-0800: *** Error: AcpiEvGpeDispatch: No handler or method for GPE[ 6], disabling event ACPI-0800: *** Error: AcpiEvGpeDispatch: No handler or method for GPE[ 6], disabling event ACPI-0800: *** Error: AcpiEvGpeDispatch: No handler or method for GPE[ 6], disabling event ACPI-0800: *** Error: AcpiEvGpeDispatch: No handler or method for GPE[ 6], disabling event ACPI-0800: *** Error: AcpiEvGpeDispatch: No handler or method for GPE[ 6], disabling event usb2: host controller process error usb2: host controller halted acpi_acad0: acline initialization start which occurs when pci_link is enabled w/wo apic. When both apic and pci_link are disabled, I find this line: rr232x: no controller detected. Interrupt storm detected on "irq9:"; throttling interrupt source acpi_acad0: acline initialization start When apic is disabled the IRQ's change (which is to be expected I guess?) the range 16-23 is no longer used. In that case I found uhci1/usb1 assigned irq 9 but it is uhci2/usb2 which is routed to irq 3 that fails. ?? Thanks, 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