From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,fece3d798fce74c0 X-Google-Attributes: gidf678f,public X-Google-Thread: 1164f8,fece3d798fce74c0 X-Google-Attributes: gid1164f8,public From: Stephen Eglen Subject: Re: Ladebug crashes OS Date: 1997/12/13 Message-ID: #1/1 X-Deja-AN: 297827627 Sender: stephen@burns References: <348DA49A.41C6@mit.edu> X-Nntp-Posting-Host: burns144 To: "F. Joseph Pompei" Organization: Centre for Cognitive Science, University of Edinburgh Newsgroups: comp.sys.dec,comp.unix.osf.misc >>>>> In article <348DA49A.41C6@mit.edu>, "F. Joseph Pompei" 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.