Bug 71783 - X doesn't start giving because of mmap() error.
X doesn't start giving because of mmap() error.
Product: Red Hat Raw Hide
Classification: Retired
Component: XFree86 (Show other bugs)
alpha Linux
medium Severity medium
: ---
: ---
Assigned To: Mike A. Harris
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2002-08-19 00:34 EDT by Ray Strode
Modified: 2007-04-18 12:45 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-09-01 19:49:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
A patch to fix the problem. (1.23 KB, patch)
2002-08-19 00:36 EDT, Ray Strode
no flags Details | Diff

  None (edit)
Description Ray Strode 2002-08-19 00:34:47 EDT
XFree86 from RawHide doesn't start, failing with the 
error "xf86MapVidMemSparse: Could not (dense) mmap fb (No such file or 
directory)".  This is because mapVidMemSparse() in lnx_video.c incorrectly 
assumes that if mmap() returns an address that is different from the address 
requested then there is an error.

I will attach a patch that seems to fix the problem.
Comment 1 Ray Strode 2002-08-19 00:36:36 EDT
Created attachment 71391 [details]
A patch to fix the problem.
Comment 2 Mike A. Harris 2002-08-20 03:23:46 EDT
Thanks for the report, and the patch.  When I get a chance to hack
on Alpha stuff, I'll poke at this, and try to integrate changes needed
for Alpha and test, etc.

Thanks again.
Comment 3 Mike A. Harris 2002-11-03 08:19:09 EST
Applied to my 4.2.1-9.1 build, and my latest CVS build as of today.
Patch seems to work fine.  Thanks.
Comment 4 Michael Fulbright 2002-12-20 12:38:25 EST
Time tracking values updated

Note You need to log in before you can comment on or make changes to this bug.