Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Display the Crash Stack Traceback and Registration Information

    Purpose

    To display the crash stack traceback and registration information.

    Action

    To display the crash stack traceback and registration information, follow these steps:

    1. Exit from the CLI environment and create a UNIX-level shell by entering the start shell command:
      user@host> start shell
    2. Type su and the root password when prompted. You are now in the shell and prompt is % instead of >, for example:
      % su Password: ****
    3. Establish a vty session to the appropriate component. Use the vty command followed by the executable name for the component; for example, scb, ssb0, ssb1, fpc0, or fpc1:
      root@host% vty sfm0

      Note: For the M40e and M160 routers, you can also create a cty session to the components if the components are not online.

    4. Type the show nvram command to view the NVRAM information.
    5. Type the show syslog messages command to view the system log messages.

    Sample Output 1

    user@host> start shell
    % su
    Password: ****
    root@host% vty sfm0
    
    SFM platform (266Mhz PPC 603e processor, 64Mb memory, 512Kb flash)
    SFM3(host vty)# show nvram
    System NVRAM :
     4080 available bytes, 4080 used, 0 free
     Contents:
    
    mpc106 machine check caused by error on the PCI Bus
    mpc106 error detect register 1: 0x08, 2: 0x00
    mpc106 error ack count = 0
    mpc106 error address: 0x0a000000
    mpc106 PCI bus error status register: 0x02
       mpc106 was the PCI master
       C/BE bits: I/O read [0b0010]
    mpc106 error detection reg1: PCI cycle 
    mpc106 PCI status reg: parity error 
    
    System Exception: Vector/Code 0x00700, Signal 4
    Event occurred at: Oct 26 13:32:40.952 
    
    Juniper Embedded Microkernel Version 4.2R1
    Built by tlim on 2000-09-23 06:11:28 UTC
    Copyright (C) 1998-2000, Juniper Networks, Inc.
    All rights reserved.
    Reason string: "Program Check"
    Context: Thread (PFE Manager)
    
    Registers:
    R00: 0x06f5f81c R01: 0x06f5f9cc R02: 0x00003344 R03: 0x00000000 
    R04: 0x00008000 R05: 0x00000000 R06: 0x0010052c R07: 0x06f637e4 
    R08: 0x06f5f81c R09: 0x00169810 R10: 0x000000e8 R11: 0x00000001 
    R12: 0x00046cdf R13: 0xffffffff R14: 0xffffffff R15: 0xffffffff 
    R16: 0xffffffff R17: 0xffffffff R18: 0xffffffff R19: 0xffffffff 
    R20: 0xffffffff R21: 0xffffffff R22: 0xffffffff R23: 0xffffffff 
    R24: 0x00000003 R25: 0x00000000 R26: 0x00000001 R27: 0x0000fc78 
    R28: 0x00150000 R29: 0x0016c4b0 R30: 0x06f5eb7c R31: 0x97cb1d36 
    MSR: 0x0008b030 CTR: 0x000ac008 Link:0x06f5f81c SP:  0x06f5f9cc
    CCR: 0x22200024 XER: 0x20000000 PC:  0x06f5f81c
    DSISR: 0x00000000 DAR: 0xffffffff K_MSR: 0x00001030
    
    Stack Traceback :
    
    Frame 01: sp = 0x06f5f9cc, pc = 0x06f5f81c
    Frame 02: sp = 0x06f5f9e4, pc = 0x000c7e28
    Frame 03: sp = 0x06f5fa04, pc = 0x00026620
    
    ROM NVRAM:
     0 available bytes, 0 used, 0 free
    SFM3(host vty)#  show syslog messages
    
    Oct 26 12:02:05 router tnp_sfm_2 PFEMAN: sent Resync request to Master
    Oct 26 12:02:07 router tnp_sfm_3 CM(3): Slot 1: On-line
    Oct 26 12:02:07 router tnp_sfm_3 CM(3): Slot 2: On-line
    Oct 26 12:02:07 router tnp_sfm_3 CM(3): Slot 6: On-line
    Oct 26 12:02:07 router tnp_sfm_3 PFEMAN: sent Resync request to Master
    Oct 26 12:05:58 router tnp_sfm_3 mpc106 machine check caused by error on the
    PCI Bu
    s
    Oct 26 12:05:58 router tnp_sfm_3 mpc106 error detect register 1: 0x08,
    2: 0x00
    Oct 26 12:05:58 router tnp_sfm_3 mpc106 error ack count = 0
    Oct 26 12:05:58 router tnp_sfm_3 mpc106 error address: 0x0a000000
    Oct 26 12:05:58 router tnp_sfm_3 mpc106 PCI bus error status register: 0x02
    Oct 26 12:05:58 router tnp_sfm_3 mpc106 was the PCI master
    Oct 26 12:05:58 router tnp_sfm_3 C/BE bits: I/O read [0b0010]
    Oct 26 12:05:58 router tnp_sfm_3 mpc106 error detection reg1: PCI cycle
    Oct 26 12:05:58 router tnp_sfm_3 mpc106 PCI status reg: parity error
    Oct 26 12:05:58 router tnp_sfm_3 ^B
    Oct 26 12:05:58 router tnp_sfm_3 last message repeated 7 times
    Oct 26 12:05:58 router tnp_sfm_3 Registers:
    Oct 26 12:05:58 router tnp_sfm_3 R00: 0x06f5f81c R01: 0x06f5f9cc
    R02: 0x00003344 R0
    3: 0x00000000
    Oct 26 12:05:58 router tnp_sfm_3 R04: 0x00008000 R05: 0x00000000
    R06: 0x0010052c R0
    7: 0x06f637e4
    Oct 26 12:05:58 router tnp_sfm_3 R08: 0x06f5f81c R09: 0x00169810
    R10: 0x000003b4 R1
    1: 0x00000001
    Oct 26 12:05:58 router tnp_sfm_3 R12: 0x00017b97 R13: 0xffffffff
    R14: 0xffffffff R1
    5: 0xffffffff
    Oct 26 12:05:58 router tnp_sfm_3 R16: 0xffffffff R17: 0xffffffff
    R18: 0xffffffff R1
    9: 0xffffffff
    Oct 26 12:05:58 router tnp_sfm_3 R20: 0xffffffff R21: 0xffffffff
    R22: 0xffffffff R2
    3: 0xffffffff
    Oct 26 12:05:58 router tnp_sfm_3 R24: 0x00000003 R25: 0x00000000
    R26: 0x00000001 R2
    7: 0x0000fc78
    Oct 26 12:05:58 router tnp_sfm_3 R28: 0x00150000 R29: 0x0016c4b0
    R30: 0x06f5eb7c R3
    1: 0x97c9c35e
    Oct 26 12:05:58 router tnp_sfm_3 MSR: 0x0008b030 CTR: 0x000ac008
    Link:0x06f5f81c SP
    :  0x06f5f9cc
    Oct 26 12:05:58 router tnp_sfm_3 CCR: 0x22200024 XER: 0x20000000
    PC:  0x06f5f81c
    Oct 26 12:05:58 router tnp_sfm_3 DSISR: 0x00000000 DAR: 0xffffffff
    K_MSR: 0x0000103
    0
    

    Sample Output

    crash stack tracebackThe following sample output is another example of displaying the crash stack registration informationtraceback and registration information:
    root@host% vty fpc1
    FPC160 platform (PPC 603e processor, 32Mb memory, 512Kb flash)
    
    FPC1(host vty)# show nvram
    System NVRAM :
     4080 available bytes, 4080 used, 0 free
     Contents:
    0000000 R06: 0x0000005c R07: 0x850400d0 
    R08: 0x00000000 R09: 0x00000020 R10: 0x00000000 R11: 0x00000129 
    R12: 0x00000000 R13: 0x00000000 R14: 0x4005009a R15: 0x20000260 
    R16: 0xc8828784 R17: 0x84212800 R18: 0xc0004c61 R19: 0x80005900 
    R20: 0x80206000 R21: 0x84000304 R22: 0xd0410180 R23: 0x8c2005ac 
    R24: 0x00000003 R25: 0x00000000 R26: 0x00000001 R27: 0x0000fc48 
    R28: 0x001d0000 R29: 0x00000001 R30: 0x00136bb8 R31: 0x00000000 
    MSR: 0x0000b030 CTR: 0x001331e0 Link:0x000308c8 SP:  0x01baba34
    CCR: 0x42200020 XER: 0x00000000 PC:  0x000308cc
    DSISR: 0x00000000 DAR: 0xffffffff K_MSR: 0x00001030
    Stack Traceback:
    Frame 01: sp = 0x01baba34, pc = 0x000308c8
    Frame 02: sp = 0x01babac4, pc = 0x0002647c
    Frame 03: sp = 0x01babad4, pc = 0x00026590
    Frame 04: sp = 0x01babadc, pc = 0x00106fcc
    Frame 05: sp = 0x01babafc, pc = 0x00026620
    ROM NVRAM:
     0 available bytes, 0 used, 0 free
    
    FPC1(host vty)# show syslog messages
    [0+00:00:00.780 LOG: Info] Version 4.0R5 by tlim on 2000-08-10 04:45:54 UTC
    [0+00:00:00.780 LOG: Info] On-board NVRAM contains diagnostic information.
    [0+00:00:03.175 LOG: Info] PFEMAN: Established connection to Master
    [Jan 30 21:53:05.804 LOG: Info] SNTPD: Initial time of day set.
    

    Meaning

    Sample output 1 and 2 show the stack trace from the microkernel crash. Save the output from the show nvram and show syslog commands so that you can send them to JTAC when you open a case.

    Published: 2013-02-25