Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2000 19:41:59 +0200
From:      Martin Cracauer <cracauer@cons.org>
To:        Peter Wemm <peter@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/i386/i386 mem.c
Message-ID:  <20000524194159.A74787@cons.org>
In-Reply-To: <200005241422.HAA63818@freefall.freebsd.org>; from peter@FreeBSD.ORG on Wed, May 24, 2000 at 07:22:22AM -0700
References:  <200005241422.HAA63818@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In <200005241422.HAA63818@freefall.freebsd.org>, Peter Wemm wrote: 
> peter       2000/05/24 07:22:22 PDT
> 
>   Modified files:
>     sys/i386/i386        mem.c 
>   Log:
>   pmap_enter() masked off the page offset bits, pmap_kenter() did not.
>   This (I believe) is the cause of the XFree86 startup and/or mptable(8)
>   panics when programs were reading from /dev/mem at non-page-aligned
>   offsets.  The offsets were being converted into random page flags in the
>   page tables. :-(   (including PG_PS = 4MB page size)

Fixed it for me.

Thanks!
	Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/
BSD User Group Hamburg, Germany     http://www.bsdhh.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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