Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 09:28:30 +0200
From:      Bjorn Larsson <bjwela@gmail.com>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: gptzfsboot problem on HP P410i Smart Array
Message-ID:  <CAAG5QCst%2BS6U7HRBAmvxhxZb-dhk1O9yuQMUxvrYT%2BT0T_V%2BzA@mail.gmail.com>
In-Reply-To: <50311741.3000204@yandex.ru>
References:  <CAAG5QCs0G1ztH715j5pnsFmne30xZwUT5o_YkQW9k1dDc-=-Nw@mail.gmail.com> <50311741.3000204@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Andrey,

We are installing freeBSD using ZFS as root filesystem using the GPT
method as described on the freeBSD ZFS wiki. We are creating a GPT
boot partition with the gptzfsboot program embedded and then a zroot
partition with the freeBSD binaries. This works well and boots on
every system we tested except HP P410i smart array systems. The
problem is that no disks are identified in gptzfsboot and the
following error code is displayed:

gptzfsboot: error 1 lba 32
gptzfsboot: error 1 lba 1

It appears that gptzfsboot is not identifying the drives properly.
However, when we insert a printf() command in main() in zfsboot.c to
troubleshoot the identification problem, the system boots perfectly
fine.

This is a problem that I believe was fixed last year in 9-CURRENT by
implementing a proper struct for edd rather than using a char array
for BIOS communication. However, it doesn't seems to have fixed the on
the p410i smart arrays.

Best regards,

Bj=F6rn Larsson


On Sun, Aug 19, 2012 at 6:41 PM, Andrey V. Elsukov <bu7cher@yandex.ru> wrot=
e:
>
> On 19.08.2012 11:22, Bjorn Larsson wrote:
> > We are having problems with gptzfsboot on a HP DL360 G7 using the P410i
> > Smart Array Controller.
> > I=92ve some information on this in the archive on this mailing list tha=
t this
> > has supposedly been fixed with revision 227400, by implementing the edd
> > data structure.
> > However we still see the same problem and by adding a printf() in zfsbo=
ot.c
> > fixes the problem.
> > Please, let me know if anyone have seen this problem and if there is a =
fix
> > for it?
>
> Hi,
>
> what exactly do you have?
>
> --
> WBR, Andrey V. Elsukov
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAG5QCst%2BS6U7HRBAmvxhxZb-dhk1O9yuQMUxvrYT%2BT0T_V%2BzA>