From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,59fab80963e39ff0 X-Google-Attributes: gidfee84,public From: cherkus@synergy.Destek.Net (Dave Cherkus) Subject: Re: Kernel debuging problem Date: 1996/12/05 Message-ID: <58583k$rb2@news.destek.net>#1/1 X-Deja-AN: 202412259 references: organization: The Destek Group, Ltd. cc: orel@dxunk1.cern.ch newsgroups: comp.unix.osf.osf1 Oleg Orel (orel@dxunk1) wrote: : There is very evident problem when you debug kernel of any opereting : system (my case is OSF1 3.2C). There is possibility, and it's happends : very often, when system doesn't crash but just stops. In this case I : dont see way to found point in kernel (device-driver) which introduces : such events. Is somebody have expirience with such things? Maybe where : is a way to catch such situation and found the bug(s)?? : Please send copy also by e-mail. Well, there are lots of things software can do that causes the hardware to just stop :-) On most of the Alpha's, there is a halt button. If you press this you should get to the 'console' softare. At this point some of the more useful things to try are: P00>> examine -gpr pc P00>> examine -gpr ra P00>> crash The first two print the program counter and the return address that the system was at when you pressed the halt button. Lots of times (in my experience) this can be useful information. The crash command writes a crash dump file that can be read by the dbx debugger. Sometime the system is so hosed that it fails to write the crash dump, so the only info you have is the examine output. The Digital document set has an entire manual dedicated to Kernel Debugging. Dave