<div dir="ltr"><div><div>Thanks Igor. The RIP isn't mapped in any elf. So probably my load address is problematic.<br><br></div>Regards<br></div>Himanshu<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 14, 2016 at 8:25 PM, Igor Skochinsky via coreboot <span dir="ltr"><<a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>
<span style="font-family:'Courier New';font-size:9pt">Hello Himanshu,<div><div class="h5"><br>
<br>
Wednesday, December 14, 2016, 10:11:57 AM, you wrote:<br>
<br>
</div></div></span><div><div class="h5"><table>
<tbody><tr>
<td width="14" bgcolor="#0000ff"><br>
</td>
<td width="861"><span style="font-family:'courier new';font-size:9pt">Hi,<br>
<br>
I am working on a hypvervisor and am using coreboot + FILO as guest BIOS. While things were fine a while back, it has stopped working. I see that my hypervisor can't handle address 0xFFFFFC while coreboot's RIP is at 0xfff81e41.<br>
<br>
The exact register dump of guest is as follow:<br>
<br>
[guest0/uart0] (__handle_vm_exception:558) ERROR: No region mapped to guest physical: 0xfffffc<br>
<br>
GUEST guest0/vcpu0 dump state:<br>
<br>
RAX: 0x9fe80 RBX: 0xfffff8 RCX: 0x1b RDX: 0x53a11439<br>
R08: 0x0 R09: 0x0 R10: 0x0 R11: 0x0<br>
R12: 0x0 R13: 0x0 R14: 0x0 R15: 0x0<br>
RSP: 0x9fe54 RBP: 0xa0000 RDI: 0xfff801e4 RSI: 0x9fe80<br>
RIP: 0xfff81e41<br>
<br>
CR0: 0xe0000011 CR2: 0x0 CR3: 0xa23000 CR4: 0x0<br>
CS    : Sel: 0x00000008 Limit: 0xffffffff Base: 0x00000000 (G:  1 DB:  1 L:  0 AVL:  0 P:  1 DPL:  0 S:  1 Type: 11)<br>
DS    : Sel: 0x00000010 Limit: 0xffffffff Base: 0x00000000 (G:  1 DB:  1 L:  0 AVL:  0 P:  1 DPL:  0 S:  1 Type:  3)<br>
ES    : Sel: 0x00000010 Limit: 0xffffffff Base: 0x00000000 (G:  1 DB:  1 L:  0 AVL:  0 P:  1 DPL:  0 S:  1 Type:  3)<br>
SS    : Sel: 0x00000010 Limit: 0xffffffff Base: 0x00000000 (G:  1 DB:  1 L:  0 AVL:  0 P:  1 DPL:  0 S:  1 Type:  3)<br>
FS    : Sel: 0x00000010 Limit: 0xffffffff Base: 0x00000000 (G:  1 DB:  1 L:  0 AVL:  0 P:  1 DPL:  0 S:  1 Type:  3)<br>
GS    : Sel: 0x00000010 Limit: 0xffffffff Base: 0x00000000 (G:  1 DB:  1 L:  0 AVL:  0 P:  1 DPL:  0 S:  1 Type:  3)<br>
GDT   : Sel: 0x00000000 Limit: 0x0000001f Base: 0xfff80200 (G:  0 DB:  0 L:  0 AVL:  0 P:  0 DPL:  0 S:  0 Type:  0)<br>
LDT   : Sel: 0x00000000 Limit: 0x0000ffff Base: 0x00000000 (G:  0 DB:  0 L:  0 AVL:  0 P:  0 DPL:  0 S:  0 Type:  0)<br>
IDT   : Sel: 0x00000000 Limit: 0x00000000 Base: 0x00000000 (G:  0 DB:  0 L:  0 AVL:  0 P:  0 DPL:  0 S:  0 Type:  0)<br>
TR    : Sel: 0x00000000 Limit: 0x0000ffff Base: 0x00000000 (G:  1 DB:  0 L:  1 AVL:  1 P:  0 DPL:  0 S:  0 Type:  0)<br>
RFLAGS: 0xa    [ ]<br>
<br>
I want to know which binary file (.o) should I disassemble to look at the RIP?<br>
<br>
I was looking at <br>
objdump -D  -mi386 -Maddr16,data16 generated/ramstage.o<br>
<br>
but this is prior to linking and thus only has offsets.<br>
<br>
-- <br>
<br>
Regards<br>
[Himanshu Chauhan]<br>
</span></td>
</tr>
</tbody></table>
<br><br>
</div></div><span style="font-family:'Courier New';font-size:9pt">Check the CBFS map at the end of build and the .elf files (not .o) in the build directory.<span class="HOEnZb"><font color="#888888"><br>
<br>
<span style="font-family:'arial';font-size:8pt;color:#c0c0c0"><i>-- <br>
WBR,<br>
 Igor                            <a style="font-style:normal" href="mailto:skochinsky@mail.ru" target="_blank">mailto:skochinsky@mail.ru</a></i></span></font></span></span></div>


<br>--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br>Regards<br>[Himanshu Chauhan]<br><br></div></div></div>
</div>