HDTenEightyP/NetNews huggingface dataset:
From: james@sam.contex.com (James McQueston)
Newsgroups: comp.sys.sgi
Subject: bug in cfront chokes cc?
Keywords: cfront 3.10
Date: 7 Oct 92 19:41:25 GMT

When I try to compile the C++ code that is included below, it
chokes the back-end C compiler (under 3.10 compilers). It did not
have this problem prior to the 3.10 upgrade.

I think cfront is deciding to generate a temporary to hold
array_of_base[n], but instead of typing the temporary as base *,
it is typed as const base *, so the C compiler won't let the assignent
be done.  This only happens when the member function "derived::member"
is declared as a const member function.  Drop that, and it all works.

This is making me have to find and place my own temporaries all over
the place.

Should I call this in to the TAC or is it already known?
--------------------
class base
{
public:
    virtual int		info() const;
};

class derived
{
public:
    void		member(int n) const;
private:
    base * 		array_of_base[7];
};

void derived::member(int n) const
{
    const int side = array_of_base[n] -> info();
}
---------------------
-- 
-----
James H. McQueston		james@contex.com
Xyvision Color Systems, Inc.	(617) 246-1776 x 5523 (office, voicemail)
Wakefield MA 01880-1291		(617) 245-4471        (lab phone direct)
From: achim@perm.geologie.uni-freiburg.de (Achim Staerk)
Newsgroups: comp.sys.sgi
Subject: Bug in SGI's malloc?
Date: 8 Oct 1992 16:35:44 +0100
Organization: "Geologisches Institut, Freiburg, Germany"
NNTP-Posting-Host: perm.geologie.uni-freiburg.de


We are running a couple of SGI's with IRIX 4.0.2:

How can it be, that C's malloc allocates memory up to the datasize
limit defined in the csh (which is 524288 kbytes) and doesn't care
about physical limitations ?

Malloc should return a NULL pointer when physical memory is exceeded!!

BTW if you use calloc or try to initialize a vector returned by malloc
the process is killed due to insufficient memory/swap space.

In such a system save dynamic memory management is impossible!

Hopefully this bug will be fixed soon.

Achim

-------------------------------------------------------------------------------
  Achim Staerk                 |  Phone:  +49 (0)761 203 2408
  Geologisches Institut        |          +49 (0)761 203 2410
  Albertstrasse 23 b           |  FAX:    +49 (0)761 203 2463
  D-7800 Freiburg i.Br.        |
  Germany                      |  e-mail: achim@perm.geologie.uni-freiburg.de
-------------------------------------------------------------------------------
From: ib@ivan.asd.sgi.com (Ivan Bach)
Newsgroups: comp.sys.sgi
Subject: Re: single popup in GLX, fonts & other mixed model questions
Date: 13 Oct 92 23:10:32 GMT
Organization: Silicon Graphics, Inc., Mountain View, CA

In article <1992Oct13.174742.18087@leland.Stanford.EDU> 
leec@leland.Stanford.EDU (Christopher Lee) writes:
> 5. What is the prefered text rendering method in GLX ...
You basically have the following choices:

    1. IRIS Font Manager (fm functions that use GL commands).
    2. GL commands for bitmap fonts (defrasterfont, font, charstr, etc.).
    3. If you have approximations of character outlines in the form of
       lines or polygons, you can use GL to draw those lines or polygons. 
       The SGI Inventor uses this method to draw 3D characters.
    4. Display PostScript (DPS). 

Once you bind GL to an X window, you cannot use X functions to draw images
in that window.  You have to use GL commands directly or indirectly (e.g.,
via the IRIS Font Manager).  As it says in the file:

    ~4Dgifts/examples/GLX/gl-Xlib/README.TransG-chp4

results are not defined if you try to use X functions to draw in a GLX 
window.

I showed in the demo program dpsglx how to use DPS to render a PostScript
image into a pixmap, and then use GL to draw the rendered image in a GLX
window.  You can get the source code for that program from the directory 
sgi/src/dpsglx on sgi.com by anonymous ftp.

Ivan Bach, ib@sgi.com
Newsgroups: comp.sys.sgi
From: heeres@uars_mag.jhuapl.edu (Ken Heeres)
Subject: remote lp for SGI
Organization: JHU/Applied Physics Laboratory
Date: Fri, 16 Oct 1992 15:32:53 GMT

How can I set up an print queue on an SGI system so that it will talk
to a print queue on an HP?  I need to pass some -o options so I can control
the paper tray.

thanks

ken
Newsgroups: comp.sys.sgi
From: gabriel@ds5000.dgsca.unam.mx (Gabriel C. Lopez Walle)
Subject: PS Viewer
Originator: gabriel@ds5000.dgsca.unam.mx
Keywords: PostScript
Organization: Universidad Nacional Aut'onoma de M'exico
Date: Wed, 7 Oct 1992 23:44:55 GMT



   Hi:

     Does anyone know about one PostScript viewer for a Personal Iris 4D/35
with IRIX 4.0

       Thank you.
+------------------------------------------------------+
!                                                      !
! Gabriel C. Lopez Walle                               !
!                                                      ! 
! Laboratorio de Visualizacion                         !
! Departamento de Administracion de Supercomputo       !
! Direccion General de Servicios de Computo Academico  !
  Ciudad Universitaria                                 !
! Fax. (5) 622-8540                                    !
! Tel. 622-8529                            +-----------+----------------+
! Universidad Nacional Autonoma de Mexico  !  One must know oneself     !
! Ciudad de Mexico.  C.P. 04510            !  If this shoud not help us !
!                                          !  to find the truth, it     !
! BITNET:     coce01@unamvm1               !  help us anyway            !
! INTERNET:  gabriel@ds5000.dgsca.unam.mx  !  to put order in our lives.!
!            gabriel@diso.dgsca.unam.mx    !              Pascal.       !
!  favored-> gabriel@gate-capella.labvis2.unam.mx                       !
+------------------------------------------+----------------------------+


Newsgroups: comp.sys.sgi
From: ciemo@bananapc.csd.sgi.com (Dave Ciemiewicz)
Subject: Re: Bug in SGI's malloc?
Organization: Silicon Graphics, Customer Support Division
Date: Thu, 15 Oct 1992 01:43:22 GMT

In article <1992Oct13.190027.4398@sol.ctr.columbia.edu>, shenkin@still3.chem.columbia.edu (Peter Shenkin) writes:
|> 
|> I fully accept that SGI's default behavior solves some problems.
|> Speaking more philosophically, (1) people who claim to need this
|> behavior to allocate sparse matrices, only parts of which are
|> actually accessed, should be shot;  they should be using sparse-
|> matrix storage techniques.  See the "Numerical Recipes" column
|> in the Jul/Aug "Computers in Physics" for references.

Why should they be shot?  Sparce matrix techniques will either require
indirection for referencing a matrix element or will require a funky
indexing computation.  If you are trying to maximize your computational
throughput, the SGI "holey memory" technique will require the least
amount of computational overhead for indexing elements thus should be
faster than one of the techniques that you suggest.  When you consider
really really big arrays of data, the time savings would be significant.
Not only that, it would be easier to implement and debug.  (However,
the CaseVision/WorkShop ArrayBrowser can use complex indexing or
indirection expressions so that it is easier to logically browse sparce
matricies which use sparce matrix techniques like you suggest.)

Also, consider that the new 64-bit processors will now permit 64-bit
address spaces.  You aren't going to try reference all memory
locations.  To do so at 10ns per reference would take 2^64 * 1e-8s / 60
s/min / 60 min/hr / 24 hr/day / 365.25 day/year = 5845 years!!!!!!!!!
However, having this much address space would allow you to operate on
really really huge sparce data structures without having to utilize
(relatively speaking) complex hashing or indirection computations for
indexing elements.  Again, there could be a significant computational
savings by using the simpler, "holey memory" technique.

-- 

    __   * __   _  __  ___			
   /  \ / / /  / \/  \/   \ 	He was a man like any other man, however, not
  /    /  \/  /  /\  /    /	quite like any other man.
  \___/\__/\_/  /_/ / \__/	
	           *
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: Bug in SGI's malloc?
Date: 10 Oct 92 00:17:21 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <1992Oct9.201521.23660@sol.ctr.columbia.edu> shenkin@still3.chem.columbia.edu (Peter Shenkin) writes:
| A software provider simply cannot tell his customers, many of whom are UNIX-
| naive, and many of whom are individuals in a shared facility, to reconfigure
| their kernels;  for one thing, it makes it sound as if the fault is the
| application's, when it is not.

He may also not be able to tell his customers to guy buy enough disk
to add another 250 MBytes of swap, if the program consumes a lot of
memory, and still needs to fork for some reason.  We didn't just do
this for the sake of making changes, you know...

| Whoever wants the non-standard behavior should be able to get it, but
| the function that invokes it should not be called malloc().  At the
| very least, there ought to be a compile-time flag that must be set
| if the non-standard behavior is desired.  

It isn't malloc per se that is the issue, it is memory usage, and backing
store for the memory.  The same problems can arise for programs with
very large BSS segments.

| Besides, how do all the users that want this behavior manage on other 
| systems?  If this is really a needed facility for some applications, 
| there must be some way to supply it to those applications while supplying 
| normal behavior to everyone else.  I'm sure the people who need it do 
| not limit their applications to SGI;  as far as I know, no one else 
| even supplies such a facility, at least by default.  (But I'm willing 
| to be corrected on this last assumption, if need be.)

They tell you to go buy more swap or memory, or do something similar
to what SGI did.
--
Let no one tell me that silence gives consent,  |   Dave Olson
because whoever is silent dissents.             |   Silicon Graphics, Inc.
    Maria Isabel Barreno                        |   olson@sgi.com
Newsgroups: comp.sys.sgi
From: benoist@netcom.com (Tom Benoist)
Subject: Termcap for iris-ansi &| xwsh ?
Keywords: Termcap Suns xwsh
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Thu, 8 Oct 1992 15:19:51 GMT

  Does anyone have a termcap entry for 
  iris-ansi-net or iris-ansi that will work
  when connecting from an Iris to a Sun using
  'cu' ?


  Thanks-

  Tom Benoist
  benoist@netcom.com

Newsgroups: comp.sys.sgi
From: jsw@microunity.com (Jeff Weinstein)
Subject: Re: to preallocate, or not to preallocate (that is the question AGAIN?)
Organization: MicroUnity Systems Engineering, Inc.
Date: Tue, 13 Oct 1992 19:22:30 GMT

In article <Bw2Iu9.K8t@helios.physics.utoronto.ca>, sysmark@helios.physics.utoronto.ca (Mark Bartelt) writes:
> How hard would it be to make backing store preallocation selectable on a
> per-process basis?  Then one could configure one's kernel to use whichever
> default made more sense most of the time, but would also permit one to get
> the alternate behaviour if/when desired.

  You could always pin the process in memory with mpin().  This is somewhat
more drastic than pre-allocating swap, but if the process is that important
than maybe its the right thing to do...

	--Jeff

-- 
Jeff Weinstein - X Protocol Police
MicroUnity Systems Engineering, Inc.
jsw@microunity.com
Any opinions expressed above are mine.
From: jordan@IMSI.COM (Jordan Hayes)
Newsgroups: comp.sys.sgi
Subject: Re: Bug in SGI's malloc?
Date: 12 Oct 92 02:22:57 GMT
Organization: Investment Management Services Inc., NYC

Peter S. Shenkin <shenkin@avogadro.barnard.columbia.edu> writes:

	it "should" return a NULL pointer when physical+swap has been
	exceeded.

Er ... the entire process must be able to fit in the backing store, so
malloc() should fail when swap is exhausted.  If you had 32Mb of memory
and 50Mb of swap, the largest process you could have would not be
50+32, but rather somewhat less than 50Mb (other things on the system
are bound to be using some amount of swap space).  Ask yourself: what
would the kernel do if a 32+50Mb process needed to be swapped out?

	I agree with the poster, except for the caveat in my last
	paragraph;  be that as it may, there is a kernel mod that can
	be effected to make SGI's malloc() behave "normally."

"Normally" ...?  Either I missed the question or you don't understand
virtual memory.  Maximum process size is limited by swap space in
Virtual Memory UNIX.  Remember that even if you have 96Mb of physical
memory, if you only have 40Mb of swap you can only have 40Mb
processes.

What kind of "kernel mod" were you thinking of?

/jordan

ps: note that this question has nothing to do with SGIs or even UNIX in
particular.  Any VM operating system will behave similarly.
Newsgroups: comp.sys.sgi
From: boylan@pi.eai.iastate.edu (Terran Boylan)
Subject: Re: 2-D concave polygons with > 255 vertices
Organization: Engineering Animation, Inc.
Date: Fri, 9 Oct 1992 17:15:33 GMT

I would be interested in this as well.  Actually, I'd be
interested in any code to break up concave polygons into
a series of convex polygons.
Newsgroups: comp.sys.sgi
From: dave@imax.imax.com (Dave Martindale)
Subject: Indigo-Indigo Ethernet problem
Organization: Imax Corporation, Mississauga Canada
Date: Tue, 13 Oct 1992 21:41:11 GMT

I have two Indigos, one R3000 and one R4000.  They are about 20 wire
feet apart on an Ethernet.  When I try to pass files between them
using rcp, the transfer goes well for a while (a fraction of a second
to a few seconds), then it pauses for a second or so, then it resumes
only to pause again shortly after.  This certainly kills throughput.

I've tried swapping transceivers (even to another brand) on both
ends, swapping terminators, changing the cable.  I've isolated the
two machines so there is nothing other than the machines, one segment
of coax, and two terminators attached.  I've checked the resistance
of the terminators.  Nothing helps.

I've turned on debugging (ifconfig ec0 debug) on both ends.  When the
R4000 is sending to the R3000, the R4000 end is happy but the R3000
end reports many CRC errors and the occasional packet framing error.
When the transfer is in the other direction, the R4000 sees the
occasional error of both types, while the R3000 sees many packet
framing errors and the occasional CRC error.

If I put the network back together and try rcping stuff to and from
a Sun 4/260, I find that either Indigo can send to the Sun without
many problems, and the Sun can send to the R3000 ok, but transfers
from the Sun to the R4000 are terrible.  The R4000 doesn't report
many errors in this case, but there are many pauses.  I don't know
what the Sun sees; it doesn't have ifconfig debug.

It seems pretty clear that some packets are getting lost, and a timeout
is necessary to restart the flow of data.  It's also interesting that
NFS, with its query-response packet traffic, isn't affected very much,
while TCP's streaming protocol fares much worse.  Perhaps packets
that have been collided with just aren't being retransmitted properly?

Anyone seen this before?  Any suggestions of what to try next?

The transceivers used were Lantronix LTX-2 and Cabletron ST-500.
Which transceiver was on which machine didn't seem to make any difference.
One curious thing I did notice: the R3000 Indigo counts SQE test (heartbeat)
as a collision, while the R4000 doesn't.  Both Indigos are running
4.0.5F.

	Dave Martindale
From: komattu@casbah.acns.nwu.edu (Abraham Komattu)
Newsgroups: comp.sys.sgi
Subject: /dev/rusr not mounting -- DESPERATE --
Date: 14 Oct 92 16:37:12 GMT
Expires: Sat, 24 Oct 1992 05:00:00 GMT
Distribution: comp.sys.sgi
Organization: Northwestern University, Evanston Illinois.

Hi,
	My friend who has a 4D/35 had the fan at back of the hard disk box
blowout. This led to a system crash. System did not come back to the
multiuser mode from sytem startup menu. It comes back to to standalone mode.

	The fsck run from sytem startup menu gives the following messages

fsck: checking /dev/rusr Name: /usr Volume: usr
	dsk0d1s6: Media error: No record found Block# 1901956(2018886)
fsck: /dev/rusr completed: FAILED log is in /etc/fscklogs/rusr

mount: /dev/usr on usr:Dirty filesystem.
mount: giving up on: /usr

The logfile "rusr" has this in it
	**Phase 1 -- check Block and sizes
	CAN NOT READ: BLK 1901948 program terminated

He now removed the hard drive and hooked it up to crimson VGX and ran "fsck"
on /dev/dsk/dks1d4s6 to get two block numbers
		1901946 (2018876)
		1901956 (2018886)

He also ran "fx/exercise/sequential"
	modifier (rd-only)
	starting block =((0))
	nblocks = 2052653
	nscans = (1)
there was 1931 cycls and He got these messages:

dks1d4s6: Media error: Unrecovered data block read error;, Block # 2018876
	I/O error,. read error at block (2018876)

( message repeated 3 times)

 no record found: Block# 2018876
 warning - failed to add block

( the same messages came up for the Block # 2018886 )

1) Is there something wrong in steps taken to flag these bad blocks ?
2) Is there a way to get the data of the hard disk? ( backup made 1 month ago)
3) Is the hard disk gone bad?
	can he reformat the hard disk?
4) What is difference between 1901946 and 2018876?

Thanking you in advance for your efforts,

Abraham Komattu
Sensory Motor Performance program
Rehab Institute of Chicago
Chicago, IL
Newsgroups: comp.sys.sgi
From: scotts@CS.CMU.EDU (Scott Safier)
Subject: TIMEOUT GE not ready for swap
Originator: scotts@MORPHEUS.CIMDS.RI.CMU.EDU
Organization: School of Computer Science, Carnegie Mellon University
Distribution: na
Date: Mon, 12 Oct 1992 17:40:48 GMT


I am writing some software which tracks the mouse across the bottom
half the screen, and writes a copy of the mouse cursor in the top half
the screen (so there are two mouse cursors on the screen).

When I first tried this program, the machine crashed.  After running
diagnostics, I got an error that there was a fault in the electronics
module (CPU).  In the SYSLOG, there was a warning
WARNING: Gr1PcxSwap: TIMEOUT GE not ready for swap.

After getting a new electronics module from SGI, the machine is still
behaving strangely.  The diagonistics no longer report a fault in the
electronics module, but the SYSLOG is still reporting:

Jan 12 10:27:30 scylla unix: WARNING: Gr1PcxSwap: TIMEOUT GE not ready for swap
Jan 12 10:27:30 scylla unix: 
Jan 12 10:27:30 scylla unix: 
Jan 12 10:27:30 scylla unix: WARNING: Graphics error: base = 0xBF000000  GE PC = 6198
Jan 12 10:27:30 scylla unix: 
Jan 12 10:27:31 scylla Xsession: root: fatal IO error 32 (Broken pipe)

My software behaves inconsistently.  It works sometimes, other times
the screen fries, X halts, and I am thrown back to the login prompt.

Can someone help me?  Am I having a hardware problem (or is it really
my software)?  If it is hardware, can someone give me advice on
how to diagnose the problem?

Oh, I am working on an IRIS 4D20 running Irix 4.0.1.

Scott Safier                                   corwin+@cmu.edu
Robotics Institute, Carnegie Mellon University
From: dittrich@milton.u.washington.edu (Dave Dittrich)
Newsgroups: comp.sys.sgi
Subject: Re: How to run parallel jobs across a network of SGI machines
Date: 12 Oct 92 16:49:12 GMT
Article-I.D.: milton.dittrich.718908552
Organization: University of Washington

markm@portal.vpharm.com (Mark Murcko) writes:

>      A question for the group on parallelization...

>      It would be very useful to be able to run a job across
>a network in parallel.  Say you have a few R4000s, a few 420s,
>a few PI's, etc., and you have some kind of program that you
>think ought to be fairly easy to parallelize.  How might one
>attempt this over such a heterogeneous network?...
>know about the existence of Linda, although I haven't yet
>...Is that the best solution, or are there
>other ways to tackle this problem?

Another way is to use the Parallel Virtual Machine software available
from AT&T.  We use this software in a lab with 8 RS/6000 workstations
to do parallel computations.  Look for PVM at the following sites
(list courtesy of archie):

Host cs.utk.edu

    Location: /pub
      DIRECTORY drwxr-xr-x        512  Jul 22 02:28  pvm

Host draci.cs.uow.edu.au

    Location: /netlib
      DIRECTORY drwxr-x---        512  Jul 24 04:05  pvm

Host isfs.kuis.kyoto-u.ac.jp

    Location: /NETLIB
      DIRECTORY drwxr-xr-x       1024  Aug 22 11:09  pvm
    Location: /mirrors/att.netlib
      DIRECTORY drwxr-xr-x       1024  Aug 22 11:09  pvm

Host research.att.com

    Location: /netlib
      DIRECTORY drwxrwxr-x        512  Aug 18 08:33  pvm
From: mmcohen@cats.ucsc.edu (Michael M Cohen)
Newsgroups: comp.sys.sgi
Subject: scsi split on single tower?
Date: 9 Oct 1992 03:37:56 GMT
Organization: University of California; Santa Cruz
NNTP-Posting-Host: si.ucsc.edu


Now that we have the IO3 on our single tower 510vgx,
can the 4 peripheral bays be split between the 2 scsi
controllers?
	TIA, MMCohen
-- 

======================================================================
=   Dr. Michael M. Cohen                   mmcohen@dewi.ucsc.edu     = 
=   Program in Experimental Psychology     mmcohen@fuzzy.ucsc.edu    =
=   433 Clark Kerr Hall                    408-459-2655 LAB          = 
=   University of California - Santa Cruz  408-459-2700 MSGS         = 
=   Santa Cruz, CA 95064                   408-459-3519 FAX          = 
======================================================================
From: pdanset@hardy.u.washington.edu (Paul Danset)
Newsgroups: comp.sys.sgi
Subject: 128Mb MO drives & hard disks
Date: 12 Oct 92 11:57:27 GMT
Article-I.D.: u.1992Oct12.115727.28658
Reply-To: pdanset@u.washington.edu
Organization: University of Washington, Seattle


Sorry if these are FAQs, but does anyone have recommendations for
magneto-optical (MO) drives?  I am particularly interested in the
128Mb MO drives because of their price (approx. $1100-$1800).
Would the standard dks SCSI disk driver work with these MO drives?
Whose drive mechanisms work well with the Indigo (e.g. Sony, Ricoh,
MOST, Pinnacle, etc.)?  Any recommendations on vendors?

Would commodity MO drives from PC/Mac mail-order houses work, or will
they have problems due to the difference in block sizes?  Do I have to
stick to vendors who specialize in SGI peripherals?

Finally, how about commodity hard drives such as the Seagate ST1480N
(426Mb), Seagate ST41200N (1.2Gb), and the Fujitsu M2624SA (520Mb)?
I believe SGI ships the Seagates mentioned above, but I was wondering
if they are shipped with different firmware.

My system is an older R3000 Indigo running 4.0.5.A; it appears to
come with the SCSI bus (as opposed to SCSI-II for the newer R3000
and R4000 Indigos ... please correct me if I'm wrong).

Any advice would be greatly appreciated.  Thanks very much in advance.

--------------------------------------------------------------------------
Paul Danset   Email: pdanset@hitl.washington.edu  Tel: +1 206 685 8625 x45
Human Interface Technology Lab, FJ-15, U. of Washington, Seattle, WA 98195
Newsgroups: comp.sys.sgi
From: andyrose@netcom.com (San Francisco Fractal Factory)
Subject: How do I get whole process command?
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Mon, 12 Oct 1992 18:29:38 GMT

I am writing code to display the status of all the
processors on our system.  We need to know what
is rendering and where the finished frames are going.
This is available from the command line, which
is partially seen using ps -ef.  I would like
to see the whole command line.  How do I
do this?

Can I access this data through a system call?

Is there a porgram which already does this?

thanks-
email to andyrose@netcom.com


-- 
Andrew Rose andyrose@netcom.com FAX 4155537756 When peace rules the planet