Re: UML fails to locate address space

From: Jeff Dike
Date: Tue May 20 2008 - 22:20:31 EST


On Tue, May 20, 2008 at 05:54:34PM -0400, linux-os (Dick Johnson) wrote:
> Okay, then instead of putting a NULL in the "hint" to mmap() try
> something else (0x1000?). That may help.

You don't seem to have followed the thread. For UML, the address
isn't a hint - it's a requirement. Tossing random numbers into your
code until a particular test works isn't really the way to go. In
this case, we are looking at mmap_min_addr being set at 0x10000, but
which may be set to 0x20000 someplace else.

Jeff

--
Work email - jdike at linux dot intel dot com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/