Re: Suspend to disk on iBook G4 (mid 2005)

2007-03-29 Thread Cédric Boutillier
Hi ! I tried again this "suspend-to-disk" thing with my mid-2005 12" iBook. Everything I tried always ended up with the same result : if I try this with the module "ohci-hcd" loaded, I get a kernel oops after resume. If I unload it before suspending, it resumes ok, but then I get an Oops when I t

Re: Suspend to disk on iBook G4 (mid 2005)

2007-03-29 Thread Johannes Berg
On Thu, 2007-03-29 at 14:08 +0200, Michel Dänzer wrote: > > > It seems that I have a RV280 (from radeon man page). > > > :00:10.0 VGA compatible controller: ATI Technologies Inc M9+ 5C63 > > > [Radeon Mobility 9200 (AGP)] (rev 01) > > > > Doesn't that use r300 too? > > No, r200. Oh ok. >

Re: Suspend to disk on iBook G4 (mid 2005)

2007-03-29 Thread Michel Dänzer
On Thu, 2007-03-29 at 14:00 +0200, Johannes Berg wrote: > On Thu, 2007-03-29 at 13:59 +0200, Bin Zhang wrote: > > > It seems that I have a RV280 (from radeon man page). > > :00:10.0 VGA compatible controller: ATI Technologies Inc M9+ 5C63 > > [Radeon Mobility 9200 (AGP)] (rev 01) > > Doesn't

Re: Suspend to disk on iBook G4 (mid 2005)

2007-03-29 Thread Johannes Berg
On Thu, 2007-03-29 at 13:59 +0200, Bin Zhang wrote: > It seems that I have a RV280 (from radeon man page). > :00:10.0 VGA compatible controller: ATI Technologies Inc M9+ 5C63 > [Radeon Mobility 9200 (AGP)] (rev 01) Doesn't that use r300 too? I have an RV350 so the behaviour could be different

Re: Suspend to disk on iBook G4 (mid 2005)

2007-03-29 Thread Bin Zhang
On 3/29/07, Johannes Berg <[EMAIL PROTECTED]> wrote: On Thu, 2007-03-29 at 13:47 +0200, Bin Zhang wrote: > Yes, if I suspend with ppracer running. But no problem if exiting > ppracer before suspend. Note that I can kill X from console when > ppracer hangs. > I will use this patch if no other pro

Re: Suspend to disk on iBook G4 (mid 2005)

2007-03-29 Thread Johannes Berg
On Thu, 2007-03-29 at 13:47 +0200, Bin Zhang wrote: > Yes, if I suspend with ppracer running. But no problem if exiting > ppracer before suspend. Note that I can kill X from console when > ppracer hangs. > I will use this patch if no other problem. Interesting analysis. There was one patch recent

Re: Suspend to disk on iBook G4 (mid 2005)

2007-03-29 Thread Bin Zhang
On 3/29/07, Johannes Berg <[EMAIL PROTECTED]> wrote: On Thu, 2007-03-29 at 11:36 +0200, Bin Zhang wrote: > > If it has a radeon graphics card then note that currently DRI with AGP > > will show this behaviour: the system will freeze upon switching back to > > X from suspend to disk. The workarou

Re: Suspend to disk on iBook G4 (mid 2005)

2007-03-29 Thread Johannes Berg
On Thu, 2007-03-29 at 11:36 +0200, Bin Zhang wrote: > > If it has a radeon graphics card then note that currently DRI with AGP > > will show this behaviour: the system will freeze upon switching back to > > X from suspend to disk. The workaround is to either disable AGP (force > > bus to PCI, but

Re: Suspend to disk on iBook G4 (mid 2005)

2007-03-29 Thread Bin Zhang
On 2/13/07, Johannes Berg <[EMAIL PROTECTED]> wrote: On Mon, 2007-02-12 at 16:05 +0100, Cédric Boutillier wrote: > I would like to know what the status of suspend-to-disk in the last > kernel (2.6.18-4) is. I have an iBook G4 (mid 2005) and suspend-to-ram > is working well. I managed to have a w

Re: Suspend to disk on iBook G4 (mid 2005)

2007-02-17 Thread Cédric Boutillier
Dear list, I compiled my own kernel from Debian package linux-source-2.6.18, without initrd.img, and without any non necessary option. I don't have kernel panic anymore but resuming from disk led to hang-up, because ohci_hcd, it seems. Forcing hibernate script removing this module (and also appl

Re: Suspend to disk on iBook G4 (mid 2005)

2007-02-15 Thread Cédric Boutillier
Hi ! The problem I have does not seem DRI-related, since it happens also when I have no X server running I tried to remove as many modules as I could, but still no success. Thanks Johannes anyway for pointing out some possible causes. I will not have much time this week, but I will try to c

Re: Suspend to disk on iBook G4 (mid 2005)

2007-02-13 Thread Jack Malmostoso
On Tue, 13 Feb 2007 11:20:09 +0100, Cédric Boutillier wrote: > I tried to configure powerprefs and pbbuttonsd to trigger > suspend-to-disk on button action. Ah there's the gimmick! I use suspend to ram, not suspend to disk. As I can't see the advantage of suspend to disk, why don't you try suspen

Re: Suspend to disk on iBook G4 (mid 2005)

2007-02-13 Thread Johannes Berg
> usbdev3.1_ep81: PM: suspend 0->, parent 3-0:1.0 already 1 > usbdev2.1_ep81: PM: suspend 0->, parent 2-0:1.0 already 1 > Unable to handle kernel paging request for data at address 0x100d115c > Faulting instruction address: 0xf20ba97c > Oops: Kernel access of bad area, sig: 11 [#1] > > Modules

Re: Suspend to disk on iBook G4 (mid 2005)

2007-02-13 Thread Johannes Berg
On Mon, 2007-02-12 at 16:05 +0100, Cédric Boutillier wrote: > I would like to know what the status of suspend-to-disk in the last > kernel (2.6.18-4) is. I have an iBook G4 (mid 2005) and suspend-to-ram > is working well. I managed to have a working suspend-to-disk around > 2.6.14 (if I remember w

Re: Suspend to disk on iBook G4 (mid 2005)

2007-02-13 Thread Cédric Boutillier
Hi ! On 13 Feb 2007 06:56:45 GMT, Jack Malmostoso <[EMAIL PROTECTED]> wrote: > What is triggering your suspend-to-disk ? Is that powerprefs ? Yes, I do have pbbuttonsd and powerprefs installed. I tried to configure powerprefs and pbbuttonsd to trigger suspend-to-disk on button action. When I

Re: Suspend to disk on iBook G4 (mid 2005)

2007-02-12 Thread Jack Malmostoso
On Mon, 12 Feb 2007 23:50:07 +0100, Cédric Boutillier wrote: > What is triggering your suspend-to-disk ? Is that powerprefs ? Yes, I do have pbbuttonsd and powerprefs installed. > usbdev3.1_ep81: PM: suspend 0->, parent 3-0:1.0 already 1 > usbdev2.1_ep81: PM: suspend 0->, parent 2-0:1.0 alread

Re: Suspend to disk on iBook G4 (mid 2005)

2007-02-12 Thread Cédric Boutillier
Hi Jack ! On 12 Feb 2007 19:23:00 GMT, Jack Malmostoso <[EMAIL PROTECTED]> wrote: On my iBook (beginning 2004) it works just perfectly, and I don't use any scripts or unload any module before sleeping it. Just close the lid and forget about it. On wakeup my bcm43xx module is still alive and kick

Re: Suspend to disk on iBook G4 (mid 2005)

2007-02-12 Thread Jack Malmostoso
On Mon, 12 Feb 2007 16:10:11 +0100, Cédric Boutillier wrote: > Does anyone have it working on that computer ? If yes, I would be > interested in some hints to make it work. On my iBook (beginning 2004) it works just perfectly, and I don't use any scripts or unload any module before sleeping it. J

Suspend to disk on iBook G4 (mid 2005)

2007-02-12 Thread Cédric Boutillier
Hi list, I would like to know what the status of suspend-to-disk in the last kernel (2.6.18-4) is. I have an iBook G4 (mid 2005) and suspend-to-ram is working well. I managed to have a working suspend-to-disk around 2.6.14 (if I remember well) thanks to the list, but then things got worse: I can