Re: booting 2.6.4 from OpenFirmware

From: Martin Schaffner
Date: Wed Mar 31 2004 - 19:16:26 EST



On 30.03.2004, at 23:58, Benjamin Herrenschmidt wrote:

On Wed, 2004-03-31 at 08:18, Martin Schaffner wrote:
Hi,

I try to boot linux-2.6.4 from OpenFirmware on my Apple iBook2 (dual
USB). I'm using the image named "vmlinux.elf-pmac". While linux-2.4.25
boots fine, linux-2.6.4 doesn't [...]

If I try to boot the stock kernel, OpenFirmware tells me "Claim
failed", and returns to the command prompt.

That's strange, I do such netbooting everyday on a wide range of
machines without trouble. Are you using some kind of cross compiler ?
Maybe there are some issues with cross compiling of the boot wrapper...

I WAS cross-compiling, but the problem persists when compiling natively. I don't net-boot but load the image from a HFS+ partition. I can't boot

http://membres.lycos.fr/schaffner/vmlinux.orig

which is a compilation of linux-2.6.4 with

http://membres.lycos.fr/schaffner/.config

I can, however, boot

http://membres.lycos.fr/schaffner/vmlinux.patched

which is the same after the following patch:

http://membres.lycos.fr/schaffner/boot-of-works.patch

Maybe the problem is specific to the model of the machine?

Thanks,

Martin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/