[comp.os.minix] /usr/lib/cg hangs my system

jjc@sdiris1.UUCP (Jim J. Carter) (08/05/87)

Have a little problem.  For the most part minix is up on my
tandy 1000, with the bad blocks on my hard disk kept in special files
called BAD.BLOCKS....  

The new problem is: 
when I execute /usr/lib/cg, my system hangs.  Has anyone else had
this happen to them.  Since the code generator source is not with the
minix source this one may take a LONG time to fix.  I noticed  a problem
while trying to re-compile the kernel, where I first started to see
  unexpected trap: vector > 16 ...
  ...
  pc = 0x.... text+data+bss = 0x....
  ... Lots of these, basically an infinite loop of traps ...

I thought it was tandy's 640K/624K problem, where the 1000 only has
624K of memory because of the vidio memory.  I thought that MINIX was
stomping on some special part of memory which resulted in a new and
improved interupt.  So I reduced the size of root (/) and tried it out.
It didn't work.  I tried to run cc, and it still had the same problem.

Next I tried to run  each part of the cc process :
/lib/ccp prog.c > prog.i -- No problem
/lib/cem prog.i > prog.k -- No problem
/usr/lib/opt prog.k > prog.m -- No problem
/usr/lib/cg prog.m > prog.s <<-- hangs system.

Actually, just typing :
/usr/lib/cg  
will hang my system.

Is there anything special about the code generator which is more hardware
dependant than minix ??

My system config is :
Tandy 1000 A
Zuckerboard Multifunction (512K/clock/dma/serial)
WD1002A-WX1 (hard disk controler)
ST225 (hard disk)

Thanks for any help.

-----------------------------------------------------------------------
UUCP: ...!hp-sdd!crash!sdiris1!jim     |  Jim Carter 
 or:  ...!sdcsvax!jack!man!sdiris1!jim |  Control Data Corporation (CIM)
Work : +1 619 450 6516                 |  4455 Eastgate Mall, 
Home : +1 619 455 0607                 |  San Diego, CA  92121