From: Petr Vandrovec <petr@vmware.com>
To: nigel@nigel.suspend2.net
Cc: Arjan van de Ven <arjan@infradead.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: VMware, x86_64 and 2.6.21.
Date: Wed, 02 May 2007 02:30:00 -0700 [thread overview]
Message-ID: <46385A18.30804@vmware.com> (raw)
In-Reply-To: <1178032456.13953.12.camel@nigel.suspend2.net>
Nigel Cunningham wrote:
> Hi Arjan.
>
> On Tue, 2007-05-01 at 07:57 -0700, Arjan van de Ven wrote:
>> On Tue, 2007-05-01 at 15:42 +1000, Nigel Cunningham wrote:
>>> Hi.
>>>
>>> Does anyone have VMware working on x86_64 with 2.6.21? It's working fine
>>> for me with 2.6.20, but freezes the whole computer with 2.6.21. Before I
>>> start a git-bisect, I thought I might ask if anyone knew of some
>>> compilation option I might have missed.
>>
>> if you want to ask questions about proprietary kernel stuff you're
>> better off asking the vendor directly, not lkml
>
> I did, but given that it the failure only appeared with a change of
> vanilla kernel version, I didn't think it was out of place to ask here
> too.
I thought I already talked about that on VMware's forums, but apparently
I just discussed it in email only. Culprit (if I can say that) is
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=610142927b5bc149da92b03c7ab08b8b5f205b74
It changed interrupt layout - before that change IRQ 0-15 were using
vectors 0x20-0x2F, after change they use interrupts 0x30-0x3F. Which
has unfortunate effect that when hardware IRQ 8 arrives while VM is
running, vmm believes that it internally used 'INT 0x38' to call some
hypervisor service - and (1) hardware interrupt is never acknowledged,
and (2) hypervisor issues random operation depending on contents of
registers at the time interrupt arrived. Both are quite bad, and usual
result is that VMware panics, and while writing core dump kernel hangs
as IOAPIC believes that there is IRQ 8 in service, and so it does not
ever deliver IRQs 14/15 for legacy IDE harddisks (which are at same level).
One of possible fixes (if you need to run older products than VMware
Workstation 6 on 64bit 2.6.21+) is replacing
#define IRQ0_VECTOR FIRST_EXTERNAL_VECTOR + 0x10
with
#define IRQ0_VECTOR FIRST_EXTERNAL_VECTOR + 0x08
Then IRQ 0x38 will be skipped. Other option is move only IRQ8_VECTOR
somewhere else (into 0x21-0x2F range).
Petr Vandrovec
P.S.: Well, and obviously this has nothing to do with vmmon...
next prev parent reply other threads:[~2007-05-02 9:29 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-01 5:42 VMware, x86_64 and 2.6.21 Nigel Cunningham
2007-05-01 6:13 ` Jeff Chua
2007-05-01 6:33 ` Nigel Cunningham
2007-05-01 11:09 ` Jan Engelhardt
2007-05-01 12:51 ` Jeff Chua
2007-05-01 7:24 ` Michael Gerdau
2007-05-01 7:36 ` Nigel Cunningham
2007-05-01 11:10 ` Jan Engelhardt
2007-05-01 11:54 ` Nigel Cunningham
2007-05-01 13:46 ` Mark Lord
2007-05-01 15:09 ` Nigel Cunningham
2007-05-01 14:57 ` Arjan van de Ven
2007-05-01 15:14 ` Nigel Cunningham
2007-05-02 9:30 ` Petr Vandrovec [this message]
2007-05-04 11:40 ` Eric W. Biederman
2007-05-04 15:08 ` Zachary Amsden
2007-05-04 20:14 ` Eric W. Biederman
2007-05-04 21:04 ` Zachary Amsden
2007-05-05 9:56 ` Christoph Hellwig
2007-05-05 18:06 ` John Anthony Kazos Jr.
2007-05-06 7:16 ` Valdis.Kletnieks
2007-05-06 11:08 ` Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2007-05-01 6:50 Marcos Pinto
2007-05-01 7:06 ` Nigel Cunningham
2007-05-01 22:38 ` Zachary Amsden
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=46385A18.30804@vmware.com \
--to=petr@vmware.com \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nigel@nigel.suspend2.net \
/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;
as well as URLs for NNTP newsgroup(s).