Step 1: Display the Crash Stack Traceback and Registration Information
Action
To display the crash stack traceback and registration information, follow these steps:
- Exit from the CLI environment and create a UNIX-level shell by entering the
start shellcommand:user@host>start shell- Type
suand the root password when prompted. You are now in the shell and prompt is % instead of >, for example:%suPassword:****- Establish a vty session to the appropriate component. Use the
vtycommand followed by the executable name for the component; for example,scb,ssb0,ssb1,fpc0, orfpc1:root@host%vty sfm0
NOTE: For the M40e and M160 routers, you can also create a
ctysession to the components if the components are not online.- Type the
show nvramcommand to view the NVRAM information.- Type the
show syslogmessagescommand to view the system log messages.Sample Output 1
user@host>start shell%suPassword:****root@host%vty sfm0SFM platform (266Mhz PPC 603e processor, 64Mb memory, 512Kb flash)SFM3(host vty)#show nvramSystem NVRAM :4080 available bytes, 4080 used, 0 freeContents:mpc106 machine check caused by error on the PCI Busmpc106 error detect register 1: 0x08, 2: 0x00mpc106 error ack count = 0mpc106 error address: 0x0a000000mpc106 PCI bus error status register: 0x02mpc106 was the PCI masterC/BE bits: I/O read [0b0010]mpc106 error detection reg1: PCI cyclempc106 PCI status reg: parity errorSystem Exception: Vector/Code 0x00700, Signal 4Event occurred at: Oct 26 13:32:40.952Juniper Embedded Microkernel Version 4.2R1Built by tlim on 2000-09-23 06:11:28 UTCCopyright (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: 0x00000000R04: 0x00008000 R05: 0x00000000 R06: 0x0010052c R07: 0x06f637e4R08: 0x06f5f81c R09: 0x00169810 R10: 0x000000e8 R11: 0x00000001R12: 0x00046cdf R13: 0xffffffff R14: 0xffffffff R15: 0xffffffffR16: 0xffffffff R17: 0xffffffff R18: 0xffffffff R19: 0xffffffffR20: 0xffffffff R21: 0xffffffff R22: 0xffffffff R23: 0xffffffffR24: 0x00000003 R25: 0x00000000 R26: 0x00000001 R27: 0x0000fc78R28: 0x00150000 R29: 0x0016c4b0 R30: 0x06f5eb7c R31: 0x97cb1d36MSR: 0x0008b030 CTR: 0x000ac008 Link:0x06f5f81c SP: 0x06f5f9ccCCR: 0x22200024 XER: 0x20000000 PC: 0x06f5f81cDSISR: 0x00000000 DAR: 0xffffffff K_MSR: 0x00001030Stack Traceback:Frame 01: sp = 0x06f5f9cc, pc = 0x06f5f81cFrame 02: sp = 0x06f5f9e4, pc = 0x000c7e28Frame 03: sp = 0x06f5fa04, pc = 0x00026620ROM NVRAM:0 available bytes, 0 used, 0 freeSFM3(host vty)#show syslog messagesOct 26 12:02:05 router tnp_sfm_2 PFEMAN: sent Resync request to MasterOct 26 12:02:07 router tnp_sfm_3 CM(3): Slot 1: On-lineOct 26 12:02:07 router tnp_sfm_3 CM(3): Slot 2: On-lineOct 26 12:02:07 router tnp_sfm_3 CM(3): Slot 6: On-lineOct 26 12:02:07 router tnp_sfm_3 PFEMAN: sent Resync request to MasterOct 26 12:05:58 router tnp_sfm_3 mpc106 machine check caused by error on thePCI BusOct 26 12:05:58 router tnp_sfm_3 mpc106 error detect register 1: 0x08,2: 0x00Oct 26 12:05:58 router tnp_sfm_3 mpc106 error ack count = 0Oct 26 12:05:58 router tnp_sfm_3 mpc106 error address: 0x0a000000Oct 26 12:05:58 router tnp_sfm_3 mpc106 PCI bus error status register: 0x02Oct 26 12:05:58 router tnp_sfm_3 mpc106 was the PCI masterOct 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 cycleOct 26 12:05:58 router tnp_sfm_3 mpc106 PCI status reg: parity errorOct 26 12:05:58 router tnp_sfm_3 ^BOct 26 12:05:58 router tnp_sfm_3 last message repeated 7 timesOct 26 12:05:58 router tnp_sfm_3 Registers:Oct 26 12:05:58 router tnp_sfm_3 R00: 0x06f5f81c R01: 0x06f5f9ccR02: 0x00003344 R03: 0x00000000Oct 26 12:05:58 router tnp_sfm_3 R04: 0x00008000 R05: 0x00000000R06: 0x0010052c R07: 0x06f637e4Oct 26 12:05:58 router tnp_sfm_3 R08: 0x06f5f81c R09: 0x00169810R10: 0x000003b4 R11: 0x00000001Oct 26 12:05:58 router tnp_sfm_3 R12: 0x00017b97 R13: 0xffffffffR14: 0xffffffff R15: 0xffffffffOct 26 12:05:58 router tnp_sfm_3 R16: 0xffffffff R17: 0xffffffffR18: 0xffffffff R19: 0xffffffffOct 26 12:05:58 router tnp_sfm_3 R20: 0xffffffff R21: 0xffffffffR22: 0xffffffff R23: 0xffffffffOct 26 12:05:58 router tnp_sfm_3 R24: 0x00000003 R25: 0x00000000R26: 0x00000001 R27: 0x0000fc78Oct 26 12:05:58 router tnp_sfm_3 R28: 0x00150000 R29: 0x0016c4b0R30: 0x06f5eb7c R31: 0x97c9c35eOct 26 12:05:58 router tnp_sfm_3 MSR: 0x0008b030 CTR: 0x000ac008Link:0x06f5f81c SP: 0x06f5f9ccOct 26 12:05:58 router tnp_sfm_3 CCR: 0x22200024 XER: 0x20000000PC: 0x06f5f81cOct 26 12:05:58 router tnp_sfm_3 DSISR: 0x00000000 DAR: 0xffffffffK_MSR: 0x00001030Sample Output 2
The following sample output is another example of displaying the crash stack traceback and registration information:
root@host%vty fpc1FPC160 platform (PPC 603e processor, 32Mb memory, 512Kb flash)FPC1(host vty)#show nvramSystem NVRAM :4080 available bytes, 4080 used, 0 freeContents:0000000 R06: 0x0000005c R07: 0x850400d0R08: 0x00000000 R09: 0x00000020 R10: 0x00000000 R11: 0x00000129R12: 0x00000000 R13: 0x00000000 R14: 0x4005009a R15: 0x20000260R16: 0xc8828784 R17: 0x84212800 R18: 0xc0004c61 R19: 0x80005900R20: 0x80206000 R21: 0x84000304 R22: 0xd0410180 R23: 0x8c2005acR24: 0x00000003 R25: 0x00000000 R26: 0x00000001 R27: 0x0000fc48R28: 0x001d0000 R29: 0x00000001 R30: 0x00136bb8 R31: 0x00000000MSR: 0x0000b030 CTR: 0x001331e0 Link:0x000308c8 SP: 0x01baba34CCR: 0x42200020 XER: 0x00000000 PC: 0x000308ccDSISR: 0x00000000 DAR: 0xffffffff K_MSR: 0x00001030Stack Traceback:Frame 01: sp = 0x01baba34, pc = 0x000308c8Frame 02: sp = 0x01babac4, pc = 0x0002647cFrame 03: sp = 0x01babad4, pc = 0x00026590Frame 04: sp = 0x01babadc, pc = 0x00106fccFrame 05: sp = 0x01babafc, pc = 0x00026620ROM NVRAM:0 available bytes, 0 used, 0 freeFPC1(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.What It Means
Sample output 1 and 2 show the stack trace from the microkernel crash. Save the output from the
show nvramandshow syslogcommands so that you can send them to JTAC when you open a case.