2005-01-19 20:33:03

by Maurice Volaski

[permalink] [raw]
Subject: 2.6.11-r1 freezes dual 2.5 GHz PowerMac G5

I am running Gentoo with a fresh 2.6.11-r1. I have all the kernel
debugging options turned on. Occasionally, I can get past the boot
process, but half the time it freezes somewhere along the way. If
not, I do get to boot, it doesn't take very long for it to freeze.

Any suggestions for how this can be debugged further?

other keywords: PowerPC, ppc, ppc64, Apple, freeze, freezing,
freezes, hang, hangs, froze, frozen, locks up, locked up, hard lock.
--

Maurice Volaski, [email protected]
Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University


2005-01-20 09:30:52

by Mikael Pettersson

[permalink] [raw]
Subject: Re: 2.6.11-r1 freezes dual 2.5 GHz PowerMac G5

Maurice Volaski writes:
> I am running Gentoo with a fresh 2.6.11-r1. I have all the kernel
> debugging options turned on. Occasionally, I can get past the boot
> process, but half the time it freezes somewhere along the way. If
> not, I do get to boot, it doesn't take very long for it to freeze.

Did 2.6.10 work Ok? Try the patch below, it fixes 2.6.11-rc1 boot
lockups on both my Beige G3 (locks up in ADB driver) and my G4 eMac
(locks up in radeonfb).

--- linux-2.6.11-rc1/init/main.c.~1~ 2005-01-15 03:30:25.000000000 +0100
+++ linux-2.6.11-rc1/init/main.c 2005-01-15 03:31:44.000000000 +0100
@@ -377,7 +377,7 @@ static void noinline rest_init(void)
* Re-enable preemption but disable interrupts to make sure
* we dont get preempted until we schedule() in cpu_idle().
*/
- local_irq_disable();
+// local_irq_disable();
preempt_enable_no_resched();
unlock_kernel();
cpu_idle();

2005-01-29 00:49:38

by Maurice Volaski

[permalink] [raw]
Subject: Re: 2.6.11-r1 freezes dual 2.5 GHz PowerMac G5

The patch below works. Thanks.

>Maurice Volaski writes:
> > I am running Gentoo with a fresh 2.6.11-r1. I have all the kernel
> > debugging options turned on. Occasionally, I can get past the boot
> > process, but half the time it freezes somewhere along the way. If
> > not, I do get to boot, it doesn't take very long for it to freeze.
>
>Did 2.6.10 work Ok? Try the patch below, it fixes 2.6.11-rc1 boot
>lockups on both my Beige G3 (locks up in ADB driver) and my G4 eMac
>(locks up in radeonfb).
>
>--- linux-2.6.11-rc1/init/main.c.~1~ 2005-01-15 03:30:25.000000000 +0100
>+++ linux-2.6.11-rc1/init/main.c 2005-01-15 03:31:44.000000000 +0100
>@@ -377,7 +377,7 @@ static void noinline rest_init(void)
> * Re-enable preemption but disable interrupts to make sure
> * we dont get preempted until we schedule() in cpu_idle().
> */
>- local_irq_disable();
>+// local_irq_disable();
> preempt_enable_no_resched();
> unlock_kernel();
> cpu_idle();


--

Maurice Volaski, [email protected]
Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University