From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Cygwin bash's built-in test command crashes on Windows 2008 Server 64bit under KVM Date: Fri, 13 Feb 2009 22:28:45 +0200 Message-ID: <4995D7FD.9020609@redhat.com> References: <40ddf2480901050654y268213d1jbf34f9d81d6faeb0@mail.gmail.com> <40ddf2480901050822q52a9c2b6x5d5d87d17dec4992@mail.gmail.com> <49788A80.2070403@redhat.com> <87bptgnykd.fsf@fftw.org> <4995D180.9000706@redhat.com> <878woaozu2.fsf@matteo.cilk.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Matteo Frigo Return-path: Received: from mx2.redhat.com ([66.187.237.31]:54283 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752503AbZBMU2T (ORCPT ); Fri, 13 Feb 2009 15:28:19 -0500 In-Reply-To: <878woaozu2.fsf@matteo.cilk.lan> Sender: kvm-owner@vger.kernel.org List-ID: Matteo Frigo wrote: > Avi Kivity writes: > > >> Can you rerun on AMD, but set add npt=0 as a kvm-amd module parameter? >> This will determine if this is an mmu bug or kvm-intel bug. >> > > AMD works fine with npt=0, both cygwin and my setjmp()/longjmp() test > program. dmesg confirms that nested paging is disabled. > So it isn't the mmu. I'm a a little far latency-wise from an AMD host. Can you run this experiment on AMD (-monitor stdio will help): - run a cygwin program in an infinite loop (while :; do :; done is sufficient) - 'info registers', look at gdt - 'x/28x 0x$GDT' I'm interested in offset 0x28, but please provide the whole thing for sanity checking. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.