Subject: Re: ahb* at isa?
To: Chris G Demetriou <Chris_G_Demetriou@lagavulin.pdl.cs.cmu.edu>
From: Gary D. Duzan <gary@wheel.tiac.net>
List: port-i386
Date: 01/29/1995 09:10:21
In Message <199501291330.IAA06932@sundog.tiac.net> ,
   Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU> wrote:

=>> This solution worked for me too. 
=>> But I am not willing to run without XFree86 3.1 working.
=>> [ ... ]
=>> Fatal server error:
=>> xf86MapVidMem: Could not mmap /dev/vga (Invalid argument)
=>
=>Somebody, i forget who, said that ktrace reported that the mmap()
=>failed with EINVAL...  yet they failed to indicate why it might have
=>failed -- e.g. they failed to indicate mmap's arguments which are also
=>included in ktrace's output...
=>
   I didn't do a ktrace before, but I just did one now. This is
the part that appears relevant:

   343 XF86_S3  CALL  open(0x3d594,0x2,0x2)
   343 XF86_S3  NAMI  "/dev/mem"
   343 XF86_S3  RET   open -1 errno 1 Operation not permitted
   343 XF86_S3  CALL  mmap(0,0x20000,0x3,0,0x4,0,0)
   343 XF86_S3  RET   mmap -1 errno 22 Invalid argument

                                      Gary D. Duzan
                         Humble Practitioner of the Computer Arts