[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8608.0. "DU40B and EV45 crash." by SEPPLT::MARK (Mark Garrett) Tue Jan 28 1997 01:50

I have a problem that maybe a bug. Could any one with a 1000A 4/266 or maybe 
any machine with a ev45 processor and Digital UNIX 4.0B to do the following

compile a simple program . When I do this on my 1000A 266 it panic's with

_panic_string:  0xfffffc00005f3cd8 = "trap: illegal instruction"
If you want to see the full text of the crash-data

ftp://nonull.sno.dec.com/pub/ned/crash-data.1


I'd like some one with similar hardware to try this. I sort of hope to to the 
same feature?

I even tried taking the firmware back to the 3.7CD which was feature compatible
:(


eg.
cc -g test.c -o tst
dbx tst
(dbx) stop in main
(dbx) run < test.c

/* test.c */

#include <stdio.h>

main()
{
        char    buf[1024];

        int     i=0;

        while ( !feof(stdin) && ( i < 1024 )) {
                buf[i] = fgetc( stdin);
                i++;
        }
        fprintf(stdout, "%s\n", buf);
}
T.RTitleUserPersonal
Name
DateLines
8608.1Problem with a new kernel variable...QUARRY::petertrigidly defined areas of doubt and uncertaintyTue Jan 28 1997 10:2629
Sigh...

Do this to determine if you are running into this (to me) infamous bug.
su

dbx -k /vmunix
p db_enable

if db_enable is set to 1, then you have most likely built the kernel
with KDEBUG set.  This in turn sets 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

dbx -k /vmunix
assign db_enable = 0

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

And you'll be all set.  QAR 50184 has been entered, but I don't know of 
the current status.

PeterT
8608.2also see note 8562.*UNIFIX::HARRISJuggling has its ups and downsTue Jan 28 1997 10:310
8608.3QAR 50981 says this is fixed in OSF410-046UNIFIX::HARRISJuggling has its ups and downsFri Feb 21 1997 10:440
8608.4Still a problem...SMURF::PETERTrigidly defined areas of doubt and uncertaintyFri Feb 21 1997 17:466
    Not yet.  This still crashes my machine after installing the fix.
    I'll be working with the kernel developer on this, lending him
    my machine to ferret this out.
    
    PeterT