From owner-freebsd-current@FreeBSD.ORG Thu Sep 11 13:44:48 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0FBD842 for ; Thu, 11 Sep 2014 13:44:48 +0000 (UTC) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "unsane.co.uk", Issuer "unsane.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B044D9B for ; Thu, 11 Sep 2014 13:44:47 +0000 (UTC) Received: from vhoffman.lon.namesco.net (lon.namesco.net [195.7.254.102]) (authenticated bits=0) by unsane.co.uk (8.14.9/8.14.8) with ESMTP id s8BDiiO6040479 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 11 Sep 2014 14:44:44 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <5411A74B.7090001@unsane.co.uk> Date: Thu, 11 Sep 2014 14:44:43 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: UEFI display frozen on Retina MacBook Pro References: <9C939A39-79DA-44A7-8C8C-48B6423B50D4@jnielsen.net> <20140905173019.GF36287@hub.FreeBSD.org> <97975F21-B733-4549-8ED8-8E86CBE6DEA7@jnielsen.net> <540DAD5F.3050902@icloud.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-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: Thu, 11 Sep 2014 13:44:48 -0000 On 09/09/2014 17:56, John Nielsen wrote: > On Sep 8, 2014, at 7:21 AM, Anders Bolt Evensen = wrote: > >> On 05.09.14 19:37, John Nielsen wrote: >>> On Sep 5, 2014, at 11:30 AM, Glen Barber wrote: >>> >>>> On Fri, Sep 05, 2014 at 11:20:21AM -0600, John Nielsen wrote: >>>>> I have a "MacBook Pro Retina, Mid 2012" (MacBookPro10,1) on which I= 'd like to be able to boot FreeBSD from an external USB drive. For testin= g I've been using the mini-memstick images from the -CURRENT snapshots, m= ost recently the one from 20140903. >>>>> >>>>> I am able to select "EFI Boot" on the USB device from the Mac's boo= t menu, and it does _something_, but the screen never changes--the image = of the boot menu is displayed indefinitely. I think it is actually bootin= g since there is drive activity and the caps lock key indicator starts wo= rking a few seconds in, but the screen just stays the same. Thinking the = resolution of the Retina display may have been an issue, I tried booting = with it disabled (lid closed) and an external monitor and keyboard. The r= esult was the same--Mac boot menu frozen on the external display. >>>>> >>>>> Is there anything I should try to troubleshoot or debug this issue?= Anything else I should include in a PR? I can test patches if needed (pr= obably after building an image including the patch from a VM). >>>>> >>>> To be clear, which boot menu do you see? If you see the FreeBSD loa= der >>>> menu, escape to the loader prompt and try: >>>> >>>> set kern.vty=3Dvt >>>> set hw.vga.textmode=3D1 >>>> boot >>>> >>>> I am a bit unclear under which conditions 'hw.vga.textmode=3D1' is >>>> required, though. >>> No, I don't ever see the FreeBSD loader. I see the menu you get on a = Mac when you hold down the option (alt) key while booting--big disk icons= representing the bootable disks/partitions in the system. In my case it = was the "Macintosh HD" volume (Mac OS Mavericks), my Windows partition, a= nd the USB stick with the FreeBSD memstick image on it, which the Mac jus= t called "EFI Boot" (and the icon was that of a USB disk). There is also = a little section at the bottom that allows wifi network booting (if you'v= e done all the black magic (not PXE) to get that to happen). It shows a c= ircular activity animation while it scans for wireless networks. That ani= mation stops when I select the USB EFI icon and press enter (and that is = the only visual indication I get that I made a selection). >> To see the FreeBSD (U)EFI boot loader on the Mac, you need to install = an EFI shell like rEFIt on either your hard drive or a HFS formatted memo= ry stick: >> 1) Download the rEFIt installer from here: http://downloads.sourceforg= e.net/project/refit/rEFIt/0.14/rEFIt-0.14.dmg?r=3Dhttp%3A%2F%2Frefit.sour= ceforge.net%2F&ts=3D1410181876&use_mirror=3Doptimate >> 2) Open the downloaded file >> 3) Run the following command from the terminal: sudo installer -pkg /V= olumes/rEFIt/rEFIt.mpkg -tgt /Volumes/memstick (in this example, I'm usin= g an HFS formatted memory stick). >> 4) Run the command "sudo /Volumes/memstick/efi/enable.sh" >> 5) When you reboot your Mac, when you hold down the alt key, choose rE= FIt on the startup menu. Then, choose the "BOOTx64.efi from =85" option >> If everything now goes as it should, you should see the FreeBSD loader= =2E When the "Press enter to boot or any other key to go to loader in X s= econds" (or whatever it says), press a random key. Then try to type the c= ommands suggested by [Glen Barber]. > Thanks all, made _some_ progress. > > I installed rEFInd on my internal hard drive and now I can get to (and = see!) the FreeBSD EFI loader. Unfortunately that's about as far as it get= s. Once I tell the loader to boot it displays the EFI framebuffer informa= tion and then nothing else. This happens with 'kern.vty=3Dvt' set and wit= h or without 'hw.vga.textmode=3D1'. > > Screenshot here: https://blog.jnielsen.net/images/efiloader.jpg > > What should the next troubleshooting steps be? Just wanted to add a me too. I've finding exactly the same thing trying a usb or DVD 11-CURRENT snapshot. Hardware is MacBook Pro (15-inch, Mid 2010) Model Name: MacBook Pro Model Identifier: MacBookPro6,2 Processor Name: Intel Core i7 Processor Speed: 2.66 GHz Number of Processors: 1 Total Number of Cores: 2 L2 Cache (per Core): 256 KB L3 Cache: 4 MB Memory: 8 GB Processor Interconnect Speed: 4.8 GT/s Boot ROM Version: MBP61.0057.B0F SMC Version (system): 1.58f17 Can upload a screenshot but its more or less identical to Johns. Vince > > JN > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >