mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* /dev/raw and /dev/mem
@ 2003-06-02 20:32 sridhar vaidyanathan
  0 siblings, 0 replies; only message in thread
From: sridhar vaidyanathan @ 2003-06-02 20:32 UTC (permalink / raw)
  To: linux-kernel


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-02 20:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-02 20:32 /dev/raw and /dev/mem sridhar vaidyanathan

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®