Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 95 18:19:01 MDT
From:      terry@cs.weber.edu (Terry Lambert)
To:        phk@ref.tfs.com (Poul-Henning Kamp)
Cc:        uhclem%nemesis@fw.ast.com, jgreco@brasil.moneng.mei.com, hackers@FreeBSD.org, bugs@FreeBSD.org
Subject:   Re: 2.0.5-A: Very disheartening?
Message-ID:  <9506080019.AA07812@cs.weber.edu>
In-Reply-To: <199506072203.PAA03872@ref.tfs.com> from "Poul-Henning Kamp" at Jun 7, 95 03:03:30 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > > As far as I can see, the only failing part is the mechanisms associated
> > > with a compressed kernel, or the compressed kernel itself and certain
> > > types of cache subsystems.   I can boot from a floppy with a uncompressed
> > > kernel and that works fine too.  Only the compressed kernel has trouble.
> > 
> > This makes sense, actually.
> 
> Explain please...

Split I and D would cause this.

Also, second reference cached code (uncompressed would be first
reference, so the cache would be clean) on systems with broken caches.

Even on working caches, you'd probably want to either set the pages you
are loading the compressed image into non-cacheable, or BINVD the target
pages from the compression to insure that you don't have bad code in your
cache.

The instruction prefetch crap, and the undocumented-but-existing cache
crap is described in detail in "The Undocumented PC" (one of my favorite
PC computer reference works).

More general code that world detect cache writeback failure and other
issues would be a good thing, but would probably mean two-staging the
boot to make it happy.  It could certainly be useful for HiNT chipset
NiCE EISA motherboards and other boards that lie about cache writeback.

The instruction prefetch cache issue should be an easy one to test for...
are any of the following true:

o	All failures of this type have been on Pentium boxes
o	All failures of this type have been on non-Pentium boxes

If the latter, it's instruction prefetch cache flushing that's needed.
If the former, it's another issue.


					Terry Lambert
					terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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