From owner-freebsd-acpi@FreeBSD.ORG Wed Nov 24 23:23:42 2004 Return-Path: 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 21F9216A4CE for ; Wed, 24 Nov 2004 23:23:42 +0000 (GMT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCE9F43D48 for ; Wed, 24 Nov 2004 23:23:40 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP id IBA74465; Wed, 24 Nov 2004 15:23:40 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id E1B605D07; Wed, 24 Nov 2004 15:23:39 -0800 (PST) To: Nate Lawson In-reply-to: Your message of "Wed, 24 Nov 2004 09:49:18 PST." <41A4C99E.8050507@root.org> Date: Wed, 24 Nov 2004 15:23:39 -0800 From: "Kevin Oberman" Message-Id: <20041124232339.E1B605D07@ptavv.es.net> cc: acpi@FreeBSD.org Subject: Re: PATCH: power down acpi and pci devices in suspend/resume X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 23:23:42 -0000 > Date: Wed, 24 Nov 2004 09:49:18 -0800 > From: Nate Lawson > > This is a multi-part message in MIME format. > --------------010606030407040208010108 > Content-Type: text/plain; charset=us-ascii; format=flowed > Content-Transfer-Encoding: 7bit > > Kevin Oberman wrote: > > I have tried the new set of ACPI power patches and they are better. Now > > the system almost works after resume. Only the cbb fails: > > cbb0: bad Vcc request. ctrl=0xffffff88, status=0xffffffff > > cbb_power: 0V > > tdkphy0: detached > > Apologies, I just found what was causing this. My patch to perform > suspending before powering down devices didn't get merged with this tree > where I was implementing powerstates. I fixed this and unified pci/acpi > power on suspend behavior under the tunable/sysctl "debug.suspend_power". > > Please test the attached patch. If it works well, I'll commit it as > shown to get testing in -current. If it causes trouble, the default for > debug.suspend_power can be set to 0. The new patch removed the annoying "bad Vcc request" messages, but that's all it improved. With the new patch I still lose cbb1 and anything connected to it. I see no real difference in the log other than the disappearance of the Vcc messages, but that is a good thing. If I set debug.suspend_power to '0', everything works as it did before. All PCI and CardBus devices seem to work fine after resume. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634