[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] Fix sleep/wakeup problems on iBook G3



On Mon, 2005-03-28 at 14:01 +0200, Jean-Paul Vincent wrote:

> The ibook wakes up but with oops, a lot of messages on the console, 
> signal 11... solution is hard reboot. I dont use xmon because of I 
> missed something last time and lost data.

That is with the patch right ? Can you copy me your /proc/cpuinfo
output ?

> Without the patch, the ibook dont wake up after I open the lid. 
> 
> No problem with 2.6.x kernels, x=9, 10 (or with a G4).

Ok, can you try the additional changes suggested and let me know if it
makes it more stable ? Most notably, in arch/ppc/platforms/pmac_cache.S:

line 64:

	/* disp-flush L1 */
	li	r4,0x4000

Change that to
	lis	r3,2

And line 76:

	rlwinm	r3,r3,0,~HID0_DCE

Change that to
	rlwinm	r3,r3,0,~(HID0_DCE|HID0_ICE)

And let me know if that helps. Please test both patches separately and
then both together. Also, please test without enabling cpufreq support.

Ben.





Reply to: