From owner-freebsd-current@FreeBSD.ORG Wed Sep 1 20:59:37 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 E825216A4CE for ; Wed, 1 Sep 2004 20:59:37 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id B480D43D2F for ; Wed, 1 Sep 2004 20:59:37 +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 i81KxSjn006958; Wed, 1 Sep 2004 13:59:29 -0700 Message-ID: <4136382D.9010106@root.org> Date: Wed, 01 Sep 2004 13:59:25 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.7 (X11/20040702) 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> In-Reply-To: <41363364.2070103@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: Wed, 01 Sep 2004 20:59:38 -0000 Søren Schmidt wrote: > Kevin Oberman wrote: > >> Nate, >> >> By the way, as of the moment, almost everything on my T30 for S3 >> suspend/resume is working correctly. I can suspend and resume repeatedly >> with no problem except for the failure of the ICH3/AD1881A sound device >> to properly re-initialize. It worked for about a week when Warner first >> put in the PCI power stuff, but it never worked again after he backed >> out the initial attempt and re-committed stuff bit by bit over time. >> >> I assume that this is really a PCI issue and not really ACPI. I'll >> remind Warner of the problem some day after 5.3 is released and the >> ensuing confusion fades. >> >> Still, this is a major improvement as the system is generally usable >> after a suspend. Just no listen-able music. :-( >> >> Thanks for all of the efforts on making ACPI work on the morass of >> buggy, uncomplete, and just plain obstinate implementations out there. > > > 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. 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. 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. -Nate