* "step" in ladebug or gdb causes kernel panic
@ 1998-03-17 5:00 Marc Thomas
1998-03-17 5:00 ` Jeffrey J. Potoff
0 siblings, 1 reply; 3+ messages in thread
From: Marc Thomas @ 1998-03-17 5:00 UTC (permalink / raw)
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..
Marc Thomas
marc@ZPAM_MAPZ.ultrix6.cs.csubak.edu
(remove CAPS for e-mail)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: "step" in ladebug or gdb causes kernel panic
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
0 siblings, 1 reply; 3+ messages in thread
From: Jeffrey J. Potoff @ 1998-03-17 5:00 UTC (permalink / raw)
To: Marc Thomas
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.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: "step" in ladebug or gdb causes kernel panic
1998-03-17 5:00 ` Jeffrey J. Potoff
@ 1998-03-17 5:00 ` Jeff Denham
0 siblings, 0 replies; 3+ messages in thread
From: Jeff Denham @ 1998-03-17 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-03-17 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox