Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Kernel debuging problem
@ 1996-12-04  5:00 Oleg Orel
  1996-12-05  5:00 ` Dave Cherkus
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Orel @ 1996-12-04  5:00 UTC (permalink / raw)




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. 



--
``



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel debuging problem
  1996-12-04  5:00 Kernel debuging problem Oleg Orel
@ 1996-12-05  5:00 ` Dave Cherkus
  1996-12-05  5:00   ` Steve VanDevender
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Cherkus @ 1996-12-05  5:00 UTC (permalink / raw)
  Cc: orel


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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel debuging problem
  1996-12-05  5:00 ` Dave Cherkus
@ 1996-12-05  5:00   ` Steve VanDevender
  0 siblings, 0 replies; 3+ messages in thread
From: Steve VanDevender @ 1996-12-05  5:00 UTC (permalink / raw)



cherkus@synergy.Destek.Net (Dave Cherkus) writes:

> 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:

However, on the AlphaStations I've used (255 and 500 series), the front
panel button does a reboot instead of a halt.  You need to open the case
and change a DIP switch or jumper to make it perform a halt request
instead.

Using the halt button also only works well if you have a serial or text
mode console.  As an experiment I tried halting while X was running on
my personal machine (after syncing the disks, of course) and was
rewarded with a kernel crash dump.

-- 
Steve VanDevender  
stevev@hexadecimal.uoregon.edu   http://jcomm.uoregon.edu/~stevev
"bash awk grep perl sed df du, du-du du-du,
vi troff su fsck rm * halt LART LART LART!" -- the Swedish BOFH



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-12-05  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-04  5:00 Kernel debuging problem Oleg Orel
1996-12-05  5:00 ` Dave Cherkus
1996-12-05  5:00   ` Steve VanDevender

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox