From owner-freebsd-current@FreeBSD.ORG Tue Sep 27 22:10:32 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D6D11065674; Tue, 27 Sep 2011 22:10:32 +0000 (UTC) (envelope-from matt.thyer@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 681AB8FC1B; Tue, 27 Sep 2011 22:10:31 +0000 (UTC) Received: by wwe3 with SMTP id 3so7398997wwe.31 for ; Tue, 27 Sep 2011 15:10:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XcyrQAtYb7oVYljJkHyZshe557j3sXHfn4zV+wj7yTc=; b=WuxlLivZzMSeKC2h6M6Pig86eDCB+r4cwEJE2Ms0UMC0PjnR2a0kmn2EMbaldv7KFx pn9VJ2tv/DRnzH8zUF0H6IqB2PcAeXJvmNnxADH9QiCCbawnLXRdwPTodaRQCRqcH+BW k4w4RBGUiXgo14TrPdOxTnFId7L18afPzHZKk= MIME-Version: 1.0 Received: by 10.216.180.82 with SMTP id i60mr9206105wem.92.1317161430260; Tue, 27 Sep 2011 15:10:30 -0700 (PDT) Received: by 10.216.11.9 with HTTP; Tue, 27 Sep 2011 15:10:30 -0700 (PDT) Received: by 10.216.11.9 with HTTP; Tue, 27 Sep 2011 15:10:30 -0700 (PDT) In-Reply-To: References: <4E8218DB.7030507@freebsd.org> Date: Wed, 28 Sep 2011 07:40:30 +0930 Message-ID: From: Matt Thyer To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Adrian Chadd , freebsd-current@freebsd.org Subject: Re: FreeBSD 9.0-BETA2 memstick USB image hangs my BIOS 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: Tue, 27 Sep 2011 22:10:32 -0000 On Sep 28, 2011 7:15 AM, "Matt Thyer" wrote: > > On Sep 28, 2011 4:11 AM, "Nathan Whitehorn" wrote: > > > > On 09/27/11 08:24, Matt Thyer wrote: > >> > >> On Sep 26, 2011 2:33 PM, "Adrian Chadd" wrote: > >>> > >>> > >>> On 26 September 2011 12:56, Kevin Oberman wrote: > >>> > >>>> I suspect that the thumb drive is the issue, not FreeBSD. > >>> > >>> > >>> I've booted the drive successfully on an older Via C3 board. > >>> > >>> I'm now watching it boot successfully on a Gigabyte GA-8I915PC Duo board. > >>> > >>> I'm going to try dumping a Linux distro on this USB disk after I get > >>> PCBSD 9.0-BETA2 installed. That way I can try to eliminate the USB > >>> disk as being "funny". > >>> (Although it's quite possible the USB disk is doing other funny things.) > >>> > >>> I really do think that this BIOS of mine dislikes a GPT partition > >>> inside an MBR/DOS setup. If this is the case, I wonder how many other > >>> motherboard/BIOSes have this problem. > >>> > >>> > >>> > >>> Adrian > >> > >> > >> I believe this would be due to the improper GPT partition table on the > >> FreeBSD memstick (as there is no backup partition table at the end of the > >> volume). > >> > >> This was discussed earlier and now that makefs has patches for UFS label > >> support there should be no need to continue to use GPT partitioning for the > >> memstick image. > >> > >> The background is that bsdinstall relys on labels (a good thing) and GPT > >> partition labels were being used but as there's no way to predict the size > >> of your memstick, the resulting GPT partition table was not valid (for > >> strict UEFI systems). > >> > >> The fix was to go back to traditional MS-DOS partitioning (MBR) but this > >> couldn't be done until makefs supported UFS labels. Someone came up with > >> patches so 9.0 should be able to have an MBR memstick and bsdinstall. > >> > >> I'm not sure how far this has progressed. > > > > > > I don't believe these patches were ever committed. Could you provide a pointer to them? > > -Nathan > > Yes, it was Andriy Gapon in this message: http://www.FreeBSD.org/cgi/mid.cgi?db=irt&id=4E60F480.6040706@FreeBSD.org That message id link doesn't seem to work. To find the message I searched for "makefs" on the FreeBSD mailing list archive search facility with only "Current" selected. The message was dated Fri, 2nd September 2011, 18:21:36 +0300 and the link to the patch was: http://people.freebsd.org/~avg/makefs.ffs-label.diff On Sep 28, 2011 7:15 AM, "Matt Thyer" wrote: > On Sep 28, 2011 4:11 AM, "Nathan Whitehorn" wrote: >> >> On 09/27/11 08:24, Matt Thyer wrote: >>> >>> On Sep 26, 2011 2:33 PM, "Adrian Chadd" wrote: >>>> >>>> >>>> On 26 September 2011 12:56, Kevin Oberman wrote: >>>> >>>>> I suspect that the thumb drive is the issue, not FreeBSD. >>>> >>>> >>>> I've booted the drive successfully on an older Via C3 board. >>>> >>>> I'm now watching it boot successfully on a Gigabyte GA-8I915PC Duo > board. >>>> >>>> I'm going to try dumping a Linux distro on this USB disk after I get >>>> PCBSD 9.0-BETA2 installed. That way I can try to eliminate the USB >>>> disk as being "funny". >>>> (Although it's quite possible the USB disk is doing other funny things.) >>>> >>>> I really do think that this BIOS of mine dislikes a GPT partition >>>> inside an MBR/DOS setup. If this is the case, I wonder how many other >>>> motherboard/BIOSes have this problem. >>>> >>>> >>>> >>>> Adrian >>> >>> >>> I believe this would be due to the improper GPT partition table on the >>> FreeBSD memstick (as there is no backup partition table at the end of the >>> volume). >>> >>> This was discussed earlier and now that makefs has patches for UFS label >>> support there should be no need to continue to use GPT partitioning for > the >>> memstick image. >>> >>> The background is that bsdinstall relys on labels (a good thing) and GPT >>> partition labels were being used but as there's no way to predict the > size >>> of your memstick, the resulting GPT partition table was not valid (for >>> strict UEFI systems). >>> >>> The fix was to go back to traditional MS-DOS partitioning (MBR) but this >>> couldn't be done until makefs supported UFS labels. Someone came up with >>> patches so 9.0 should be able to have an MBR memstick and bsdinstall. >>> >>> I'm not sure how far this has progressed. >> >> >> I don't believe these patches were ever committed. Could you provide a > pointer to them? >> -Nathan > > Yes, it was Andriy Gapon in this message: > http://www.FreeBSD.org/cgi/mid.cgi?db=irt&id=4E60F480.6040706@FreeBSD.org