From owner-freebsd-current@FreeBSD.ORG Thu Aug 18 17:11:07 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 8EEF0106566B for ; Thu, 18 Aug 2011 17:11:07 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 651B58FC12 for ; Thu, 18 Aug 2011 17:11:07 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 1B18C46B3B; Thu, 18 Aug 2011 13:11:07 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id A65138A02E; Thu, 18 Aug 2011 13:11:06 -0400 (EDT) From: John Baldwin To: Christoph Hoffmann Date: Thu, 18 Aug 2011 13:10:10 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110617; KDE/4.5.5; amd64; ; ) References: <201108161515.50127.jhb@freebsd.org> <23B6937F-F261-4DC4-9168-96720251C98D@me.com> In-Reply-To: <23B6937F-F261-4DC4-9168-96720251C98D@me.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Message-Id: <201108181310.10920.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Thu, 18 Aug 2011 13:11:06 -0400 (EDT) Cc: freebsd-current@freebsd.org 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, 18 Aug 2011 17:11:07 -0000 On Thursday, August 18, 2011 12:30:24 pm Christoph Hoffmann wrote: > Hello John, >=20 > Thank you very much indeed for the hints. >=20 > I am under the impression that we are facing a problem with synchronisati= on=20 > of CPU local caches. I also wasn't able to find any problem with memory=20 > allocation. >=20 > This box is equipped with: >=20 > 1 Processor(s) detected, 4 total cores enabled, Hyperthreading is enabled= =20 > Proc 1: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz = =20 > QPI Speed: 5.8 GT/s = =20 >=20 > Changing the order of execution in zfsboot.c main() function to >=20 > [=85] > int > main(void) > { > [=85] > bios_getmem(); >=20 > if (high_heap_size > 0) { > [=85] > bootinfo.bi_version =3D BOOTINFO_VERSION; > bootinfo.bi_size =3D sizeof(bootinfo); > bootinfo.bi_basemem =3D bios_basemem / 1024; > bootinfo.bi_extmem =3D bios_extmem / 1024; > bootinfo.bi_memsizes_valid++; > /* bootinfo.bi_bios_dev =3D dsk->drive; */ > bootinfo.bi_bios_dev =3D *(uint8_t *)PTOV(ARGS); What if you leave the order as-is but just change this one line to use=20 PTOV(ARGS) directly here instead of 'dsk->drive'? =2D-=20 John Baldwin