[Bug 1266746] [NEW] x86_64: Fails to start using EFI firmware

TJ ubuntu at iam.tj
Tue Jan 7 12:29:01 UTC 2014


Public bug reported:

On Trusty x86_64 trying to to boot using the OVMF EFI firmware causes
some kind of lock-up. inside the VM as soon as it boots. The VM was
created through virt-manager. When it hung I copied the command-line and
stripped it down to run from the terminal. Diagnostic info suggests the
processor is stuck in the BIOS since the EIP doesn't change:

sudo qemu-system-x86_64 -enable-kvm  -name EFI -machine pc-i440fx-1.7,accel=kvm,usb=off -bios OVMF.f
d -m 1024 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 548c01f7-b107-3ac0-b15a-f36504dfe6
51 -no-user-config -nodefaults  -rtc base=localtime -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,
addr=0x1.0x2 -device ahci,id=ahci0,bus=pci.0,addr=0x6  -chardev pty,id=charserial0 -device isa-serial,cha
rdev=charserial0,id=serial0 -device usb-tablet,id=input0 -device VGA,id=video0,bus=pci.0,addr=0x2 -device
 intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device vi
rtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -monitor stdio

(qemu) info roms
/rom at genroms/kvmvapic.bin size=0x002400 name="kvmvapic.bin"
addr=00000000fff00000 size=0x100000 mem=rom name="OVMF.fd"
/rom at etc/acpi/tables size=0x002000 name="etc/acpi/tables"
/rom at etc/table-loader size=0x001000 name="etc/table-loader"
(qemu) info registers
EAX=c0000033 EBX=fffe60e4 ECX=c0000080 EDX=00000000
ESI=fffe62c4 EDI=00005042 EBP=fffe6000 ESP=00000000
EIP=ffffff2f EFL=00000082 [--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 TSS64-busy
GDT=     00000000ffffff80 0000001f
IDT=     0000000000000000 0000ffff
CR0=c0000033 CR2=0000000000000000 CR3=00000000ffffe000 CR4=00000660
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000500
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
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

** Affects: edk2 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: qemu (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: edk2 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1266746

Title:
  x86_64: Fails to start using EFI firmware

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1266746/+subscriptions



More information about the Ubuntu-server-bugs mailing list