From owner-freebsd-current@FreeBSD.ORG Wed Jan 9 22:57:11 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7C42E113; Wed, 9 Jan 2013 22:57:11 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from melon.pingpong.net (melon.pingpong.net [79.136.116.200]) by mx1.freebsd.org (Postfix) with ESMTP id 2452728A; Wed, 9 Jan 2013 22:57:10 +0000 (UTC) Received: from girgBook.local (c-2754e155.1525-1-64736c12.cust.bredbandsbolaget.se [85.225.84.39]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by melon.pingpong.net (Postfix) with ESMTPSA id 3A57B12979; Wed, 9 Jan 2013 23:57:08 +0100 (CET) Message-ID: <50EDF5C2.8020609@FreeBSD.org> Date: Wed, 09 Jan 2013 23:57:06 +0100 From: Palle Girgensohn User-Agent: Postbox 3.0.6 (Macintosh/20121022) MIME-Version: 1.0 To: Christoph Hoffmann Subject: Re: gptzfsboot error using HP Smart Array P410i Controller References: <9B96176A-7550-4B60-8F4D-0B667EEF7A15@me.com> <201108161515.50127.jhb@freebsd.org> <23B6937F-F261-4DC4-9168-96720251C98D@me.com> <4E502F2F.50209@FreeBSD.org> <9FAB808F-E5D4-4B93-9D5F-BAE025930273@me.com> <4E944197.7050803@digsys.bg> <4F4FECA4.10504@FreeBSD.org> In-Reply-To: <4F4FECA4.10504@FreeBSD.org> X-Enigmail-Version: 1.2.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Christoph Hoffmann , Andriy Gapon , Bjorn Larsson , freebsd-current@freebsd.org, Daniel Kalchev , Julian Akehurst X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 09 Jan 2013 22:57:11 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Palle Girgensohn skrev: > Hi! > > This is still happening with FreeBSD 9.0-RELEASE, as I have just > discovered. The hack works like a charm, but seems kind of odd... :) > > Any progress in getting a "real" fix into the repository? Any risks > with the hack - is it likely to believe that it will suddenly or > sporadically fail? > > Cheers, Palle > > Christoph Hoffmann skrev: >> Hello Daniel, >> >> Last time I checked up on the issue was on the 23rd of September, >> it was not fixed then. I was able to to boot from drive 0x80 after >> adding: >> >> *** zfsboot.c.orig Fri Sep 23 18:03:26 2011 --- zfsboot.c Fri Sep >> 23 18:47:44 2011 *************** *** 459,464 **** --- 459,465 ---- >> heap_end = (char *) PTOV(bios_basemem); } >> >> + printf("Hello! I am a hack.\n"); dsk = malloc(sizeof(struct >> dsk)); dsk->drive = *(uint8_t *)PTOV(ARGS); dsk->type = dsk->drive >> & DRV_HARD ? TYPE_AD : TYPE_FD; >> >> I am inclined to think that this is related to the way how we >> compile this code, especially when run on the following particular >> processor: >> >> 1 Processor(s) detected, 4 total cores enabled, Hyperthreading is >> enabled Proc 1: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz QPI Speed: 5.8 >> GT/s. >> >> >> Regards, >> >> Christoph >> >> >> On Oct 11, 2011, at 3:16 PM, Daniel Kalchev wrote: >> >>> Has this issue been resolved somehow? Sane method to build >>> gptzfsboot that will run on HP's P410i? Hi, This is still happening with 9.2-RELEASE on a HP DL 380 G5: gptzfsboot: error 1 lba 32 gptzfsboot: error 1 lba 1 gptzfsboot: No ZFS pools located, can't boot Andriy suggested the latest sys/boot/i386/common/edd.h@243024 from head, but unfortunately it makes no difference. The printf hack above still works fine though. Palle -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJQ7fXCAAoJEIhV+7FrxBJDKKsIALihEN7Ohc2w/d1bCHM0JkPg JdLSQzKa96YBH29vhWbhLpxAd/x/Vkis0H5Kv96e2M9Bg6aiWGXZuChlyzEu8ZBQ +q6hqXYcAQJEYzP2n9jWOCcYelYVmmtyLgKLtbx5GQeYkCdS98Icad9cOKWPZYDN D2aMslLdCVS99RJrvMvtNj3X5roafRfQAXDoTXng/c1VpV1YoXmhHcLPVP2jGP8v F29Vl5K/24d+CHA3HkUqi7WJ4xyodJSPOpjXtSyLs0mMEMPTY9E9kcp+OFj1JXh4 fnEK3wFIT1g7lpYQK9SF3bHJxu6o9sb67jKYynkMhP6jsCpLMkLMRWuseA22d+0= =3gJo -----END PGP SIGNATURE-----