From owner-freebsd-current@FreeBSD.ORG Thu Aug 4 19:27:17 2011 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 0A532106564A for ; Thu, 4 Aug 2011 19:27:17 +0000 (UTC) (envelope-from christoph_hoffmann@me.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id E472B8FC12 for ; Thu, 4 Aug 2011 19:27:16 +0000 (UTC) MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Received: from tunnel2.sec101.ch ([62.2.44.114]) by asmtp023.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LPF00IC94OP4O30@asmtp023.mac.com> for freebsd-current@freebsd.org; Thu, 04 Aug 2011 12:26:53 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-08-04_05:2011-08-04, 2011-08-04, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=4 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1108040191 From: Christoph Hoffmann In-reply-to: Date: Thu, 04 Aug 2011 21:26:49 +0200 Content-transfer-encoding: quoted-printable Message-id: <491F5434-3EF2-40AF-B962-892046DB1D54@me.com> References: To: freebsd-current@freebsd.org X-Mailer: Apple Mail (2.1244.3) Subject: Re: gptzfsboot error using HP Smart Array P410i Controller 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: Thu, 04 Aug 2011 19:27:17 -0000 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"