PPC64 boot failure with 2.6.15
Anton Blanchard
anton at samba.org
Thu Jan 26 13:23:42 EST 2006
Hi,
> After succeeding to get 2.4.26 working on my machine (an IBM 9076-N81
> high node), I'm trying to get 2.6 to work on it. So far, the kernel
> fails to boot, and the machine resets partway through bootup. I've
> tried compiling both an SMP and UP 2.6.15.1 kernel (unmodified
> kernel.org sources).
Excellent! Ive been wanting to get these machines booting again but our
one isnt setup right now. There is one known issue:
mpic: Setting upMPIC " version 1.2 at fec000max 1 CPUs
Notice the max 1 CPUs. I forgot to tell benh when he was reworking the
openpic code that we cant rely on the nr cpus field to be correct :)
Paul had a patch to fix this, I'll see if I can find it.
If you feel keen you could hack it up by changing the following code in
arch/powerpc/sysdev/mpic.c:
/* Map the per-CPU registers */
for (i = 0; i < mpic->num_cpus; i++) {
mpic->cpuregs[i] = ioremap(phys_addr + MPIC_CPU_BASE +
i * MPIC_CPU_STRIDE, 0x1000);
BUG_ON(mpic->cpuregs[i] == NULL);
}
And replace the for loop with for_each_cpu()
Anton
More information about the Linuxppc64-dev
mailing list