DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

whatswrong - Display analysis of dump.

SYNOPSIS

whatswrong

DESCRIPTION

The whatswrong macro uses several macros to analyze a dump and try to find possible problem areas.

Output is dependent upon the dump. Here are a few examples:

 S> whatswrong
  System has 1 active cpu's
  snap_regptr:   E0004D40
  Kernel mode trap. Type 0x%x
  eip esp ebp eflags   D00BFE46 E0004D70 E0004D98 00010046
  eax ebx ecx edx      00000000 E00056D8 00000000 00000108
  esi edi              E00057E0 00000000
  cs ss ds es fs gs    0158 0000 0160 0160 0000 0000

  restore_locks+66:  8A 47 04                 movb   4(%edi),%al

  S> whatswrong
  System has 2 active cpu's
  Strcount:      00861378
  invalid number
  queue    bsrv     idname   ptr   count cpu plumbing:sched:flag
  D1496B4C D14E144C tcp      D18C7F80 128 UBND PROCSON WANTR USE
  D1697A4C D16B824C tcp      D1655700 120 UBND PROCSON WANTR WANTW USE
  D16B8200 D1697A00 strrhead D16BBE80 12 UBND PROCSON READR USE
  D153DC4C D16D244C tcp      D16C8980 12 UBND PROCSON WANTR WANTW USE
  D16D2400 D153DC00 strrhead D15DE200 12 UBND PROCSON WANTR READR USE
  D16CF34C D16CF74C tcp      D1544D00 06 UBND PROCSON WANTR WANTW USE
  D166BE00 D16CCD00 strrhead D15B5D80 05 UBND PROCSON READR USE
  D15DD44C D156A44C tcp      D1568880 12 UBND PROCSON WANTR WANTW USE
  D162D94C D1553C4C tcp      D15DFD00 6941 UBND PROCSON WANTR WANTW USE
  D1668900 D153EF00 strrhead D1666F80 08 UBND PROCSON WANTR READR USE
  D153D74C D166544C tcp      D1499700 6941 UBND PROCSON WANTR WANTW USE
  D157E200 D15AE200 strrhead D151E500 08 UBND PROCSON WANTR READR USE
  D164CF4C D164BD4C tcp      D164DC00 12 UBND PROCSON WANTR WANTW USE
  D164BD00 D164CF00 strrhead D1651600 12 UBND PROCSON WANTR READR USE
  D14E1700 D14DB900 strrhead D14E0B80 36 UBND PROCSON READR USE
  950. queues, Strinfo.cnt = 950.
  cpuid 0
  Trace for stack D1631000
  ADDRESS  PID   PPID  UID   FLAGS    K U R WCHAN    ST  COMMAND
  D1631000 28752 05085 00000 02102010 - - 0          ONPROC ftpd -l
  STKADDR  FRAMEPTR  FUNCTION
  E0004BA0 E0004BE4  xcmn_err+1FC(3,E0004BE4,D001C021,D01C41E0,E000563C)
  E0004BEC E0004BF4  cmn_err+10(3,E0004C00)
  E0004BFC E0004C18  save_locks+A9(3,D01C41E0,D18CDA40)
  E0004C20 E0004D24  setjmp+3F(E0005600)
  E0004D2C E0004D50  vop_close+29
  E0004D58 E0004D84  closef+C9
  E0004D8C E0004D9C  closeall+3E(D162D800)
  E0004DA4 E0004DDC  exit+5B
  E0004DE4 E0004DEC  rexit+10(1,1)
  E0004DF4 E0004E28  systrap+269
  E0004E30 E0004E34  sys_call+33(E0004E34)
  E0004E3C 08047828  80010A0A

DEFINED IN

trace.k

SEE ALSO

dumpinfo, panic, strstat

APPENDIX A: Alphabetic Index of Macros