From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 12 19:19:11 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 EBDD716A416 for ; Thu, 12 Oct 2006 19:19:11 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3612E43E48 for ; Thu, 12 Oct 2006 19:16:32 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k9CJGPb1007741; Thu, 12 Oct 2006 15:16:26 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Erik Norgaard Date: Thu, 12 Oct 2006 15:01:47 -0400 User-Agent: KMail/1.9.1 References: <452E3E0B.6040709@locolomo.org> <200610120919.56698.jhb@freebsd.org> <452E7074.6040001@locolomo.org> In-Reply-To: <452E7074.6040001@locolomo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610121501.48116.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]); Thu, 12 Oct 2006 15:16:26 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/2027/Thu Oct 12 13:49:16 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00, SUBJECT_EXCESS_QP autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx 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:19:12 -0000 On Thursday 12 October 2006 12:42, Erik Norgaard wrote: > John Baldwin wrote: > > On Thursday 12 October 2006 09:07, Erik Norgaard wrote: > >> Hi: > >> > >> I have previously written about my buggy Sony VAIO (FJ3S) and some > >> problems was resolved. > >> > >> In brief: > >> > >> I have IRQ conflicts on the USB controllers causing two controllers to > >> be non-functional: > > > > Can you put a verbose dmesg (boot -v) from a boot with APIC enabled? > > OK, I have updated source and rebuilt kernel just to make sure, sorry I > forgot to mention that I'm on RELENG_6. > > The only reliable boot is with apic and pci_link disabled. Otherwise I > may have to boot multiple times before the system comes up correctly, > and when it fails this may not always happen at the same place: I may > get an infinite loop of AcpiEvGpeDispatch errors or it may hang after > finding disks or when gathering entropy. > > 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? > 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. > 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. -- John Baldwin