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

From: Christian Hoffmann
Date: Mon Nov 13 2006 - 17:09:01 EST




> -----Original Message-----
> From: Rafael J. Wysocki [mailto:rjw@xxxxxxx]
> Sent: Monday, November 13, 2006 3:06 PM
> To: Christian Hoffmann
> Cc: Pavel Machek; Benjamin Herrenschmidt; Andrew Morton;
> Solomon Peachy; linux-fbdev-devel@xxxxxxxxxxxxxxxxxxxxx; LKML
> Subject: Re: Fwd: [Suspend-devel] resume not working on acer
> ferrari 4005 with radeonfb enabled
>
> On Monday, 13 November 2006 11:51, Christian Hoffmann wrote:
> >
> > > -----Original Message-----
> > > From: Pavel Machek [mailto:pavel@xxxxxx]
> > > Sent: Sunday, November 12, 2006 1:14 PM
> > > To: Benjamin Herrenschmidt
> > > Cc: Christian Hoffmann; Andrew Morton; Solomon Peachy; Rafael J.
> > > Wysocki; linux-fbdev-devel@xxxxxxxxxxxxxxxxxxxxx; LKML;
> > > Christian@xxxxxxxxxxxx; Hoffmann@xxxxxxxxxxxxxxxx
> > > Subject: Re: Fwd: [Suspend-devel] resume not working on
> acer ferrari
> > > 4005 with radeonfb enabled
> > >
> > > Hi!
> > >
> > > > > 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?
> >
> > Will it work if radeonfb is compiled as module? I think I
> had problems
> > with that, but I'll try again.
> >
> > >
> > > Next possibility is setting up serial console and adding some
> > > printks to radeon...
> >
> > Unfortunatly, the laptop doesn't have serial port. I tried to get a
> > USB device (pocketpc) read the USB serial, but I only partially
> > succeeded. I can pass console=ttyUSB0 to the kernel and
> load the ipaq
> > serial console driver as it oopses. I am able to echo strings to
> > /dev/ttyUSB0 and read them on the ipaq, but I am not able to
> > "deviate" the kernel messages to that port. Any hints on how to do
> > that would be very appreciated, I didn't find anything
> usefull on the
> > web. (I tried with setconsole /dev/ttyUSB0 but it gives error msg
> > about device busy or something)
>
> Would it be practicable to use netconsole on your box? If
> so, it should work.
>
I tried netconsole, and it somehow works, but when suspending it says in
an "infinite" loop:

unregister_netdevice: waiting for eth2 to become free. Usage count = 1

And then it never goes to sleep.
BTW: same if I use radeonfb as a module and try to blacklist this
module. It complains that radeonfb is still in use.
Arghhh :)

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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/