From owner-freebsd-current@FreeBSD.ORG Thu Apr 10 17:31:41 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BD3CBA76 for ; Thu, 10 Apr 2014 17:31:41 +0000 (UTC) Received: from mail-ee0-x22f.google.com (mail-ee0-x22f.google.com [IPv6:2a00:1450:4013:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 51B301D0C for ; Thu, 10 Apr 2014 17:31:41 +0000 (UTC) Received: by mail-ee0-f47.google.com with SMTP id b15so3255460eek.6 for ; Thu, 10 Apr 2014 10:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=Uui03oez/hNRdOaJcHHJEqJ/gLg3UOoSG/Hvi/7jifE=; b=Jqxl+MTRGej0efPW0yHfW4wVrzDN7IZz4DDP0nVHRQN6b1+Hn4UsxHkEXR1UEd/ndA HO7Tfl4X/L9EzN/GTWrlInXRl2iiGT9HUEsn+umsBmfiYx9CJIZwkR1umwwTHue8A9L0 fOX2Hzk9oex5z472khaugk5A7GZ6IxdH4HFgfOPwuHGqo2spcPfRh4lA6Cqn+4raXbfY boaLMdXS7h042Yuhd+R/GxGswftZtioGZAOXeWHzsyP+iz9rWtmObDRcoWkFXtdbUDJo jhS3p9rgtl44Ohbv1GPAFocUtmHWzLSRhZdpqB8l47QY9TgCH/8o2sw42xOf9HdbUy+V jcpA== X-Received: by 10.14.176.193 with SMTP id b41mr5187746eem.55.1397151097892; Thu, 10 Apr 2014 10:31:37 -0700 (PDT) Received: from laptop.minsk.domain ([178.125.236.159]) by mx.google.com with ESMTPSA id p8sm11374556eef.26.2014.04.10.10.31.36 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 10 Apr 2014 10:31:36 -0700 (PDT) Date: Thu, 10 Apr 2014 20:31:32 +0300 From: "Sergey V. Dyatko" To: freebsd-current@freebsd.org Subject: Re: gptzfsboot problem on HP P410i Smart Array Message-ID: <20140410203132.1904e09a@laptop.minsk.domain> In-Reply-To: <201404101313.22892.jhb@freebsd.org> References: <7F54B772-12D4-426C-A1D6-AA559128228B@ultra-secure.de> <201404101313.22892.jhb@freebsd.org> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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, 10 Apr 2014 17:31:41 -0000 On Thu, 10 Apr 2014 13:13:22 -0400 John Baldwin wrote: > On Thursday, April 10, 2014 12:59:25 am Andreas Nilsson wrote: > > On Thu, Apr 10, 2014 at 1:04 AM, Rainer Duffner secure.de>wrote: > > > > > > > > Am 10.04.2014 um 00:02 schrieb Matthew Seaman : > > > > > > > On 09/04/2014 22:52, Rainer Duffner wrote: > > > >> And no, as the server is in a remote datacenter, an USB-stick is not an > > > option. > > > >> > > > >> It's slow enough booting via a virtual USB-image over iLO... > > > > > > > > Uh... it only has to read the kernel+modules from the USB stick one time > > > > while booting. Otherwise, there really shouldn't be any IO inside /boot > > > > unless you login and do stuff in that directory manually. Your root > > > > filesystem would be on the normal hard drives. > > > > > > > > Anyhow the question is moot, since you don't have the same problem I > did. > > > > > > > >> No, it's actually just a single RAID6-0 disk created by the P410i... > > > > > > > > If you're going to use the RAID controller to generate a virtual drive, > > > > do you really need to use ZFS on top of that? Couldn't you partition > > > > your virtual drive and put / onto a small UFS partition and then make a > > > > zpool on the rest? > > > > > > > > > I don't want to sacrifice two disks for a RAID1 boot-disk. > > > Normally, I would actually do that, but in this case, the server is a > > > MySQL-slave to a master that has 12 disks - and should the master die, > > > this system has to take over its work. > > > > > > You never specified exactly how it fails. But I'll take a guess: > > > > *Attempting Boot From Hard Drive (C:)* > > > > *gptzfsboot: error 1 lba 32* > > > > *gptzfsboot: error 1 lba 1* > > > > *g**ptzfsboot: No ZFS pools located, can't boot* > > > > > > A workaround is > > http://lists.freebsd.org/pipermail/freebsd-current/2011-August/026624.html > > I believe the proper fix for that bug was committed here: > > http://svnweb.freebsd.org/base?view=revision&revision=243025 > possible, but it doesn't help in my case (lenovo b450 laptop). I install fbsd11-current ~month ago in it and problem still persist, proposed by avg@ patch works fine in my case: Index: sys/boot/i386/zfsboot/zfsboot.c =================================================================== --- sys/boot/i386/zfsboot/zfsboot.c (revision 263419) +++ sys/boot/i386/zfsboot/zfsboot.c (working copy) @@ -302,6 +302,7 @@ * region in the SMAP, use the last 3MB of 'extended' memory as a * high heap candidate. */ + high_heap_size = 0; if (bios_extmem >= HEAP_MIN && high_heap_size < HEAP_MIN) { high_heap_size = HEAP_MIN; high_heap_base = bios_extmem + 0x100000 - HEAP_MIN; -- wbr, tiger