From owner-freebsd-current@FreeBSD.ORG Mon Sep 8 14:21:47 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 1612BB4E; Mon, 8 Sep 2014 14:21:47 +0000 (UTC) Received: from st11p00mm-asmtp004.mac.com (st11p00mm-asmtp004.mac.com [17.172.81.3]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.me.com", Issuer "VeriSign Class 3 Extended Validation SSL SGC CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB1F0139C; Mon, 8 Sep 2014 14:21:46 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=windows-1252; format=flowed Received: from andersbo-mac.local (ti0025a400-3490.bb.online.no [85.167.24.175]) by st11p00mm-asmtp004.mac.com (Oracle Communications Messaging Server 7u4-27.10(7.0.4.27.9) 64bit (built Jun 6 2014)) with ESMTPSA id <0NBL0022K3RZL570@st11p00mm-asmtp004.mac.com>; Mon, 08 Sep 2014 13:21:38 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52,1.0.27,0.0.0000 definitions=2014-09-08_02:2014-09-08,2014-09-08,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=18 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1409080122 Message-id: <540DAD5F.3050902@icloud.com> Date: Mon, 08 Sep 2014 15:21:35 +0200 From: Anders Bolt Evensen User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.0 To: gjb@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> In-reply-to: <97975F21-B733-4549-8ED8-8E86CBE6DEA7@jnielsen.net> Cc: freebsd-current@freebsd.org 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: Mon, 08 Sep 2014 14:21:47 -0000 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 testing I've been using the mini-memstick images from the -CURRENT snapshots, most recently the one from 20140903. >>> >>> I am able to select "EFI Boot" on the USB device from the Mac's boot menu, and it does _something_, but the screen never changes--the image of the boot menu is displayed indefinitely. I think it is actually booting since there is drive activity and the caps lock key indicator starts working 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 result 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 (probably after building an image including the patch from a VM). >>> >> To be clear, which boot menu do you see? If you see the FreeBSD loader >> menu, escape to the loader prompt and try: >> >> set kern.vty=vt >> set hw.vga.textmode=1 >> boot >> >> I am a bit unclear under which conditions 'hw.vga.textmode=1' 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, and the USB stick with the FreeBSD memstick image on it, which the Mac just 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've done all the black magic (not PXE) to get that to happen). It shows a circular activity animation while it scans for wireless networks. That animation 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). > > 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.org" 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 memory stick: 1) Download the rEFIt installer from here: http://downloads.sourceforge.net/project/refit/rEFIt/0.14/rEFIt-0.14.dmg?r=http%3A%2F%2Frefit.sourceforge.net%2F&ts=1410181876&use_mirror=optimate 2) Open the downloaded file 3) Run the following command from the terminal: sudo installer -pkg /Volumes/rEFIt/rEFIt.mpkg -tgt /Volumes/memstick (in this example, I'm using 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 rEFIt on the startup menu. Then, choose the "BOOTx64.efi from …" option If everything now goes as it should, you should see the FreeBSD loader. When the "Press enter to boot or any other key to go to loader in X seconds" (or whatever it says), press a random key. Then try to type the commands suggested by John Nielsen. Hope this helps. :)