Re: Fresh installed Freebsd 9 don't boot from hd

From: Dennis Koegel <dk_at_neveragain.de>
Date: Mon, 24 Oct 2011 23:40:20 +0200
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.
Received on Mon Oct 24 2011 - 19:40:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC