Re: Linux 2.4.17 bug, mmap of /dev/mem

From: David Ashley <hidden>
Date: 2002-02-25 23:43:57

mmap doesn't fail, it works, but running the program causes the system
to fail. It is something deeper, in the virtual memory system, that is
causing the trouble.

mmap is always returning the same address, something like
c0017000
for example.

-Dave
Did you ever check the address returned from the mmap() call?  Is  it
always the same, or in the same range, or does it actually look as if
you were leaking mmap()ed memory even though you unmapped it?

Which errno is returned when mmap() fails?



Wolfgang Denk
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help