#: 17687 S3/Languages
10-Mar-93 15:39:00
Sb: #17651-#102 (bus) error
Fm: ole hansen 100016,3417
To: Ferranti Technologies 76264,1650 (X)
Hello Ferranti Tech.
if you have the 'ssm' in the bootfile/memory and it is installed in the
'init'-module, you will get 102-errors it you try to access memory out the
range, your task is granted during runtime. In attempt to troubleshoot your
problem, do the following:
out-comment the 'syscache' in the init-module(use 'moded') and before starting
the task, call 'rombug'(I do hope you use that to 'bootstrap' with) and enable
it(you must have autoboot disabled). then issue the following command to
'rombug': ovu2 this will make rombug monitor any bus-errrors in
system/user-mode and if it catches any 'bus'-errors then you will get a 'big'
register-dump and a lot of information, but in order to make it informative,
you must disable 'syscache', because the 68040 has executed quite a number of
instructions in its internal cache, before the external 'timeout/bus-error'
occurs. You should be able to determine which instruction caused the problem.
It is likely to be some register-indirect addressing like : move.b (a3),d0 and
the value of a3 gives you the address in error. It is also possible to let
'rombug' monitor all the vectors and watch the result(remember that os9 is
using some for 'syscalls'). If this does not give you a key, then you must
point some more out about what your program is doing: system/user-state, driver
written in 'C' - which gives you a problem with 'stack' in system-state(only 4k
granted from 'kernel') which mean you must assign local memory for your stack
!!
regards ole@danelec.dk
There is 1 Reply.
|