Re: gptzfsboot problem on HP P410i Smart Array

From: Sergey V. Dyatko <sergey.dyatko_at_gmail.com>
Date: Thu, 10 Apr 2014 20:31:32 +0300
On Thu, 10 Apr 2014 13:13:22 -0400
John Baldwin <jhb_at_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_at_ultra-
> secure.de>wrote:
> > 
> > >
> > > Am 10.04.2014 um 00:02 schrieb Matthew Seaman <matthew_at_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_at_
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)
_at__at_ -302,6 +302,7 _at__at_
      * 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
Received on Thu Apr 10 2014 - 15:31:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:48 UTC