Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: DBX crashed DUX 4.0B - Fixes?
  1997-05-01  4:00 DBX crashed DUX 4.0B - Fixes? John R. Campbell
@ 1997-05-01  4:00 ` John Stoffel
  1997-05-02  4:00 ` Mike Iglesias
  1997-05-13  4:00 ` Jeff Diewald
  2 siblings, 0 replies; 4+ messages in thread
From: John Stoffel @ 1997-05-01  4:00 UTC (permalink / raw)



campbejr@phu989.mms.sbphrd.com (John R. Campbell) writes:

> 	We've got a problem where DBX (in the hands of a normal user) is
> 	capable of crashing the DEC Unix 4.0B O/S.
> 
> 	I'm told there are workarounds that will reduce the system's
> 	sensitivity to dbx (other than deleting dbx, OK?) involving the
> 	system's configuration file.
> 
> 	Can anyone make suggestions?

This is the fix I've been told about:

Hello,
    As promised, here is a quick description of the so-called
'dbx-crash' problem as it was originally described, the probable
cause, a workaround, and the solution. This information is from a
database of recent problem announcements and fixes from the Digital
Unix Engineering group.

Comment #1:
    "[there is a problem of the] kernel crashing with illegal
    instruction crash while debugging a pascal program.  It does not
    appear to happen all the time, but is frequent enough to reproduce
    and verify.

    This appears to be the "db_enable" problem... Setting db_enable = 0
    in either the live kernel, or patching the disk file and rebooting
    that seems to work.

    This problem ... exists in [a field-test release of [Unix V4.2].
    Apparently it only manifests itself when KDEBUG is set in the config
    file.  And then when one tries to use the debugger.

    This problem was fixed in [a later release of Unix V4.2]."

Comment #2:
    Do this to determine if this is the 'dbx-crash' problem:
        % su
        % dbx -k /vmunix
        dbx> p db_enable

    If you see that 'db_enable' is set to 1, then you have most likely
    built the kernel with KDEBUG set.  This in turn sets [the internal
    kernel variable] db_enable to 1.

    Somewhere in the kernel, db_enable is causing the system to crash as
    it takes a path it would not take if db_enable were 0.

    The workaround: set 'db_enable' to 0.
    To fix the running kernel, do this:
        % dbx -k /vmunix
        dbx> assign db_enable = 0

    To fix the disk copy of /vmunix (so you don't have to redo the live
    kernel after the next reboot), do this:
        % dbx /vmunix              /* Important!  No -k here
        dbx> patch db_enable = 0


    The problem has been fixed in the upcoming release of Unix V4.2.
I would guess that patches for earlier versions of Unix will also be
available shortly.

                        Steve Sheppard
                        Digital Unix / Ultrix Applications Support Team
                        Digital Equipment Corporation
                        Alpharetta, Georgia
                        800.354.9000
                        sheppard@decatl.alf.dec.com



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

* DBX crashed DUX 4.0B - Fixes?
@ 1997-05-01  4:00 John R. Campbell
  1997-05-01  4:00 ` John Stoffel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: John R. Campbell @ 1997-05-01  4:00 UTC (permalink / raw)



	We've got a problem where DBX (in the hands of a normal user) is
	capable of crashing the DEC Unix 4.0B O/S.

	I'm told there are workarounds that will reduce the system's
	sensitivity to dbx (other than deleting dbx, OK?) involving the
	system's configuration file.

	Can anyone make suggestions?

-- 
 John R. Campbell             Speaker to Machines                 soup@jtan.com
  "As a SysAdmin, yes, I CAN read your e-mail, but I DON'T get that bored!"-me
   Disclaimer:	I'm just a consultant at the bottom of the food chain, so,
		if you're thinking I speak for anyone but myself, you must
		have more lawyers than sense.




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

* Re: DBX crashed DUX 4.0B - Fixes?
  1997-05-01  4:00 DBX crashed DUX 4.0B - Fixes? John R. Campbell
  1997-05-01  4:00 ` John Stoffel
@ 1997-05-02  4:00 ` Mike Iglesias
  1997-05-13  4:00 ` Jeff Diewald
  2 siblings, 0 replies; 4+ messages in thread
From: Mike Iglesias @ 1997-05-02  4:00 UTC (permalink / raw)




In article <slrn45mhq2t.qbs.campbejr@phu989.um.us.sbphrd.com>,
John R. Campbell <soup@jtan.com> wrote:
>	I'm told there are workarounds that will reduce the system's
>	sensitivity to dbx (other than deleting dbx, OK?) involving the
>	system's configuration file.
>
>	Can anyone make suggestions?

Rebuild your kernel without "options KDEBUG" or get patch OSF410-046
and install it.


-- 
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] 4+ messages in thread

* Re: DBX crashed DUX 4.0B - Fixes?
  1997-05-01  4:00 DBX crashed DUX 4.0B - Fixes? John R. Campbell
  1997-05-01  4:00 ` John Stoffel
  1997-05-02  4:00 ` Mike Iglesias
@ 1997-05-13  4:00 ` Jeff Diewald
  2 siblings, 0 replies; 4+ messages in thread
From: Jeff Diewald @ 1997-05-13  4:00 UTC (permalink / raw)



John R. Campbell wrote:
> 
>         We've got a problem where DBX (in the hands of a normal user) is
>         capable of crashing the DEC Unix 4.0B O/S.
> 
>         I'm told there are workarounds that will reduce the system's
>         sensitivity to dbx (other than deleting dbx, OK?) involving the
>         system's configuration file.
> 
>         Can anyone make suggestions?
> 

There's a known problem with a known fix on 4.0B with certain hardware. 
From the 
Ladebug release notes:

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

Hope this helps.
-----------------------------------------------------------------------
Jeff Diewald			EASYNET:   VIRRUS::DIEWALD
Ladebug group			INTERNET:  diewald@zko.dec.com
Digital Equipment Corp.

Note: I don't read every article in this group.  If you have debugger 
questions, I may be able to get you an answer.  You're much more likely
to get an answer if you put "Ladebug" somewhere in your subject line.



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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-01  4:00 DBX crashed DUX 4.0B - Fixes? John R. Campbell
1997-05-01  4:00 ` John Stoffel
1997-05-02  4:00 ` Mike Iglesias
1997-05-13  4:00 ` Jeff Diewald

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