home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.sysv386
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!smurf.sub.org!flatlin!generics!ihno
- From: ihno@generics.ka.sub.org (Ihno Krumreich)
- Subject: Re: How to debug a PANIC??
- Organization: Generics GmbH
- Date: Fri, 24 Jul 1992 17:19:42 GMT
- Message-ID: <1992Jul24.171942.13964@generics.ka.sub.org>
- References: <1992Jul13.184212.23816@wb3ffv.ampr.org>
- Keywords: unix panic interactive debug
- Lines: 59
-
- howardl@wb3ffv.ampr.org (Howard Leadmon - WB3FFV) writes:
-
-
- > Hello,
-
- >I am currently running Interactive UNIX version 3.0, and things have
- >generally been great. The other day I had my system PANIC and crash
- >twice within a couple hours. I know there is supposed to be a way I
- >can find what program was dying by using the kernel debugger, but am
- >not sure how to do this. If somenody on the net would be so kind as
- >to give me a little instruction it would be most appreicated...
-
- >Just for information sake, the panic was a Trap 0x0000000E
-
- Bad luck for you trap 0xe says nearly nothing.
-
- The way to find the programm probably killing the machine is the following:
-
- 1) After the panic the system should report how many pages it has written to
- the swap space. If that does not happen, no need to read the rest.
-
- 2) When the system comes up again, the system shouls ask you, whether you
- want to save the memory dump. Save it. (if you want to save to diskettes,
- prepare enough. If you have 16 Meg of memory you need 14 diskettes)
-
- 3) If the system is up again load the dump to the disk with the command
- ldsysdump.
- Now you can use the command crash to analyse the dump.
- All commands, wich are discribed now are within crash
-
- crash> p # gives you all processes that have been on the system
- # when it crashed. In the second coloum (ST) the state of
- # process is noted. s for sleeping, r for runnable and
- # p for on processor. So the one with the p should be
- # of intressed for you..
- # Have a look at the slot number (first coloum).
- crash> t #s # t with the slot number gives you a trace of the called
- # procedures of the numbered process. This may give you an
- # idea which driver was the bad one.
-
- crash uses the /unix for the symbols and other information. If you want
- to analyze the dump on a different machine, you always need the kernel from
- the machine which paniced.
-
- hope that helped you.
-
- Ihno
-
- =======================================================
-
- Ihno Krumreich | Phone (49) 721 38 70 94
- Generics Gmbh | email: ihno@generics.ka.sub.org
- Breite Strasse 24 | FAX (49) 721 38 56 22
- D-W7500 Karlsruhe |
- --
- Ihno Krumreich | Phone (49) 721 38 70 94
- Generics Gmbh | email: ihno@generics.ka.sub.org
- Breite Strasse 24 | FAX (49) 721 38 56 22
- D-W7500 Karlsruhe |
-