mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: sridhar vaidyanathan <sridharv@ufl.edu>
To: linux-kernel@vger.kernel.org
Subject: /dev/raw and /dev/mem
Date: Mon,  2 Jun 2003 16:32:54 -0400	[thread overview]
Message-ID: <1054585974.3edbb476325aa@webmail.health.ufl.edu> (raw)


I attempetd to transfer data from a raw char device to a buffer allocated by 
mmaping /dev/mem. But the operation failed with 'Bad Address'.Upon a bit of 
investigation I found that VM_IO flag is set in the mmaped pages.get_user_pages
() which is called by the raw character driver doesn't like this.I am not very 
clear about the reason.
Is it not possible to do this?
-sridhar
ps: email me as i am not subscribed.

                 reply	other threads:[~2003-06-02 20:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1054585974.3edbb476325aa@webmail.health.ufl.edu \
    --to=sridharv@ufl.edu \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®