From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,9614a64c7ca74691 X-Google-Attributes: gidfee84,public From: Jeff Denham Subject: Re: "step" in ladebug or gdb causes kernel panic Date: 1998/03/17 Message-ID: <350ED3A1.1CAF440F@brighttiger.com>#1/1 X-Deja-AN: 334937406 Content-Transfer-Encoding: 8bit References: <6em7m5$7lr$1@hades.csu.net> <350EC2F5.794B@rhea.umd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Organization: Bright Tiger Technologies Newsgroups: comp.unix.osf.osf1 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