<div dir="ltr">hi<div>i am using linux kernelĀ 2.6.32-642 from Centos</div><div>i have installed</div><div><div><br></div><div>elfutils-libelf-0.152-1.el6.x86_64</div><div>elfutils-libs-0.152-1.el6.x86_64</div></div><div><div>glib2-2.22.5-5.el6.x86_64</div><div>glibc-2.12-1.192.el6.x86_64</div><div>glibc-2.12-1.192.el6.i686</div><div>glibc-utils-2.12-1.192.el6.x86_64</div><div>glibc-common-2.12-1.192.el6.x86_64</div></div><div><br></div><div>the errors i get are:</div><div>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">read_remote failed: len=4, addr=0x400040, dest=0xca31d6ac, errno="Operation not permitted"</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">thanks</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Ran</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 22, 2018 at 12:10 AM, John Ogness <span dir="ltr"><<a href="mailto:john.ogness@linutronix.de" target="_blank">john.ogness@linutronix.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
On 2018-02-21, work ran <<a href="mailto:work.greeran@gmail.com">work.greeran@gmail.com</a>> wrote:<br>
> i am trying to use the minicoredumper but am getting errors<br>
> errno="Operation not permitted" when trying to pread64 from the<br>
> /proc/<pid>/mem on an application that crashed. i tried wrapping the<br>
> code with ptrace attach and detach but with no change.<br>
><br>
> could someone tell me what i am doing wrong<br>
<br>
</span>What kernel are you using (version and distribution)?<br>
<span class="HOEnZb"><font color="#888888"><br>
John Ogness<br>
</font></span></blockquote></div><br></div>