Trap, Trap, Trap

Hi!

I get many traps on a system with Warp 4 installed.  I
cannot seem to isolate the causes, but sometimes it happens
when the system is simply "sitting there"

The problem, whether trap c,d,e,6 (most common) usuallly
occurs at ##0160:fff54c8c.  Does this mean anything?

I have a Cyrix 6x86 p120+ processor
Award BIOS
48 megs edo ram (2-8's @50ns and 2-16's @ 45ns)
MB and Chip and RAM is from a place called HSB
WDAC22100 HD
Has Integrated SiS Video and other chips onboard
Integrated Controllers and all that stuff
Add in Generic Ne2000 adapter (I'm using ns2000 driver from
Hobbes)
33.6 FaxModem w/Rockwell Chipset
Windows Sound System Sound Card

All these set up and operate, but I get all kinds of Traps.

I have installed FP-1, as well as all the latest
networking, printer, etc updates from the Latest Software
page on the Internet.

I am beginning to suspect the EIDE driver, esp since a new
one is residing on testcase, but cannot prove it.

I really need help on this one for it is eating up precious
time.

Thanks,

Mark Bruffey

PS could you respond to both
mbruffey@voicenet.com (home)
and
cbtslibr@voicenet.com (work)

The problem is at work.  Since we are a small non-profit
corp we cannot afford IBM service contract, etc.
mbruffeyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mbruffeyAuthor Commented:
Could it be that the Ide controller and Sound Card are using the
same DMA channel?  How should these be set/adjusted?
0
Michael SchmidtCommented:
You should press ALT-F2 during boot, when the white box shows up on the upper left corner (quite early). Then Warp will show you which driver it's currently loading. This may give you an idea which driver causes your installation to trap.

0
FigueiredoCommented:
Hi,
Your question involves a complex scenario but you ask primarily for the meaning of Traps.
Trap 6 means that some Driver/program tried to execute an invalid instruction.
Trap C means that some Driver/program tried to overflow the stack area.This could mean the developer of the code did not allow enough stack space.
Trap D means that some Driver/program tried to access memory outside limits, read-only etc...
Trap E is a non-maskable intterrupt used normally during development.

From these traps I would sugest that you have some driver/code with development BUGS. Stack Overflow (Trap C) and memory protection error (trap D) are very common during development of C code.

Your best chance is trying to isolate wich is the Driver/Code causing these traps. Try to uninstall some of them and verify later.

You could start by using another IDE driver even loosing some functionality.

Regards.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

mbruffeyAuthor Commented:
Hello Figueiredo!

Your answer is very helpful, but what bothers me is that the
errors often occur when I am running only IBM Warp4 and no apps.  
Are parts of Warp considered still under development?

I think I may have discovered the answer to some of the
problems.

First, the AWARD BIOS allows the user to configure the HD
parameters in one of FOUR ways.  I changed the access setting
from NORMAL to LBA mode.  Don't ask me how the system still
access the drive correctly but it does.

Second, I pulled out the network, modem, and Windows Sound
System Cards.

Third, I removed the 2 8 meg simms.

Fourth, and I really think this is where the problem lies, I
installed a zipfile I found on IBM Testcase called goodide.zip.  
This file contains a modified IBM1S506.ADD file and another
modified file that I forget.  After installing this, the system
became much more stable.

The only problem so far is that the system sometimes hangs
(cursor locks up, screen doesn't repaint properly always,
problems with PMMERGE.DLL) WITHOUT a trap message.

I reinstalled the NetWork Card w/o any noticeable instability.

I reinstalled the 8 meg simms, which seemed to make the system a
bit less stable, but NO TRAPS.

I reinstalled the Sound Card and the system locked up (frozen
cursor) within 5 minutes.  Here I also noticed TWO lines in the
config.sys for 2 different forms of Business Audio SYS drivers,
so I commented out one line and rebooted.  Much more stable than
at first,

HOWEVER, I had put a special line in config.sys to dump trap
errors and I got a TRAP dump involving InJoy dialler which was
open and doing an FTP through Netscape (6/97 release) at the
time.  I can't include the dump since I am at home now, but it
seems that INJoy tried to access some space on the C: (FAT)
drive (OS/2 is on J:, HPFS) that shouldn't have been accessed.  
Would this be a problem with the code in InJoy (1.1)?

The trap info is pretty nice; do you have the skill to read and
analyze it?  I sure don't!

I appreciate your time and insight.  I think you should follow
up on the IBM1S506.ADD driver.  If IBM is working on it, that
indicates there is probably a real problem with it in some
configurations.  The driver now properly reports in verbose mode
which it DID NOT do previously, even though I had the command
line set properly.

One more question, is there a keystroke that one can use to
PAUSE the bootup screen output, or is that info recorded in a
logfile?

Thanks again,

mark bruffey
mbruffey@voicenet.com
0
mbruffeyAuthor Commented:
That Value s/b 200 not 20 points.
0
FigueiredoCommented:
Hi,
it seems you managed to sort out your problem.

I would like to make some comments on two points.

1. RAM. Be carefull with different types of RAM in the same machine. Many problems have been traced to RAMs with different speed or from different manufacturers.

2. Hard Disk Partition Setting. In fact OS/2 seems to have the capability to access a Disk even when the BIOS LBA/NORMAL/LARGE has been changed. I would say that during installation or bootup it uses BIOS settings but after it uses an autonomous mode. This may lead to very bad surprises in the future, namely when running FDISK. My way of dealing with these questions has been to rely on PartitionMagic (FDISK replacement) as a checkup. There has been times when PartitioMagic reports erros in the partition table of some disk and informs that "this is a know BUG of FDISK".

About your other questions I have never seen software without bugs, and sure OS/2 is no exception. The key is to make incremental changes/updates to keep track of things.

Regards.


0
mbruffeyAuthor Commented:
Thanks again.  I ripped the HD out of that
sytem and put it in a Zenith p200 system.  
To present it seems to run fine, so as you
suggest, I suspect HWare on the MB/RAM  
too!

0
AzazeelCommented:
The error #0160:fff54c8c  Internal Processing Error is from a piece of OS/2 code, calling the function:  _IOGetDiskSpaceInfo + 0x58.   Which would deal as you suspected with your hard drive or disk-space.  (I have a trap analyzer...)

To find out the culprit, add these two lines to your CONFIG.SYS after you make a backup of it:
SET SHELLEXCEPTIONHANDLER=OFF
SET SHAPIEXCEPTIONHANDLER=OFF

These two lines will turn off the OS/2 exception handlers and when a bad driver or piece of code goes amuck, it will cause OS/2 to grab as much data as it can and throw it on the screen.

The two areas you should be most concerned with will be the
CS:EIP and CSLIM codes.  This will tell us where the error occurs in OS/2 Code.

TRAP C = Stack Fault, usually Ring 3.
TRAP D = General Protection Fault, usually failure of a driver in memory causing this. Usually accompanied by TRAP E:
TRAP E = Page Fault, Memory not being handled properly.
If TRAP E and TRAP D happen at the same time, a TRAP 8 usually occurs.  (This is usually due to a network driver failing to bind.

TRAP 6 = Illegal or Invalid OpCode, The processor tried to execute an unreserved invalid opcode, contact software support. (That's the official reason), and that was already answered for you earlier.

(Also, I have a listing of the 256 TRAPS if it will help you, let me know.)  

Used to work at IBM in Austin.
0
mbruffeyAuthor Commented:
Thanks, Azazeel.  I would love to have the list of trap errors as you offered.  Could you email it to me as a *.zip file?

Thanks,

Mark
mbruffey@voicenet.com
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.