From owner-freebsd-current@FreeBSD.ORG Mon Aug 20 07:28:32 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A161F106566C for ; Mon, 20 Aug 2012 07:28:32 +0000 (UTC) (envelope-from bjwela@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1C8C68FC0A for ; Mon, 20 Aug 2012 07:28:31 +0000 (UTC) Received: by lbbgg13 with SMTP id gg13so154284lbb.13 for ; Mon, 20 Aug 2012 00:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=WRQAClmrOuKRZKSGgE68W2vIzN7PNBWpxM1wDIDN19w=; b=d/OLXaKHW/lFGLpiMxxTvhirjzT3SvwhUuxUf+sPwIBoQoc4IBgBjbo/Yk+ZC/zxw0 PPmuKJv8LVNzwJPK1gtgM1fDmJToaSPm/Zf4N4sCL/W/Xweuetl0LBKAhoAERhdC3Wny zGAASaFrmq3krs9PSBBYeBPg2fccPqbnO/mcheA/2Ew95g4qSJf0gwterzA9841G+Lfy 4MmdyuqoDOHG10snRtq3GLYpYmj5u72CbvZXa0TN7WXQsEWhvCbDPXi6c+r9O2tvL5oK QYlpgPaimunZsejsqjrYNyrfXlCABEphiySLnVZwsGEmzzVEe3e6kP2NPcENkcrCY4/r Ka5A== MIME-Version: 1.0 Received: by 10.152.110.80 with SMTP id hy16mr2933751lab.8.1345447710580; Mon, 20 Aug 2012 00:28:30 -0700 (PDT) Received: by 10.114.14.168 with HTTP; Mon, 20 Aug 2012 00:28:30 -0700 (PDT) In-Reply-To: <50311741.3000204@yandex.ru> References: <50311741.3000204@yandex.ru> Date: Mon, 20 Aug 2012 09:28:30 +0200 Message-ID: From: Bjorn Larsson To: "Andrey V. Elsukov" Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: gptzfsboot problem on HP P410i Smart Array X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 20 Aug 2012 07:28:32 -0000 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 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 >