Re: ibook2/M3 and 2.4.20-ben7 - does not wake up any more
On Tue, 2003-03-04 at 15:17, Clemens Mangler wrote:
> On Tue, 4 Mar 2003, Georg Koss wrote:
> > Hello all!
> > I recompiled the new 2.4.20-ben7 sources from rsync.penguinppc.org
> > yesterday with my old .config, which worked with several 2.4.20-ben*
> > up to *-ben6 flawlessly.
> > After rebooting I closed the lid after couple of minutes on console
> > (no XF) Thereafter my ibook2/M3 didn't awake any more, so I had to
> > take out the batteries to be able to boot again.
> i have no sulution, but a hint:
> I think you never have to take out the batteries! just press the
> on-button for about 10 seconds to switch off yout ibook!
Known bug in -ben7 with G3 based powerbooks, I'm sorry about that...
patch attached (will be in -ben6)
===== arch/ppc/kernel/cpu_setup_6xx.S 1.1 vs edited =====
--- 1.1/arch/ppc/kernel/cpu_setup_6xx.S Thu Feb 27 09:50:24 2003
+++ edited/arch/ppc/kernel/cpu_setup_6xx.S Sat Mar 1 23:25:37 2003
@@ -356,7 +356,7 @@
- bne 1f
+ bne 2f
/* Restore 74xx specific regs */
@@ -372,7 +372,7 @@
/* Clear 7410 L2CR2 */
-1: beq cr1,1f
+1: beq cr1,2f
/* Restore 745x specific registers */
@@ -394,7 +394,7 @@
-1: bne cr5,1f
+2: bne cr5,1f
/* Restore 750FX specific registers
* that is restore PLL config & switch
* to PLL 0
@@ -404,10 +404,10 @@
/* Wait for PLL to stabilize */
-2: mftbl r6
+3: mftbl r6
- ble 2b
+ ble 3b
/* Setup final PLL */