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

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 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

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

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

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 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-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

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: 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

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-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
> > 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 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 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 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
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-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-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 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
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 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 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 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 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 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 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 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

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: [seems SOLVED] Re: the ibook G4 sleep test patch

2004-11-26 Thread Arne Caspari
Arne Caspari wrote: My system sometimes freezes sometime after wakeup from suspend. I am currently not using a load based cpu frequency switching. Whoops! Correction: I just realized I have load based frequency scaling enabled again :-P And I also realized that this came in effect when wor

Re: [seems SOLVED] Re: the ibook G4 sleep test patch

2004-11-26 Thread Arne Caspari
Benjamin Herrenschmidt wrote: On Tue, 2004-11-23 at 21:00 +0100, Pau Rul·lan Ferragut wrote: On Tuesday 23 November 2004 19:06, Colin Leroy wrote: On 23 Nov 2004 at 08h11, Colin Leroy wrote: I had a brilliant idea ;-) and thought that my crashes that I was noticing happene

Re: [seems SOLVED] Re: the ibook G4 sleep test patch

2004-11-24 Thread Colin Leroy
On 24 Nov 2004 at 14h11, Benjamin Herrenschmidt wrote: Hi, > The problem is probably not related to the software used to switch > frequencies, but more probably to the kernel support. I've been having > various problems with the PMU-based frequency switching lately, I'm > still investigating. i

Re: [seems SOLVED] Re: the ibook G4 sleep test patch

2004-11-23 Thread Benjamin Herrenschmidt
On Tue, 2004-11-23 at 21:00 +0100, Pau Rul·lan Ferragut wrote: > On Tuesday 23 November 2004 19:06, Colin Leroy wrote: > > On 23 Nov 2004 at 08h11, Colin Leroy wrote: > > > > I had a brilliant idea ;-) and thought that my crashes that > > I was noticing happened when starting (relatively) heavywe

Re: [seems SOLVED] Re: the ibook G4 sleep test patch

2004-11-23 Thread Colin Leroy
On 23 Nov 2004 at 21h11, Pau Rul·lan Ferragut wrote: Hi, > Give a chance to cpudyn Will do, thanks for the pointer. -- Colin Well, it just seemed wrong to cheat on an ethics test. -- Calvin

Re: [seems SOLVED] Re: the ibook G4 sleep test patch

2004-11-23 Thread Pau Rul·lan Ferragut
On Tuesday 23 November 2004 19:06, Colin Leroy wrote: > On 23 Nov 2004 at 08h11, Colin Leroy wrote: > I had a brilliant idea ;-) and thought that my crashes that > I was noticing happened when starting (relatively) heavyweight stuff > like firefox. Then remembered I have powernowd to switch CPU f

[seems SOLVED] Re: the ibook G4 sleep test patch

2004-11-23 Thread Colin Leroy
On 23 Nov 2004 at 08h11, Colin Leroy wrote: Hi Ben! > I did now. The iBook still froze some time after resume, > once when starting sylpheed-claws and once when starting > firefox. I had a brilliant idea ;-) and thought that my crashes that I was noticing happened when starting (relatively) hea

Re: the ibook G4 sleep test patch

2004-11-23 Thread Arne Caspari
Mannequin* wrote: On Tue, 2004-11-23 at 13:51 +0100, Colin Leroy wrote: On 23 Nov 2004 at 08h11, Colin Leroy wrote: Hi, I did now. The iBook still froze some time after resume, once when starting sylpheed-claws and once when starting firefox. ... Could it be faulty memory

Re: the ibook G4 sleep test patch

2004-11-23 Thread Colin Leroy
On 23 Nov 2004 at 08h11, Mannequin* wrote: Hi, > > > I did now. The iBook still froze some time after resume, > > > once when starting sylpheed-claws and once when starting > > > firefox. > > ... > > Could it be faulty memory or something like that? I hope not. It never happened before this

Re: the ibook G4 sleep test patch

2004-11-23 Thread Mannequin*
On Tue, 2004-11-23 at 13:51 +0100, Colin Leroy wrote: > On 23 Nov 2004 at 08h11, Colin Leroy wrote: > > Hi, > > > I did now. The iBook still froze some time after resume, > > once when starting sylpheed-claws and once when starting > > firefox. ... Could it be faulty memory or something like

Re: the ibook G4 sleep test patch

2004-11-23 Thread Colin Leroy
On 23 Nov 2004 at 08h11, Colin Leroy wrote: Hi, > I did now. The iBook still froze some time after resume, > once when starting sylpheed-claws and once when starting > firefox. Just a wild guess, could it be caused by pmac_cache.S ? I have a first gen ibook G4: processor : 0 cpu

Re: the ibook G4 sleep test patch

2004-11-23 Thread Colin Leroy
On 22 Nov 2004 at 18h11, Benjamin Herrenschmidt wrote: Hi Ben, > Never saw this problem with other machines. > > > - crashes sometimes later (often happens) > > Have you tried patch #4 ? I did now. The iBook still froze some time after resume, once when starting sylpheed-claws and once when s

the ibook G4 sleep test patch

2004-11-22 Thread Colin Leroy
Hi, Does nobody else have issues with sleep on their iBook G4? I noticed the following problems: - waking up by opening the lid wakes up, sleeps again and wakes up again - crashes when swap is activated (quite quickly after a few actions like starting a new process) - crashes sometimes later (ofte

Re: the ibook G4 sleep test patch

2004-11-22 Thread Benjamin Herrenschmidt
On Mon, 2004-11-22 at 08:36 +0100, Colin Leroy wrote: > Hi, > > Does nobody else have issues with sleep on their iBook G4? I noticed > the following problems: > - waking up by opening the lid wakes up, sleeps again and wakes up again Seems to be typical of both pmud and pbbuttonsd in pmud replace

Re: the ibook G4 sleep test patch

2004-11-22 Thread Colin Leroy
On 22 Nov 2004 at 18h11, Benjamin Herrenschmidt wrote: Hi, > Seems to be typical of both pmud and pbbuttonsd in pmud replacement mode > fighting with eachother. Uh, I've got both :-S Thanks! I wasn't even aware of that :) > > - crashes when swap is activated (quite quickly after a few actions

Re: the ibook G4 sleep test patch

2004-11-22 Thread John Steele Scott
Colin Leroy <[EMAIL PROTECTED]> writes: > Does nobody else have issues with sleep on their iBook G4? I noticed > the following problems: > - waking up by opening the lid wakes up, sleeps again and wakes up again I had this one, but it was because I had pbbuttonsd and pmud running at the same time.

Re: the ibook G4 sleep test patch

2004-11-22 Thread Arne Caspari
Colin Leroy wrote: Hi, Does nobody else have issues with sleep on their iBook G4? I noticed the following problems: - waking up by opening the lid wakes up, sleeps again and wakes up again - crashes when swap is activated (quite quickly after a few actions like starting a new process) - crashes