/dev/raw and /dev/mem

From: sridhar vaidyanathan (sridharv@ufl.edu)
Date: Mon Jun 02 2003 - 15:32:54 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:18 EST