From: Randy Dunlap <randy.dunlap@oracle.com>
To: ebiederm@xmission.com (Eric W. Biederman),
linux-next@vger.kernel.org, gcosta@redhat.com
Cc: lkml <linux-kernel@vger.kernel.org>, mingo <mingo@redhat.com>,
tglx <tglx@linutronix.de>, hpa <hpa@zytor.com>,
akpm <akpm@linux-foundation.org>
Subject: Re: [PATCH linux-next] x86_32: fix VisualWS and Voyager kexec build failures
Date: Wed, 2 Apr 2008 09:56:03 -0700 [thread overview]
Message-ID: <20080402095603.c5433526.randy.dunlap@oracle.com> (raw)
In-Reply-To: <m17ifgrbtg.fsf@ebiederm.dsl.xmission.com>
On Wed, 02 Apr 2008 00:49:15 -0600 Eric W. Biederman wrote:
> 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.
Well. This is a problem in linux-next and in -mm, not yet in
mainline. Hopefully this patch (wherever it is) won't be merged
into mainline in its present form.
---
~Randy
prev parent reply other threads:[~2008-04-02 16:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-01 17:49 [PATCH linux-next] x86_32: fix VisualWS and Voyager kexec build failures Randy Dunlap
2008-04-02 6:49 ` Eric W. Biederman
2008-04-02 16:56 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080402095603.c5433526.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=ebiederm@xmission.com \
--cc=gcosta@redhat.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox