From: Wolfgang Denk <wd@denx.de>
To: David Ashley <dash@xdr.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Linux 2.4.17 bug, mmap of /dev/mem
Date: Mon, 25 Feb 2002 23:41:24 +0100 [thread overview]
Message-ID: <20020225224129.40BF9109E3@denx.denx.de> (raw)
In-Reply-To: Your message of "Mon, 25 Feb 2002 14:29:39 PST." <200202252229.g1PMTdQ02395@xdr.com>
In message <200202252229.g1PMTdQ02395@xdr.com> you wrote:
>
> There is an issue here where I'm trying to give you or whoever is interested
> in this thread a test program to run that will demonstrate the problem.
> I don't actually bang the SMC or CPM or whatever, I am trying to do
> perfectly valid stuff with a user level program accessing io space of
> pci devices. There is no kernel level code accessing the device I'm trying
> to work with. It makes absolutely no difference where the mmap goes to, as
> long as it is not normal system ram.
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
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
How many seconds are there in a year? If I tell you there are 3.155 x
10^7, you won't even try to remember it. On the other hand, who could
forget that, to within half a percent, pi seconds is a nanocentury.
-- Tom Duff, Bell Labs
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-02-25 22:41 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-25 22:29 Linux 2.4.17 bug, mmap of /dev/mem David Ashley
2002-02-25 22:41 ` Wolfgang Denk [this message]
2002-02-26 0:57 ` Greg Griffes
2002-02-26 1:34 ` Dan Malek
-- strict thread matches above, loose matches on Subject: below --
2002-02-27 21:48 David Ashley
2002-02-27 22:05 ` Wolfgang Grandegger
2002-02-27 21:36 David Ashley
2002-02-27 21:04 David Ashley
2002-02-27 21:06 ` Dan Malek
2002-02-26 20:17 David Ashley
2002-02-26 16:00 David Ashley
2002-02-26 3:15 David Ashley
2002-02-26 3:50 ` Dan Malek
2002-02-26 14:43 ` John W. Linville
2002-02-26 15:18 ` Wolfgang Denk
2002-02-26 17:06 ` Dan Malek
2002-02-26 0:36 David Ashley
2002-02-26 0:18 David Ashley
2002-02-26 0:06 David Ashley
2002-02-25 23:43 David Ashley
[not found] <3C7AC345.301@embeddededge.com>
2002-02-25 23:26 ` Wolfgang Denk
2002-02-25 20:27 David Ashley
2002-02-25 20:54 ` Dan Malek
2002-02-25 21:06 ` Dan Malek
2002-02-25 22:36 ` Wolfgang Denk
2002-02-25 18:16 David Ashley
2002-02-25 18:51 ` Dan Malek
2002-02-20 15:54 David Ashley
2002-02-15 7:17 Goddeeris Frederic
2002-02-14 17:06 David Ashley
2002-02-14 9:22 Goddeeris Frederic
2002-02-12 0:36 David Ashley
2002-02-08 16:07 David Ashley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020225224129.40BF9109E3@denx.denx.de \
--to=wd@denx.de \
--cc=dash@xdr.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).