Subject: Re: Problem with uvm and AcceleratedX
To: None <khym@bga.com>
From: Chuck Cranor <chuck@dworkin.wustl.edu>
List: port-i386
Date: 02/17/1998 17:47:03
>Okay, this seems to be the interesting part:
>
> 342 Xaccel CALL open(0x5a48,0,0x3d5)
> 342 Xaccel NAMI "/dev/mem"
> 342 Xaccel RET open 5
> 342 Xaccel CALL mmap(0,0x60000,0x3,0,0x5,0,0xa0000,0)
> 342 Xaccel RET mmap -1 errno 13 Permission denied
> 342 Xaccel PSIG SIGBUS caught handler=0x5f20 mask=0x0 code=0x4
> 342 Xaccel CALL sigaction(0xa,0xefbfd5b8,0)
> 342 Xaccel RET sigaction 0
it appears to be opening /dev/mem O_RDONLY and then trying to
mmap() it (PROT_READ|PROT_WRITE). thus the "Permission denied."
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.
chuck