Subject: Re: Problem with uvm and AcceleratedX
To: Chuck Cranor <chuck@dworkin.wustl.edu>
From: Dave Huang <khym@bga.com>
List: port-i386
Date: 02/17/1998 19:10:38
On Tue, 17 Feb 1998, Chuck Cranor wrote:
> it appears to be opening /dev/mem O_RDONLY and then trying to 
> mmap() it (PROT_READ|PROT_WRITE).   thus the "Permission denied."

Ah, so it is... thanks! :) I changed it so that it opens /dev/mem O_RDWR
and it's working again. (Change byte 0x4a8b of the Xaccel binary from 0 to
2, for those who wanna know).

> you say it works with the old BSD VM?  if so, i suspect a 
> strangeness with MAP_FILE that the compat code isn't handling.

Yup, it's been working fine... I'm surprised, after seeing what it was
doing :)
-- 
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++