Skip to contentSkip to conversation

Sun4d SMP wierdness

DISCUSSION C.Newport 3 participants 4 messages Aug 15, 2004

lore
Share & tools
lore

C.Newport

author
#0 lore raw

I am trying to track down why 2.4.27 (or any 2.4 series) does a watchdog timeout very early in the boot sequence om Sun4d SMP.

In arch/sparc/kernel/setup.c I put some prom_printfs to narrow it down.

setup.c line 450

 prom_printf("tp6\n");
	paging_init();

prom_printf("tp7\n");

tp6 gets printed at boot, tp7 does not.

So - in arch/sparc/mm/init.c line 328 I add another test point

void __init paging_init(void)
{

 prom_printf("mm/init.c:paging_init %d", sparc_cpu_model);
	switch(sparc_cpu_model) {

OUCH - this never gets printed so somewhere the function call to paging_init is vanishing into lala-land.

At this point I am stumped - What could be happening ?

Chris Newport

#1 lore raw
Quoted 3 lines · C.Newport

I am trying to track down why 2.4.27 (or any 2.4 series) does a watchdog timeout very early in the boot sequence om Sun4d SMP.

SuperSparc I or II Cpu ?

IMHO SuperSparc II never worked for Sun4d. I've posted a patch against 2.4.something last year, which fixed that problem and I'm waiting for spare time to bring it forward to 2.6 ...

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.                                 [ Alexander Viro on linux-kernel ]
#2 lore raw
In reply to C.Newport
Quoted 2 lines · C.Newport
Quoted 2 lines

I am trying to track down why 2.4.27 (or any 2.4 series) does a watchdog timeout very early in the boot sequence om Sun4d SMP.

Quoted 4 lines · Thomas Bogendoerfer

SuperSparc I or II Cpu ?
IMHO SuperSparc II never worked for Sun4d. I've posted a patch against 2.4.something last year, which fixed that problem and I'm waiting for spare time to bring it forward to 2.6 ...

Could you send whatever you have now? If it's not merged for 2.4 I'll send it to marcelo.

-- wli

author
#3 lore raw
In reply to C.Newport
Quoted 4 lines · William Lee Irwin III
Quoted 2 lines · C.Newport
Quoted 2 lines

I am trying to track down why 2.4.27 (or any 2.4 series) does a watchdog timeout very early in the boot sequence om Sun4d SMP.

Quoted 8 lines
Quoted 4 lines · Thomas Bogendoerfer

SuperSparc I or II Cpu ?
IMHO SuperSparc II never worked for Sun4d. I've posted a patch against 2.4.something last year, which fixed that problem and I'm waiting for spare time to bring it forward to 2.6 ...

Could you send whatever you have now? If it's not merged for 2.4 I'll send it to marcelo.

Found it in the archives -
http://marc.theaimsgroup.com/?l=linux-sparc&m6467967231116&w=2

The patches are against 2.4.22 so I will test them here in 2.4.27 to see what happens, and possibly merge with Pasi's patches.