<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: core dump question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215844#M893429</link>
    <description>I am using HP 11</description>
    <pubDate>Fri, 12 Mar 2004 04:02:23 GMT</pubDate>
    <dc:creator>yatin</dc:creator>
    <dc:date>2004-03-12T04:02:23Z</dc:date>
    <item>
      <title>core dump question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215839#M893424</link>
      <description>I am reading coredump using cr_read. how can I read value stored at 0x440c4000.I cannot use adb or q4 or any other debuger as i want to read the value into variable in c program&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Mar 2004 06:55:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215839#M893424</guid>
      <dc:creator>yatin</dc:creator>
      <dc:date>2004-03-11T06:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: core dump question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215840#M893425</link>
      <description>you can use adb&lt;BR /&gt;echo "0x440c4000/X\n0x440c4000?X"|adb myexecutable thecorefile&lt;BR /&gt;&lt;BR /&gt;the first will be read from the core dump.&lt;BR /&gt;the second from the executable&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Mar 2004 08:44:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215840#M893425</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2004-03-11T08:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: core dump question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215841#M893426</link>
      <description>Hmm... cr_read(3) and libcrash(5) are designed for _system_ crash dumps. Are you really talking about system crash dumps... or are you trying to read from a standard user process core file?</description>
      <pubDate>Thu, 11 Mar 2004 10:42:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215841#M893426</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2004-03-11T10:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: core dump question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215842#M893427</link>
      <description>I am talking about system crash dumps</description>
      <pubDate>Thu, 11 Mar 2004 23:31:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215842#M893427</guid>
      <dc:creator>yatin</dc:creator>
      <dc:date>2004-03-11T23:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: core dump question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215843#M893428</link>
      <description>which version of HPUX?</description>
      <pubDate>Fri, 12 Mar 2004 03:33:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215843#M893428</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2004-03-12T03:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: core dump question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215844#M893429</link>
      <description>I am using HP 11</description>
      <pubDate>Fri, 12 Mar 2004 04:02:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215844#M893429</guid>
      <dc:creator>yatin</dc:creator>
      <dc:date>2004-03-12T04:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: core dump question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215845#M893430</link>
      <description>On 11.X usually crashdump don't contain user data pages,&lt;BR /&gt;This can be configured with crashconf.&lt;BR /&gt;&lt;BR /&gt;If you have a full dump - usually not-&lt;BR /&gt;then with q4:&lt;BR /&gt;1) find the process structure in the proctable,&lt;BR /&gt;2)look at the pregions in the vas of that process, &lt;BR /&gt;3) and look for your address in the vas ( look only at the vaddr ) to find the space.&lt;BR /&gt;4) ex thespace.theaddress using L&lt;BR /&gt;( L is for long)&lt;BR /&gt;&lt;BR /&gt;you have to do the same with cr_read()&lt;BR /&gt;If your program is able to display its spaceid for that address, it is more simple.</description>
      <pubDate>Fri, 12 Mar 2004 04:25:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215845#M893430</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2004-03-12T04:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: core dump question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215846#M893431</link>
      <description>hi Laurent&lt;BR /&gt;          Thanks for your help but can u be more specific i din't understand what u meant can u explain me with some example</description>
      <pubDate>Fri, 12 Mar 2004 05:06:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215846#M893431</guid>
      <dc:creator>yatin</dc:creator>
      <dc:date>2004-03-12T05:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: core dump question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215847#M893432</link>
      <description>If 0x440c4000 is the *physical* address of what you want to read, just divide by the system page size (you can get that from sysconf() ).&lt;BR /&gt;&lt;BR /&gt;If you're trying to read the data at kernel virtual address 0x440c4000, then you'll have to translate the virtual address first. That means you'll need to load up the hashed page directory first.... and you'll need to know how to calculate the indices properly, etc.&lt;BR /&gt;&lt;BR /&gt;If you know HP-UX kernel internals well, this should be doable.&lt;BR /&gt;&lt;BR /&gt;If not (and you don't want to take the classes to learn), I'd seriously rethink your approach. You could after all just use the system() call to invoke adb to go find this for you. (And if your heart is set on reading the dump yourself... you could creatively let adb do your translating for you as well).</description>
      <pubDate>Fri, 12 Mar 2004 14:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215847#M893432</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2004-03-12T14:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: core dump question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215848#M893433</link>
      <description>Alternatively use a expect script that can automate the fetching of the variables and then plug these values into a C program.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Mar 2004 14:51:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215848#M893433</guid>
      <dc:creator>Paddy_1</dc:creator>
      <dc:date>2004-03-12T14:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: core dump question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215849#M893434</link>
      <description>Paddy i dint get u.</description>
      <pubDate>Sat, 13 Mar 2004 02:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215849#M893434</guid>
      <dc:creator>yatin</dc:creator>
      <dc:date>2004-03-13T02:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: core dump question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215850#M893435</link>
      <description>How can i use adb to to just translate kernel virtual address to physical address</description>
      <pubDate>Mon, 22 Mar 2004 05:40:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-question/m-p/3215850#M893435</guid>
      <dc:creator>yatin</dc:creator>
      <dc:date>2004-03-22T05:40:36Z</dc:date>
    </item>
  </channel>
</rss>

