From: "Jeffrey J. Potoff" <jpotoff@rhea.umd.edu>
To: Marc Thomas <marc@ultrix6.cs.csubak.edu>
Subject: Re: "step" in ladebug or gdb causes kernel panic
Date: 1998/03/17 [thread overview]
Message-ID: <350EC2F5.794B@rhea.umd.edu> (raw)
In-Reply-To: 6em7m5$7lr$1@hades.csu.net
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.
next prev parent 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 [this message]
1998-03-17 5:00 ` Jeff Denham
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