linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* crash in smp_core99_kick_cpu
@ 2001-11-01  0:29 Adam Williams
  2001-11-01  3:48 ` Tom Rini
  2001-11-02  8:48 ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 3+ messages in thread
From: Adam Williams @ 2001-11-01  0:29 UTC (permalink / raw)
  To: linux-kernel

This is a dual CPU G4.  Startup freezes after

smp_core99_kick_cpu done

is displayed.  Commenting out the

KL_GPIO_OUT(reset_io, KEYLARGO_GPIO_OUTPUT_ENABLE);

line in feature_core99_kick_cpu allows the boot process to
continue but with only CPU #0 and a "Processor 1 is stuck"
message.

MacOS 9.2 booted fine and detected both CPUs.

Compiler gcc 2.96
Kernel 2.4.13

Kernels compiled with gcc 3.0.2 just crash and go into
open firmware.

cat /proc/cpuinfo displays




processor       : 0
cpu             : 7450, altivec supported
temperature     : 1-76 C (uncalibrated)
clock           : 799MHz
revision        : 2.1 (pvr 8000 0201)
bogomips        : 797.90
total bogomips  : 797.90
zero pages      : total: 0 (0Kb) current: 0 (0Kb) hits: 0/0 (0%)
machine         : PowerMac3,5
motherboard     : PowerMac3,5 MacRISC2 MacRISC Power Macintosh
L2 cache        : 256K unified
memory          : 256MB
pmac-generation : NewWorld






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: crash in smp_core99_kick_cpu
  2001-11-01  0:29 crash in smp_core99_kick_cpu Adam Williams
@ 2001-11-01  3:48 ` Tom Rini
  2001-11-02  8:48 ` Benjamin Herrenschmidt
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2001-11-01  3:48 UTC (permalink / raw)
  To: Adam Williams; +Cc: linux-kernel

On Wed, Oct 31, 2001 at 04:29:29PM -0800, Adam Williams wrote:

> This is a dual CPU G4.  Startup freezes after
[snip]
> Compiler gcc 2.96
> Kernel 2.4.13

Hit http://penguinppc.org/dev/kernel.shtml, and try one of those trees.
There's a few minor differences in the linuxppc_2_4 tree which might fix
this and will be in Linus' tree eventually.  And for future reference,
you might have better luck on linuxppc-dev or linuxppc-users
(http://lists.linuxppc.org)

> Kernels compiled with gcc 3.0.2 just crash and go into
> open firmware.

Known gcc 3.0.x/kernel 'feature'.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: crash in smp_core99_kick_cpu
  2001-11-01  0:29 crash in smp_core99_kick_cpu Adam Williams
  2001-11-01  3:48 ` Tom Rini
@ 2001-11-02  8:48 ` Benjamin Herrenschmidt
  1 sibling, 0 replies; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2001-11-02  8:48 UTC (permalink / raw)
  To: Adam Williams; +Cc: linux-kernel

>This is a dual CPU G4.  Startup freezes after
>
>smp_core99_kick_cpu done
>
>is displayed.  Commenting out the
>
>KL_GPIO_OUT(reset_io, KEYLARGO_GPIO_OUTPUT_ENABLE);
>
>line in feature_core99_kick_cpu allows the boot process to
>continue but with only CPU #0 and a "Processor 1 is stuck"
>message.
>
>MacOS 9.2 booted fine and detected both CPUs.
>
>Compiler gcc 2.96
>Kernel 2.4.13
>
>Kernels compiled with gcc 3.0.2 just crash and go into
>open firmware.
>
>cat /proc/cpuinfo displays

Which kernel ? Linus 2.4.13 or one of the PPC bk trees ?

I've been using 2.4.13 from bk _devel on a dual G4 for some
time now, it just worked. I'm away from my dev. machines for
a few days, but I'll look into this problem as soon as I'm
back.

gcc 3.0.2 isn't ready for ppc kernel compiles afaik. I'm
personally still using 2.95.4 from debian "sid".

Ben.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-02  8:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-01  0:29 crash in smp_core99_kick_cpu Adam Williams
2001-11-01  3:48 ` Tom Rini
2001-11-02  8:48 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).