From owner-freebsd-current@FreeBSD.ORG Tue Oct 25 20:45:51 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 675FC106564A; Tue, 25 Oct 2011 20:45:51 +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 3CD308FC14; Tue, 25 Oct 2011 20:45:51 +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 E46B446B2A; Tue, 25 Oct 2011 16:45:50 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 7BBB38A037; Tue, 25 Oct 2011 16:45:50 -0400 (EDT) From: John Baldwin To: Gunnar Schaefer Date: Tue, 25 Oct 2011 15:55:23 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p8; KDE/4.5.5; amd64; ; ) References: <20111024214020.GA60109@neveragain.de> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201110251555.23066.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Tue, 25 Oct 2011 16:45:50 -0400 (EDT) Cc: Pavel Timofeev , freebsd-current@freebsd.org, Andriy Gapon , Dennis Koegel 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: Tue, 25 Oct 2011 20:45:51 -0000 On Monday, October 24, 2011 7:21:27 pm Gunnar Schaefer wrote: > 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 > > > > GCC chokes here in drv.c:{49,50}: "cannot convert to a pointer type": > > > > v86.ds = VTOPSEG(params); > > v86.esi = VTOPOFF(params); > > > > 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, I just committed them to HEAD (226748 along with a cleanup in 226746). They should backport to 9. -- John Baldwin