From owner-freebsd-current@FreeBSD.ORG Mon Aug 22 12:58:58 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 95FE71065675 for ; Mon, 22 Aug 2011 12:58:58 +0000 (UTC) (envelope-from christoph_hoffmann@me.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id 710F28FC13 for ; Mon, 22 Aug 2011 12:58:58 +0000 (UTC) MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_dhaOQu7O1t7dAhVo33SXwg)" Received: from [172.16.17.216] ([62.2.44.34]) by asmtp026.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LQB00EXDYQ3KM50@asmtp026.mac.com> for freebsd-current@freebsd.org; Mon, 22 Aug 2011 05:58:56 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-08-22_03:2011-08-22, 2011-08-22, 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-1108220096 From: Christoph Hoffmann Date: Mon, 22 Aug 2011 14:58:50 +0200 In-reply-to: To: freebsd-current@freebsd.org References: <9B96176A-7550-4B60-8F4D-0B667EEF7A15@me.com> <201108161515.50127.jhb@freebsd.org> <23B6937F-F261-4DC4-9168-96720251C98D@me.com> <4E502F2F.50209@FreeBSD.org> Message-id: <9FAB808F-E5D4-4B93-9D5F-BAE025930273@me.com> X-Mailer: Apple Mail (2.1244.3) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Mon, 22 Aug 2011 12:58:58 -0000 --Boundary_(ID_dhaOQu7O1t7dAhVo33SXwg) Content-type: text/plain; CHARSET=US-ASCII Content-transfer-encoding: 7BIT Hello Everybody, As per Dimitry request, please find set of gzip'ed zfsboot.s files (61223 bytes). Due to size of the attachments which exceeded 200 KB, the original message has been rejected. Thank you very much indeed for your help and I am sorry of this spam. Regards, Christoph --Boundary_(ID_dhaOQu7O1t7dAhVo33SXwg) Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: quoted-printable -- Christoph Hoffmann On Aug 22, 2011, at 12:23 PM, Christoph Hoffmann wrote: > Hello Dimitry, >=20 > Please find attached zfsboot.s files.=20 >=20 > Thank you very much indeed for your help. >=20 > Best Regards, >=20 > Christoph >=20 > >=20 > -- > Christoph Hoffmann >=20 > On Aug 21, 2011, at 12:03 AM, Dimitry Andric wrote: >=20 >> On 2011-08-18 18:30, Christoph Hoffmann wrote: >> ... >>> 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); >>>=20 >>> dsk =3D malloc(sizeof(struct dsk)); >>> dsk->drive =3D *(uint8_t *)PTOV(ARGS); >>> dsk->type =3D dsk->drive& DRV_HARD ? TYPE_AD : TYPE_FD; >>> dsk->unit =3D dsk->drive& DRV_MASK; >>> dsk->slice =3D *(uint8_t *)PTOV(ARGS + 1) + 1; >>> dsk->part =3D 0; >>> dsk->start =3D 0; >>> dsk->init =3D 0; >>>=20 >>> bootdev =3D MAKEBOOTDEV(dev_maj[dsk->type], >>> dsk->slice, dsk->unit, dsk->part), >>> [=85] >>>=20 >>>=20 >>> fixes the problem. >>=20 >> Can you please use -save-temps to save the intermediate zfsboot.s = files, >> both before and after you change this order, then post them here? = It's >> easiest to just do: >>=20 >> DEBUG_FLAGS=3D-save-temps make -C /usr/src/sys/boot/i386/gptzfsboot = clean all >>=20 >> then save /usr/obj/usr/src/sys/boot/i386/gptzfsboot/zfsboot.s = somewhere. >>=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" >=20 --Boundary_(ID_dhaOQu7O1t7dAhVo33SXwg)--