Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2011 15:55:23 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Gunnar Schaefer <gsfr@stanford.edu>
Cc:        Pavel Timofeev <timp87@gmail.com>, freebsd-current@freebsd.org, Andriy Gapon <avg@freebsd.org>, Dennis Koegel <dk@neveragain.de>
Subject:   Re: Fresh installed Freebsd 9 don't boot from hd
Message-ID:  <201110251555.23066.jhb@freebsd.org>
In-Reply-To: <F0549795-4313-4AAE-B6C1-824861126159@stanford.edu>
References:  <CAAoTqftvv1t214Q9uWJR-Jug4GJEZshXyOr6uB_d19h2NV89XA@mail.gmail.com> <20111024214020.GA60109@neveragain.de> <F0549795-4313-4AAE-B6C1-824861126159@stanford.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 &params. 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



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