From owner-freebsd-current@FreeBSD.ORG Mon Aug 1 13:28:39 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 7F25C106564A for ; Mon, 1 Aug 2011 13:28:39 +0000 (UTC) (envelope-from christoph_hoffmann@me.com) Received: from asmtpout028.mac.com (asmtpout028.mac.com [17.148.16.103]) by mx1.freebsd.org (Postfix) with ESMTP id 6904F8FC0C for ; Mon, 1 Aug 2011 13:28:39 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from tunnel1.sec101.ch ([62.2.44.113]) by asmtp028.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LP90064343BMKA0@asmtp028.mac.com> for freebsd-current@freebsd.org; Mon, 01 Aug 2011 06:28:27 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-08-01_04:2011-08-01, 2011-08-01, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1108010095 From: Christoph Hoffmann Date: Mon, 01 Aug 2011 15:28:22 +0200 To: freebsd-current@freebsd.org Message-id: X-Mailer: Apple Mail (2.1084) Subject: 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: Mon, 01 Aug 2011 13:28:39 -0000 Hello, The initial reboot followed the installation of ZFS-only version 5/28 system reports error: Attempting Boot From Hard Drive (C:) gptzfsboot: error 1 lba 32 gptzfsboot: error 1 lba 1 gptzfsboot: No ZFS pools located, can't boot The same installation procedure on older ProLiant with Compaq Smart Array 5i do not cause any problems. 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: gpart destroy -F /dev/da0 dd if=/dev/zero of=/dev/da0 bs=1024 count=10000 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 Early experimentation show the following footprint: Attempting Boot From CD-ROM Attempting Boot From Hard Drive (C:) probe_drive(360): drive 0x0: type 0: unit 0: slice 0: part 0: <-- dsk.drive=0 instead of 0x80 ? vdev_probe(): off=16384, sizeof(vdev_phys_t)=114688 vdev_read_phys(): reading 114688 bytes at 0x4000 to <-- *buf is empty gptzfsboot: error 1 lba 32 <-- why lba is not zero ? drvsize(): packet.count=16, off=0, seg=8192, lba=32 drvsize(): dsk->drive=0, type=0, unit=0, slice=0, part=0, init=0, start=0 vdev_read_phys(): rc from vdev->v_phys_read =4294967295 <-- -1 gptzfsboot: error 1 lba 1 drvsize(): packet.count=1, off=0, seg=8704, lba=1 drvsize(): dsk->drive=0, type=0, unit=0, slice=0, part=0, init=0, start=0 main(): retun from probe_drive(): spa_name=: kname=: drive=0: probe_drive(360): drive 0x81: type 0: unit 1: slice 0: part 0: <-- disk da1 is empty vdev_probe(): off=16384, sizeof(vdev_phys_t)=114688 vdev_read_phys(): reading 114688 bytes at 0x4000 to <-- *buf is empty vdev_read_phys(): rc from vdev->v_phys_read =0 probe_drive(390): drive 0x81: type 0: unit 1: slice 0: part 0: main(): spa_name=, kname=,drive=129: <-- da1 (0x81) do not contain any ZFS informations gptzfsboot: No ZFS pools located, can't boot Best regards, Christoph