From owner-freebsd-questions@FreeBSD.ORG Tue Apr 16 22:06:26 2013 Return-Path: Delivered-To: freebsd-questions@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 B15BDBA6 for ; Tue, 16 Apr 2013 22:06:26 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 84C661B1A for ; Tue, 16 Apr 2013 22:06:26 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id c11so1198019ieb.15 for ; Tue, 16 Apr 2013 15:06:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=/TMiRg8DWikQzAhD0qHlDcJcX5YtdishuLI7uz0Opf8=; b=sQMGGUjXUc5cvVFjjpoXbBgBUcur77PJuUmVkr9O27D3Wi7aQptSQ+dhwlzz+uLdhH YtoUFWLN2k0EdlNdHLf8W/aJNyuVpv7ezCDFUzOJfDme2ggpiQLKlF6lNN7sEbeUNnst lAsRmuHFLsQ6Wc/pP5Jk5vYw2MizDe2cta5EkpeT8aQ3RRZ9yRPxifHRm7g0hN+9Kf8k Cmev1zncMvSYG3atAJwaMfsY/KTP4fo1t0Y5EHfd9zWUybweb7jJE3Hk63LZvkJD6bGS BgKTL2YjjG7//k/zQBf8uWS7a1XoIj1+mNlcisaUPz/+eIGV4W//nNHpxZ5/HIf+MgYm A2/w== X-Received: by 10.43.8.133 with SMTP id os5mr2200097icb.38.1366149986304; Tue, 16 Apr 2013 15:06:26 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id wx2sm3898172igb.4.2013.04.16.15.06.25 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Apr 2013 15:06:25 -0700 (PDT) Message-ID: <516DCB5B.7080803@gmail.com> Date: Tue, 16 Apr 2013 17:06:19 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: J David Subject: Re: 9-STABLE doesn't boot: can't load 'kernel' References: <516C63CC.4030609@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 22:06:26 -0000 On 4/16/2013 1:36 AM, J David wrote: > loader.conf was empty and there's no 4k gnops, geli, anything like that. > This is a 100% normal install. > > Although, since you mentioned 4k blocks, I did leave a gap between > ada0p1 and ada0p2 to start the root partition on a 4k boundary. (It's > an SSD that will almost never be written to once installed, so that > might be a bit silly, but it's a habit already.) > > I decided to try this again without the gap, and that seems to have > worked. I made it through install and partitioning and OS updating to > 9-STABLE and installing new boot blocks and it seems to have worked. I > even got it to work with a ZFS root. > > Here's the partition table I ended up with: > > => 34 234441581 ada0 GPT (111G) > 34 990 1 freebsd-boot (495k) > 1024 226051072 2 freebsd-zfs (107G) > 226052096 8389519 3 freebsd-swap (4.0G) > > I'm not sure why this would make a difference, but either it does or > doing it cleared out whatever else was wrong. This box will be stress > tested and rebooted quite a bit in the next few days, so I will report > back if it comes unglued. :) > > Thanks for the suggestion! > I'd say file a bug report, since subtly hidden parts of the disk can be beneficial in the right circumstances. That, and it should just work. Does your drive report the blocks as 512 bytes or 4k? If you're using zfs now, run `zdb | grep ashift` and it should list 12 if it's 4k. Otherwise, you can get a performance hit if the drive's 4k native. Two of my drives are 4k native but report as 512b, so I had to trick zfs with gnop.