Date: Mon, 25 Mar 2013 13:02:02 +0100 From: Andreas Nilsson <andrnils@gmail.com> To: Kai Gallasch <gallasch@free.de> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: gptzfsboot: error 4 lba 30 Message-ID: <CAPS9%2BSvn=5Cuo0cWMp2_N9SqWHtwg7tU8Woqc%2BDOE8uFZD_egA@mail.gmail.com> In-Reply-To: <0F20F9F9-CBFD-48B6-8A86-82DAA4AB5BEB@free.de> References: <0F20F9F9-CBFD-48B6-8A86-82DAA4AB5BEB@free.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 25, 2013 at 12:52 PM, Kai Gallasch <gallasch@free.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPS9%2BSvn=5Cuo0cWMp2_N9SqWHtwg7tU8Woqc%2BDOE8uFZD_egA>