[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::decladebug

Title:Digital Ladebug debugger
Moderator:TLE::LUCIA
Created:Fri Feb 28 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:969
Total number of notes:3959

938.0. "Digital UNIX 4.0B patch for 4.0-36?" by RDGENG::HAQUE (Shaheed R. Haque, 830-3531, reo2-f/b3) Thu May 01 1997 04:51

The release notes for V4.0-36 state:

2.1  The following are known problems and restrictions with the
     Ladebug Debugger Version 4.0-36 release:

        o  Users of Digital UNIX 4.0B systems will need to apply a kernel
           patch to prevent their systems from hanging or halting with a
           panic during a debugger session.



What is this patch, and where can I get it from?

	Thanks, Shaheed

T.RTitleUserPersonal
Name
DateLines
938.1PACKED::ALLENChristopher Allen, Ladebug, dtn 381-0864Thu May 01 1997 11:309
There are a few fixes in the 4.0B patch kit that look like they might apply.
I'll still try to find out more about a specific patch.

In the mean time, there are a couple of ways to work around the problem:

1. Remove options KDEBUG from the config file and rebuild/reboot
2. ladebug -k /vmunix and patch db_enable = 0

-Chris
938.2This may be what you're looking forQUARRY::petertrigidly defined areas of doubt and uncertaintyThu May 01 1997 11:4015
I think that there are at least two problems that can crash your
system using ladebug or any debugger at V4.0B.  One is the problem
with the integrated debugger in the kernel and only shows up when
you build your kernel with KDEBUG support.  
This is fixed by patch OSF410-046 (New id 26-00) to V4.0B
There's a place on the web to pick up patches, but I haven't 
been able to figure out just how to match the above id with what
I see on the web page.


The other problem, which I haven't seen myself, may not have a 
patch (or a fix) just yet.  It may only show up under the -ptrace 
interface (unless that one is a THIRD problem).

PeterT
938.3PACKED::ALLENChristopher Allen, Ladebug, dtn 381-0864Thu May 01 1997 12:1532
I think this might be the more general problem and patch.  And it should
already be fixed in PTmin and Steel.

-Chris



PROBLEM:  (QAR 51380, QAR 51698, QAR 50184)      (Patch ID: OSF410-053)
********
This patch fixes several debugger problems:

        o This patch fixes a problem with the ikdebug debugger in which the
          system panics with the following message:

                panic: simple_lock: time limit exceeded

          This problem can occur whenever any exception is encountered while
          running the debugger.

        o This patch fixes a problem in which an AlphaStation 600 as well as
          other systems may crash when user mode debuggers are in use (for
          example, dbx or ladebug).

          This crash occurs because of a misplaced call to the console SAVETERM
          and only happens if the console variable CONSOLE is set to GRAPHICS.


FILE(s):

/sys/BINARY/kdebug.mod          subset OSFBIN410
CHECKSUM: 32393    234
------------------------------------------------
938.4PACKED::ALLENChristopher Allen, Ladebug, dtn 381-0864Fri May 02 1997 14:0427
This is the updated blurb that is going in our next release notes.
This blurb reflects reality better ...


    o  There is a problem with using any version of ladebug (or dbx) on
       certain systems that are running Digital UNIX 4.0B.  The problem
       is that some systems will hang or crash when the debugger is used.

       The machines affected are the newer machines, such as the
       AlphaStation 500 and 600 series machines.  This is not a problem
       for other machines such as DEC 3000s and DEC 4000s.

       A kernel patch is required to fix this problem.  From the 4.0B
       patch kit, install the following patch:

	    NEW PatchID: 91.00 
	    PATCH ID: OSF410-053     SUBSET(s): OSFBIN410

       When using setld to install the 4.0B patch kit, look for the new
       PatchID in the subset menu display to select the correct patch.
       The patch description is: "Patch: Kernal Debugger Corrections".



You can get the 4.0B patch kit from this web page:

    http://www.zk3.dec.com/dupatchwww/v40pats.html