RE: Fwd: [Suspend-devel] resume not working on acer ferrari 4005 with radeonfb enabled

4 messages, 4 authors, 2006-11-12 · open the first message on its own page

RE: Fwd: [Suspend-devel] resume not working on acer ferrari 4005 with radeonfb enabled

From: Christian Hoffmann <hidden>
Date: 2006-11-11 11:52:13


-----Original Message-----
From: Andrew Morton [mailto:akpm@osdl.org] 
Sent: Saturday, November 11, 2006 3:03 AM
To: Benjamin Herrenschmidt; Solomon Peachy
Cc: Rafael J. Wysocki; linux-fbdev-devel@lists.sourceforge.net; LKML;
Christian@ogre.sisk.pl; Hoffmann@albercik.sisk.pl; Christian Hoffmann
Subject: Re: Fwd: [Suspend-devel] resume not working on acer ferrari
4005 with radeonfb enabled

On Sat, 11 Nov 2006 12:49:06 +1100
Benjamin Herrenschmidt [off-list ref] wrote:
On Sat, 2006-11-11 at 00:31 +0100, Rafael J. Wysocki wrote:
quoted
Hi,

We've just got the appended report.  Could you please have a look at
this?
There are many possible reasons for that. The most likely is that the
BIOS isn't bringing the chip back on resume, causing radeonfb to
crash when trying to access it.
I assume from this:
quoted
Greetings,
Rafael


----------  Forwarded Message  ----------

Subject: [Suspend-devel] resume not working on acer ferrari 4005
with radeonfb enabled
quoted
Date: Friday, 10 November 2006 20:44
From: "Christian Hoffmann"
[off-list ref]
quoted
To: suspend-devel@lists.sourceforge.net

Hello,
 
when I have radeonfb enabled, my laptop (X700 ati mobility) doesnt
resume
quoted
anymore. Screen stays black and nothing works anymore, no capslock
light, no
    ^^^^^^^
that it's a regression, from some unknown-previous-kernel-version.

quoted
ctrl alt sysreq b etc. I tried all kind of things vbetool, passing
acpi_sleep=s3_bios,s3_mode to the kernel. Nothing seems to work.
 
You can see dmesg output and lspci -vv output here 
 http://christianhoffmann.de/temp/radeon.log
 http://christianhoffmann.de/temp/lspci.log
 
Thanks a lot for any input.
 
Chris
 
PS: I use kernel 2.18.1 + patch for radeonfb from
http://bugzilla.kernel.org/attachment.cgi?id=9408&action=view
That's http://www.shaftnet.org/~pizza/radeonfb-atom-2.6.18-v6a.diff.
What happens when that patch isn't applied?

Then the radeonfb doesn't kick in at all (guess some pci ids are added
in that patch).

BTW: resume/suspend works ok if I have the vesa fb enabled.

Chris






Privileged or confidential information may be contained in this message.  If you are not the addressee of this message please notify the sender by return and thereafter delete the message, and you may not use, copy, disclose or rely on the information contained in it. Internet e-mail may be susceptible to data corruption, interception and unauthorised amendment for which Wall Street Systems does not accept liability. Whilst we have taken reasonable precautions to ensure that this e-mail and any attachments have been swept for viruses, Wall Street Systems does not accept liability for any damage sustained as a result of viruses.  Statements in this message or attachments that do not relate to the business of  Wall Street Systems are neither given nor endorsed by the company or its Directors.

RE: Fwd: [Suspend-devel] resume not working on acer ferrari 4005 with radeonfb enabled

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2006-11-11 22:50:03

Then the radeonfb doesn't kick in at all (guess some pci ids are added
in that patch).

BTW: resume/suspend works ok if I have the vesa fb enabled.
In that case (vesafb), when does the screen come back precisely ? Do you
get console mode back and then X ? Or it only comes back when going back
to X ? Do you have some userland-type vbetool thingy that bring it
back ?

Ben.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Re: Fwd: [Suspend-devel] resume not working on acer ferrari 4005 with radeonfb enabled

From: Pavel Machek <hidden>
Date: 2006-11-12 12:13:47

Hi!
quoted
Then the radeonfb doesn't kick in at all (guess some pci ids are added
in that patch).

BTW: resume/suspend works ok if I have the vesa fb enabled.
In that case (vesafb), when does the screen come back precisely ? Do you
get console mode back and then X ? Or it only comes back when going back
to X ? Do you have some userland-type vbetool thingy that bring it
back ?
He's using s3_bios+s3_mode, so kernel does some BIOS calls to reinit
the video. It should come out in text mode, too.

Christian, can you unload radeonfb before suspend/reload it after
resume?

Next possibility is setting up serial console and adding some printks
to radeon...
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Re: Fwd: [Suspend-devel] resume not working on acer ferrari 4005 with radeonfb enabled

From: Rafael J. Wysocki <hidden>
Date: 2006-11-12 12:31:12

On Sunday, 12 November 2006 13:13, Pavel Machek wrote:
Hi!
quoted
quoted
Then the radeonfb doesn't kick in at all (guess some pci ids are added
in that patch).

BTW: resume/suspend works ok if I have the vesa fb enabled.
In that case (vesafb), when does the screen come back precisely ? Do you
get console mode back and then X ? Or it only comes back when going back
to X ? Do you have some userland-type vbetool thingy that bring it
back ?
He's using s3_bios+s3_mode, so kernel does some BIOS calls to reinit
the video. It should come out in text mode, too.

Christian, can you unload radeonfb before suspend/reload it after
resume?

Next possibility is setting up serial console and adding some printks
to radeon...
I guess this box has no serial ports, but netconsole should do (provided
there's another box nearby on which netcat can be run).

Rafael


-- 
You never change things by fighting the existing reality.
		R. Buckminster Fuller
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help