[ipxe-devel] kernel panic with ipxe.efi
Christian Hesse
list at eworm.de
Tue Apr 7 08:22:54 UTC 2015
Robin Smidsrød <robin at smidsrod.no> on Sat, 2015/04/04 13:22:
> On 03.04.2015 17:28, Christian Hesse wrote:
> > Robin Smidsrød <robin at smidsrod.no> on Fri, 2015/04/03 13:53:
> >> On 02.04.2015 16:36, Christian Hesse wrote:
> >>> Hello everybody,
> >>>
> >>> trying to boot a UEFI device with iPXE
> >>> (bin-x86_64-efi/ipxe.efi) results in a kernel panic. iPXE
> >>> starts just fine, then downloads three files via http...
> >>>
> >>> * linux64 (Linux bzImage) * intel-ucode.img (uncompressed cpio
> >>> archive with intel ucode) * initrd64 (xz compressed initramfs)
> >>>
> >>> ..boots the kernel, which panics. I took a picture of the
> >>> kernel panic: http://www.eworm.de/tmp/DSC_0038.JPG
> >>>
> >>> The same files work just fine with iPXE bios version.
> >>
> >> I believe you've forgotten the initrd=initrd64 kernel command
> >> line parameter which is needed on UEFI. it should match the name
> >> for the initrd output by imgstat.
> >
> > Probably you are right. Did not know that parameter is needed... Is
> > it a problem to add the parameter for boot from bios as well?
>
> It's a NO-OP on legacy BIOS, so it doesn't hurt to just keep it in
> there for both environments.
That did the trick!
System boots just fine in EFI mode. The documentation about Linux kernel EFI
stub:
https://www.kernel.org/doc/Documentation/efi-stub.txt
Now the bonus question: Documentation states it is possible to give multiple
initrd files with initrd= parameter, but there's no information about how
this works. I would like to use this for ucode loading (uncompressed cpio
image). Any idea how to specify two or more files?
--
main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
"CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];)
putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20150407/9449ca08/attachment.sig>
More information about the ipxe-devel
mailing list