summaryrefslogtreecommitdiff
path: root/vmcore-dmesg
diff options
context:
space:
mode:
authorDave Young <dyoung@redhat.com>2012-10-18 11:16:08 +0800
committerSimon Horman <horms@verge.net.au>2012-10-19 10:33:17 +0900
commit75d1a16f0b4e5b33e91a51d93014f1fd8303f36e (patch)
tree42ce4b3a72943d72fa7f29c70593d3e32c8acdb7 /vmcore-dmesg
parentaaedd5321b239a919a080da84ed5c96fb4481ed2 (diff)
kdump: pass acpi_rsdp= to 2nd kernel for efi booting
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: http://lists.infradead.org/pipermail/kexec/2010-March/003889.html [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@redhat.com> Reviewed-by: Khalid Aziz <khalid@gonehiking.org> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'vmcore-dmesg')
0 files changed, 0 insertions, 0 deletions