Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: John Stoffel <jfs@fluent.com>
Subject: Re: DBX crashed DUX 4.0B - Fixes?
Date: 1997/05/01	[thread overview]
Message-ID: <rmiv12omdk.fsf@jfs.i-have-a-misconfigured-system-so-shoot-me> (raw)
In-Reply-To: slrn45mhq2t.qbs.campbejr@phu989.um.us.sbphrd.com


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



  reply	other threads:[~1997-05-01  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-01  4:00 DBX crashed DUX 4.0B - Fixes? John R. Campbell
1997-05-01  4:00 ` John Stoffel [this message]
1997-05-02  4:00 ` Mike Iglesias
1997-05-13  4:00 ` Jeff Diewald
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