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?
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.
-Kevin