From owner-freebsd-current@FreeBSD.ORG Thu Jan 10 21:55:09 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 34F953AB; Thu, 10 Jan 2013 21:55:09 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from melon.pingpong.net (melon.pingpong.net [79.136.116.200]) by mx1.freebsd.org (Postfix) with ESMTP id DB39FB3A; Thu, 10 Jan 2013 21:55:08 +0000 (UTC) Received: from [10.0.1.7] (c-2754e155.1525-1-64736c12.cust.bredbandsbolaget.se [85.225.84.39]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by melon.pingpong.net (Postfix) with ESMTPSA id C8A2812ECF; Thu, 10 Jan 2013 22:55:00 +0100 (CET) References: <4F4FECA4.10504@FreeBSD.org> <50EDF5C2.8020609@FreeBSD.org> <201301101215.48510.jhb@freebsd.org> Mime-Version: 1.0 (1.0) In-Reply-To: <201301101215.48510.jhb@freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <3037D71C-49A7-488C-AC8B-FBC2A1DA8F0C@pingpong.net> X-Mailer: iPhone Mail (10A523) From: Palle Girgensohn Subject: Re: gptzfsboot error using HP Smart Array P410i Controller Date: Thu, 10 Jan 2013 22:54:58 +0100 To: John Baldwin Cc: Christoph Hoffmann , Andriy Gapon , Bjorn Larsson , "freebsd-current@freebsd.org" , Daniel Kalchev , Palle Girgensohn , 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: Thu, 10 Jan 2013 21:55:09 -0000 10 jan 2013 kl. 18:15 skrev John Baldwin : > On Wednesday, January 09, 2013 05:57:06 PM Palle Girgensohn wrote: >> Palle Girgensohn skrev: >>> Hi! >>>=20 >>> 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... :) >>>=20 >>> 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? >>>=20 >>> Cheers, Palle >>>=20 >>> Christoph Hoffmann skrev: >>>> Hello Daniel, >>>>=20 >>>> 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: >>>>=20 >>>> *** 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 =3D (char *) PTOV(bios_basemem); } >>>>=20 >>>> + printf("Hello! I am a hack.\n"); dsk =3D malloc(sizeof(struct >>>> dsk)); dsk->drive =3D *(uint8_t *)PTOV(ARGS); dsk->type =3D dsk->drive >>>> & DRV_HARD ? TYPE_AD : TYPE_FD; >>>>=20 >>>> 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: >>>>=20 >>>> 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. >>>>=20 >>>>=20 >>>> Regards, >>>>=20 >>>> Christoph >>>>=20 >>>> 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? >>=20 >> Hi, >>=20 >> This is still happening with 9.2-RELEASE on a HP DL 380 G5: >=20 > Presumably 9.1? >=20 >> gptzfsboot: error 1 lba 32 >> gptzfsboot: error 1 lba 1 >> gptzfsboot: No ZFS pools located, can't boot >>=20 >> Andriy suggested the latest sys/boot/i386/common/edd.h@243024 from head, >> but unfortunately it makes no difference. >>=20 >> The printf hack above still works fine though. >=20 > Do you have avg's most recent commit to edd.h to pack various structures? = I'm=20 > not sure that made it into 9.1. >=20 9.1, of course, sorry! :-) Yes, I've built a fresh gptzfsboot using 9.1 + edd.h from head (with _packe= d keywords added).=20=