<div dir="ltr"><div><div><div>From linux version 2.26.* onwards there is a filter provided by the default kernel configuration disabling the users from accessing the ram area. There was a lengthy discussion on the same topic in this mailing list 2 years back- <br>
<a href="http://www.spinics.net/lists/newbies/msg41020.html">http://www.spinics.net/lists/newbies/msg41020.html</a> <br></div>If you still want to access the RAM you disable this option in the kernel configuration menu. <i>kernel hacking -&gt; Filter access to /dev/mem</i>. <br>
</div><br></div><i>Disclaimer:</i> You will be responsible for the integrity of the RAM contents :)<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 19, 2013 at 12:11 PM, er krishna <span dir="ltr">&lt;<a href="mailto:erkrishna@gmail.com" target="_blank">erkrishna@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Root user and trying to acess physical ram reason. I wanted to know is there any limit for mmap through use space and how to override them. </div>
<div> </div><div>Krish </div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Apr 19, 2013 at 12:09 PM, Prabhu nath <span dir="ltr">&lt;<a href="mailto:gprabhunath@gmail.com" target="_blank">gprabhunath@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Is this address (0xB202E7000) a memory address or device address ?. R you working as privileged user or a normal user. ?<br><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Fri, Apr 19, 2013 at 11:50 AM, er krishna <span dir="ltr">&lt;<a href="mailto:erkrishna@gmail.com" target="_blank">erkrishna@gmail.com</a>&gt;</span> wrote:<br>


<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div dir="ltr">Hi All,<div><br></div><div>I am trying to do mmap from user space program to fetch physical memory base address B202E7000 and size F0. But I am getting operation not permitted error. Any suggestion by which I can increase the privilage by sysctl to acess this reason ?</div>


<span><font color="#888888">
<div><br></div><div>Krishna</div></font></span></div>
<br clear="all"></blockquote></div><br></div></div><span><font color="#888888">-- <br>Regards,<br>Prabhunath G<br>Linux Trainer<br>Bangalore<br>
</font></span></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Prabhunath G<br>Linux Trainer<br>Bangalore<br>
</div>