Subject: ANNOUNCEMENT: MBONE tools for NetBSD/SPARC 1.0 now available
To: None <mbone@venera.isi.edu>
From: Greg Earle <earle@isolar.Tujunga.CA.US>
List: port-sparc
Date: 12/04/1994 01:42:24
Hopefully in time for folks to catch the next IETF meeting, I would like to
announce that I have made up a distribution of MBONE tools for use on SPARC
machines running the NetBSD/SPARC 1.0 operating system.

The distribution is available via the following URLs:

http://www-mipl.jpl.nasa.gov/~earle/NetBSD/MBONE.netbsd_sparc.tar.gz (8+ Mb)
http://www-mipl.jpl.nasa.gov/~earle/NetBSD/MBONE.netbsd_sparc.CKSUM

Warning: this is 9 Mb gzip'd; 26+ Mb unbundled.

The contents of the latter CKSUM file is merely:

	2666115551 9207530 MBONE.netbsd_sparc.tar.gz

and is the output from "cksum".

For those people who are URL or Web browser challenged, I have also made it
available via anonymous FTP from the following site:

ftp://elroy.jpl.nasa.gov/pub/MBONE.netbsd_sparc.tar.gz
ftp://elroy.jpl.nasa.gov/pub/MBONE.netbsd_sparc.CKSUM

This site is a poor overburdened Sun-4/380 that already is a news server, so
please don't use it unless you have to.

(If anyone would like to pick these up and put them on sun-lamp.CS.Berkeley.EDU
 a.k.a. ftp.NetBSD.ORG, feel free.)

Anyway, here's what is in there:

-------------------------------------------------------------------------------

IMM.SD.TCL      VIC.SD.TCL      bin/            lib/            man/

./bin:
decode_h261*    imm.static*     ivs3.3m3@       nv@             vic-2.5@
display*        imm2xv*         ivs_gw*         nv-3.3beta*     vic-2.5.dyn*
histtolut*      immserv*        ivs_record*     sd*             vic-2.5.static*
imm@            ivs@            ivs_replay*     vat@            wb*
imm-3.3@        ivs.dyn*        ivs_stat*       vat-3.4*
imm.dyn*        ivs.static*     ivsd*           vic@

./lib:
X11/

./lib/X11:
libMagick.so.3.4        libXpm.so.4.3

./man:
imm.0           ivs.0           ivs_record.0    ivsd.0          vat.0
immserv.0       ivs_gw.0        ivs_replay.0    nv.0            vic.0

-------------------------------------------------------------------------------

The breakdown:

(I presume everyone has existing .sd.tcl files and knows what to do with the
 above 2, if needed.  I also presume you're running a NetBSD/SPARC kernel
 with Multicast support enabled *grin*)

"sd" (1.14), "vat" (3.4) and "wb" (1.58) are the SunOS 4.1.x binaries from
ftp.EE.LBL.GOV, suitably whacked so that they call setsockopt() with the
Multicast option numbers that NetBSD 1.0 expects.  (In later releases, the
SunOS compatibility mode will automatically handle this translation, so the
existing SunOS binaries should then work unchanged.  This is for 1.0.)

"imm", "ivs", "nv" and "vic" are native NetBSD/SPARC 1.0 binaries, built from
source and ported by me.  I have tested all of these (in a limited fashion)
and they all work.

"display" and the X libraries it depends on (libMagick, libXpm; move these to
your /usr/X11R6/lib directory) is a helper program for "imm".  It comes from
the ImageMagick distribution that is part of the standard X11 R6 contrib stuff.
I have enhanced "imm" to support "display" in addition to the normal "xv" and
"xloadimage" that it has hard-wired into it.  (If you want to use "xv" or
"xloadimage" instead, you'll have to go build 'em yourself.)

To install:

Move the binaries to your favorite local repository, like /usr/local/bin.
Move the "display" binary to /usr/X11R6/bin.
Move the 2 X libraries in lib/X11 to /usr/X11R6/lib.
Move the man pages to /usr/local/man/cat1 or wherever.

Known problems:

- Don't use the dynamic "vic".  I don't know if it's due to a problem with the
  kernel or being linked against a dynamic libg++.so, but it dies in a
  constructor (or was it a destructor ... ) shortly after startup.  The static
  version works fine.

- The version of "ivs" currently only handles video reception.  If anyone out
  there (Chris Torek, Van, Craig, ???) can help me port the audio stuff to
  NetBSD/SPARC, give me a shout.  [I don't know what to do with programs that
  want to use "/dev/audioctl", or what to do when they expect a Streams driver
  like in SunOS that they can do I_FLUSH's on.  There isn't any documentation
  on the BSD audio driver for the SPARC that I can find ... ]

- All the video-capable programs - "vic", "nv", and "ivs" - want to use the
  X Shared Memory extension, if it's available.  I tested under an R6 that has
  it enabled; but my kernel doesn't have the underlying shared memory support
  enabled in it, so I don't know if they will keel over if they use XShm stuff
  when the support is there.  If they try to use it and there is no kernel
  support (i.e., no "options SYSVSHM" in the kernel config file), the program
  will receive a SIGSYS with errno EINVAL.  All 3 programs have been modified
  to catch this SIGSYS and if they get it with EINVAL, to disable further use
  of shared memory.  This should be transparent to the user.

If you have any problems with these, let me know.  If I don't get any problem
reports back after a while, I'll send the source diffs to the various program
maintainers so that we can hopefully get NetBSD/SPARC distributions of all of
them into the main releases.

Enjoy.

	- Greg