<?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: adb in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215512#M900007</link>
    <description>I cannot find the document OZBEKBRC00000611&lt;BR /&gt;can attach it</description>
    <pubDate>Thu, 11 Mar 2004 01:49:44 GMT</pubDate>
    <dc:creator>yatin</dc:creator>
    <dc:date>2004-03-11T01:49:44Z</dc:date>
    <item>
      <title>adb</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215508#M900003</link>
      <description>I am reading a kernel coredump using adb&lt;BR /&gt;here is what i am doing with output&lt;BR /&gt;[root@pudding:/]adb -m /var/adm/crash/crash.4/vmunix /var/adm/crash/crash.4&lt;BR /&gt;adb&amp;gt;440c4048 /2X&lt;BR /&gt;440C4048:       0               440C74E0&lt;BR /&gt;&lt;BR /&gt;what does adb do right from accepting 440c4048&lt;BR /&gt; to printing 440c74e0&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Mar 2004 01:12:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215508#M900003</guid>
      <dc:creator>yatin</dc:creator>
      <dc:date>2004-03-11T01:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: adb</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215509#M900004</link>
      <description>yatin --&lt;BR /&gt;&lt;BR /&gt;Adb is providing you with 2 words of output in hexidecimal starting with the address 440c4048.&lt;BR /&gt;&lt;BR /&gt;What OS are you using ?&lt;BR /&gt;&lt;BR /&gt;There is a program called Q4 which can be run to give much more clear output then adb when dealing with crash dumps.&lt;BR /&gt;&lt;BR /&gt;See specifically, the document: OZBEKBRC00000611.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=text&amp;amp;searchString=OZBEKBRC00000611&amp;amp;searchCrit=allwords&amp;amp;docType=EngineerNotes&amp;amp;search.x=44&amp;amp;search.y=4" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=text&amp;amp;searchString=OZBEKBRC00000611&amp;amp;searchCrit=allwords&amp;amp;docType=EngineerNotes&amp;amp;search.x=44&amp;amp;search.y=4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This document lists which patches can be installed to provide the latest versions of Q4 as well as instructions on how to run the tool.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent M. Ostby&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Mar 2004 01:36:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215509#M900004</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2004-03-11T01:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: adb</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215510#M900005</link>
      <description>I am using hp 11 64bit</description>
      <pubDate>Thu, 11 Mar 2004 01:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215510#M900005</guid>
      <dc:creator>yatin</dc:creator>
      <dc:date>2004-03-11T01:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: adb</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215511#M900006</link>
      <description>yatin -- The best link for the document is:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000072399670" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000072399670&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you follow the steps in this document to create the trace.txt or trace.out file and post its contents here (they will be short -- between 4 and 15 lines long), we can probably help troubleshoot the problem.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent M. Ostby&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Mar 2004 01:43:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215511#M900006</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2004-03-11T01:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: adb</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215512#M900007</link>
      <description>I cannot find the document OZBEKBRC00000611&lt;BR /&gt;can attach it</description>
      <pubDate>Thu, 11 Mar 2004 01:49:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215512#M900007</guid>
      <dc:creator>yatin</dc:creator>
      <dc:date>2004-03-11T01:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: adb</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215513#M900008</link>
      <description>Hi Kent,&lt;BR /&gt;&lt;BR /&gt;       I am not trying to fix any problem but trying to read the kernel coredump file into my C program using libcrash which is used by q4 and adb.I want to know how do these tools use the address provided by me to get and print the data &lt;BR /&gt;</description>
      <pubDate>Thu, 11 Mar 2004 01:57:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215513#M900008</guid>
      <dc:creator>yatin</dc:creator>
      <dc:date>2004-03-11T01:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: adb</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215514#M900009</link>
      <description>How do I use q4 to pre-process a dump that HP needs to read&lt;BR /&gt;DocId: OZBEKBRC00000611    Updated: 2/13/04 5:52:00 AM&lt;BR /&gt;PROBLEM&lt;BR /&gt;&lt;BR /&gt;Prior to Opening a Call with HP, I'd like to know the best way to pre-process&lt;BR /&gt;my crash dump so HP can troubleshoot it.&lt;BR /&gt;&lt;BR /&gt;RESOLUTION&lt;BR /&gt;&lt;BR /&gt;           ITRC DOCUMENT ID: OZBEKBRC00000611&lt;BR /&gt;&lt;BR /&gt;           USING Q4 TO ANALYZE SYSTEM DUMP FILES&lt;BR /&gt;               (For HPUX 10.10-11.20 systems)&lt;BR /&gt;&lt;BR /&gt;               [NOTE: These guidelines are for North American&lt;BR /&gt;               customers.  Other locales may use a different&lt;BR /&gt;               procedure for preprocessing dump files]&lt;BR /&gt;&lt;BR /&gt;=================================================================&lt;BR /&gt;                          WHAT IS Q4 ?&lt;BR /&gt;=================================================================&lt;BR /&gt;If HP-UX crashes, system firmware saves critical O/S state info in&lt;BR /&gt;RAM to the swap LVOL or a dump device, then reboots the system&lt;BR /&gt;where the O/S copies the dump to a file system directory.&lt;BR /&gt;&lt;BR /&gt;The /usr/contrib/bin/q4 utility is used to investigate the dump.&lt;BR /&gt;"q4" usage methods vary depending on the versions of both the O/S&lt;BR /&gt;and q4.&lt;BR /&gt;&lt;BR /&gt;Please process the dump using the Q4 steps that follow.  Step 6&lt;BR /&gt;helps the user interpret the Q4 results and what to do next.&lt;BR /&gt;&lt;BR /&gt;==============================================================&lt;BR /&gt;STEP 1  =============  WHERE IS THE DUMP?  ===================&lt;BR /&gt;==============================================================&lt;BR /&gt;1.1 /var/adm/crash/ is the default destination directory&lt;BR /&gt;    for dumps.  If a directory is not specified in one of the&lt;BR /&gt;    following boot-time parameters, do so now.&lt;BR /&gt;&lt;BR /&gt;    11.X: /etc/rc.config.d/savecrash - SAVECRASH_DIR=&lt;BR /&gt;    10.X: /etc/rc.config.d/savecore  - SAVECORE_DIR=&lt;BR /&gt;&lt;BR /&gt;    NOTE:  If "/var:  file system full" occurs during the dump&lt;BR /&gt;    save, uncompress or q4 processes in step 4 or 5, use a file&lt;BR /&gt;    system that can accommodate 2x the sum of the GZIPed dump&lt;BR /&gt;    files.  Update /etc/rc.config.d/save*&lt;BR /&gt;&lt;BR /&gt;1.2 Determine if a recent crash.N (11.X) or core.N (10.X)&lt;BR /&gt;    directory exists in the dump directory:&lt;BR /&gt;      # ll /var/adm/crash/c*   (dump directory)&lt;BR /&gt;&lt;BR /&gt;NOTE:  "N" increments with each new dump.&lt;BR /&gt;&lt;BR /&gt;1.3 If the system dump is not at the expected path, attempt to&lt;BR /&gt;    save it using one of these commands:&lt;BR /&gt;      11.X:   # savecrash -vr  &lt;BR /&gt;      10.X:   # savecore -vr  &lt;BR /&gt;&lt;BR /&gt;  If the command results in "invalid dump header", a valid dump&lt;BR /&gt;  does not exist in the swap/dump device.  (Swapping may have&lt;BR /&gt;  occured)&lt;BR /&gt;&lt;BR /&gt;1.4 /etc/shutdownlog and /var/adm/crash/c*/INDEX contain a useful&lt;BR /&gt;    crash "panic" statement.  If it does not exist:&lt;BR /&gt;      # touch /etc/shutdownlog &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;==============================================================&lt;BR /&gt;STEP 2  =====  WHAT VERSION OF Q4 IS LOADED?  ================&lt;BR /&gt;==============================================================&lt;BR /&gt;2.1 Determine which version of q4 is loaded:&lt;BR /&gt;      # swlist -l product | grep -i q4 &lt;BR /&gt;&lt;BR /&gt;    The O/S comes with one of the following versions:&lt;BR /&gt;  OS-Core.Q4    B.10.20   HP-UX Crash Dump Debugger for PA-RISC systems&lt;BR /&gt;  OS-Core.Q4    B.11.00   HP-UX Crash Dump Debugger for PA-RISC systems&lt;BR /&gt;&lt;BR /&gt;    If one of the following patched versions are listed, proceed&lt;BR /&gt;    to step 3:&lt;BR /&gt;    10.20                11.00                 11.11 &lt;BR /&gt;      PHCO_28068(latest)   PHCO_28069(latest)    PHCO_28067(latest)&lt;BR /&gt;      PHCO_20261           PHCO_26075            PHCO_25723&lt;BR /&gt;                               PHCO_20262&lt;BR /&gt;&lt;BR /&gt;2.2 If q4 is not loaded, or the dump was forced after a system&lt;BR /&gt;    hang, swinstall the appropriate patched version.  Loading a&lt;BR /&gt;    patched version will NOT cause a system reboot.  Installation&lt;BR /&gt;    instructions accompany the patch.&lt;BR /&gt;&lt;BR /&gt;Links to each O/S version of "Patched Q4" (login required):&lt;BR /&gt;Link to the 11.22 patch for Q4&lt;BR /&gt;Link to the 11.11 patch for Q4&lt;BR /&gt;Link to the 11.00 patch for Q4&lt;BR /&gt;Link to the 11.20 patch for Q4&lt;BR /&gt;  NOTE: the webpage shows the most recent version.&lt;BR /&gt;&lt;BR /&gt;2.3 If q4 is not loaded and a patch version cannot be downloaded,&lt;BR /&gt;    load the original version from the CD media...&lt;BR /&gt;    Mount the INSTALL media and verify a matching version of&lt;BR /&gt;    Q4 is available:&lt;BR /&gt;      # swlist -l product -s / | grep Q4 &lt;BR /&gt;&lt;BR /&gt;  OS-Core.Q4    B.10.10     HP-UX Crash Dump Debugger for PA-RISC systems&lt;BR /&gt;                  ^^^^^ -matches the O/S&lt;BR /&gt;    Install it:&lt;BR /&gt;      # swinstall -vs / OS-Core.Q4 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;==============================================================&lt;BR /&gt;STEP 3  =====  CD TO THE DUMP DIRECTORY  =====================&lt;BR /&gt;==============================================================&lt;BR /&gt;NOTE: csh (c-shell) will cause errors with q4. Use sh-posix.&lt;BR /&gt;IMPORTANT!  cd to the dump directory and then skip to step 5.&lt;BR /&gt;Example:&lt;BR /&gt;      # cd /var/adm/crash/crash.0   OR   /var/adm/crash/core.0 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;==============================================================&lt;BR /&gt;STEP 4  =========  IF USING UNPATCHED Q4  ====================&lt;BR /&gt;==============================================================&lt;BR /&gt;4.1  If vmunix is still compressed (vmunix.gz), unpack it:&lt;BR /&gt;      # /usr/contrib/bin/gunzip vmunix.gz &lt;BR /&gt;&lt;BR /&gt;4.2 Prepare the dump tools ...&lt;BR /&gt;    For 10.20 through 11.11, type: &lt;BR /&gt;      # /usr/contrib/bin/q4prep -p &lt;BR /&gt;&lt;BR /&gt;    For 11.20 and newer, type: &lt;BR /&gt;      # /usr/contrib/Q4/bin/q4prep -p &lt;BR /&gt;&lt;BR /&gt;   For 10.10, type the following commands:&lt;BR /&gt;      # uncompress /usr/contrib/lib/Q4Lib.tar.Z &lt;BR /&gt;        (ignore the error if this was done previously)&lt;BR /&gt;&lt;BR /&gt;      # tar -xf /usr/contrib/lib/Q4Lib.tar &lt;BR /&gt;        (output placed in the current directory)&lt;BR /&gt;&lt;BR /&gt;      # cp q4lib/sample.q4rc.pl ~/.q4rc.pl &lt;BR /&gt;                               \ \        \&lt;BR /&gt;        Note the use of a tilde and letter "l" (not digit 1)&lt;BR /&gt;&lt;BR /&gt;      # /usr/contrib/bin/q4pxdb vmunix &lt;BR /&gt;        (ignore a "already preprocessed" complaint)&lt;BR /&gt;&lt;BR /&gt;4.3 Type:&lt;BR /&gt;      # q4 -p  .     (note the "dot" at the end of the command)&lt;BR /&gt;    Then: &lt;BR /&gt;      q4&amp;gt; trace event 0 &amp;gt; trace.out &lt;BR /&gt;      q4&amp;gt; include analyze.pl    &lt;BR /&gt;            (last char. is letter "l", not the digit 1)&lt;BR /&gt;      q4&amp;gt; run Analyze AU &amp;gt;&amp;gt; ana.out  &lt;BR /&gt;            (ctrl-c allows interrupt)&lt;BR /&gt;      q4&amp;gt; include whathappened.pl  &lt;BR /&gt;&lt;BR /&gt;      q4&amp;gt; run WhatHappened -HANG &amp;gt; what.out  &lt;BR /&gt;            (ctrl-c allows interrupt)&lt;BR /&gt;      q4&amp;gt; exit &lt;BR /&gt;&lt;BR /&gt;    If a "file system full" message occurs, follow NOTE in step&lt;BR /&gt;    1.1 and then redo the failed command and proceed.&lt;BR /&gt;&lt;BR /&gt;    Skip to step 6&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;==============================================================&lt;BR /&gt;STEP 5  ============ IF USING PATCHED Q4 =====================&lt;BR /&gt;==============================================================&lt;BR /&gt;5.1 Type:&lt;BR /&gt;      # . /usr/contrib/Q4/bin/set_env &lt;BR /&gt;    Note the 'dot' at the beginning of the command.&lt;BR /&gt;&lt;BR /&gt;5.2 Type:&lt;BR /&gt;      # ll vmunix.gz &lt;BR /&gt;&lt;BR /&gt;    If the file is not found, go to step 5.3&lt;BR /&gt;    If the file is found, type:&lt;BR /&gt;      # gunzip vmunix.gz &lt;BR /&gt;&lt;BR /&gt;5.3 Type:&lt;BR /&gt;      # /usr/contrib/Q4/bin/q4pxdb vmunix  &lt;BR /&gt;        (Ignore "unnecessary" message)&lt;BR /&gt;&lt;BR /&gt;      # /usr/contrib/Q4/bin/q4 -p .  &lt;BR /&gt;         (note the "dot" at the end of the command)&lt;BR /&gt;&lt;BR /&gt;If a "file system full" message occurs, follow NOTE in step 1.1&lt;BR /&gt;and redo the failed command and proceed.&lt;BR /&gt;&lt;BR /&gt;5.4 At the q4&amp;gt; prompt, type these two 'run' commands:&lt;BR /&gt;      q4&amp;gt; run Analyze AU &amp;gt; ana.out &lt;BR /&gt;      q4&amp;gt; run WhatHappened -HANG &amp;gt; what.out &lt;BR /&gt;    NOTE:  These two commands may run for several minutes.&lt;BR /&gt;           CTRL-c can interrupt them.&lt;BR /&gt;&lt;BR /&gt;5.5 Type:&lt;BR /&gt;      q4&amp;gt; exit  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;==============================================================&lt;BR /&gt;STEP 6  ===========  REVIEW AND SEND DATA  ===================&lt;BR /&gt;==============================================================&lt;BR /&gt;6.1 HPUX uses the acronym HPMC (High Prioirity Machine Check) to&lt;BR /&gt;    denote a hardware failure.  Determine if the crash was due to&lt;BR /&gt;    an HPMC ...&lt;BR /&gt;&lt;BR /&gt;    Type:&lt;BR /&gt;      # grep HPMC ana.out trace.out &lt;BR /&gt;&lt;BR /&gt;    If either of the following lines appear, open a hardware&lt;BR /&gt;    repair case for the system:&lt;BR /&gt;&lt;BR /&gt;      "crash event was an HPMC"&lt;BR /&gt;      "Crash Event 0 (HPMC, struct crash_event_table_struct..."&lt;BR /&gt;&lt;BR /&gt;    The OnlineDiag software bundle captures HPMC chassis codes in&lt;BR /&gt;    /var/tombstones/ts* files.  If available, email the 'ts' file&lt;BR /&gt;    created after the "dumptime" listed in the dump INDEX file&lt;BR /&gt;    (eg. ts99).&lt;BR /&gt;&lt;BR /&gt;    If an HPMC did not occur, proceed to the next step.&lt;BR /&gt;&lt;BR /&gt;6.2 Skip the remainder of this step if the following lines are not&lt;BR /&gt;    found in ana.out:&lt;BR /&gt;&lt;BR /&gt;      MC/ServiceGuard: Unable to maintain contact with cmcld daemon.&lt;BR /&gt;      Performing TOC to ensure data integrity.&lt;BR /&gt;&lt;BR /&gt;    If these statements occur, determine the NODE_TIMEOUT value:&lt;BR /&gt;&lt;BR /&gt;      # cmviewconf | grep "node timeout" &lt;BR /&gt;&lt;BR /&gt;    If the value returned is 2 seconds, it's a good bet the value&lt;BR /&gt;    is too low, causing the crash.  When the kernel is too busy to&lt;BR /&gt;    send a Serviceguard heartbeat packet to the other nodes within&lt;BR /&gt;    the NODE_TIMEOUT period, the other nodes reformed a cluster&lt;BR /&gt;    and 'orphaned' this node - causing a TOC/reboot.&lt;BR /&gt;&lt;BR /&gt;    The fix is to update the cluster ASCII file - NODE_TIMEOUT to&lt;BR /&gt;    8 seconds and with the cluster down, 'cmapplyconf -C' the&lt;BR /&gt;    file.  See document UXSGLVKBAN00000010 for details of this&lt;BR /&gt;    issue.  If this is the case - stop here.&lt;BR /&gt;&lt;BR /&gt;6.3 Generate a patch list:&lt;BR /&gt;       # /usr/sbin/swlist -l product PH* &amp;gt; patchlist.out  &lt;BR /&gt;&lt;BR /&gt;6.4 Email the following files:&lt;BR /&gt;      ana.out&lt;BR /&gt;      patchlist.out&lt;BR /&gt;      trace.out&lt;BR /&gt;      what.out&lt;BR /&gt;      /etc/shutdownlog&lt;BR /&gt;      /var/tombstones/ts99   &lt;BR /&gt;             (if an HPMC was detected)&lt;BR /&gt;      /var/adm/syslog/OLDsyslog.log &lt;BR /&gt;             (if the dump was due to a hang) &lt;BR /&gt;    To: hpcu@atl.hp.com&lt;BR /&gt;    Cc: support@atl.hp.com&lt;BR /&gt;   Subject:  &lt;BR /&gt;&lt;BR /&gt;    EMAIL RECOMMENDATIONS:&lt;BR /&gt;     - DO NOT send this data to the engineer's personal address.&lt;BR /&gt;     - Send files as attachments when possible.&lt;BR /&gt;     - Send fresh messages, not replies.&lt;BR /&gt;     - Mail size must be &amp;lt; 2MB. Anything greater will be denied.&lt;BR /&gt;&lt;BR /&gt;    After emailing the data, please notify HP that dump email has&lt;BR /&gt;    been sent for action (via callback or ITRC note).&lt;BR /&gt;&lt;BR /&gt;                                *** END ***&lt;BR /&gt;&lt;BR /&gt;Last Modified:&lt;BR /&gt;Tue Jan 27 09:28:57 EST 2004&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ALT KEYWORDS&lt;BR /&gt;Q4 q4 crash dump hang hpmc panic using_q4 UXDN</description>
      <pubDate>Thu, 11 Mar 2004 03:21:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb/m-p/3215514#M900009</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2004-03-11T03:21:29Z</dc:date>
    </item>
  </channel>
</rss>

