Ibook G4 sleep

2005-03-21 Thread Eric Pineault
Hello, I'm using Ubunbtu (Hoary kernel 2.6.10) on a g4 (1gig) Ibook and thought that a post on this list my get some answers. I've been trying to get sleep working using info found on both this list and the ubuntu ppc list. I've disabled dri in xorg as mentioned on many posts and before closing th

Re: Ibook G4 sleep

2005-03-21 Thread Jesus Climent
On Mon, Mar 21, 2005 at 09:57:43PM -0500, Eric Pineault wrote: > > Have played with powerprefs... used it to activate sleep and also to > time screen blanking, have turned all these options off but still get > the blank screen... any suggestions ? The ubuntu kernel is heavily modified. Try the va

Re: Ibook G4 sleep

2005-03-22 Thread Colin Leroy
On 21 Mar 2005 at 21h03, Eric Pineault wrote: Hi, > Otherwise my wireless USB device is more or less stable, D-link > DWL-122, I have a script that manually starts, would like to have it > kick off on boot, and I often loose the link for no apparent reason, > don't have this problem with with ai

Re: Ibook G4 sleep

2005-03-22 Thread Eric Pineault
On Tue, 2005-03-22 at 14:05 +0100, Colin Leroy wrote: > On 21 Mar 2005 at 21h03, Eric Pineault wrote: > > Hi, > > > Otherwise my wireless USB device is more or less stable, D-link > > DWL-122, I have a script that manually starts, would like to have it > > kick off on boot, and I often loose the

Re: Ibook G4 sleep

2005-03-22 Thread Colin Leroy
On 22 Mar 2005 at 09h03, Eric Pineault wrote: Hi, > Gee ubuntu is still working with 2.6.10. I think its time for me to > stop being lazy and compile my own kernel. Just a question, if you or > an other has an IBook G4, any indications concerning kernel version > and config, I usually avoid the

iBook G4 sleep freezes with cpufreq

2005-04-14 Thread Arne Caspari
Hi List, I recently updated to Ubunto Hoary on my iBook G4 800. I use the kernel 2.6.10 that comes with ubuntu. Still I encounter freezes sometimes when the computer awakes from sleep and cpufreqd tries to change the frequency afterwards. Is there anything I can do to debug? Thanks, /Arne -- T

Re: iBook G4 sleep freezes with cpufreq

2005-04-14 Thread Benjamin Herrenschmidt
On Wed, 2005-04-13 at 17:44 +0200, Arne Caspari wrote: > Hi List, > > I recently updated to Ubunto Hoary on my iBook G4 800. I use the kernel > 2.6.10 that comes with ubuntu. > > Still I encounter freezes sometimes when the computer awakes from sleep > and cpufreqd tries to change the frequency

Re: iBook G4 sleep freezes with cpufreq

2005-04-14 Thread Arne Caspari
Thanks, Ben! I will wait for 2.6.12 then. /Arne Benjamin Herrenschmidt wrote: On Wed, 2005-04-13 at 17:44 +0200, Arne Caspari wrote: Hi List, I recently updated to Ubunto Hoary on my iBook G4 800. I use the kernel 2.6.10 that comes with ubuntu. Still I encounter freezes sometimes when the comput

Re: iBook G4 sleep freezes with cpufreq

2005-04-14 Thread Mauro
On Wed, 2005-04-13 at 17:44 +0200, Arne Caspari wrote: > Hi List, > > I recently updated to Ubunto Hoary on my iBook G4 800. I use the kernel > 2.6.10 that comes with ubuntu. > > Still I encounter freezes sometimes when the computer awakes from sleep > and cpufreqd tries to change the frequency

State of ibook G4 sleep support in 2.6.11?

2005-03-02 Thread Des Johnston
What state is the iBook G4 sleep support in for the latest and greatest (vanilla) 2.6.11 kernel? For that matter, what state is it in for the debian kernels in testing? Des Johnston -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Cont

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-02 Thread steinm
On Wed, Mar 02, 2005 at 03:21:19PM +, Des Johnston wrote: > > What state is the iBook G4 sleep support in for > the latest and greatest (vanilla) 2.6.11 kernel? Works, though I have occasional crashes which may not be related to the sleep support. Uwe -- MMK GmbH, Universitae

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-02 Thread Colin Leroy
On 02 Mar 2005 at 15h03, Des Johnston wrote: Hi, > What state is the iBook G4 sleep support in for > the latest and greatest (vanilla) 2.6.11 kernel? Works for me with 2.6.11-rc5. Quite perfectly, apart from the occasional ALSA bug that makes loud noisy static for about one second at

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-02 Thread steinm
On Wed, Mar 02, 2005 at 04:44:25PM +0100, steinm wrote: > On Wed, Mar 02, 2005 at 03:21:19PM +, Des Johnston wrote: > > > > What state is the iBook G4 sleep support in for > > the latest and greatest (vanilla) 2.6.11 kernel? > Works, though I have occasional crashes

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-02 Thread Sebastien NOEL
On Wed, 2 Mar 2005 15:21:19 + (GMT) Des Johnston <[EMAIL PROTECTED]> wrote: Hi, > What state is the iBook G4 sleep support in for > the latest and greatest (vanilla) 2.6.11 kernel? It doesn't work very well for me, i get a "oops" after after weakup. the easiest

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-02 Thread Sebastien NOEL
On Wed, 2 Mar 2005 15:21:19 + (GMT) Des Johnston <[EMAIL PROTECTED]> wrote: H, > What state is the iBook G4 sleep support in for > the latest and greatest (vanilla) 2.6.11 kernel? It doesn't work very well for me, i get a "oops" after after weakup. the easiest

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-02 Thread Benjamin Herrenschmidt
On Wed, 2005-03-02 at 15:21 +, Des Johnston wrote: > What state is the iBook G4 sleep support in for > the latest and greatest (vanilla) 2.6.11 kernel? It's all there. You may still have a problem with the panel backlight not always coming back, but playing with the backlight key (

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-02 Thread Benjamin Herrenschmidt
On Wed, 2005-03-02 at 22:05 +0100, Sebastien NOEL wrote: > On Wed, 2 Mar 2005 15:21:19 + (GMT) > Des Johnston <[EMAIL PROTECTED]> wrote: > > Hi, > > > What state is the iBook G4 sleep support in for > > the latest and greatest (vanilla) 2.6.11 kernel? >

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-02 Thread Benjamin Herrenschmidt
On Wed, 2005-03-02 at 17:12 +0100, steinm wrote: > On Wed, Mar 02, 2005 at 04:44:25PM +0100, steinm wrote: > > On Wed, Mar 02, 2005 at 03:21:19PM +, Des Johnston wrote: > > > > > > What state is the iBook G4 sleep support in for > > > the latest and greates

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-02 Thread Sebastien NOEL
On Thu, 03 Mar 2005 10:47:29 +1100 Benjamin Herrenschmidt wrote: > > the easiest way to reproduce this is to do "make-kpkg clean" after weakup, > > I just see "Oops kernel access of bad area, sig 11" and the ibook freeze > > without other error message. > > > > it happens with a ibook g4 @ 933mhz

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-02 Thread Benjamin Herrenschmidt
> > Now with CONFIG_XMON: > > vector: 300 at pc = ea42e644, lr = ea4580e0 > msr = 1032, sp = c02afdd0 [c02afd20] > dar = 7ca5d874, dsisr = 4000 > current = c024a470, pid = 0, comm = swapper > mon> > > it's the first time i build a kernel with CONFIG_XMON, i don't know > what to do now :)

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-02 Thread Uwe Steinmann
On Thu, Mar 03, 2005 at 10:48:31AM +1100, Benjamin Herrenschmidt wrote: > On Wed, 2005-03-02 at 17:12 +0100, steinm wrote: > > On Wed, Mar 02, 2005 at 04:44:25PM +0100, steinm wrote: > > > On Wed, Mar 02, 2005 at 03:21:19PM +, Des Johnston wrote: > > > > >

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Sebastien NOEL
On Thu, 03 Mar 2005 13:22:49 +1100 Benjamin Herrenschmidt wrote: > > Ok, the address shows that it happens in a module. > > Unfortunately, xmon in ppc32 doesn't know yet how to use kallsyms so it > can't get symbols out of modules. > > Can you do a cat /proc/modules before the crash, then crash

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Des Johnston
Just to confirm - with 2.6.11 my iBook G4 sleep works just fine and dandy provided I unplug my DWL-122 in advance :) Nice work. DesJ On Thu, 3 Mar 2005, Benjamin Herrenschmidt wrote: > On Wed, 2005-03-02 at 17:12 +0100, steinm wrote: > > On Wed, Mar 02, 2005 at 04:44:25PM +0100, ste

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Sebastien NOEL
[last mail seem to have been lost on the way] > this crash look like /dev/random, one time i have xmon, another time not; > one time the keyboard works in xmon, another time not :/ I tried with 2.6.9 and the crash happens too. 2 weeks ago i changed the apple 128MB memory module for a 512MB fr

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Uwe Steinmann
On Thu, Mar 03, 2005 at 03:22:13PM +0100, Sebastien NOEL wrote: > > [last mail seem to have been lost on the way] > > > > this crash look like /dev/random, one time i have xmon, another time not; > > one time the keyboard works in xmon, another time not :/ > > I tried with 2.6.9 and the crash

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Benjamin Herrenschmidt
> > this crash look like /dev/random, one time i have xmon, another time not; > one time the keyboard works in xmon, another time not :/ Ok, looks like memory corruption then. What is your CPU model ? It could be the RAM thing you told me about, or it could be the cache flushing... Ben. --

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Sebastien NOEL
On Fri, 04 Mar 2005 09:40:48 +1100 , Benjamin Herrenschmidt wrote: > > this crash look like /dev/random, one time i have xmon, another time not; > > one time the keyboard works in xmon, another time not :/ > > Ok, looks like memory corruption then. What is your CPU model ? cat /proc/cpuinfo proc

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-03 Thread Benjamin Herrenschmidt
On Fri, 2005-03-04 at 01:32 +0100, Sebastien NOEL wrote: > On Fri, 04 Mar 2005 09:40:48 +1100 , Benjamin Herrenschmidt wrote: > > > > this crash look like /dev/random, one time i have xmon, another time not; > > > one time the keyboard works in xmon, another time not :/ > > > > Ok, looks like mem

Re: State of ibook G4 sleep support in 2.6.11?

2005-03-04 Thread Sebastien NOEL
On Fri, 04 Mar 2005 12:49:36 +1100 , Benjamin Herrenschmidt wrote: > Ok, look at arch/ppc/platforms/pmac_sleep.S, there is this bit of code: > > [...] > > Can you change the 2 instances of "lis r4,0x0002" to "lis r4,0x0020" ? > > > It will cause the code to flush 16 times more memory :) A bit gr