Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 2004 16:33:30 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        Doug White <dwhite@gumbysoft.com>
Cc:        Deng XueFeng <dsnofe@yahoo.com.cn>
Subject:   Re: CPUTYPE?=athlon-xp breaks loader (was Re: instant reboot when trying to load recent RELENG_5 kernel)
Message-ID:  <200411021633.30318.jhb@FreeBSD.org>
In-Reply-To: <20041101190046.J56441@carver.gumbysoft.com>
References:  <20041031194121.FE2D.DSNOFE@yahoo.com.cn> <200411011752.34180.jhb@FreeBSD.org> <20041101190046.J56441@carver.gumbysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411021633.30318.jhb>