HDTenEightyP/NetNews huggingface dataset:
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: NFS really slow in 4.0.1
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Date: Sun, 16 Aug 92 07:58:19 GMT

In <1992Aug16.025912.16186@sunova.ssc.gov> jigang@dale.ssc.gov (Jigang Yang) writes:
| |> The problem that is affected by running in promiscuous mode affects
| |> only IP12's, 4D/35's and Indigos.  It has nothing to do with Crimson.
| |> Running this program on a Crimson on a busy network is a good way to
| |> waste a lot of CPU cycles and do absolutely nothing good.  The problem
| |> is related to interactions between the SEEQ ethernet chip and a custom
| |> chip in the IP12.  The IP17 has neither of those chips.

|     Is there any patch available for 4D/35 right now? The NFS is 
| ridiculously slow, time out frequently. I hope I don't have to go
| back to old version.

Yes, 4.0.5 is shipping now, so as Vernon said, get 4.0.5...
--
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
From: rck@fangio.asd.sgi.com (Robert Keller)
Newsgroups: comp.sys.sgi
Subject: Re: Cannot logout from IRIX 4.0
Date: 12 Aug 92 18:37:29 GMT
Organization: Silicon Graphics, Inc., Mountain View, CA

matthew@cadbury.reading.sgi.com (Matthew Slingsby) writes:
>If your machine name ends in a digit then you probably need to
>edit /usr/bin/X11/endsession. 

Or, if you have a ~/.xsession file you should incorporate the
bottom bits of /usr/lib/X11/xdm/Xsession.  There are few reasons
to use an .xsession file on SGI machines, the ~/.sgisession file
provides most of the same functionality.  

In any case, reading though /usr/lib/X11/xdm/Xsession is pretty
informative.

...robert
Newsgroups: comp.sys.sgi
From: sullivan@gorgo.gsfc.nasa.gov (Dan sullivan)
Subject: WORM recommendations?
Reply-To: sullivan@gorgo.gsfc.nasa.gov (Dan sullivan)
Organization: NASA/GSFC Hydrospheric Sciences Branch
Date: Fri, 14 Aug 1992 19:16:51 GMT

We are looking for WORM drive recommendations. We need to archive datasets
on the most reliable media, and we think a WORM drive will be best. We
use Silicon Graphics Indigos and Personal Iris 4d 20.  
Anyone have any recommendations for WORM models/vendors, or any comments
on the reliability of them?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Sullivan                   #  Laboratory for Terrestrial Physics (STX) 
                               #  Code 920.2
sullivan@gojira.gsfc.nasa.gov  #  NASA-Goddard Space Flight Center
                               #  Greenbelt, MD 20771
                               #  voice: (301) 286-2484
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.sys.sgi
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: inst problem with / and /usr partitions
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Date: Sat, 22 Aug 92 03:25:10 GMT

In <1992Aug21.154043.29181@olymp.informatik.uni-bonn.de> rainer@sfb256.iam.uni-bonn.de ( Rainer Kleinrensing) writes:
| recently we installed a new 1G disk (IBM) in our 4D-220 VGX. We chose
| to leave the root partition on the disk where it already was
| (an internal 600MB SCSI disk), but to place the /usr partition on the
| new drive since 40x is so much greater than 3.3.
| We copied the old /usr-partition to the new drive and
| correctly set up the links (/dev/usr, /dev/rusr).
| Booting 3.3 worked fine.
| *BUT*: when booting after upgrading (once to 4.0.1, a few weeks after 
| to 4.0.4) we saw that the install program had made a new link /dev/usr 
| and a new link /dev/rusr. Those links pointed to the first partition
| after our root partition (i.e. the old /usr-partition), where there was
| some other stuff right now. After seeing that, we re-made the links, and,
| voila, 4.0.x booted fine.

You did the wrong thing.  The links to /dev/*usr are remade when
MAKEDEV runs.  Had you instead corrected the entry in /etc/fstab
to point to the actual (new) disk devices, there would have been no problem.

| My question: why does inst make new links for the /usr partition ?

MAKEDEV does it, because 'it knows best'.

| Can I stop it from mangling up the entries again when we want to install
| 4.0.5 next week ?

No, do the right thing, and correct your /etc/fstab.  /dev/*usr
are *not* links to where /usr is mounted, but rather links to
partition 6 on the 'root' drive.
--
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
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: /etc/passwd gone or corrupted: what now?
Date: 14 Aug 92 02:10:59 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <SCOTTH.92Aug13111301@hoshi.corp.sgi.com> scotth@hoshi.corp.sgi.com (Scott Henry) writes:


| >>>>> In article <1992Aug13.162916.13009@gdr.bath.ac.uk>, chpetk@gdr.bath.ac.uk (Toby Kelsey) writes:
| 
| chpetk> I needed to change my login shell. So I logged in as root
| chpetk> and performed
| chpetk> 	passmgmt -m -s /bin/sh toby
| chpetk> When I logged out there was a kernel panic with a message
| chpetk> 	"software detected SEGV"
| chpetk> and the system wrote a corefile.
| chpetk> We reset the machine as requested. When checking the disk
| chpetk> using fsck all was OK apart from
| chpetk> 	su: unknown id: sys
| chpetk> 	chown: unknown id: root
| chpetk> The login screen showed no users at all.
| chpetk> Trying to start it in single-user mode gave something like
| chpetk> 	su: no such user: root
| chpetk> repeatedly.  We can ping the machine, but cannot ftp or
| chpetk> telnet or rlogin to it.
| chpetk> This is with Irix 4.0.1 on a 4D/35
| 
| It sounds like you hosed /etc/passwd. The only way I know to recover
| is to boot the miniroot (like you were loading software), then run a
| sh. Look to see if there is a backup copy in /root/etc, otherwise
| you'll have to `cp /etc/passwd /root/etc` and then restore /etc/passwd
| after quiting & rebooting (you do do backups, don't you?).
| 
| Any further problems, you should call the TAC if you are on
| maintenance.

Also note that in 4.0.5, init gets more careful in the case of
missing or bad password files, and simply runs /bin/csh, /bin/sh,
or /bin/ksh (in that search order) directly.  That can save you
from having to boot the miniroot sometimes.
--
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,comp.sys.mips,comp.unix.misc,comp.unix.questions
From: pj@sam.wpd.sgi.com (Paul Jackson)
Subject: Re: Summary of (Re: Grep-ing for Constants (Re: Assembler Syntax...))
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Thu, 20 Aug 1992 01:13:37 GMT


In article <1992Aug19.235443.21099@leland.Stanford.EDU>, underdog@leland.Stanford.EDU writes:
> >Is there a way to use grep (or some other command)
> >to do the search across all files at my current level of the directory
> >_and_ subdirectories below the current level--all at once?
> 
> I received numerous replies.
> 
> The one with the simplest explanation was
> 
>    Try:
>      find . -exec grep your_string {} \; -print | pg


I would recommend against using the -exec option of find in many
cases, because it is slow - requiring a fork/exec per file.

Consider:

	find . -print | xargs file |
		grep 'text$' | sed 's/:.*//' |
		xargs grep your_string /dev/null

The file command shows the "type" of a file, and it happens that
it always has the word "text" at the end of the description for
just text files.  The xargs command runs a command with several
arguments collected from stdin.  The extra /dev/null on the grep
command causes it to always show the filename, even in the case
that only one actual file is searched.  The sed command is used
to strip off the trailing "type" stuff that the file command
put on each filename.  Clever use of sed can handle the work
done by the grep, but that requires too much thinking.
Newsgroups: comp.sys.sgi
From: bill@virga.rap.ucar.edu (Bill Myers)
Subject: z-buffering question
Reply-To: bill@virga.rap.ucar.edu (Bill Myers)
Organization: Research Applications Program/NCAR, Boulder, CO
Distribution: usa
Date: Fri, 14 Aug 1992 17:57:02 GMT

I have a question concerning z-buffering on an Indigo Elan.

I am involved in a 3-d application in which I am trying to draw
a line just "above" a polygon. I expect that I should be able to 
place the line just a few z-buffer notchs above the polygon and be
able to see it overlaid on the polygon. So if I calculate what I believe
to be the granularity in the z-buffer in world coordinates by 
(far - near)/ (2^#zbits), I should be able to translate the line "up"
by a few times that amount and see that the line has passed the default
z-buffer test. How one defines "up" is debatable, but the result I see
seems to make that irrelevant -- Instead of having to be just a few
notchs up, it seems to need to be many thousand notchs above to appear
consistently.


I wonder if I am really getting 24 bits of z, or just 12 as performance
might suggest. That is, is my z running from 0x007fffff down to 0xff800000
or only down to 0. I am using glcompat() and lsetdepth(), so I would
expect to see the full range used.

Other notes, I am double buffering, but don't expect that this should halve
my effective z-buffer size. Also, I have gone from using a perspective
projection to an orthographic projection to eliminate a level of complication.

Also, the man page for lsetdepth suggests that there should be 32 bits of
z-buffer available though getgdesc() seems to indicate otherwise.

If anyone has any ideas, I would appreciate the input.
Bill
From: mash@mips.com (John Mashey)
Newsgroups: comp.sys.sgi
Subject: Re: finding page size?
Date: 19 Aug 1992 04:29:00 GMT
Organization: MIPS Computer Systems, Inc.
NNTP-Posting-Host: winchester.mips.com

In article <1992Aug18.213842.6074@CSD-NewsHost.Stanford.EDU> philip@ziggy.stanford.edu (Philip Machanick) writes:

>If future architectures have a much lower TLB miss cost this problem would go  
>away. Much larger page sizes could help by reducing the probability that data  
>allocated at different times ends up on a different page and virtually  
>addressed caches would be a help. Since the data fits in RAM it may make sense  
>for a page size = total RAM requirement. I haven't finished measurements and  
>testing but the performance impact of TLB misses in this case appears to be  
o>about 20%.
This sounds like what bigger pages are for....
-- 
-john mashey	DISCLAIMER: <generic disclaimer, I speak for me only, etc>
UUCP: 	 mash@mips.com [soon to be mash@sgi.com, but not quite moved yet].
DDD:  	408-524-7015,  or 524-8253
USPS:	(soon) Silicon Graphics, 2011 N. Shoreline Blvd, Mountain View, CA 94043
Newsgroups: comp.sys.sgi
From: dhinds@leland.Stanford.EDU (David Hinds)
Subject: Re: 4.0.5 on 4.0.4 installation confusion 
Organization: DSG, Stanford University, CA 94305, USA
Date: Thu, 20 Aug 92 07:43:02 GMT

In article <1992Aug20.061212.6742@comp.bioz.unibas.ch> doelz@urz.unibas.ch writes:
> 
>I did install 4.0.4 on a vanilla R3K Indigo entry for some reason. Now, as 
>I want to upgrade to 4.0.5, it tells me that some prerequisites are not met
>to install the maint images. Looking for 'versions' I got surprised in seeing
>the list of 'Unknown Product', 'Unknown maintenance release' also covered 
>compilers, and some 4DLT 4DDN NQS etc. optional software. Ignoring the fact 
>that this might not be a 'feature', is there any way to get 4.0.5. on this 
>indigo in OTHER way than downgrading to 4.0.1? 

I think it would be nice if some future version of inst made it possible to
see exactly what the prerequisites for an image are, beyond just saying if
they are missing.  And maybe a way of overriding these prerequisites, or of
extracting specific files by name.  Our lab server is running 4.0.1 now,
and I don't want to upgrade it to 4.0.5 right away.  I've upgraded my own
Indigo, though, and I'd like to at least install the man pages for 4.0.5 on
the server.  I wanted to install the man pages for the scaler optimizer
included with the 3.1 compilers.  Inst refuses to install it locally on
either the Indigo or our main server because of missing prerequisites.  I
don't know what could be a prerequisite for a man page, especially since
copt is a new product with the 3.1 compilers.

Also I noticed something funny with the 4.0.5 maint CD.  After doing the
default install, listing the CD again said the same products still needed
to be installed.  Installing them again didn't help either: exiting inst,
and loading the CD again from scratch, inst still thought it needed to
install the same stuff.

        - David Hinds
          dhinds@allegro.stanford.edu
Newsgroups: comp.sys.sgi
From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
Subject: Re: shutdown by user
Organization: Silicon Graphics, Inc.  Mountain View, CA
Date: Sat, 15 Aug 1992 15:05:44 GMT

In article <1992Aug13.180112.2505@ctr.com>, davids@ctr.com (David Stein) writes:
> In article <165806INNmgs@agate.berkeley.edu> dasilva@eero.ced.berkeley.edu (Ruieta Da Silva) writes:
> >
> >Another way to let anyone shutdown the computer is to create an 
> >account called shutdown and have the .profile or .login 
> >contain 'init 0'. 
> >
> >the passwd entry would look like:
> >shutdown::0:0:shutdown:/usr/people/shutdown:/bin/sh
> >
> >Deanan
> 
> This techique leaves a security hole in it when a user
> uses the su command (ie su shutdown) since by default the 
> .login or .profile is not read by default.  Upon su to shutdown
> the user has superuser privledges, and the system is not halted.


True, but that hole does not exist if you use a line like

shutdown:asdfasdf:0:0:shutdown:/:/etc/halt


And you need not create any home directories, .login's, etc.

Remember that a "shell" is nothing special.  You can use any
arbitrary program or even script that happens to do what you want
as the "shell" for a user.

This technique can be used even when the user ultimately needs a
ordinarly shell, but you first need to do security checking.  I think
this is far more secure than putting such security stuff in .login or
/etc/profile, and less intrusive.



Vernon Schryver,  vjs@sgi.com
Newsgroups: comp.sys.sgi
From: olson@anchor.esd.sgi.com (Dave Olson)
Subject: Re: Tape partitions on a DAT and un-manned backups
Organization:  Silicon Graphics, Inc.  Mountain View, CA
Date: Fri, 14 Aug 92 01:52:51 GMT

In <7m3nbgl4@csv.warwick.ac.uk> esrma@warwick.ac.uk (Mr P M Jones) writes:

| I have a SGI supported DAT and all works well on it.  I read recently
| in this newsgroup about partitioning the tape and was hoping to get
| some more information on this.  I would like to split a 60m tape
| (1.3 Gbyte) into 7 tape partitions so that a daily backup can be made
| of all changed files without having to do a tape change or overwrite
| the previous day's backup ( and thus allowing the system manager a
| week to go on holiday and still let the users delete old files at random )
| 
| 1) is this possible and if so how do I do it as it does not seem to be
|    covered in the manuals.

No.  As I said in my posting of the latest mt man page, 2 partitions
is all you get.  You *can* do multiple tape files (mt feom, then 
tar, bru, dump, cpio, or whatever).

| 2) if (1) is true, is there a nifty script to queue the backups each day
|    or an ftp site etc with an example of this

Several have been posted here for multiple tape files per tape.

| 3) if the backup is greater than the partition, will there be any
|    disasterous consequnces or will the backup exit cleanly and leave
|    appropriate warning messages.

If it is tar, bru, cpio (but NOT dump!), it will prompt for an
additional tape.  Of course, when run from that isn't very useful...
--
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: stanj@ferrari.corp.sgi.com (Stan Jensen)
Subject: Re: Any possibilities for GPIB on an Indigo
Followup-To: comp.sys.sgi
Keywords: gpib SGI Express to the rescue
Organization: Silicon Graphics, Inc.
Distribution: comp.sys.sgi
Date: Tue, 18 Aug 1992 22:49:23 GMT

In article <1992Aug18.213605.29950@magnus.acs.ohio-state.edu>, hshamans@magnus.acs.ohio-state.edu (Harry T Shamansky) writes:
|> Hello again...
|> 
|> Is there any hope for GPIB control from my new Indigo ??
|> 
|> Any suggestions will be appreciated....
|> 
|> Thanks
|>   
|>   Harry
|> 

But of course! Call SGI Express at 1-800-800-7441 and ask about the
"GPIB-SG-S External GPIB Interface Kit for the Indigo and PI (776613-51)".
I think the list price is $1,795.
-------------------------------------------------------------------------
Stan Jensen, Systems Engineer                          stanj@corp.sgi.com
Silicon Graphics Inc., M/S 14L-120                    Phone:(415)390-5822
P.O. Box 7311, 1350 Charleston Road                   FAX:  (415)962-1589
Mt. View, CA  94039-7311                                "I (heart) Tonks"
-------------------------------------------------------------------------
Newsgroups: comp.sys.sgi
From: apa@ccadfa.cc.adfa.oz.au (Alan P Arnold)
Subject: Making QT movies from single-frame Insight images
Summary: Making QT movies from single-frame Insight images - HOW?
Keywords: Quicktime Insight movies snapshot
Organization: Australian Defence Force Academy, Canberra, Australia
Date: Wed, 19 Aug 1992 06:57:25 GMT


Hello again,
	perhaps someone out there can help with advice on this problem...

I want to make a movie (Apple's Quicktime or VHS video for teaching 
purposes) of a series of single-frame screen snapshots of Biosym's InsightII
images.  Our SGI4D/20GT is not fast enough to rotate/move the types of images
we want in real time, so real-time video capture is out. 

As an example to illustrate the task, assume I want to show a rotating 
CPK (space-filled) picture of a protein:

The plan is as follows:
1. set up the molecule in Insight - CPK, color the Delphi electrostatic
   potential contours etc. <- impossible to rotate all this in real time.
2. with 'snapshot' running in another window, snap this screen image 
   (not the entire screen) and save as a temporary snap.rgb (~0.5Mb).
3. For an eventual QuickTime movie, convert the .rgb to .pict with some
   image conersion utility eg. SGI's topict or one of the SanDiego 
   Supercomp Center imtools (from sdsc.edu in /sdscpub/sgi4d/graphics).
   (For a video, my comp. center colleagues require Utah Raster format
   images, so convert .rgb to .rle instead of to .pict).
4. ftp snap.pict.001 to a MacII folder and hope you have enough diskspace.
5. rotate the image in Insight, and repeat steps 2-5 until finished.

6. On the Mac, use one of the Quicktime tools to convert all those
   PICT's to a PICS or MOOV, and voila.

This should work OK, and for a few frames I could do all this
manually. For *many* frames, most of this can be done from a 
macro, but...... How can I automate step 2?

I don't think it is possible to run snapshot from the unix command-line,
specifying the coords of the screen you want captured. Can anyone suggest 
an alternative utility to do this.  (ipaste allows you to specify where
you want to *place* an image, but icut doesn't).

... or is there a better way to do the whole thing?

As an aside, is there a rule of thumb for how many frames one needs to 
capture for a 'smooth' rotation at a 'reasonable' rate? 
360 one-degree rotations (frames) at 15 frame per sec = 24 sec
playing time = one helluva big Mac file.  Would 5degree rotations do? 

hoping you can help, because I suspect there are a few others
out there who might also be interested....


----
Alan Arnold             	     |  e-mail: apa@ccadfa.cc.adfa.oz.au
Chem. Department,University College  |  voice : +61 6 268 8080
Australian Defence Force Academy     |  fax   : +61 6 268 8002
CANBERRA  ACT 2600 Australia         |
From: olson@anchor.esd.sgi.com (Dave Olson)
Newsgroups: comp.sys.sgi
Subject: Re: of shells and discs
Keywords: zsh, nfs
Date: 14 Aug 92 20:55:04 GMT
Distribution: usa
Organization: Silicon Graphics, Inc.  Mountain View, CA

In <2867@contex.contex.com> frank@marvin.contex.com (Frank Perdicaro) writes:

| In article <o8pbsmk@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
| >In <1992Aug6.164104.26546@mcshub.dcss.mcmaster.ca> johnb@physun.physics.mcmaster.ca (John Benjamins) writes:
| >
| >| In article <o3g7m8c@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
| >| >Hoping this isn't a joke, I answer seriously...
| >| >There is no /etc/shells file on Irix.  You can create one, but
| >| >it doesn't mean anything.  More than likely you have a typo
| >| >in /etc/passwd for the shell pathname.  You can use system manager
| >| >for this also.  An easier test is to modify the passwd file,
| 
| Not that this really matters much, but I did run into an IRIX login
| shell bug that had us all perplexed.  If the beginning of the path
| of the login shell specified in /etc/passwd was "/bin/s" it did not 
| matter what it was, /bin/sh was run.  I think I was trying to run something
| called "/bin/setup"; always got /bin/sh.  SGI eventually agreed this
| was the case.  Last I knew, this was not fixed, but I have not looked into 
| the problem for more than a year...

I've never seen or heard of this.  Was this through xdm, pandora, rsh,
a terminal, or what?  I just tried it for rsh, and it works fine.
--
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
From: jrh@de.deere.com (John R. Howell)
Newsgroups: comp.sys.sgi
Subject: Binary File: SGI <-> IBM
Date: 12 Aug 92 21:56:23 GMT
Organization: Deere & Company

I have a binary file created with C fwrites and read with C freads.

If I create this on an SGI (IRIX) and read it with an IBM RS6000, I seem to
read everything ok, but my floating point numbers don't make sense. If
I go the other way (IBM -> SGI) a similar thing happens.

Apparently the integers are read correctly ...

OK ... I have apparently stumbled upon a difference in floating point
formats between the different machines.

Any idea on how to get around this? I really would like to use these files
"seemlessly" between the different environments.

Thanks for any insight you can offer.


John
From: scotth@hoshi.corp.sgi.com (Scott Henry)
Newsgroups: comp.sys.sgi
Subject: Re: ispell
Date: 21 Aug 92 18:28:42 GMT
Organization: Silicon Graphics Inc, Mountain View, CA


>>>>> In article <32152@adm.brl.mil>, pjf@osiris.cs.uoguelph.ca (Peter Jaspers-Fayer) writes:

pjf> Asking archie about ispell (which I found out about via elm),
pjf> gives me several good pointers, but I fear that it'll need * gnu
pjf> c to compile. I'm not keen to install a (fairly difficult - to
pjf> judge from the net traffic) compiler in order to make a spelling
pjf> checker.  So:

I had no trouble compiling ispell-2.0.02 on the standard Irix compiler.

=-=-=-=
--
 Scott Henry <scotth@sgi.com> / Traveller on Dragon Wings
 Networking Services,        / Help! My disclaimer is missing!
 Silicon Graphics, Inc      / GIGO *really* means: Garbage in, Gospel Out
Newsgroups: comp.sys.sgi