From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47763 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwAvN-0005Uf-00 for qemu-devel@nongnu.org; Sun, 06 Mar 2011 05:10:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwAvL-0007To-8f for qemu-devel@nongnu.org; Sun, 06 Mar 2011 05:10:52 -0500 Received: from mail-bw0-f45.google.com ([209.85.214.45]:53539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwAvK-0007TR-Qu for qemu-devel@nongnu.org; Sun, 06 Mar 2011 05:10:51 -0500 Received: by bwz16 with SMTP id 16so3201562bwz.4 for ; Sun, 06 Mar 2011 02:10:49 -0800 (PST) Message-ID: <4D735DA4.6050901@gmail.com> Date: Sun, 06 Mar 2011 12:10:44 +0200 From: vagran MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: EFI console stopped working in Qemu 0.14.0 References: <4D6EA921.60907@gmail.com> <4D6EB643.4030805@gmail.com> <20110303030353.GC1759@valinux.co.jp> <20110303030959.GD1759@valinux.co.jp> <4D6F387F.2000505@gmail.com> <0AC46461-5D0F-4B19-822D-C88B521E7DB0@adacore.com> <4D6FD79F.9000104@gmail.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------090007060207040900000509" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jordan Justen Cc: Isaku Yamahata , Tristan Gingold , qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------090007060207040900000509 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit When I trying to specify 64-bit EFI BIOS nothing happens on VGA nor serial console. It seems that CPU is continuously restarting. Build and host system is Ubuntu 9.10: Linux AST-mobile 2.6.31-22-generic-pae #73-Ubuntu SMP Fri Feb 11 18:39:01 UTC 2011 i686 GNU/Linux Qemu 0.14.0 was built with the following configuration options: ../src/configure --prefix=$PREFIX --target-list=x86_64-softmmu --source-path=../src --enable-kvm --extra-cflags=-I$PREFIX/include --extra-ldflags=-L$PREFIX/lib And launched: qemu-system-x86_64 -L $PHOBOS_PREFIX/share/qemu/phobos64 -bios OVMF.fd -m 768 -cpu core2duo -vga cirrus -monitor stdio -serial tcp::666,server -s -hdb $PHOBOS_PREFIX/share/qemu/phobos.disk -usb -enable-kvm OVMF X64 is r11337. "log cpu_reset" provides this information (continuously in a loop): CPU Reset (CPU 0) EAX=00000100 EBX=fffee0e4 ECX=c0000080 EDX=00000000 ESI=fffee2c4 EDI=00005042 EBP=fffee000 ESP=00000000 EIP=ffffff21 EFL=00010082 [--S----] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0008 00000000 ffffffff 00c09300 DPL=0 DS [-WA] CS =0010 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA] SS =0008 00000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0008 00000000 ffffffff 00c09300 DPL=0 DS [-WA] FS =0008 00000000 ffffffff 00c09300 DPL=0 DS [-WA] GS =0008 00000000 ffffffff 00c09300 DPL=0 DS [-WA] LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy GDT= ffffff80 0000001f IDT= 00000000 0000ffff CR0=40000023 CR2=00000000 CR3=ffffe000 CR4=00000660 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 CCS=00000000 CCD=00000000 CCO=DYNAMIC EFER=0000000000000000 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00000000 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000 XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000 XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000 XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000 Best regards, Artyom. Jordan Justen wrote: > On Thu, Mar 3, 2011 at 10:02, vagran wrote: > >> I have taken EFI BIOS image from >> http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=OVMF >> 32-bit version works perfectly. However 64-bit version for some reason >> doesn't work on >> qemu-system-x86_64. >> > > Hi. I was wondering if you could describe the OVMF issue you saw with > qemu-system-x86_64. > > I tried 0.14.0 with OVMF X64 (r11337), and it was able to boot to the EFI shell. > > I did see an issue while booting the 64-bit Ubuntu 10.10 live-cd, but > occurred on both the legacy (seabios) and uefi (ovmf) firmware. With > kvm 0.14.0, in both cases the OS boots most of the way, but the > graphics do not start properly when X starts. > > Thanks, > > -Jordan > --------------090007060207040900000509 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit When I trying to specify 64-bit EFI BIOS nothing happens on VGA
nor serial console. It seems that CPU is continuously restarting.

Build and host system is Ubuntu 9.10:
Linux AST-mobile 2.6.31-22-generic-pae #73-Ubuntu SMP Fri Feb 11 18:39:01 UTC 2011 i686 GNU/Linux

Qemu 0.14.0 was built with the following configuration options:
../src/configure --prefix=$PREFIX --target-list=x86_64-softmmu --source-path=../src --enable-kvm
--extra-cflags=-I$PREFIX/include --extra-ldflags=-L$PREFIX/lib

And launched:
qemu-system-x86_64 -L $PHOBOS_PREFIX/share/qemu/phobos64 -bios OVMF.fd -m 768 -cpu core2duo
-vga cirrus -monitor stdio -serial tcp::666,server -s -hdb $PHOBOS_PREFIX/share/qemu/phobos.disk -usb -enable-kvm

OVMF X64 is r11337.

"log cpu_reset" provides this information (continuously in a loop):
CPU Reset (CPU 0)
EAX=00000100 EBX=fffee0e4 ECX=c0000080 EDX=00000000
ESI=fffee2c4 EDI=00005042 EBP=fffee000 ESP=00000000
EIP=ffffff21 EFL=00010082 [--S----] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0008 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
CS =0010 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA]
SS =0008 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
DS =0008 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
FS =0008 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
GS =0008 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT
TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy
GDT=     ffffff80 0000001f
IDT=     00000000 0000ffff
CR0=40000023 CR2=00000000 CR3=ffffe000 CR4=00000660
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
CCS=00000000 CCD=00000000 CCO=DYNAMIC
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00000000
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
Best regards,
Artyom.
Jordan Justen wrote:
On Thu, Mar 3, 2011 at 10:02, vagran <vagran.ast@gmail.com> wrote:
  
I have taken EFI BIOS image from
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=OVMF
32-bit version works perfectly. However 64-bit version for some reason
doesn't work on
qemu-system-x86_64.
    

Hi.  I was wondering if you could describe the OVMF issue you saw with
qemu-system-x86_64.

I tried 0.14.0 with OVMF X64 (r11337), and it was able to boot to the EFI shell.

I did see an issue while booting the 64-bit Ubuntu 10.10 live-cd, but
occurred on both the legacy (seabios) and uefi (ovmf) firmware.  With
kvm 0.14.0, in both cases the OS boots most of the way, but the
graphics do not start properly when X starts.

Thanks,

-Jordan
  
--------------090007060207040900000509--