From owner-freebsd-current@FreeBSD.ORG Sun Apr 9 22:33:47 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 1C7B116A400; Sun, 9 Apr 2006 22:33:47 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75B5743D49; Sun, 9 Apr 2006 22:33:45 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k39MXiM3026359; Sun, 9 Apr 2006 16:33:44 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <44398BC8.6040808@samsco.org> Date: Sun, 09 Apr 2006 16:33:44 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxim Sobolev References: <4433CFA1.90509@centtech.com> <2C74BB8F-271B-4505-9D94-B270B3A4ACBA@nordahl.net> <44348603.9070503@FreeBSD.org> <20060406190944.G56354@lexi.siliconlandmark.com> <4435B303.5040205@FreeBSD.org> <196C209A-A585-4AD5-B7C9-A27DD57ECD8C@snsonline.net> <20060408103224.GR80492@spc.org> <20060408034357.A44217@xorpc.icir.org> <20060408105014.GV80492@spc.org> <44398452.6030007@FreeBSD.org> In-Reply-To: <44398452.6030007@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: Bruce M Simpson , Mark Sergeant , freebsd-current@freebsd.org, Luigi Rizzo Subject: Re: [DOCUMENT] Re: Intel Macs that boot FreeBSD? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 09 Apr 2006 22:33:47 -0000 Maxim Sobolev wrote: > Some progress: further investigation revealed that cdboot has been > hanging when trying to enable A20 line, apparently Mac simply don't have > relevant legacy hardware. After commenting out appropriate routine call > in cdboot I was able to get loader working just fine. The loader works > normally, but unfortunately attempt to start kernel hangs up machine. > > I suspect that either Mac doesn't have real text mode or kernel also > waits for some nonexisting legacy hardware indefinitely. > > -Maxim > The Windows 1st stage installer uses text mode, and that runs just fine. I'm pretty sure that the linux efforts also just use plain text mode. Text mode is a property of the video BIOS anyways, and from what I gather the Macintel video hardware is using video BIOSes that are close to stock. I'm guessing that FreeBSD is doing some BIOS call that isn't emulated or is emulated poorly. FreeBSD could also be trying to twiddle some MSR that is behaving as expected (like how the amd64 port used to enable the NX MSR by default, causing early 64-bit Intel chips to lock up). Scott