pxeboot and serial console

Danny Braniss danny at cs.huji.ac.il
Wed Jan 11 01:07:35 PST 2006


> On Tuesday 10 January 2006 09:11 am, Danny Braniss wrote:
> > I can't tell when this broke, but compiling pxeboot with
> > BOOT_PXELDR_PROBE_KEYBOARD set would redirect the console to the serial
> > port if no keyboard was detected. This no longer works, which explains
> > the problems i had with the serial port on my intel 1U servers.
> >
> > the relevant code is in /sys/boot/i386/pxeldr/pxeldr.S.
> >
> > compiling with BOOT_PXELDR_ALWAYS_SERIAL works as expected, so IMHO
> > the test:
> > 	testb $KEYBOARD_BIT, MEM_BIOS_KEYBOARD # keyboard present?
> > is failing, but i have no idea why
> >
> > any ideas?
> 
> USB keyboards?  Actually, it sounds in your case as if the BIOS is always 
> claiming a keyboard is present. Perhaps your BIOS is just being lame, but 
> that single test isn't the greatest test to use either.

2 words: Power Cycle
This will guarantee that the bios will/won't detect the keyboard.
all is ok now.





More information about the freebsd-hackers mailing list