From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: S3 resume broken in 2.6.7 Date: Mon, 21 Jun 2004 16:12:27 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040621141227.GD14607@wotan.suse.de> References: <200406211539.48269.stefandoesinger@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200406211539.48269.stefandoesinger-RbZlAiThDcE@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Stefan D?singer Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Adrian Yee , arjanv-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Mon, Jun 21, 2004 at 03:39:48PM +0000, Stefan D?singer wrote: > Am Sonntag, 20. Juni 2004 02:53 schrieb Adrian Yee: > > Hi, > > > > I've had S3 resume working with 2.6.5/6 (various mm and stock) and > > 2.6.7-rc3-mm1, but after trying 2.6.7-rc3-mm2 and 2.6.7 kernels, S3 resume > > has stopped working. I'd rather not go through the process of modularizing > > all the drivers and figuring out what's causing the problem, so I wanted to > > know if anyone knows what change could have caused the problem. Thanks. > > > On my notebook(Acer travelmate 803) I had the same problem. A look at the > changelog showed me, that from 2.6.7-rc2 a default resume function restores > the pci configuration of cards without a driver. On my system, any write to > the soundcard's pci configuration done by a kernel driver after resume causes > a crash. Which driver does your sound card drive? Better would be to give this driver an empty suspend/resume method that does nothing. > I attached a path which undoes the change described above and should make S3 > work again. Overall the pci config space save/restore fixes much more resume problems than it causes new one, so this sledgehammer is the wrong solution. -Andi ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND