From owner-cvs-src@FreeBSD.ORG Wed Apr 12 16:56:13 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1115D16A401; Wed, 12 Apr 2006 16:56:13 +0000 (UTC) (envelope-from wes@opensail.org) Received: from softweyr.homeunix.net (cpe-66-75-60-23.san.res.rr.com [66.75.60.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 751E643D5D; Wed, 12 Apr 2006 16:56:12 +0000 (GMT) (envelope-from wes@opensail.org) Received: from [192.168.4.63] (intergate.ipinc.com [198.147.128.129]) (authenticated bits=0) by softweyr.homeunix.net (8.13.3/8.13.3) with ESMTP id k3CGuBlg081594 (version=TLSv1/SSLv3 cipher=EDH-DSS-DES-CBC3-SHA bits=168 verify=NO); Wed, 12 Apr 2006 09:56:11 -0700 (PDT) (envelope-from wes@opensail.org) In-Reply-To: <200604110818.20705.jhb@freebsd.org> References: <200604110439.k3B4dTOD072774@repoman.freebsd.org> <200604110818.20705.jhb@freebsd.org> Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4F4CF4E1-6A65-4129-9F21-ED466E433BAA@opensail.org> Content-Transfer-Encoding: 7bit From: Wes Peters Date: Wed, 12 Apr 2006 09:56:12 -0700 To: John Baldwin X-Mailer: Apple Mail (2.749.3) Cc: Maxim Sobolev , src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386/cdboot cdboot.s X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2006 16:56:13 -0000 On Apr 11, 2006, at 5:18 AM, John Baldwin wrote: > On Tuesday 11 April 2006 12:39 am, Maxim Sobolev wrote: >> sobomax 2006-04-11 04:39:29 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/boot/i386/cdboot cdboot.s >> Log: >> When enabling A20 put upper limit on amount of time we wait for the >> keyboard controller to get ready (65K x ISA access time, visually >> around 1 >> second). If we have wait more than that amount it's likely that the >> hardware is a legacy-free one and simply doesn't have keyboard >> controller >> and doesn't require enabling A20 at all. >> >> This makes cdboot working for MacBook Pro with Boot Camp. > > You'll probably need to do the same for boot1 and I think BTX. > Alternatively, you should see how the loader is handling A20 and > do that in the various boot programs instead (I think there's a PR > somewhere about using a BIOS call instead of frobbing the keyboard > controller directly that supposedly fixes things like USB keyboards > in the loader.) Do you think this might also be the problem that prevents FreeBSD from booting on Virtual PC for Mac OS/PPC? That's been frustrating me for months, but I haven't had time to do anything about it. -- Where am I, and what am I doing in this handbasket? Wes Peters wes@softweyr.com