From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 11 09:07:35 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70DD616A42B; Wed, 11 Jan 2006 09:07:35 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E296044296; Wed, 11 Jan 2006 08:59:15 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1EwboO-000B6V-Tb; Wed, 11 Jan 2006 10:58:32 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: John Baldwin In-reply-to: Your message of Tue, 10 Jan 2006 13:49:53 -0500 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 11 Jan 2006 10:58:32 +0200 From: Danny Braniss Message-ID: Cc: freebsd-hackers@freebsd.org Subject: Re: pxeboot and serial console X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2006 09:07:35 -0000 > 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.