Subject: Re: mmap error
To: None <email@example.com, firstname.lastname@example.org>
From: None <email@example.com>
Date: 06/18/2001 20:13:44
I was surprised to find that a Mozilla .9 that was working on my PowerLite 85
did not work on my Sparcstation 2. I found it was due to a mmap problem, that
I suspect is a Kernel bug for the sparc. When mmap is allowed to auto-select
the virtual address, it works fine, however when supplied a large vaule, it
fails. The following code segment fails with a seg fault, and does essentially
what Mozilla does. This code does not fail if vaddr is set to 0, or
0x10000000(again the vaddr = 0x50000000 works on the PowerLite).
This was on a 1.5 system, I did not see any bug fixes that seemed to apply,
so thought I would mention here.
The MMUs on sun4c machines have a hole that goes from 0x1fffffff through
0xe0000000. The hardware simply refuses to access addresses within that