From owner-freebsd-current@FreeBSD.ORG Mon Jan 5 14:30:26 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 491A016A4E8 for ; Mon, 5 Jan 2004 14:30:26 -0800 (PST) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id B04DF43D31 for ; Mon, 5 Jan 2004 14:30:11 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 11037 invoked from network); 5 Jan 2004 22:30:07 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 5 Jan 2004 22:30:07 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i05MTvM0021584; Mon, 5 Jan 2004 17:29:57 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20040105062941.86032.qmail@web11404.mail.yahoo.com> Date: Mon, 05 Jan 2004 17:29:59 -0500 (EST) From: John Baldwin To: Shizuka Kudo X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: Brian Black cc: current@freebsd.org cc: iwasaki@FreeBSD.org Subject: RE: Award Bios, ACPI, Mouse and PR 55473??? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 05 Jan 2004 22:30:26 -0000 On 05-Jan-2004 Shizuka Kudo wrote: > --- John Baldwin wrote: >> >> On 23-Dec-2003 Brian Black wrote: >> > hi, >> > I have been trying to post to different lists looking for a >> > solution. though i have found some advice i have not found the >> > solution. i was recently informed that i should post this question to >> > the -current list(i should of done this earlier). I have a "Soyo Dragon >> > Light" mother board which has this award bios. I have verified that my >> > bios has been flashed with the most up-to date version(Well whatever the >> > motherboard manufacture says). >> > Now am certainly not a kernel hacker but i do understand a little >> > bit of C code. The PR goes on to talk about a "Fix", which involves >> > editing the "/urs/sys/dev/acpica/acpi_pci_link.c". After making the >> > changes i had no luck :-(. Now i have been told that some people with >> > this bios are not affected. Well would'nt that mean the the bios are >> > not the same? I have contacted "Soyo" on this matter. They state on >> > their web site that freebsd is supported, but have not returned my >> > e-mail. >> > How would i be able to determine weather this problem can be fixed >> > by FreeBsd or the manufacture of the mother board? Is This problem >> > being looked at for 5.2R i have not been able to really sink into using >> > the new 5.x series because of this problem(So what i like GUI's a >> > little). ;-) >> >> Hmm, yes. >> >> Can you try the patch at >> http://www.FreeBSD.org/~jhb/patches/acpi_link_sta.patch > > I have tried your patch with no luck. I still need to revert to test on > ACPI_ENABLE as described on 55473 This patch does test ENABLE. Do you have a working patch that you can show me? >> Index: acpi_pci_link.c >> =================================================================== >> RCS file: /usr/cvs/src/sys/dev/acpica/acpi_pci_link.c,v >> retrieving revision 1.11 >> diff -u -r1.11 acpi_pci_link.c >> --- acpi_pci_link.c 18 Dec 2003 03:25:22 -0000 1.11 >> +++ acpi_pci_link.c 23 Dec 2003 16:29:35 -0000 >> @@ -489,7 +489,16 @@ >> return_ACPI_STATUS (error); >> } >> >> - if (!(sta & (ACPI_STA_PRESENT | ACPI_STA_FUNCTIONAL))) { >> + /* >> + * We really should not use link devices that aren't enabled, >> + * but if they are marked as either functional or enabled, we >> + * assume they are ok. >> + * >> + * XXX: The PCI bridge code requires that both PRESENT and >> + * ENABLE are set in a separate check. >> + */ >> + if ((sta & ACPI_STA_PRESENT) == 0 || >> + (sta & (ACPI_STA_ENABLE | ACPI_STA_FUNCTIONAL)) == 0) { >> ACPI_DEBUG_PRINT((ACPI_DB_ERROR, >> "PCI interrupt link is not functional - %s\n", >> acpi_name(handle))); >> -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/