HDTenEightyP/NetNews huggingface dataset:
From: fish@daacdev1.stx.com
Subject: MTIOCTOP w/ MT_NOP does not update mt_dsposn, shouldn't it???
Organization: Goddard Space Flight Center
Date: Thu, 5 Nov 1992 21:14:06 GMT


this is w/ irix 4.0.1 on a 4D/440S using jaguar controllers to a 8mm

i am trying to loop until i can detect a tape is loaded in a drive
via MTIOCGET using the mt_dposn MT_ONL bit - that works fine if there
is a tape in the drive before i do the open but if it gets put in later
(which is really the whole point of what i'm trying to do)
i then issue another ioctl GET to ascertain if its status has changed.

since that wasn't working i saw that the CTOP MT_NOP option states that
it does "no operation, sets status only" - so i stuck that in there 
and that didn't do anything either - what does it do?? only update
the mt_dsreg element and not the mt_dposn element?

i had to resort to reopening the file every time i check in the loop
(by closing and then opening again) and this works (but has the
unfortunate side-effect of having the jag driver repeatedly log
"BUSY, waiting" while the tape is loading and the open() is pending

i haven't tried this with the tpsc driver yet but i'll need to soon

			any info appreciated,
					fish

code sample below:

        /* poll until media is loaded (online) or poll limit is reached */

        for( poll_limit = POLL_LIMIT; poll_limit > 0; poll_limit -= POLL_INTERVAL )
        {
          status = ioctl( fd, MTIOCGET, &mt_status );

          if( status == -1 )                    /* ioctl failed */
            break;

          else                                  /* ioctl successful */
          {
            if( (mt_status.mt_dposn & MT_ONL) == MT_ONL )       /* is online */
	      break;

            else                                                /* not online */
            {
              sleep( (uint)POLL_INTERVAL );
              close( fd );                             /* reopen (close,open) */
              fd = open( device, O_RDONLY );
              if( fd == -1 ) return( fd );
	      /** the following ioctl didn't update so using close/open **/
              /** status = ioctl( fd, MTIOCTOP, &mt_operation ); **/ /* update status */
            }
          }

        }       /* for */
--
John R. Vanderpool                INTERNET: fish@daacdev1.stx.com
NASA/GSFC                         VOX: 301-513-1683                
Hughes/STX Corporation            FAX: 301-513-1608
"somehow seems strange and a little bit funny, to wander thirsty in the rain" pr
From: jdh@bu-pub.bu.edu (Jason Heirtzler)
Newsgroups: comp.sys.sgi
Subject: inst complains: expr - non numeric argument
Date: 12 Nov 92 16:04:51 GMT
Organization: Boston University, Information Technology

Has anyone else seen this error when booting off tape and
running inst on 4.0.5?

  Current system date is <date>

  expr: non-numeric argument
  Mounting file systems:
  .... 

The error message seems harmless enough (?)

My machine was being upgraded from 4.0.1 -> 4.0.5

Actually it happens on several machines, and the only thing
I can think of is that root and /usr isn't SCSI address 1..?

----------------------------------------------------------------
Jason Heirtzler      1-617-353-2780            jdh@bu-pub.bu.edu
Sci Comp & Vis       Information Technology    Boston University

"Congratulations.  You aren't running Eunice."
        -- Perl "Configure" script
From: davea@quasar.mti.sgi.com (David B.Anderson)
Newsgroups: comp.sys.sgi
Subject: Re: PROBLEMS with CodeVision
Date: 12 Nov 92 19:52:35 GMT
Organization: Silicon Graphics, Inc.  Mountain View, CA

In article <s8e9vbs@sgi.sgi.com> davea@quasar.mti.sgi.com (David B.Anderson) writes:
>In article <1992Nov10.133551.15059@news.tu-graz.ac.at> blah@tu-graz.ac.at (blahowsky) writes:
>>Summary: Problems with CodeVision
>>Keywords:CodeVision

>>                   1. whan going with step threw a subroutine 
>>                      the program counter jumps quite often 
>>                      to the first line in the subroutine before
>>                      actually executing the next line

>(I have never kept quite straight which compiler releases generated the
>extra nop instructions: They are gone in 4.0.5 IRIX with 3.10 compilers.)

I just learned the details:  The nops and the jumping around 
with 'next' and 'step' in debuggers occur in   4.0.2, 4.0.3, and 4.0.4.
	Not in 4.0.1
	Not in 4.0.5 (jumping around removed from 2.40 and 3.10 compilers)
If you install 4.0.5 compilers you must recompile to avoid the 'jumping
around' with 'next' and 'step', since the change is in the assembler,
not in dbx or Workshop/Codevision.

Hope this is worth the netnews bandwidth it takes....
[ David B. Anderson             (415)390-4263             davea@sgi.com ]
From: rseymour@reed.edu (Robert Seymour)
Newsgroups: comp.sys.sgi
Subject: Re: R3000 -> R4000 Upgrade Questions
Keywords: upgrade, R4000, R4400, nfs
Date: 11 Nov 92 06:58:55 GMT
Article-I.D.: reed.1992Nov11.065855.1462
Reply-To: rseymour@reed.edu
Organization: Reed College, Portland, OR

In article <34019@adm.brl.mil> johnson@euler.jsc.nasa.gov (Stan Johnson)  
writes:
> We are planning to upgrade our Indigos from R3000 to R4000 XS-24.  On our
> network, we also have a 4D-210, a 4D-310, two 4D-35s, and a 4D-25S server.
> We depend heavily on NFS, and we would like to keep all our machines more
> or less binary compatible.  What impact would there be if we only upgraded
> the Indigos, or should we also upgrade to an R4000 fileserver for better
> NFS performance?  How does the 32-bit/64-bit R4000 architecture affect
> NFS?  Will we have NFS, network, or compatibility problems if we don't
> also upgrade our other 4D systems?
> 
> Thanks for any advice..
> 
> -Stan Johnson
>  NASA / Johnson Space Center
>  Houston, Texas  77058
>  (713) 483-4692
>  johnson@euler.jsc.nasa.gov

	The MIPS R3000, R4000, and R4400 (a.k.a. R4000A) are all binary  
compatible. Having some machines of each won't hurt NFS (It doesn't  
differentiate between machines [within SGI or between other manufacturers]).  
Before deciding which machines to upgrade, you should evaluate the way you use  
the machines. If your uses are mostly in the workstations (i.e. CAD, Imaging,  
etc.), then just upgrade these. However, if you use more net distributed work  
(i.e. data base work), upgrade the server, and the workstations later. Of  
course, upgrading everything is preferable, but who has the money? The data  
path won't be a big difference since your buses are still 32-bit (or possible  
some 64-bit system buses [if you upgrade the whole logic board], but the  
interface buses will still be 32-bit). Either way, you shouldn't have  
compatibility problems, but do talk to someone who has a mixed network (I  
don't) before you try it, just in case...

--
Robert Seymour				rseymour@reed.edu
Departments of Physics and Philosophy
Artificial Life Project			Reed College
Reed Solar Energy Project (SolTrain)	Portland, OR
Newsgroups: comp.sys.sgi
From: odonnell@prothos.jsc.nasa.gov (bill o'donnell)
Subject: late collision
Keywords: collision
Organization: McDonnell Douglas Space Systems
Date: Fri, 6 Nov 1992 14:24:40 GMT

Our lab has 12 networked Iris workstations. Some of our machines see about
20-30 late collisions/hour, a couple of our machines never see late collisions.
Also, I don't remember experiencing late collisions under the old 3.3 OS. The
lab has a mix of 4.0.1 and 4.0.5 now.

The problem has gotten so bad I prefer to rlogin into the server to do my
text editing (Writing a 1000 line file over the net can take several minutes
otherwise.).

odonnell@porthos.jsc.nasa.gov

Newsgroups: comp.sys.sgi
From: "alan kennedy" <alan.kennedy@canrem.com>
Subject: cgmode/genlock help
Reply-To: "alan kennedy" <alan.kennedy@canrem.com>
Organization: Canada Remote Systems
Distribution: comp
Date: 10 Nov 92 14:34:40 EST

We are trying to set the genlock on a 4D70G with a CG2 genlock card
to mode 0. However, the program cgmode only allows us to set to mode 1.

With the same software, we are able to set our other box (4D20G w/same
board) to mode 0.

So the question is, why can't we set to mode 0 on the 4D70. We need this
to have more accurate genlock.

Any help will be appreciated!

Alan Kennedy - alan.kennedy@canrem.com - Toronto, Ontario, Canada
--
Canada Remote Systems  - Toronto, Ontario
World's Largest PCBOARD System - 416-629-7000/629-7044
Newsgroups: comp.sys.sgi
From: paquin@kahua.esd.sgi.com (Tom Paquin)
Subject: Re: How display a GL application on remote X server ???
Organization: Silicon Graphics Inc.
Date: Tue, 10 Nov 92 20:32:46 GMT

bhickey@watcgl.uwaterloo.ca (Bruce Hickey) writes:

|> 
|> This brings up an interesting point, what type of code is sent to the remote
|> display? Is it some type of encoded gl which is processed by the display's
|> graphics pipeline? 

Yep, DGL is a form of encoded GL, run locally on the target machine as GL,
using the hw.

-- 

		-Tom
*****
Opinions are mine, etc.
From: srp@cgl.ucsf.edu (Scott R. Presnell)
Newsgroups: comp.sys.sgi
Subject: Reset graphics pipeline from unix - how?
Summary: program hoses gfx, how to reset?
Date: 5 Nov 92 20:08:13 GMT
Organization: UCSF Computer Graphics Lab

Hi folks -
	Twice in the last week we've had what I consider a graphics
pipeline problem.  Basically events go like this:

	1) Run program foo (uses GL)
	2) Foo gets killed because the machine runs out of swap
	3) Run foo again - get immediate "Segmentation fault (core dumped)"
	4) Logout/login - gamma is screwed /usr/sbin/gamma dumps core in /
	etc. etc.
	5) But unix/non-GL progams fork/exec and continue to run fine.

	I've tried many logical combinations of /usr/gfx/stopgfx,
/usr/gfx/gfxinit and /usr/gfx/startgfx (but maybe not *all* combinations).
as root from a real login and the tport login but this does not reset the
graphics to a usable state.  It's not up to me to debug the program foo, I
just want my machine back :-(.

Question - 

	Is there a standard way to restart/reset the graphics subsystem
without taking the machine down?

We're running IRIX 4.0.5A...

(1, srp.cohen@babar:usenet) hinv
1 36 MHZ IP12 Processor
FPU: MIPS R2010A/R3010 VLSI Floating Point Chip Revision: 4.0
CPU: MIPS R2000A/R3000 Processor Chip Revision: 3.0
On-board serial ports: 4
Data cache size: 64 Kbytes
Instruction cache size: 64 Kbytes
Main memory size: 16 Mbytes
Integral Ethernet: ec0, version 0
CDROM: unit 5 on SCSI controller 0
Disk drive: unit 2 on SCSI controller 0
Disk drive: unit 1 on SCSI controller 0
Integral SCSI controller 0: Version WD33C93A, revision 9
Iris Audio Processor, rev 3
Graphics board: GR1.2 Bit-plane, Z-buffer options installed

	Thanks.

-- 

	- Scott Presnell (srp@cgl.ucsf.edu)
Newsgroups: comp.sys.sgi
From: knobi@knobi.munich.sgi.com (Martin Knoblauch)
Subject: Re: FAQ How to obtain my ethernet address?
Organization: Silicon Graphics, Inc.
Date: Fri, 13 Nov 1992 08:40:58 GMT

In article <1992Nov13.025023.27636@news.nd.edu>, root@sanger.chem.nd.edu
(Doctor Math) writes:
|> In article <s9gp934@rhyolite.wpd.sgi.com> vjs@rhyolite.wpd.sgi.com
|> (Vernon Schryver) writes:
|> >Instead, use `netstat -ina`.  It is supposed to return the MAC
|> address
|> >and does.  With netsetat, you don't have to make fiddles about the
|> >relation, if any, between the system ID and any of the network MAC
|> >addresses.
|> 
|> It also claims that my machine has the addresses 224.0.2.2 and
|> 224.0.0.1,
|> listed between the primary IP address and the ethernet address.
|> What are these? I'm not using SLIP. (I feel like it's a trick and I
|> really should know what these are already.)
Hey,

  the whole 224.x.x.x network is reserved for a "trick" called
"multicast-groups". I'm not a network specialist, so maybe
someone else might want to elaborate on this issue. The addresses
you mention indicate that you participate (for some default
reasons that I don't know,but which can definitely be explained
by a network specialist) in the following protocols:

224.0.0.1       all-systems.mcast.net
224.0.2.2       sun-rpc.mcast.net

  With 4.0.5 you get the following entries in /etc/hosts that indicate
that our (SGI) machines know about the following multicast services:

# Assigned multicast group addresses listed in RFC-1060 ("Assigned
Numbers").
# These entries can be deleted if you don't want them.
# (They are also available via the Internet DNS name servers.)
224.0.0.1       all-systems.mcast.net
224.0.0.2       all-routers.mcast.net
224.0.0.4       dvmrp.mcast.net
224.0.0.5       ospf-all.mcast.net
224.0.0.6       ospf-dsig.mcast.net
224.0.1.1       ntp.mcast.net
224.0.1.2       sgi-dog.mcast.net
224.0.1.3       rwhod.mcast.net
224.0.2.1       rwho.mcast.net
224.0.2.2       sun-rpc.mcast.net

  I assume that these entries just mean that you can access the service
by name instead of IP number.


  Hope this helps to enhance the confusion.


Martin
-- 
+---------------------------------+----------------------------------+
|Martin Knoblauch                 | Silicon Graphics GmbH            |
|Application Support              | Am Hochacker 3 - Technopark      |
|Silicon Graphics Computer Systems| W-8011 Grasbrunn-Neukeferloh, FRG|
|                                 | Phone: (+int) 89 46108-179 or -0 |
|                                 | Fax:   (+int) 89 46108-222       |
+---------------------------------+----------------------------------+
|Network: <knobi@sgi.com>         | V-Mail: 8935   | M/S: IMU-315    |
+--------------------------------------------------------------------+
From: smulgund@phoenix.Princeton.EDU (Sandeep Shriram Mulgund)
Newsgroups: comp.sys.sgi
Subject: QUESTION: CD-Rom
Date: 6 Nov 92 15:50:16 GMT
Organization: Princeton University
Originator: news@nimaster

I have a question about CD-Rom units for the SGI.  Does anyone out there
know if an SGI CD-Rom unit can be plugged into a NeXT computer?  We have
both in our lab, and we'd like to squeak by with just one CD-Rom unit.
Any help would be appreciated...
Newsgroups: comp.sys.sgi
From: gaarder@well.sf.ca.us (Steve Gaarder)
Subject: Re: HP DAT drive on a 4D/35
Organization: AC Technology
Date: Tue, 10 Nov 1992 17:12:41 GMT

In article <s62becg@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
>In <BxGzIv.6p2@well.sf.ca.us> gaarder@well.sf.ca.us (Steve Gaarder) writes:
>
>| We have an HP 35480A DAT drive that we have hooked up to a 4D/35 running
>| 4.0.5.  I can read my own tapes fine, but not tapes made on an HP 9000/700.
>| With those, tar gives "premature end of file" and dd gives ") records".
>| I note that the hinv command gives the drive type as "unknown", and thus 
>| suspect part of the problem is that the software does not recognize the
>| drive as a DAT drive.  Any ideas?
>
>Start by making a new entry in /usr/sysgen/master.d/tpsc.  After it
>works (i.e., you ran /etc/autoconfig, rebooted, and hinv and
>mt stat report it as a DAT, (assuming this is your only tape drive) do:
>	su
>	cd /dev
>	rm *tape*
>	./MAKEDEV tape

It worked - thanks!.  Now the next question is whether and how I can
turn compression on and off (other than the DIP switches on the drive
In HP-UX it's done with different device minor numbers.

Steve Gaarder
gaarder@actech.com
From: philip@concave.cs.wits.ac.za (Philip Machanick)
Newsgroups: comp.sys.sgi
Subject: Re: Killed?
Date: 5 Nov 92 14:22:13 GMT
Article-I.D.: shannon.1992Nov5.142213.3373
Organization: Computer Science Dept, Wits University
X-Xxdate: Thu, 5 Nov 92 16:14:12 GMT
X-Useragent: Nuntius v1.1.1d12

In article <1992Nov4.163355.12112@odin.corp.sgi.com> Marty Itzkowitz,
martyi@nubbins.wpd.sgi.com writes:
>Usually the message means that the system ran out of swap space, and
killed
>the process.  While it is typically the process with the high demand for
>swap that is killed, it is not always: the system is desperate, and
strikes
>out at someone.

I had similar replies by mail from several people - thanks to all of you.
Would it be so terribly difficult to print a message "out of swap space"
in this situation?
--
Philip Machanick
Computer Science Dept, Univ of the Witwatersrand, 2050 Wits, South Africa
philip@concave.cs.wits.ac.za  phone: 27 (11) 716-3759  fax: 339-7965
Newsgroups: comp.sys.sgi
From: ib@ivan.asd.sgi.com (Ivan Bach)
Subject: Re: Fontmanager and OpenGL
Keywords: OpenGL, font manager, IRIS Font Manager
Organization: Silicon Graphics, Inc., Mountain View, CA
Date: Mon, 9 Nov 1992 18:10:37 GMT

In article <stefans.721309316@bauv106> stefans@bauv106.bauv.unibw-muenchen.de
(Stefan Schwarz):
> I can use fontmanager functions, but i can't see an equivalence within
> OpenGL.
GL does not include the IRIS Font Manager.  The software component of GL is
implemented as a library called libgl, while the IRIS Font Manager (FM) is
implemented as a separate library called libfm.  The IRIS FM uses GL commands
to provide the support for font management (fm) functions.  The main purpose
of the libfm library is to make it easier to write those GL and mixed-model
programs which need to use fonts.  It is a software layer between application
programs and GL.  That layer depends on the types of fonts and font file
formats available on a particular system.

One of the main design goals of OpenGL was to make it easily portable to
different types of systems.  That is why OpenGL does not contain any commands
which would make it dependent on a particular windowing system or font manager.

We will probably provide a library that will use OpenGL commands to support
the existing font management functions on SGI machines, and we will probably 
introduce some new font management functions.

If you intend to port your programs to non-SGI machines, you may want to
separate the code that is machine-independent and portable from the code that
depends on a particular windowing system and font manager.

Ivan Bach, ib@sgi.com
Newsgroups: comp.sys.sgi
From: shj@ultra.com (Steve Jay {Ultra Unix SW Mgr})
Subject: Re: NFS links from RS6000 server to SGI client
Organization: Ultra Network Technologies
Date: Sat, 14 Nov 92 02:19:25 GMT

leonardz@testarossa.cs.uoguelph.ca (Len Zaifman) writes:

>        .       Does the AIX NFS server run with udp checksumming on by
>                default? If not how is it turned on?

The answer, unfortunately, is no.

UDP packets sent by user programs from an RS6000 have checksums, but
packets from the NFS server do not.

There has been a discussion of this topic in comp.protocols.nfs and
comp.unix.aix in the last couple of days.  According to
bguest@ateam.ems.cdc.com (Brandon Guest), there is no standard way to
turn on NFS/UDP checksums in AIX, but if you harass IBM tech support,
they will send you a patch to do it.  He also suggested that everyone
interested in this open a PMR (whatever that is) with IBM, requesting
that this be fixed.


Steve Jay
shj@ultra.com  ...ames!ultra!shj
Ultra Network Technologies / 101 Dagget Drive / San Jose, CA 95134 / USA
(408) 922-0100 x130	"Home of the 1 Gigabit/Second network"
Newsgroups: comp.sys.sgi
From: probins@bubba.wpd.sgi.com (Paul Robins)
Subject: Re: how to interrogate ftimer status from a program?
Reply-To: probins@wpd.sgi.com
Organization: Silicon Graphics, Inc.
Date: Tue, 10 Nov 1992 20:10:08 GMT

In article <s1po0j4@rhyolite.wpd.sgi.com>, vjs@rhyolite.wpd.sgi.com (Vernon Schryver) writes:
|> In article <1992Nov6.213506.12264@odin.corp.sgi.com>, probins@bubba.wpd.sgi.com (Paul Robins) writes:
|> > ...
|> > Fast clock does not incur nearly the overhead of timers, but I don't have a
|> > relative number. I've been assured that it is of neglible impact.
|> 
|> 
|> A few years ago the number was either 5% or 15% of a CPU (I've
|> forgotten which) to run the fast clock.  That is why it was not turned
|> on by default.  More precisely, that is why ASD changed it from
|> being on by default to being off by default.
|> 
|> Maybe that cost has changed.  Maybe some people now consider 5% (or 15?)
|> "neglible."  Some did back then, until the issue was raised.
|> 
|> You can measure it for yourself.  Pick any CPU stupid benchmark
|> (e.g. drhystone).  Run it with `ftimer -f off`, and then run it with
|> `ftimer -f on`.  Do this several times to get consistent numbers.  As
|> long as you change nothing else, the difference is the cost of fast
|> timers.
|> 
|> 
|> Vernon Schryver,   vjs@sgi.com

Vernon, I was commenting on the fast clock not the fast timer. The man page
for fast timer claims a 5-10% degredation in performance. But there is no
mention for the penalty of the fast clock alone.
-- 

  --bubba

    hakuna matata

  390-1282      Mail stop 9U-510
From: john@sg25.aud.temple.edu (John W. Schwegler)
Newsgroups: comp.sys.sgi
Subject: Re: Real time EEG recording on IRIX
Date: 11 Nov 92 17:19:32 GMT

In message <9211102025.AA25678@karron.med.nyu.edu> ,
 "Dan Karron (karron@nyu.edu" <karron@karron.med.nyu.edu> writes:
> Has anyone built a real time recording subsystem for sgi boxes ?
> The idea is to record a large (n>30) number of simultaneous EEG/ECG
> channels digitally. Can the audio systems be adapted for this ?
> Can the indigo record/playback 30 simultaneous audio channels ?
> 
> Just wondering before I start reinventing this wheel!
> 
> Dan.
> | karron@nyu.edu (e-mail alias )         Dan Karron, Research Associate      
> |
> | Phone: 212 263 5210 Fax: 212 263 7190  New York University Medical Center  
> |
> | 560 First Avenue                       Digital Pager  <1>  212 397 9330    
> |
> | New York, New York 10016               <2> 10896   <3> <your-number-here>  
> |
> ``Too busy doing to write about it, too busy writing to do anything about it.
> ''

We are currently using a 4D/35G for intraoperative monitoring during some
neurosurgical cases that expose the cerebello-pontine angle. Our system
has a Data Translation board (dt1492g-8di) with 8 differential input channels
with some biomedical amplifiers evoked potential amplifiers on the front. We
had to write our own software for the setup.

In about a month we will be getting a new amplifier/A-D setup from a company
called Neuroscan. It contains amplifiers, DSP32C's, and a 386/25 to manage
the acquisition process for up to 32 channels. Its interface is via a SCSI
bus. We will be writing a new interface to this hardware (probably for the
Indigo R4000), to allow real-time acquisition, recording, spectral averaging,
etc. Please send e-mail if you more info about the company.
______________________________________________________________________________
"Genius may have its limitations,       | John Schwegler
   but stupidity is not thus            | Temple U. Auditory Research Dept.
   handicapped."                        | john@sg25.aud.temple.edu
         - Elbert Hubbard               | (215) 221-3687 FAX 221-7523


Newsgroups: comp.sys.sgi
From: ib@ivan.asd.sgi.com (Ivan Bach)
Subject: Re: Importing Mac graphics into showcase
Organization: Silicon Graphics, Inc., Mountain View, CA
Date: Fri, 13 Nov 1992 22:15:24 GMT

In article <1992Nov13.195356.25989@biome.bio.ns.ca> silvert@biome.bio.ns.ca 
(Bill Silvert):
> I had to change
> 
> %%BoundingBox: 19.5 25.7651 600.3355 759.9583
>
> to
> 
> %%BoundingBox: 20 26 600 760
>
> since showcase couldn't handle all the decimals.
On p. 641 of the Adobe PostScript Language Reference Manual (Second Edition),
it says that the arguments llx, lly, urx, and ury in a %%BoundingBox statement
must be of type <int>.  The type <int> is defined on p. 637 as:

    "An integer is a non-fractional number that may be signed or unsigned."

In other words, the problem is in the program that generated that EPS code,
not in Showcase.  This problem was discussed some time ago in the newsgroup 
comp.lang.postscript.

Ivan Bach, ib@sgi.com