[syslinux] The simple menu system doesn't work with serial console

hiranotaka at zng.info hiranotaka at zng.info
Sun Oct 29 15:54:23 PST 2006


Hello,

I have just get started using pxelinux, and encountered a problem.
The document says the simple menu system supports serial console,
and it works on syslinux 0.2x, but it doesn't seem to work in 0.3x and 0.4x.
I confirmed that this patch fixed the bug.

*** com32/lib/sys/xserial_write.c~      2006-10-30 08:30:35.000000000 +0900
--- com32/lib/sys/xserial_write.c       2006-10-30 08:31:30.000000000 +0900
***************
*** 43,49 ****
  {
    static com32sys_t ireg;     /* Zeroed with the BSS */

!   ireg.eax.w[0] = 0x0400 | (unsigned char)ch;

    __intcall(0x21, &ireg, NULL);
  }
--- 43,50 ----
  {
    static com32sys_t ireg;     /* Zeroed with the BSS */

!   ireg.eax.b[1] = 0x04;
!   ireg.edx.b[0] = ch;

    __intcall(0x21, &ireg, NULL);
  }


--
HIRANO Takahito
hiranotaka%zng.info




More information about the Syslinux mailing list