From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 22 16:52:01 2009 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D88E106568D for ; Tue, 22 Sep 2009 16:52:01 +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 6F7F88FC1D for ; Tue, 22 Sep 2009 16:52:01 +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 20E8646B3B; Tue, 22 Sep 2009 12:52:01 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 423EB8A024; Tue, 22 Sep 2009 12:52:00 -0400 (EDT) From: John Baldwin To: "Julian H. Stacey" Date: Tue, 22 Sep 2009 10:27:48 -0400 User-Agent: KMail/1.9.7 References: <200909211203.n8LC3hhn090227@fire.js.berklix.net> In-Reply-To: <200909211203.n8LC3hhn090227@fire.js.berklix.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909221027.48607.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 22 Sep 2009 12:52:00 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Alexey Shuvaev , hackers@freebsd.org Subject: Re: genuine cpu I386_CPU kernel support X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2009 16:52:01 -0000 On Monday 21 September 2009 8:03:43 am Julian H. Stacey wrote: > Hi, > Reference: > > From: Alexey Shuvaev > > Date: Fri, 18 Sep 2009 14:56:59 +0200 > > Message-id: <20090918125659.GA88218@wep4035.physik.uni-wuerzburg.de> > > Alexey Shuvaev wrote: > > On Fri, Sep 18, 2009 at 12:09:46AM +0200, Julian H. Stacey wrote: > > > Hi hackers, > > > I'm trying to get my Genuine 386 running 7.2. It currently runs 4.11. > > > 386 was first base of FreeBSD, a shame to lose it. > > > So far I've hacked diffs as below + the normal > > > /etc/make.conf CFLAGS += -march=i386 > > > cross compiled all bins libs etc & > > > setenv DESTDIR /usr/7.2 i > > > cd /usr/src/etc l make distrib-dirs > > > cd .. ; make install > > > But manually unloading 4.11 kernel & loading 7.2 kernel & booting > > > doesnt yet boot far enough to encourage me to move bins yet, > > > I think I need to do a bit more kernel before that ? > > > This is what I gave so far. Input welcome. > > > > > > [snip] > > > > > Have you already looked at svn r137784 (and possibly some later commits)? > > http://svn.freebsd.org/viewvc/base?view=revision&revision=137784 > > > > 0.02$, > > Alexey. > > Thanks Alexey, No I hadn't seen that. I had just a quick look so far. > I'll look more to see what tio change to compile my 80386 kernel. > PS I cc'd jhb@ who seems to be the one who removed 80386. > Maybe he has a patch set or comment. My comment is to just use 4.x (seriously). A true 386 is going to be quite slow and the overhead of many things added that work well on newer processors is going to be very painful on a 386 (probably on a 486 as well). 4.x runs fine on a 386 and should support all the hardware you can stick into a machine with an 80386 CPU. -- John Baldwin