powerpc-smp kernel flavour does not boot on OldWorld G3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Jeremy Kerr |
Bug Description
Reported by Adam Conrad:
> > * which kernel version (precise) that you're trying to boot
linux-image-
linux-image-
> > * more details about the machine
It's an OldWorld Beige G3 with one of the many 1GHz upgrade
boards that were popular long ago, sadly, I don't recall
which brand/model, though I suspect I'd have the same
problem booting if I dug up the original CPU and stuck it
back in.
I'm not entirely sure what more info you might want than
"OldWorld G3 Tower", but if there's something specific you'd
like me digging for, I'm all ears.
> > Any more data about where it stops booting ? Can you try making sure you
> > have udbg btext enabled in config and boot with "udb-immortal debug
> > initcall_debug" on the command line ?
Unfortunately, it boots from BootX, because I could never make quik run
on my broken OF (granted, I never tried that hard, so I'm sure it can
be done, but if it ain't broke?). The problem with booting from BootX,
though, is that there's no chance for debug output, because I just get
a slightly corrupt MacOS desktop, and then the machine hangs. It's not
getting far enough to init a framebuffer or anything shiny.
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Committed |
From: Benjamin Herrenschmidt <email address hidden>
BugLink: https:/ /bugs.launchpad .net/bugs/ 959959
The code for "powersurge" SMP would kick in and cause a crash
at boot due to the lack of a NULL test.
Signed-off-by: Benjamin Herrenschmidt <email address hidden>
Signed-off-by: Jeremy Kerr <email address hidden>
Reported-By: Adam Conrad <email address hidden>
Tested-By: Adam Conrad <email address hidden>
Cherry-picked from upstream commit d17abfa469345dd f323d4fd62
78c5c68a4cf4329
--- platforms/ powermac/ smp.c | 2 +-
arch/powerpc/
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/ powerpc/ platforms/ powermac/ smp.c b/arch/ powerpc/ platforms/ powermac/ smp.c powerpc/ platforms/ powermac/ smp.c powerpc/ platforms/ powermac/ smp.c
index 9b6a820..3394254 100644
--- a/arch/
+++ b/arch/
@@ -414,7 +414,7 @@ static struct irqaction psurge_irqaction = {
static void __init smp_psurge_ setup_cpu( int cpu_nr)
{
- if (cpu_nr != 0)
+ if (cpu_nr != 0 || !psurge_start)
return;
/* reset the entry point so if we get another intr we won't