From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0xax-0007ST-LS for qemu-devel@nongnu.org; Sun, 11 Apr 2010 09:53:03 -0400 Received: from [140.186.70.92] (port=53290 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0xaw-0007RZ-FR for qemu-devel@nongnu.org; Sun, 11 Apr 2010 09:53:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0xau-0005r8-Kg for qemu-devel@nongnu.org; Sun, 11 Apr 2010 09:53:02 -0400 Received: from chello212186124096.11.vie.surfer.at ([212.186.124.96]:33707 helo=wiesinger.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0xau-0005qh-9Q for qemu-devel@nongnu.org; Sun, 11 Apr 2010 09:53:00 -0400 Date: Sun, 11 Apr 2010 15:52:30 +0200 (CEST) From: Gerhard Wiesinger Subject: Re: [Qemu-devel] Problem with QEMU on KVM In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mulyadi Santosa Cc: qemu-devel@nongnu.org On Sun, 11 Apr 2010, Mulyadi Santosa wrote: > Hi... > > On Sun, Apr 11, 2010 at 03:09, Gerhard Wiesinger wrote: >> Hello, >> >> Booting DOS 6.22 with NT4 Bootloader works fine. With enabled KVM it boots, >> but hangs at counting down the boot loader selection menu (30s, 29s, hang). >> Booting Knoppix 6.2 from CD wwith KVM orks well. >> >> Versions (0.12.3): >> x86_64-softmmu: OK >> i386-softmmu: OK >> x86_64-softmmu with -enable-kvm: Boot problem >> i386-softmmu with -enable-kvm: Boot problem >> >> Host is: Fedora 11 >> 2.6.30.10-105.2.23.fc11.x86 on AMD Phenom II Quad Core > > IMHO, the problem is, we have to find out first, how the bootloader do > the timing. Is it using tight loop? Counting from TSC? PIT? or else? > > I suggest to dump the executed TB in Qemu. Please read about -d option. > > NB: I am not an expert, just trying to help.... OK, uses the following ports: Port 0x20: 8259 interrupt controller Port 0x40: 8253 timer Interrupt 0x1A: ah=0x00: fetches system timer counters ah=0x02: reads the clock ah=0x04: fetches date So there must be something wrong with KVM with the above functionality (I guess the timers). Ciao, Gerhard -- http://www.wiesinger.com/