Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2014 20:31:32 +0300
From:      "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
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:  <CAAG5QCs0G1ztH715j5pnsFmne30xZwUT5o_YkQW9k1dDc-=-Nw@mail.gmail.com> <7F54B772-12D4-426C-A1D6-AA559128228B@ultra-secure.de> <CAPS9%2BSv7UG-k3XYNNgvJ%2B=e9xZoFCaKvYqgTBzNsao=dw%2B9t7g@mail.gmail.com> <201404101313.22892.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Apr 2014 13:13:22 -0400
John Baldwin <jhb@freebsd.org> wrote: 

> On Thursday, April 10, 2014 12:59:25 am Andreas Nilsson wrote:
> > On Thu, Apr 10, 2014 at 1:04 AM, Rainer Duffner <rainer@ultra-
> secure.de>wrote:
> > 
> > >
> > > Am 10.04.2014 um 00:02 schrieb Matthew Seaman <matthew@FreeBSD.org>:
> > >
> > > > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140410203132.1904e09a>