From owner-freebsd-current@FreeBSD.ORG Tue Nov 2 21:11:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3C0716A58A for ; Tue, 2 Nov 2004 21:11:22 +0000 (GMT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A20843D39 for ; Tue, 2 Nov 2004 21:11:22 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 2398 invoked from network); 2 Nov 2004 21:11:22 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 2 Nov 2004 21:11:21 -0000 Received: from [10.50.41.235] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id iA2LAuYT070948; Tue, 2 Nov 2004 16:11:18 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Doug White Date: Tue, 2 Nov 2004 16:33:30 -0500 User-Agent: KMail/1.6.2 References: <20041031194121.FE2D.DSNOFE@yahoo.com.cn> <200411011752.34180.jhb@FreeBSD.org> <20041101190046.J56441@carver.gumbysoft.com> In-Reply-To: <20041101190046.J56441@carver.gumbysoft.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200411021633.30318.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: freebsd-current@FreeBSD.org cc: Deng XueFeng Subject: Re: CPUTYPE?=athlon-xp breaks loader (was Re: instant reboot when trying to load recent RELENG_5 kernel) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 21:11:26 -0000 On Monday 01 November 2004 10:02 pm, Doug White wrote: > On Mon, 1 Nov 2004, John Baldwin wrote: > > Your BIOS writer needs to be beaten with a blunt instrument. They are > > trying to enter protected mode themselves and not handling the fact that > > they can be called from vm86 mode. There's not much FreeBSD can do about > > narrow-minded, kludgey BIOS code. > > ISTR that some BIOSen try to play this game because they are trying to see > if UDMA works. Try demoting the disk to PIO in the BIOS; FreBSD ignores > this setting when configuring disks, so its safe to leave that way. That code in the Compaq/HP boxes is smarter, it doesn't unconditionally go into protected mode. This sounds like the USB code in this BIOS is just buggy and is probably using protected mode to access the PCI config registers instead of using int 15h, function 87h like well-behaved BIOS writers do. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org