<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi, Wang Fei,<div>   Thanks for responding my post.  I put my own  boot loader in the MBR,  and I’m sure that my code can’t print that meassage. On the other hand, the error happens before seabios load the MBR at 0x7c00.  Thus I think it isn’t possible from MBR. <br><div><div>
<div>Yang Zhang</div><div><br></div><div><br></div><br class="Apple-interchange-newline">

</div>
<br><div><blockquote type="cite"><div>On Aug 20, 2014, at 6:42 AM, WANG FEI <<a href="mailto:wangfei.jimei@gmail.com">wangfei.jimei@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr">Yang Zhang,<div><br></div><div>Is it possible the error message from MBR?</div><div><br></div><div>-Fei</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 18, 2014 at 8:50 PM, Yang Zhang <span dir="ltr"><<a href="mailto:udapostate@gmail.com" target="_blank">udapostate@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
 I meet a boot failure when I use seabios to load my own boot loader  on virtual machine.  The error message printed on screen say that ”Error loading from operating system”, which neither comes from seabios or my boot loader(I have read the source code of seabios, but I didn’t find any code can print a such message). Actually I don’t  know where  the error message come from. Therefore I have to trace the execution of seabios and my boot loader. It seems like the error happens before seabios load my boot loader(in the file romlayout.S), but I don’t know the exact position. Can anyone tell me how to print something to screen in the romlayout.S? (I can’t use gdb to debug because the virtual machine is running on our own  OS). Thank you very much.<br>

Yang Zhang<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
SeaBIOS mailing list<br>
<a href="mailto:SeaBIOS@seabios.org">SeaBIOS@seabios.org</a><br>
<a href="http://www.seabios.org/mailman/listinfo/seabios" target="_blank">http://www.seabios.org/mailman/listinfo/seabios</a></blockquote></div><br></div>
</div></blockquote></div><br></div></div></body></html>