[comp.sys.sgi] 3.2.1. still chrashes 4D/120GTX

doelz@urz.unibas.ch (Reinhard Doelz) (12/07/89)

(sigh...)
I'd like to report a bug in 3.2.1. and its workaround. Sorry to say but it 
was calimed that it should be fixed in the maintenance release but it isn't.

We are running a 120GTX OS 3.2.1.
The program shown below runs on two processors. 
The graphics manager fails to start up and the graphics is unusable (No 
window manager).


The /usr/adm/SYSLOG says

Dec  7 09:17:00 modl grcond[290]: CIO: ****************************************
*
******************************
Dec  7 09:17:00 modl grcond[290]: CIO:
Dec  7 09:17:00 modl grcond[290]: CIO: IRIX System V Release 3.2.1 IP5 Version 
1
0171414
Dec  7 09:17:00 modl grcond[290]: CIO:
Dec  7 09:17:00 modl grcond[290]: CIO: root on dev 0x400, swap on dev 0x401
Dec  7 09:17:00 modl grcond[290]: CIO: CPU 1 taking over time and accounting fu
n
ctions
Dec  7 09:17:00 modl grcond[290]: CIO: gfx_wait_cx:  context switch timed out
Dec  7 09:17:00 modl grcond[290]: CIO:
Dec  7 09:17:00 modl grcond[290]: CIO: gm-2 (configured for IP5) 1.14+
Dec  7 09:17:00 modl grcond[290]: CIO:
Dec  7 09:17:00 modl grcond[290]: CIO: DEBUG_NOISE at 0x9806648C
Dec  7 09:17:00 modl grcond[290]: CIO: Loading PP ucode Version:  @(#) PEAPOD 1
.
2 pp microcode assembler - 6/20/87
Dec  7 09:17:00 modl grcond[290]: CIO: Sat Aug 19 19:10:21 1989 user unknown re
v
ision(1.123CLOVER2IP5GT)
Dec  7 09:17:00 modl grcond[290]: CIO:
Dec  7 09:23:43 modl grcond[290]: Child process /bin/wsh exited with status 0
Dec  7 09:23:43 modl grcond[290]: Child process /etc/gl/pandora exited with sta
t
us 0
Dec  7 09:23:43 modl grcond[392]: In limbo
Dec  7 09:23:48 modl grcond[392]: Alive
Dec  7 09:23:48 modl grcond[392]: CIO: ****************************************
*
******************************
Dec  7 09:23:48 modl grcond[392]: CIO: Copyright 1984 AT&T                 - Al
l
 Rights Reserved
Dec  7 09:23:48 modl grcond[392]: CIO: Copyright 1987 Silicon Graphics Inc - Al
l
 Rights Reserved
Dec  7 09:23:48 modl grcond[392]: CIO:                 RESTRICTED RIGHTS LEGEND
Dec  7 09:23:48 modl grcond[392]: CIO:    Use, duplication or disclosure by the
Government is subject
Dec  7 09:23:48 modl grcond[392]: CIO:    to restrictions as set forth in subdi
v
ision (c)(1)(ii) of
Dec  7 09:23:48 modl grcond[392]: CIO:    the Rights in Technical Data and Comp
u
ter Software clause
Dec  7 09:23:48 modl grcond[392]: CIO:    at 52.227-7013.  Manufacturer is Sili
c
on Graphics, Inc.,
Dec  7 09:23:48 modl grcond[392]: CIO:    2011 N. Shoreline Blvd., Mountain Vie
w
, CA 94039-7311.
Dec  7 09:23:48 modl grcond[392]: CIO: ****************************************
*
******************************
Dec  7 09:23:48 modl grcond[392]: CIO:
Dec  7 09:23:48 modl grcond[392]: CIO: IRIX System V Release 3.2.1 IP5 Version 
1
0171414
Dec  7 09:23:48 modl grcond[392]: CIO:
Dec  7 09:23:48 modl grcond[392]: CIO: root on dev 0x400, swap on dev 0x401
Dec  7 09:23:48 modl grcond[392]: CIO: CPU 1 taking over time and accounting fu
n
ctions
Dec  7 09:23:48 modl grcond[392]: CIO: gfx_wait_cx:  context switch timed out
Dec  7 09:23:48 modl grcond[392]: CIO:
Dec  7 09:23:48 modl grcond[392]: CIO: gm-2 (configured for IP5) 1.14+
Dec  7 09:23:48 modl grcond[392]: CIO:
Dec  7 09:23:48 modl grcond[392]: CIO: DEBUG_NOISE at 0x9806648C
Dec  7 09:23:48 modl grcond[392]: CIO: Loading PP ucode Version:  @(#) PEAPOD 1
.
2 pp microcode assembler - 6/20/87
Dec  7 09:23:48 modl grcond[392]: CIO: Sat Aug 19 19:10:21 1989 user unknown re
v
ision(1.123CLOVER2IP5GT)
Dec  7 09:23:48 modl grcond[392]: CIO:

... and theresfore I conclude that the grcond is unable to start up. 

The IRIS is fully networked running nfs, 4DDN and TCP/IP thus eventually 
suffering from this. Therefore, I changed the kernel to read the network 
on CPU0 as follows: 

107c107
< #define NBUF 100              /* # buffers in disk buffer cache */
---
> #define NBUF 400              /* # buffers in disk buffer cache */
215c215
< #define MAXSC 26
---
> #define MAXSC 30
353c353
< int           network_processor = 1;
---
> int           network_processor = 0;
modl [/usr/sysgen/master.d] %

... did an lboot and problem solved. 

The fortran program is special but I wrote a dummy routine which performs the 
crashes: 

        real x(100,1000), y(100,1000)
        seed=123456
        do 100 i=1,100
                do 101 ii=1,1000
                        x(ii,i)=rand(seed)
101                     continue
100             continue
        write (6,*)'ran done'
        do 200 i=1,100
                do 201 ii=1,1000
                        y(ii,i)=sin(x(ii,i))*cos(x(ii,i))
                        y(ii,i)=
     *                  (y(ii,i)**1.003)**(1-(sin(x(ii,i))/1000))
                        do 202 iii=1,900
                                y(ii,i)=
     *                          y(ii,i)**(1-(sin(x(ii,i))/1000))
202                             continue
201                     continue
200             continue
        stop
        end

pfa concurrentizes the 200 do loop which gives a fully paralelly running 
program. 
BTW in order to avoid the kernel you could also debug the routinge as root
sending a schedctl call but I hate that. I'd like SGI to implement a suspend
utility...

My questions are
Does the network processor really play a role in the game or does it work
by accident? Did someone of you experience the same problem? 
Why does the graphics pipe start version 1.123 but is configured for 
microcode 1.14+ ?
Could someone of SGI comment on that please, the Swiss SGI does not know 
whats going on.

Reinhard 

  
  ************************************************************************
  *   Dr. Reinhard Doelz           *           SWITZERLAND               *
  *     Biocomputing               *                                     *
  *      Biozentrum                * doelz%urz.unibas.ch@relay.cs.net    *
  * Klingelbergstrasse 70          *                                     *
  *     CH-4056 Basel              *                                     *
  ************************************************************************