  | |  | cyclades cyzload mmap problems | cyclades cyzload mmap problems 2004-02-11 - By nathan r. hruby
Back On Wed, 11 Feb 2004, Arjan van de Ven wrote:
> On Wed, 2004-02-11 at 22:37, nathan r. hruby wrote:
>
> > window = (unsigned char*) basemapstart;
> > if((long)window <= 0){
>
> ^^^^
> that is buggy.
> "negative " addresses are just fine. You have a 3Gb (or 4Gb with hugemem
> kernel) address space, and the utililty doesn 't say it wants it 's memory
> in a specific location. Yet it barfs if the kernel chosen location is
> above 2Gb, and there is a whopping 1Gb there for the kernel to hand
> out...
>
> change the <= to == and it should be JustFine(tm).
>
I <heart > Arjan! That did the trick. Thanks!
Oddly though, this machine only has 1Gb of RAM, so why it 'd be handing out
addresses above 2Gb is odd.. oh wait.. +3Gb of swap ;-)
-n
--
-- ---- ---- ---- ---- ---- ---- ---- -----
nathan hruby <nhruby@(protected) >
uga enterprise information technology services
production systems support
metaphysically wrinkle-free
-- ---- ---- ---- ---- ---- ---- ---- -----
--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list
|
|
 |