Re: [PATCH 0/9] x86 EFI boot stub

From: Matt Fleming
Date: Fri Aug 26 2011 - 08:30:00 EST


On Thu, 2011-08-11 at 19:55 +0200, Maarten Lankhorst wrote:
> > Hmm.. do you have early printk enabled? Can you hook up a serial console
> > to this machine?
> >
> I get no output on serial console with vmlinuz.efi so it crashes
> before 'early console in decompress_kernel' is printed.

Hey Maarten, sorry I took so long to respond to this.

OK, so you don't get any output on the serial console. Were you passing
"console=" on the kernel cmdline? If so, the best way to debug this hang
is to add,

efi_call_phys4(sys_table->runtime->reset_system, EFI_RESET_COLD,
EFI_SUCCESS, 0, NULL);

just after we setup 'sys_table' in efi_main(). If your machine resets,
then we at least know that the firmware loaded the bzImage correctly.

P.S which machine is this and what is the output of the 'ver' command?

--
Matt Fleming, Intel Open Source Technology Center

--
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/