genuine cpu I386_CPU kernel support

John Baldwin jhb at freebsd.org
Tue Sep 22 16:52:01 UTC 2009


On Monday 21 September 2009 8:03:43 am Julian H. Stacey wrote:
> Hi,
> Reference:
> > From:		Alexey Shuvaev <shuvaev at physik.uni-wuerzburg.de> 
> > Date:		Fri, 18 Sep 2009 14:56:59 +0200 
> > Message-id:	<20090918125659.GA88218 at 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


More information about the freebsd-hackers mailing list