mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kexec with vmware esx 3.0.2
@ 2008-10-03 21:08 Yinghai Lu
  2008-10-03 21:21 ` Zachary Amsden
  0 siblings, 1 reply; 10+ messages in thread
From: Yinghai Lu @ 2008-10-03 21:08 UTC (permalink / raw)
  To: Eric W. Biederman, Vivek Goyal, Zachary Amsden, Alok Kataria
  Cc: Linux Kernel Mailing List, kexec

anyone tried to use linux kernel to kexec vmware esx?

YH

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kexec with vmware esx 3.0.2
  2008-10-03 21:08 kexec with vmware esx 3.0.2 Yinghai Lu
@ 2008-10-03 21:21 ` Zachary Amsden
  2008-10-03 21:40   ` Yinghai Lu
  0 siblings, 1 reply; 10+ messages in thread
From: Zachary Amsden @ 2008-10-03 21:21 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: Eric W. Biederman, Vivek Goyal, Alok Kataria,
	Linux Kernel Mailing List, kexec

On Fri, 2008-10-03 at 14:08 -0700, Yinghai Lu wrote:
> anyone tried to use linux kernel to kexec vmware esx?

That would not be a recommended practice.  It might work.  It should not
be very useful.

Zach


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kexec with vmware esx 3.0.2
  2008-10-03 21:21 ` Zachary Amsden
@ 2008-10-03 21:40   ` Yinghai Lu
  2008-10-03 21:48     ` Zachary Amsden
  0 siblings, 1 reply; 10+ messages in thread
From: Yinghai Lu @ 2008-10-03 21:40 UTC (permalink / raw)
  To: Zachary Amsden
  Cc: Eric W. Biederman, Vivek Goyal, Alok Kataria,
	Linux Kernel Mailing List, kexec

On Fri, Oct 3, 2008 at 2:21 PM, Zachary Amsden <zach@vmware.com> wrote:
> On Fri, 2008-10-03 at 14:08 -0700, Yinghai Lu wrote:
>> anyone tried to use linux kernel to kexec vmware esx?
>
> That would not be a recommended practice.  It might work.  It should not
> be very useful.
>

esx 3.0.2 relys on correct mps table,
could boot linux with update_mptable or alloc_mptable, and then load
vmware with kexec.

YH

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kexec with vmware esx 3.0.2
  2008-10-03 21:40   ` Yinghai Lu
@ 2008-10-03 21:48     ` Zachary Amsden
  2008-10-03 21:58       ` Yinghai Lu
  0 siblings, 1 reply; 10+ messages in thread
From: Zachary Amsden @ 2008-10-03 21:48 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: Eric W. Biederman, Vivek Goyal, Alok Kataria,
	Linux Kernel Mailing List, kexec

On Fri, 2008-10-03 at 14:40 -0700, Yinghai Lu wrote:
> On Fri, Oct 3, 2008 at 2:21 PM, Zachary Amsden <zach@vmware.com> wrote:
> > On Fri, 2008-10-03 at 14:08 -0700, Yinghai Lu wrote:
> >> anyone tried to use linux kernel to kexec vmware esx?
> >
> > That would not be a recommended practice.  It might work.  It should not
> > be very useful.
> >
> 
> esx 3.0.2 relys on correct mps table,
> could boot linux with update_mptable or alloc_mptable, and then load
> vmware with kexec.

And end up running ESX on hardware where it is not supported and you
already have a buggy BIOS?  Yeah, it might work, but it should not be
very useful.

Zach


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kexec with vmware esx 3.0.2
  2008-10-03 21:48     ` Zachary Amsden
@ 2008-10-03 21:58       ` Yinghai Lu
  2008-10-03 22:08         ` Zachary Amsden
  0 siblings, 1 reply; 10+ messages in thread
From: Yinghai Lu @ 2008-10-03 21:58 UTC (permalink / raw)
  To: Zachary Amsden
  Cc: Eric W. Biederman, Vivek Goyal, Alok Kataria,
	Linux Kernel Mailing List, kexec

On Fri, Oct 3, 2008 at 2:48 PM, Zachary Amsden <zach@vmware.com> wrote:
> On Fri, 2008-10-03 at 14:40 -0700, Yinghai Lu wrote:
>> On Fri, Oct 3, 2008 at 2:21 PM, Zachary Amsden <zach@vmware.com> wrote:
>> > On Fri, 2008-10-03 at 14:08 -0700, Yinghai Lu wrote:
>> >> anyone tried to use linux kernel to kexec vmware esx?
>> >
>> > That would not be a recommended practice.  It might work.  It should not
>> > be very useful.
>> >
>>
>> esx 3.0.2 relys on correct mps table,
>> could boot linux with update_mptable or alloc_mptable, and then load
>> vmware with kexec.
>
> And end up running ESX on hardware where it is not supported and you
> already have a buggy BIOS?
BIOS is not buggy... vmware seems not to be smart enough to correct pic mode.
because current linux kernel could works well with acpi=off

YH

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kexec with vmware esx 3.0.2
  2008-10-03 21:58       ` Yinghai Lu
@ 2008-10-03 22:08         ` Zachary Amsden
  2008-10-03 22:51           ` Yinghai Lu
  0 siblings, 1 reply; 10+ messages in thread
From: Zachary Amsden @ 2008-10-03 22:08 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: Eric W. Biederman, Vivek Goyal, Alok Kataria,
	Linux Kernel Mailing List, kexec

On Fri, 2008-10-03 at 14:58 -0700, Yinghai Lu wrote:
> On Fri, Oct 3, 2008 at 2:48 PM, Zachary Amsden <zach@vmware.com> wrote:
> > On Fri, 2008-10-03 at 14:40 -0700, Yinghai Lu wrote:
> >> On Fri, Oct 3, 2008 at 2:21 PM, Zachary Amsden <zach@vmware.com> wrote:
> >> > On Fri, 2008-10-03 at 14:08 -0700, Yinghai Lu wrote:
> >> >> anyone tried to use linux kernel to kexec vmware esx?
> >> >
> >> > That would not be a recommended practice.  It might work.  It should not
> >> > be very useful.
> >> >
> >>
> >> esx 3.0.2 relys on correct mps table,
> >> could boot linux with update_mptable or alloc_mptable, and then load
> >> vmware with kexec.
> >
> > And end up running ESX on hardware where it is not supported and you
> > already have a buggy BIOS?
> BIOS is not buggy... vmware seems not to be smart enough to correct pic mode.
> because current linux kernel could works well with acpi=off

BIOS is missing correct MP table.  Thus buggy.  You should not be trying
to run ESX on buggy hardware.

Zach


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kexec with vmware esx 3.0.2
  2008-10-03 22:08         ` Zachary Amsden
@ 2008-10-03 22:51           ` Yinghai Lu
  2008-10-03 22:58             ` Zachary Amsden
  0 siblings, 1 reply; 10+ messages in thread
From: Yinghai Lu @ 2008-10-03 22:51 UTC (permalink / raw)
  To: Zachary Amsden
  Cc: Eric W. Biederman, Vivek Goyal, Alok Kataria,
	Linux Kernel Mailing List, kexec

On Fri, Oct 3, 2008 at 3:08 PM, Zachary Amsden <zach@vmware.com> wrote:
> On Fri, 2008-10-03 at 14:58 -0700, Yinghai Lu wrote:
>> On Fri, Oct 3, 2008 at 2:48 PM, Zachary Amsden <zach@vmware.com> wrote:
>> > On Fri, 2008-10-03 at 14:40 -0700, Yinghai Lu wrote:
>> >> On Fri, Oct 3, 2008 at 2:21 PM, Zachary Amsden <zach@vmware.com> wrote:
>> >> > On Fri, 2008-10-03 at 14:08 -0700, Yinghai Lu wrote:
>> >> >> anyone tried to use linux kernel to kexec vmware esx?
>> >> >
>> >> > That would not be a recommended practice.  It might work.  It should not
>> >> > be very useful.
>> >> >
>> >>
>> >> esx 3.0.2 relys on correct mps table,
>> >> could boot linux with update_mptable or alloc_mptable, and then load
>> >> vmware with kexec.
>> >
>> > And end up running ESX on hardware where it is not supported and you
>> > already have a buggy BIOS?
>> BIOS is not buggy... vmware seems not to be smart enough to correct pic mode.
>> because current linux kernel could works well with acpi=off
>
> BIOS is missing correct MP table.  Thus buggy.  You should not be trying
> to run ESX on buggy hardware.

BIOS has correct mptable for linux but not for esx.

ok, my question is: anyone tried to use kexec with vmware?

YH

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kexec with vmware esx 3.0.2
  2008-10-03 22:51           ` Yinghai Lu
@ 2008-10-03 22:58             ` Zachary Amsden
  2008-10-03 23:45               ` Yinghai Lu
  0 siblings, 1 reply; 10+ messages in thread
From: Zachary Amsden @ 2008-10-03 22:58 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: Eric W. Biederman, Vivek Goyal, Alok Kataria,
	Linux Kernel Mailing List, kexec

On Fri, 2008-10-03 at 15:51 -0700, Yinghai Lu wrote:

> ok, my question is: anyone tried to use kexec with vmware?

Do you mean has anyone tried to use kexec in Linux running under VMware,
or do you mean has anyone tried to use kexec to start ESX?

My answers: yes, and I would hope not.

Zach


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kexec with vmware esx 3.0.2
  2008-10-03 22:58             ` Zachary Amsden
@ 2008-10-03 23:45               ` Yinghai Lu
  2008-10-04  5:41                 ` Zachary Amsden
  0 siblings, 1 reply; 10+ messages in thread
From: Yinghai Lu @ 2008-10-03 23:45 UTC (permalink / raw)
  To: Zachary Amsden
  Cc: Eric W. Biederman, Vivek Goyal, Alok Kataria,
	Linux Kernel Mailing List, kexec

On Fri, Oct 3, 2008 at 3:58 PM, Zachary Amsden <zach@vmware.com> wrote:
> On Fri, 2008-10-03 at 15:51 -0700, Yinghai Lu wrote:
>
>> ok, my question is: anyone tried to use kexec with vmware?
>
> Do you mean has anyone tried to use kexec in Linux running under VMware,

that should work

> or do you mean has anyone tried to use kexec to start ESX?

yeah, that is strange request. hope it work..

YH

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kexec with vmware esx 3.0.2
  2008-10-03 23:45               ` Yinghai Lu
@ 2008-10-04  5:41                 ` Zachary Amsden
  0 siblings, 0 replies; 10+ messages in thread
From: Zachary Amsden @ 2008-10-04  5:41 UTC (permalink / raw)
  To: Yinghai Lu
  Cc: Eric W. Biederman, Vivek Goyal, Alok Kataria,
	Linux Kernel Mailing List, kexec

On Fri, 2008-10-03 at 16:45 -0700, Yinghai Lu wrote:
> On Fri, Oct 3, 2008 at 3:58 PM, Zachary Amsden <zach@vmware.com> wrote:
> > On Fri, 2008-10-03 at 15:51 -0700, Yinghai Lu wrote:
> >
> >> ok, my question is: anyone tried to use kexec with vmware?
> >
> > Do you mean has anyone tried to use kexec in Linux running under VMware,
> 
> that should work

It does.

> > or do you mean has anyone tried to use kexec to start ESX?
> 
> yeah, that is strange request. hope it work..

Well you're a braver soul than me.  If your hardware is really so horked
you can't boot Linux without noacpi, I seriously doubt the vmkernel will
run properly.  You might be able to kexec the Linux pre-bootstrapping
bit, the the vmkernel is not even close to the same code lineage and has
a limited and very fixed set of hardware requirements.  And you are
talking about fixing up the MP table and interfering with the custom
boot process?  I would not for any amount of money want to find out what
kind of squirrels are hiding in that nest.

I mean can you run Oracle on an overclocked budget brand laptop?  Well,
maybe.

But you're talking about running an enterprise class application on
dodgy hardware, and that is seriously stretching the realms of sanity.

I kinda don't think this is really interesting to the folks on LKML, you
could try asking over on the VMware forums.

Good luck,

Zach


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-10-04  5:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-03 21:08 kexec with vmware esx 3.0.2 Yinghai Lu
2008-10-03 21:21 ` Zachary Amsden
2008-10-03 21:40   ` Yinghai Lu
2008-10-03 21:48     ` Zachary Amsden
2008-10-03 21:58       ` Yinghai Lu
2008-10-03 22:08         ` Zachary Amsden
2008-10-03 22:51           ` Yinghai Lu
2008-10-03 22:58             ` Zachary Amsden
2008-10-03 23:45               ` Yinghai Lu
2008-10-04  5:41                 ` Zachary Amsden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®