From owner-freebsd-stable@FreeBSD.ORG Fri Mar 8 01:51:52 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DE1113C3 for ; Fri, 8 Mar 2013 01:51:52 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) by mx1.freebsd.org (Postfix) with ESMTP id 9FFEC9A for ; Fri, 8 Mar 2013 01:51:52 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id h2so1451129oag.10 for ; Thu, 07 Mar 2013 17:51:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=/BKFJmpm9H6cbaYp/9GAoD5BGaYkPzUOJz6LAqS+msw=; b=dAQuPa5Q/7RI5aD8AlruYn5ntBybs2uH6AMXNrJEfRUxOkWl1A08wUEb2tC1KCAscB mbtAEqs2Q81oZ+SgCyH7pVfg8yrpHSbnPfqhX1HfrExCKg2v4BeMVI0aQxR04J4iRtzs A2ux54w4jNvR/e2nj30wF2/DyTx89g+BHPXkrmbc9/UJkRqsrMpZWLKEX36etQl6NrJz HnnAWDa+g8J/um4tRrETWfIUiWnJto3LwjB0Mct10x5Ek+rgnJdVxWQ2a4DLFt8S23T0 ZiH5jn77R1U5ix+UXUKfKeYucANKufGNcuJvW2qgXAd3mMGmYxBe6LY+UG3F3+boXEPV pZxA== MIME-Version: 1.0 X-Received: by 10.182.136.72 with SMTP id py8mr357547obb.0.1362707506215; Thu, 07 Mar 2013 17:51:46 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.76.11.165 with HTTP; Thu, 7 Mar 2013 17:51:46 -0800 (PST) In-Reply-To: <71F173FA-CB9C-43B4-A702-ABA82268EA83@lafn.org> References: <51CB1227-3A5F-4688-B48D-4D0E47A17572@lafn.org> <5138A742.3090200@wintek.com> <97F9BA96-A328-4EF9-8E39-A8160AF9EB7A@lafn.org> <71F173FA-CB9C-43B4-A702-ABA82268EA83@lafn.org> Date: Thu, 7 Mar 2013 17:51:46 -0800 X-Google-Sender-Auth: SfEXpxfh1cJ2_vwAQ2jKDctI2n4 Message-ID: Subject: Re: Sanity Check on Mac Mini From: Kevin Oberman To: Doug Hardie Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: rjk@wintek.com, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2013 01:51:52 -0000 On Thu, Mar 7, 2013 at 2:18 PM, Doug Hardie wrote: > > On 7 March 2013, at 11:57, Kevin Oberman wrote: > > > On Thu, Mar 7, 2013 at 11:10 AM, Doug Hardie wrote: > > > > On 7 March 2013, at 06:42, Richard Kuhns wrote: > > > > > On 03/07/13 01:59, Doug Hardie wrote: > > >> I have a new Mac Mini and have encountered the same problem reported > last year by Richard Kuhns. YongHyeon PYUN provided some patches to the > kernel that resolved the problem. However, without an internet connection > its a bit tricky to get them into the system. Here is the approach I > believe will work, but wanted to check first before I really mess things up. > > >> > > >> 1. Downloaded from current today via svnweb.freebsd.org: > > >> sys/dev/bge/if_bgereg.h > > >> sys/dev/bge/if_bge.c > > >> sys/dev/mii/brgphy.c > > >> > > >> I believe the patches are incorporated in today's versions. The > comments indicate such. Thus I don't need to apply the original supplied > patch. > > >> > > >> 2. Put those on a flash drive. > > >> > > >> 3. Install 9.1 release from flash drive onto the Mini disk. Have to > include the system source. > > >> > > >> 4. Copy the files from 1 above from flash over the files on the disk. > > >> > > >> 5. Rebuild the kernel and install it. > > >> > > >> Thanks, > > >> > > >> -- Doug > > > > > > That's worked for me 3 times now. > > > > Thanks. Well, I got 9.1 Release installed, but it won't boot from the > internal disk. It doesn't see the disk as bootable. I installed using the > entire disk for FreeBSD. I used the i386 release. Perhaps I need to > switch to the amd64 release? > > > > I would generally recommend using the amd64 release, but it may not get > your system to boot. > > > > How is your disk partitioned? GPT? Some BIOSes are broken and assume > that a GPT formatted disk is UEFI and will not recognize them if they lack > the UEFI boot partition. UEFI boot is a current project that seems likely > to reach head in the fairly near future, but it's not possible now. > > No idea what the default partitioning is for BSDInstall. However the Mini > is only EFI or UFEI with some fallbacks although the comments I find in the > web indicate that different models have different fallbacks. > > One comment indicates that an older unit will boot if its MBR > partitioning. I don't know if the new installer supports that or not. > > > > > You may be able to tweak your BIOS to get it to work or you may have to > install using the traditional partitioning system. The installer defaults > to GPT, but can create either. > > > > I have such a system (ThinkPad T520) and I have two disks... one that > came with the system and containing Windows, and my GPT formatted FreeBSD > disk. I wrote a FreeBSD BootEasy boot into the MBR of the Windows disk and > it CAN boot the GPT disk just fine. Not ideal for most, but it works well > for me > > Based on a comment I say, waiting till the empty folder icon appears and > then plugging in the install memstick causes the mini to boot from disk. > That just downright weird, but it works. I could live with that, but this > is an unattended server and would experience some down time if I am not > there when there is a power failure. > > I just found some "instructions" for using MBR with bsdinstall, but given > there is an effort to create a UEFI boot which I suspect would expect to > find the GPT boot partition, perhaps I should just go with the memstick > approach To be cleat, you just insert the thumb drive and the hard drive boots? That IS weird! Or do you get the BootEasy prompt for the partition/disk you want to boot? If the latter, the system is processing the MBR from the thumb drive and using that to boot the GPT disk. I am not an expert on EFI or UEFI. I know EFI is older and UEFI replaced it about five years ago. I am not entirely clear on the differences, but I assume a newer Mac Mini would be UEFI. My experience with boot loaders is, to put it politely, ancient. I mean pre-BIOS. I have, at best, a limited understanding of BIOS booting and not much on UEFI, but I know that UEFI can boot devices using the old PC partitioning system as well as GUID (GPT) partitioned ones. The Wikipedia article on UEFI is enlightening. -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com