Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2011 23:40:20 +0200
From:      Dennis Koegel <dk@neveragain.de>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Pavel Timofeev <timp87@gmail.com>, freebsd-current@freebsd.org, Andriy Gapon <avg@freebsd.org>
Subject:   Re: Fresh installed Freebsd 9 don't boot from hd
Message-ID:  <20111024214020.GA60109@neveragain.de>
In-Reply-To: <201110241133.23397.jhb@freebsd.org>
References:  <CAAoTqftvv1t214Q9uWJR-Jug4GJEZshXyOr6uB_d19h2NV89XA@mail.gmail.com> <201110240941.02515.jhb@freebsd.org> <4EA56C7E.1040005@FreeBSD.org> <201110241133.23397.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 &params. Also changed sector_size to uint16_t as noted
by Andriy. Boots perfectly! (Tested with gcc and clang)

Thanks!
- D.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111024214020.GA60109>