Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Aug 2011 21:26:49 +0200
From:      Christoph Hoffmann <christoph_hoffmann@me.com>
To:        freebsd-current@freebsd.org
Subject:   Re: gptzfsboot error  using HP Smart Array P410i Controller
Message-ID:  <491F5434-3EF2-40AF-B962-892046DB1D54@me.com>
In-Reply-To: <E040B3A9-9B62-4545-ADC9-5CE3A9217024@me.com>
References:  <E040B3A9-9B62-4545-ADC9-5CE3A9217024@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Everyone,

The system will successfully boot only if the OS installation is laying =
on
the second drive or higher (0x81 and more).

Attempting Boot =46rom CD-ROM                                            =
        =20
Attempting Boot =46rom Hard Drive (C:)                                   =
        =20
probe_drive(): drive 0x0: type 0: unit 0: slice 0: part 0:   <-- 0x0 =
instead of 0x80 ?                 =20
gptzfsboot: error 1 lba 32                                               =
      =20
gptzfsboot: error 1 lba 1                                                =
      =20
probe_drive(): drive 0x81: type 0: unit 1: slice 0: part 0:  <-- already =
0x81, 0x80 is missing                  =20

BTX loader 1.00  BTX version is 1.02
Console: internal video/keyboard
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS drive D: is disk2
BIOS 637kB/3658940kB available memory

FreeBSD/x86 ZFS enabled bootstrap loader, Revision 1.1
[=85]

Even there is no floppy drive on this system, BIOS will report it as =
drive A.
This will be mapped as 0x80 and gptzfsboot reports error. Next drive to =
probe
will be 0x81 after zfsboot increments it in line 500.=20

Any comments would be appreciated.

Best regards,

Christoph


On Aug 1, 2011, at 3:07 PM, Christoph Hoffmann wrote:

> Hello,
>=20
> The initial reboot followed the installation of ZFS-only version 5/28 =
system=20
> reports error:
>=20
> Attempting Boot =46rom Hard Drive (C:)                                 =
          =20
> gptzfsboot: error 1 lba 32                                             =
        =20
> gptzfsboot: error 1 lba 1                                              =
        =20
> gptzfsboot: No ZFS pools located, can't boot
>=20
> The same installation procedure on older ProLiant with Compaq Smart =
Array 5i
> do not cause any problems.
>=20
> The system has been installed based on FreeBSD 8.2-20110731-SNAP i386 =
802510.
> The P410i Controller presents two units, and the disk da0 has been =
partitioned as follow:
>=20
> gpart destroy -F /dev/da0
> dd if=3D/dev/zero of=3D/dev/da0 bs=3D1024 count=3D10000
> gpart create -s GPT /dev/da0
> gpart add -b 32K -s 64K -t freebsd-boot -l disk0boot /dev/da0
> gpart add -s  30G -t freebsd-zfs  -l disk0 /dev/da0
> gpart add -s   4G -t freebsd-swap -l swap0 /dev/da0
> gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 /dev/da0
> gpart set -a bootme -i 1 /dev/da0
>=20
> Early experimentation show the following footprint:
>=20
> Attempting Boot =46rom CD-ROM                                          =
          =20
> Attempting Boot =46rom Hard Drive (C:)                                 =
          =20
> probe_drive(360): drive 0x0: type 0: unit 0: slice 0: part 0:  <-- =
dsk.drive=3D0 instead of 0x80 ?
> vdev_probe(): off=3D16384, sizeof(vdev_phys_t)=3D114688
> vdev_read_phys(): reading 114688 bytes at 0x4000 to            <-- =
*buf is empty                            =20
> gptzfsboot: error 1 lba 32                                     <-- why =
lba is not zero ?                =20
> drvsize(): packet.count=3D16, off=3D0, seg=3D8192, lba=3D32            =
                =20
> drvsize(): dsk->drive=3D0, type=3D0, unit=3D0, slice=3D0, part=3D0, =
init=3D0, start=3D0
> vdev_read_phys(): rc from vdev->v_phys_read =3D4294967295        <-- =
-1                       =20
> gptzfsboot: error 1 lba 1                                              =
        =20
> drvsize(): packet.count=3D1, off=3D0, seg=3D8704, lba=3D1              =
                =20
> drvsize(): dsk->drive=3D0, type=3D0, unit=3D0, slice=3D0, part=3D0, =
init=3D0, start=3D0      =20
> main(): retun from probe_drive(): spa_name=3D: kname=3D: drive=3D0:    =
              =20
> probe_drive(360): drive 0x81: type 0: unit 1: slice 0: part 0:  <-- =
disk da1 is empty                =20
> vdev_probe(): off=3D16384, sizeof(vdev_phys_t)=3D114688                =
            =20
> vdev_read_phys(): reading 114688 bytes at 0x4000 to    <-- *buf is =
empty                      =20
> vdev_read_phys(): rc from vdev->v_phys_read =3D0                       =
          =20
> probe_drive(390): drive 0x81: type 0: unit 1: slice 0: part 0:         =
        =20
> main(): spa_name=3D, kname=3D,drive=3D129:                  <-- da1 =
(0x81) do not contain any ZFS informations                               =
 =20
> gptzfsboot: No ZFS pools located, can't boot                           =
  =20
>=20
> Best regards,
>=20
> Christoph
>=20
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to =
"freebsd-current-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?491F5434-3EF2-40AF-B962-892046DB1D54>