From owner-freebsd-current@FreeBSD.ORG Mon Oct 24 21:40:22 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 04A19106564A; Mon, 24 Oct 2011 21:40:22 +0000 (UTC) (envelope-from dkmail@mail.neveragain.de) Received: from mail.neveragain.de (mail.neveragain.de [IPv6:2001:aa8:fffc::25]) by mx1.freebsd.org (Postfix) with ESMTP id 99B9A8FC12; Mon, 24 Oct 2011 21:40:21 +0000 (UTC) Received: by mail.neveragain.de (Postfix, from userid 1029) id 9B4AE1703E; Mon, 24 Oct 2011 23:40:20 +0200 (CEST) Date: Mon, 24 Oct 2011 23:40:20 +0200 From: Dennis Koegel To: John Baldwin Message-ID: <20111024214020.GA60109@neveragain.de> References: <201110240941.02515.jhb@freebsd.org> <4EA56C7E.1040005@FreeBSD.org> <201110241133.23397.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201110241133.23397.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i 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 21:40:22 -0000 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) Thanks! - D.