Skip to contentSkip to conversation

crash in smp_core99_kick_cpu

DISCUSSION Adam Williams 3 participants 3 messages Nov 1, 2001 – Nov 2, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line · Adam Williams

This is a dual CPU G4. Startup freezes after

[snip]

Quoted 2 lines

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)

Quoted 2 lines

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

Known gcc 3.0.x/kernel 'feature'.

Signature · 2 lines
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
#2 lore raw
In reply to Adam Williams
Quoted 14 lines

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.

Quoted 7 lines

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.