From owner-freebsd-current@FreeBSD.ORG Thu Sep 2 18:30:32 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 41A2E16A4CE for ; Thu, 2 Sep 2004 18:30:32 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2C4243D39 for ; Thu, 2 Sep 2004 18:30:31 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-127-84-57.dsl.snfc21.pacbell.net [67.127.84.57]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i82IUSDl000347; Thu, 2 Sep 2004 11:30:29 -0700 Message-ID: <413766C4.6040407@root.org> Date: Thu, 02 Sep 2004 11:30:28 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?S=F8ren_Schmidt?= References: <20040901202321.345035D04@ptavv.es.net> <41363364.2070103@DeepCore.dk> <4136382D.9010106@root.org> <4136CCBB.8090604@DeepCore.dk> In-Reply-To: <4136CCBB.8090604@DeepCore.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: current@freebsd.org Subject: Re: ATA DVD playback hanging in physrd 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: Thu, 02 Sep 2004 18:30:32 -0000 Søren Schmidt wrote: > Nate Lawson wrote: >> Søren Schmidt wrote: >>> On that note ACPI still locks hard both my laptops (ASUS/Acer) on >>> resume, with and upto date -current its back to not even switching on >>> the backlight, so I have no way to tell what happens. On the ASUS >>> that has a serial port even that is totally dead. >>> >>> However, commenting out the resume code in acpi_cmbat.c make it get >>> so far as to give me a prompt in singleuser mode, but just a simple >>> ls makes in crash with a double fault in the image activation of the >>> ls command, it looks like the vm system is way out to lunch somehow. >>> >> Try taking /sys/i386/acpi_wakeup.c back to 1.36. > > That makes things worse actually, now I dont get back from resume, I do > get my backlight turned on though :) Did you do this change alone or with leave cmbat resume commented out? > If that doesn't work, > >> try reverting /sys/dev/acpica/acpi.c back to 2004/8/1 (mentioned >> previously). It is important to isolate the cause. > > That doesn't work, the rest of the code has changed so it wont compile.. It shouldn't require too much munging to work by itself. >> I'm working on the cmbat resume part for you. The reason why this is >> not an easy problem to debug is that different systems have different >> AML and that AML is run by various methods, including cmbat. If it >> does weird things like writing to various runtime registers or >> acquiring mutexes, it can cause failures independent of our code. My >> laptop suspends/resumes fine with -current, including hotplugging the >> batteries, etc. > > On that note, it doesn't see when I hotplug my second battery, however > doing a acpiconf -i 0/1 makes it appear properly.. That is working correctly for the current implementation. Full hotplug support including docking is in a private tree but won't be committed until after 5.3. -- Nate