From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767193AbXCILUY (ORCPT ); Fri, 9 Mar 2007 06:20:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1767194AbXCILUY (ORCPT ); Fri, 9 Mar 2007 06:20:24 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:42653 "EHLO amd.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1767191AbXCILUW (ORCPT ); Fri, 9 Mar 2007 06:20:22 -0500 Date: Fri, 9 Mar 2007 12:19:58 +0100 From: Pavel Machek To: Linus Torvalds Cc: Ingo Molnar , "Michael S. Tsirkin" , Adrian Bunk , Andrew Morton , Linux Kernel Mailing List , Jens Axboe , Jeff Chua , linux-pm@lists.osdl.org, lenb@kernel.org, linux-acpi@vger.kernel.org, luming.yu@intel.com, Arkadiusz Miskiewicz , Konstantin Karasyov , Greg KH , linux-usb-devel@lists.sourceforge.net, Thomas Meyer , Meelis Roos , Alexey Starikovskiy , Janosch Machowinski , vladimir.p.lebedev@intel.com, Ash Milsted , dmitry.torokhov@gmail.com, linux-input@atrey.karlin.mff.cuni.cz, "Eric W. Biederman" Subject: Re: [2/6] 2.6.21-rc2: known regressions Message-ID: <20070309111957.GA3928@elf.ucw.cz> References: <20070305015034.GG3441@stusta.de> <20070308123143.GF5149@mellanox.co.il> <20070308192554.GA2999@elte.hu> <20070308230705.GA4611@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > disabling the following radeonfb options in the .config made resume work > > again: > > In general, don't even *try* to use radeonfb for suspend/resume. > > I don't think it has ever worked, except on some very rare laptops > (largely PPC Macs) where people had enough information to set up the > PLL's. It worked ok on thinkpad x32. BIOS did the setup in resume case (with acpi_sleep=..., anyway), and radeonfb could pick the card up from there. > I don't think the other framebuffer drivers are much better. > > You're better off using the VGA console, and lettign X re-initialize the > graphics device. That generally at least has a reasonably good chance of > working. suspend.sf.net, s2ram there has a long list of tricks. If you invent new one, please add it there. > Re-initializing graphics modes really is very hard. You can try with the > BIOS video hack (I forget the kernel command line to turn it on), but we > really do end up depending on X doing it better. ...or you can try vbetool; it is similar hack to acpi_sleep=... , but it works for more people. > Some day we may have modesetting support in the kernel for some graphics > hw, right now it's pretty damn spotty. Yep, that's the way to go. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html