[SeaBIOS] MINIX 3.1.6 works in QEMU-0.12.3 only with KVM disabled

Gleb Natapov gleb at redhat.com
Thu Mar 18 17:14:41 CET 2010


On Thu, Mar 18, 2010 at 11:07:44AM -0400, Kevin O'Connor wrote:
> On Tue, Mar 16, 2010 at 08:34:33AM +0200, Gleb Natapov wrote:
> > On Mon, Mar 15, 2010 at 07:37:56PM -0400, Kevin O'Connor wrote:
> > > However, it's not clear why it would make a difference.  The segment
> > > limit is shown as 0xffff here - it's the segment base which is not
> > > aligned.  On return to real mode, the segment base should have been
> > > reloaded..
> > > 
> > What part of Intel SDM says so?
> 
> SeaBIOS had an explicit segment load of DS and ES in real mode.  The
> segment loads in real mode should have loaded new segment bases.  I
> haven't had a chance to find a reference in the SDM - do you think
> this is not so?
Explicit segment load in real mode should reset base and limit to
correct values, but you wrote "On return to real mode, the segment base
should have been reloaded" and this is not the case AFAIK.
May be I misunderstood what you mean.

> 
> In any case, it's a SeaBIOS bug because the segment limits and flags
> would be off - the fix is commit c35e1e50.  If this also makes things
> work from KVM, that's all the better.
> 
Thanks!

--
			Gleb.



More information about the SeaBIOS mailing list