From owner-freebsd-acpi@FreeBSD.ORG Mon Mar 20 18:50:04 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D2E316A423 for ; Mon, 20 Mar 2006 18:50:04 +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 8A1DC43D5C for ; Mon, 20 Mar 2006 18:50:03 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k2KIntCT000958; Mon, 20 Mar 2006 13:49:58 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Milan Obuch Date: Mon, 20 Mar 2006 13:49:37 -0500 User-Agent: KMail/1.9.1 References: <200603061009.03933.acpi@dino.sk> <200603201133.19361.jhb@freebsd.org> <200603201850.51441.acpi@dino.sk> In-Reply-To: <200603201850.51441.acpi@dino.sk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603201349.39308.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1345/Mon Mar 20 07:03:16 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-3.6 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-acpi@freebsd.org Subject: Re: Trouble with ACPI on my TabletPC TC1000 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 18:50:04 -0000 On Monday 20 March 2006 12:50, Milan Obuch wrote: > On Monday 20 March 2006 17:33, John Baldwin wrote: > > On Sunday 19 March 2006 05:53, Milan Obuch wrote: > > > On Monday 06 March 2006 10:09, Milan Obuch wrote: > > > > Hi, > > > > I would like to get some help to solve my problem with ACPI on TC1000. > > > > With freshly cvsupped -current it does not boot with ACPI enabled. I > > > > collected some info as mentioned in FreeBSD handbook for ACPI > > > > debugging, available at http://www.dino.sk. > > > > There are basically two sets of files - 5.5-PRERELEASE with working > > > > ACPI and 7.0-CURRENT with broken ACPI. No info is included from 6.x > > > > version, however, I did test it once or twice and it fails just like > > > > -current. As there are some parts enhanced in -current and TC1000 has > > > > better hardware support there I would like to get this corrected, but I > > > > am not yet able to do it alone. > > > > Regards, > > > > Milan > > > > > > I did some work in the mean time, 6.1-BETA3 installed and works with > > > ACPI. System updated to 6.1-PRERELEASE (I think) and works well. > > > With one brute hack even 7.0-CURRENT works with ACPI - original error, > > > panic: acpi_pci_update_device: deleting alive child acpi_sysresource1 can > > > be removed by commenting first part of acpi_pci_update_device function in > > > dev/acpica/acpi_pci.c file - code conditionally evaluated when child != > > > NULL. After commenting it out system boots with ACPI and works. > > > I would like to get some hints on what to look for, so I can at least > > > understand why this code fails, what should it be doing. I have no > > > knowledge on ACPI code, so any hint is appreciated. > > > > I'd like to see a copy of your asl. This is the first I've heard of an > > ACPI system resource device being a PCI device. > > Do you mean output of acpidump -d -t? Posted on my page, download full text > version... If anything else is useful/interesting, just drop a line and I > will try to find that info, test a patch... anything. This is a really retarded motherboard. It claims to have two PCI-ISA bridges and the second PCI-ISA bridge also claims to be a system resource. I can give you a patch for your system though. Try http://www.FreeBSD.org/~jhb/patches/tc1000.patch -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org