From owner-freebsd-stable@FreeBSD.ORG Mon Mar 25 12:02:02 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D70873BD for ; Mon, 25 Mar 2013 12:02:02 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id A7BDA89B for ; Mon, 25 Mar 2013 12:02:02 +0000 (UTC) Received: by mail-ob0-f178.google.com with SMTP id wd20so5770512obb.23 for ; Mon, 25 Mar 2013 05:02:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=zT5iev4jk72AfTsmEjD/MegqHw8s5x3U2QD+M/pogdQ=; b=XFzGzZrIAoffSShoo/YP6BrVLviZty2kknYNET3jLPBlXC2bNpYVKFxAzXrC0zJneP CtV9tlU2UevMpeLYfcta2OfHcE6SDkyBY6kRH83R3c/fR/7Z+yYmvnL+ElV4AxdMbQqq TqlM8aIlrQibWfdN2Bk9XjGnjYkTN1ynU18hBvWyDm8Dua7B1D1nECTx1hsejo6dv33J myjT2+B55kfJg4nHmtMDTLhYpd4ikVyweQqrX2jjK653QYt9KJZgjmdYT37gm1/UHksP bU0LWkPqf8UY24AaW3qwQj1MjIZ1WsaOJ09pXZc81qP7Vp7qEgzxAAy/HVawvc7XiHph ZLRA== MIME-Version: 1.0 X-Received: by 10.60.25.138 with SMTP id c10mr11089197oeg.12.1364212922250; Mon, 25 Mar 2013 05:02:02 -0700 (PDT) Received: by 10.76.122.81 with HTTP; Mon, 25 Mar 2013 05:02:02 -0700 (PDT) In-Reply-To: <0F20F9F9-CBFD-48B6-8A86-82DAA4AB5BEB@free.de> References: <0F20F9F9-CBFD-48B6-8A86-82DAA4AB5BEB@free.de> Date: Mon, 25 Mar 2013 13:02:02 +0100 Message-ID: Subject: Re: gptzfsboot: error 4 lba 30 From: Andreas Nilsson To: Kai Gallasch Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2013 12:02:02 -0000 On Mon, Mar 25, 2013 at 12:52 PM, Kai Gallasch wrote: > Hi. > > On one of my fresh installed servers I am seeing the following output > during boot: > > gptzfsboot: error 4 lba 30 > gptzfsboot: error 4 lba 31 > gptzfsboot: error 4 lba 31 > gptzfsboot: error 4 lba 31 > gptzfsboot: error 4 lba 30 > gptzfsboot: error 4 lba 31 > gptzfsboot: error 4 lba 31 > gptzfsboot: error 4 lba 31 > gptzfsboot: error 4 lba 31 > gptzfsboot: error 4 lba 31 > gptzfsboot: error 4 lba 31 > gptzfsboot: error 4 lba 31 > > (Not shortened, exactly those lines) > > The server then manages to boot from a mirrored zpool. > What is the cause of error 4 lba 30/31 ? > > - controller is a hp/compaq p400 (ciss) > - da0 - da7 are raid0 volumes (controller not jbod capable) > - freebsd 9.1 REL (same error message with 9-STABLE from 2013-03-24) > - server is zfs-only > *snip* Normally one gets ( there were some mails about this just the other day ) > gptzfsboot: error 1 lba 32 > gptzfsboot: error 1 lba 1 on hp-machines with p410i disk controller. I think there is work ongoing to fix it, and for at least the p410i adding a simple printf in the right place in zfsboot.c allows it to boot. --- sys/boot/i386/zfsboot/zfsboot.c (revision 245604) +++ sys/boot/i386/zfsboot/zfsboot.c (working copy) @@ -453,6 +453,7 @@ heap_end = (char *) PTOV(bios_basemem); } + printf("\n"); dsk = malloc(sizeof(struct dsk)); dsk->drive = *(uint8_t *)PTOV(ARGS); dsk->type = dsk->drive & DRV_HARD ? TYPE_AD : TYPE_FD; works fine on a dl360g7, as well as a dl360g5. Best regards Andreas Nilsson