Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CentOS 6.5 KVM gPXE to iPXE emulation failed (mmio) rip 3d6 f2 af 83 c7
2014-09-09, 01:38
Post: #1
CentOS 6.5 KVM gPXE to iPXE emulation failed (mmio) rip 3d6 f2 af 83 c7
Long story short, I setup KVM on a CentOS 6.5 hypervisor. Using virt-install to start the VM, it never gets past iPXE and just gets stuck.

I even rebult an undionly.kpxe file to boot into shell, but it still gets stuck. Does anybody have an insight on what I'm doing wrong?

Quote:gPXE 0.9.7 -- Open Source Boot Firmware -- http://etherboot.org
Features: HTTP DNS TFTP AoE iSCSI bzImage COMBOOT ELF Multiboot PXE PXEXT

net0: AB:CD:EF:12:34:56 on PCI00:03.0 (open)
[Link:up, TX:0 TXE:0 RX:0 RXE:0]
Waiting for link-up on net0... ok
DHCP (net0 AB:CD:EF:12:34:56).... ok
net0: 1.1.1.33/255.255.255.0 gw 1.1.1.1
Next server: 1.1.1.23
Filename: undionly.ikpxe
tftp://1.1.1.23/undionly.kpxe.. ok
PXE->EB: !PXE at 9C37:0710, entry point at 9C37:0397
UNDI code segment 9C37:07A6, data segment 9CB2:2CD8 (624-638kB)
UNDI device is PCI 00:03.0, type gPXE
624kB free base memory after PXE unload
iPXE initialising devices...ok



iPXE 1.0.0+ (d97c) -- Open Source Network Boot Fi

On the hypervisor, I see the following:

Quote:kernel: emulation failed (mmio) rip 3d6 f2 af 83 c7

Or...

Quote:KVM internal error. Suberror: 1
rax 0000000000001e20 rbx 000000000000ffff rcx 000000000000fcff rdx 0000000000001e20
rsi 0000000000000063 rdi 000000000009fffe rsp 0000000000002e8c rbp 0000000000002e90
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 00000000000003d6 rflags 00010403
cs c000 (000c0000/0000ffff p 1 dpl 0 db 0 s 1 type b l 0 g 0 avl 0)
ds 0040 (00000400/0000ffff p 1 dpl 0 db 0 s 1 type 3 l 0 g 0 avl 0)
es 9f80 (0009f800/0000ffff p 1 dpl 0 db 0 s 1 type 3 l 0 g 0 avl 0)
ss 9915 (00099150/0000ffff p 1 dpl 0 db 0 s 1 type 3 l 0 g 0 avl 0)
fs 9915 (00099150/0000ffff p 1 dpl 0 db 0 s 1 type 3 l 0 g 0 avl 0)
gs 9915 (00099150/0000ffff p 1 dpl 0 db 0 s 1 type 3 l 0 g 0 avl 0)
tr 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0)
gdt 0/0
idt 0/3ff
cr0 10 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
emulation failure, check dmesg for details
Find all posts by this user
Quote this message in a reply
2014-09-16, 16:41
Post: #2
RE: CentOS 6.5 KVM gPXE to iPXE emulation failed (mmio) rip 3d6 f2 af 83 c7
(2014-09-09 01:38)theOtherGuy Wrote:  gPXE 0.9.7 -- Open Source Boot Firmware -- http://etherboot.org
Features: HTTP DNS TFTP AoE iSCSI bzImage COMBOOT ELF Multiboot PXE PXEXT

Change the PXE ROM used by your hypervisor. Either upgrade the hypervisor package to something more recent (which uses iPXE rather than gPXE), or replace the .rom file with one built from the current iPXE codebase.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)