[PATCH v2] kdump: pass acpi_rsdp= to 2nd kernel for efi booting
khalid at gonehiking.org
Thu Oct 18 10:56:34 EDT 2012
On Thu, 2012-10-18 at 11:10 +0800, Dave Young wrote:
> In case efi booting, kdump need kernel parameter acpi_rsdp= to retrieve
> the acpi root table physical address.
> Add a function cmdline_add_efi to get the address from /sys/firmware/efi/systab
> If there's no such file or read fail the function will just do nothing.
> Tested efi boot Fedora 17 on thinkpad T420.
> Some background info for this issue:
> [v1 -> v2]:
> Address comments from Khalid and Simon
> use fgets instead of read(2) to iterate the file
> do not add 'noefi' because kexec does not construct EFI signature
> in bootloader signature in boot_params, so kexec'd kernel will
> disable EFI automatically even without noefi.
> Signed-off-by: Dave Young <dyoung at redhat.com>
> kexec/arch/i386/crashdump-x86.c | 35 +++++++++++++++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
Reviewed-by: Khalid Aziz <khalid at gonehiking.org>
More information about the kexec