gptzfsboot: error 4 lba 30

Andreas Nilsson andrnils at gmail.com
Mon Mar 25 12:02:02 UTC 2013


On Mon, Mar 25, 2013 at 12:52 PM, Kai Gallasch <gallasch at 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


More information about the freebsd-stable mailing list