Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Stephen Eglen <stephen@cogsci.ed.ac.uk>
To: "F. Joseph Pompei" <pompei@mit.edu>
Subject: Re: Ladebug crashes OS
Date: 1997/12/13	[thread overview]
Message-ID: <b263ejxv2re.fsf@cogsci.ed.ac.uk> (raw)
In-Reply-To: 348DA49A.41C6@mit.edu


>>>>> In article <348DA49A.41C6@mit.edu>, "F. Joseph Pompei" <pompei!!NOSPAM!!@mit.edu> writes:

> Hey folks, I'm having trouble using dxladebug or ladebug on my Alpha
> 500 (OSF1 V4.0 564.32 alpha).  When my compiled code is loaded (and
> presumably run) for a debug, my *entire* OS crashes, forcing a
> reboot. This seems to happen no matter what I try to debug.. it's a
> bit baffling, and very troubling.  If this is an OS bug, it's a
> semi-serious security issue as well.

> 	Has anyone seen this before?
Hi Yes,
this happened to me too.  You need to patch the kernel; someone put 
some instructions on:

http://www-archive.stanford.edu/lists/alpha-osf-managers/hyper97/1094.html

which worked for my machine fine. (2a and 2b were enough).


Cheers, Stephen



1) Compile a new kernel with no KDEBUG option

2) Modify the current kernel:

2.a) For this session only (this means that next time you
reboot the bug will turn on again

dbx -k /vmunix
p db_enable

if db_enable is 1 you have the bug

assign db_enable = 0

2.b) Permanent modification

As in step 2.a for current session +

dbx /vmunix (we need the disk image)

patch db_enable = 0

This patches the disk image of the executable, so no
kernel rebuild is required.



      parent reply	other threads:[~1997-12-13  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-09  5:00 Ladebug crashes OS F. Joseph Pompei
1997-12-09  5:00 ` Mike Iglesias
1997-12-13  5:00 ` Stephen Eglen [this message]
read-only archive

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