Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Ladebug crashes OS
@ 1997-12-09  5:00 F. Joseph Pompei
  1997-12-09  5:00 ` Mike Iglesias
  1997-12-13  5:00 ` Stephen Eglen
  0 siblings, 2 replies; 3+ messages in thread
From: F. Joseph Pompei @ 1997-12-09  5:00 UTC (permalink / raw)



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?

	Thanks for any info,

Joe Pompei
MIT Medai Lab



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

* Re: Ladebug crashes OS
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Iglesias @ 1997-12-09  5:00 UTC (permalink / raw)



In article <348DA49A.41C6@mit.edu>,
F. Joseph Pompei <pompei!!NOSPAM!!@mit.edu> wrote:
>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?

You can either apply the patch to the kernel to fix it (available from
Digital) or rebuild your kernel without the KDEBUG option in the
/sys/conf/SYSTEMNAME file.


-- 
Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     phone:       (714) 824-6926
Office of Academic Computing         FAX:         (714) 824-2069




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

* Re: Ladebug crashes OS
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Eglen @ 1997-12-13  5:00 UTC (permalink / raw)
  To: F. Joseph Pompei


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



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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox