Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Jeff Denham <jdenham@brighttiger.com>
Subject: Re: "step" in ladebug or gdb causes kernel panic
Date: 1998/03/17	[thread overview]
Message-ID: <350ED3A1.1CAF440F@brighttiger.com> (raw)
In-Reply-To: 350EC2F5.794B@rhea.umd.edu


Jeffrey J. Potoff wrote:

> Marc Thomas wrote:
> >
> > We have several Alphastation 255's running Digital Unix 4.0 with no problems. Someone
> > gave us an Alphastation 200 also running Digital Unix 4.0. We added the same software
> > that we have on the Alphastation 255's and upgraded all licenses. However, use of
> > either ladebug or gdb (by a non-privileged user) will usually cause a kernel panic
> > on the Alphastation 200 (invalid instruction). These same debuggers and programs run
> > fine on the other Alphastation 255's. I compared the kernel config files in /sys/conf
> > and, allowing for a video board difference, they are essentially the same.
> >
> > Before I wipe the disk and rebuild the Alphastation 200 from scratch, does anyone
> > have any other ideas on what to check? Thanks in advance..
> >
>
> AKK !  No need for  that.  What you have is the infamous kernel debugger
> bug.
>
> Here's the fix I got from DEC:
>
> The problem you are seeing with the system crashing with an
> "illegal instruction" when running the debugger is caused by a kernel
> configuration problem present in Digital UNIX 4.0-4.0b, to work around
> this
> problem you must turn off kernel debugging by either rebuilding the
> kernel
> using doconfig or by following the procedure outlined below:
>
> The workaround -  set db_enable to 0.
>
> To fix the running kernel
>
>         # dbx -k /vmunix
>         # assign db_enable = 0
>         # q
>
> To fix the disk copy (so you don't have to redo the live kernel after a
> reboot)
>
>         # dbx /vmunix          /* Important!  No -k here
>         # patch db_enable = 0
>         # q
>
> Of course, if you rebuild your kernel, you should take kdebug out of the
> options in the config file first, or do the last step to the new /vmunix
> after the fact.

Note: there kernel patches for V4.0B and V4.0C for this. They've been around
since last fall (Northern Hemisphere).
__________________________________________________
Jeff Denham (jdenham@brighttiger.com)

Bright Tiger Technologies
SmartCluster� Software for Distributed Web Servers
http://www.brighttiger.com

125 Nagog Park
Acton, MA 01720
Phone: (978) 263-5455 x177
Fax:   (978) 263-5547





      reply	other threads:[~1998-03-17  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-17  5:00 "step" in ladebug or gdb causes kernel panic Marc Thomas
1998-03-17  5:00 ` Jeffrey J. Potoff
1998-03-17  5:00   ` Jeff Denham [this message]
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