From owner-freebsd-current@FreeBSD.ORG Mon Oct 24 23:21:28 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 AF1E11065670; Mon, 24 Oct 2011 23:21:28 +0000 (UTC) (envelope-from gsfr@stanford.edu) Received: from smtp.stanford.edu (smtp3.Stanford.EDU [171.67.219.83]) by mx1.freebsd.org (Postfix) with ESMTP id 94D248FC08; Mon, 24 Oct 2011 23:21:28 +0000 (UTC) Received: from smtp.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 465BFD8451; Mon, 24 Oct 2011 16:21:28 -0700 (PDT) Received: from nimble.stanford.edu (nimble.Stanford.EDU [171.64.204.227]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gsfr) by smtp.stanford.edu (Postfix) with ESMTPSA id A31B7D8499; Mon, 24 Oct 2011 16:21:27 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Gunnar Schaefer In-Reply-To: <20111024214020.GA60109@neveragain.de> Date: Mon, 24 Oct 2011 16:21:27 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201110240941.02515.jhb@freebsd.org> <4EA56C7E.1040005@FreeBSD.org> <201110241133.23397.jhb@freebsd.org> <20111024214020.GA60109@neveragain.de> To: Dennis Koegel X-Mailer: Apple Mail (2.1084) Cc: Pavel Timofeev , freebsd-current@freebsd.org, Andriy Gapon Subject: Re: Fresh installed Freebsd 9 don't boot from hd 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, 24 Oct 2011 23:21:28 -0000 On Oct 24, 2011, at 2:40 PM, Dennis Koegel wrote: > On Mon, Oct 24, 2011 at 11:33:23AM -0400, John Baldwin wrote: >> Perhaps try http://www.freebsd.org/~jhb/patches/edd_params.patch >=20 > GCC chokes here in drv.c:{49,50}: "cannot convert to a pointer type": >=20 > v86.ds =3D VTOPSEG(params); > v86.esi =3D VTOPOFF(params); >=20 > Changed this to ¶ms. Also changed sector_size to uint16_t as noted > by Andriy. Boots perfectly! (Tested with gcc and clang) I'd like to test these patches on my Supermicro machine as well. = Unfortunately, I don't know how to go about it, but I'm hopeful to be = able to figure it out with some basic instructions. I'm currently = running a fresh RC1 install, and I'm able to boot the system if I set = the BIOS to IDE mode, rather than AHCI. Any help would be much appreciated, Gunnar=