On Wed, Oct 19, 2011 at 10:57 AM, bob <ilikepie420@xxxxxxxx> wrote:
Hi,It would be nice to share your solution in case someone else comes into the same problem.
It was stupid mistake. I forgot to initialize the file descriptor which was passed to mmap and therefore it was throwing "Bad file descriptor" error.i realized it after looking the errors in "man mmap".
Thanks
Vaibhav Jain
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies