lkml.org 
[lkml]   [2008]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH linux-next] x86_32: fix VisualWS and Voyager kexec build failures
Date
Randy Dunlap <randy.dunlap@oracle.com> writes:

> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> cc: Eric Biederman <ebiederm@xmission.com>
>
> Both Visual WS and Voyager builds fail in almost the same way (in
> linux-next) without this patch:
>
> VOYAGER:
> kernel/built-in.o: In function `crash_kexec':
> (.text+0x28588): undefined reference to `machine_crash_shutdown'
>
> VISWS:
> kernel/built-in.o: In function `crash_kexec':
> /next-20080401/kernel/kexec.c:1074: undefined reference to
> `machine_crash_shutdown'
> make[1]: *** [.tmp_vmlinux1] Error 1
>
> because arch/x86/kernel/reboot.c isn't built since CONFIG_X86_BIOS_REBOOT=n,
> so machine_crash_shutdown() isn't available.

Weird. I haven't had a chance to update to the devel kernels lately.
And in the older kernel I have machine_crash_shutdown is in crash.c
and is indeed not dependent xyz.

I get the feeling someone refactored something and ran afoul of the
x86_32 weird subarchitecture stuff in their testing.

> This patch does seem a small bit odd since the KEXEC help text says that
> kexec is independent of the system firmware.

Yes.

> Eric, is there some other way that this should be handled?

Yes. Move machine_crash_shutdown back into crash.c
Or find some other way to accomplish whatever cleanup was done,
so that we still compile.

Eric


\
 
 \ /
  Last update: 2008-04-02 08:53    [W:0.034 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site