[SeaBIOS] [PATCH 0/7] serial console support

Kevin O'Connor kevin at koconnor.net
Wed Oct 19 02:20:14 CEST 2016


On Wed, Sep 28, 2016 at 11:07:13AM +0200, Gerd Hoffmann wrote:
>   Hi,
> 
> After a looong break finally the next round
> of the seabios serial console patches.

Hi Gerd,

Sorry for the delay in responding.

I ran some tests on your series and it looks like it causes issues
with some systems that are picky about the vgabios.

It looks like it tickles the skifree bug.  Test case is windows vista
running the ancient dos program skifree.  When we last investigated
this, it looked like anything in the vgabios path that tries to write
to memory above 0xc0000 causes problems.  The SeaBIOS extra stack is
in that range by default.

It originally looked like old versions of x86emu were working.  But
when I apply a trivial debugging patch (see below) I then find I can't
start X.  Test case is an old fedora13 image.  I suspect that random
code movement could cause x86emu to sometimes hit a problematic
instruction and sometimes not.

I don't see these issues with sgabios.

-Kevin


--- a/src/sercon.c
+++ b/src/sercon.c
@@ -483,6 +483,7 @@ sercon_10_splitmode(struct bregs *regs)
         return;
     if (!GET_LOW(sercon_port))
         return;
+    dprintf(1, "here\n");
 
     switch (regs->ah) {
     case 0x01:



More information about the SeaBIOS mailing list