Re: [PATCH v2] x86: UV kdump reboot fix
From: Ingo Molnar
Date: Thu Mar 31 2011 - 05:15:15 EST
* Cliff Wickman <cpw@xxxxxxx> wrote:
> From: Cliff Wickman <cpw@xxxxxxx>
>
> After a crash dump on an SGI Altix UV system the crash kernel fails to
> cause a reboot. EFI mode is disabled in the kdump kernel, so only the
> reboot_type of BOOT_ACPI works.
>
> native_machine_restart() is the generic restart function. This patch
> overrides the generic version with a UV-specific version.
> (an earlier (6Dec2010) version of this patch was nack'd as it patched
> native_machine_restart() with special case is_uv_system() kludge)
It was NAKed because a special case is_uv_system() kludge was put into
*generic x86 code*.
Kludging the generic code some more:
> arch/x86/include/asm/uv/uv.h | 1 +
> arch/x86/kernel/apic/x2apic_uv_x.c | 18 ++++++++++++++++++
> arch/x86/kernel/reboot.c | 2 +-
> 3 files changed, 20 insertions(+), 1 deletion(-)
Does not help either.
The clean solution would be to add the reboot_type setting to an UV specific
initialization function. That way only UV is affected and there's no extra
kludge either, as reboot_type is already global.
Thanks,
Ingo
--
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/