pxeboot and serial console

John Baldwin jhb at freebsd.org
Tue Jan 10 10:55:10 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.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-hackers mailing list