Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: lionel@quark.enet.dec.com (Steve Lionel)
Subject: DEC OSF/1 AXP Frequently Asked Questions
Date: 1995/06/22	[thread overview]
Message-ID: <3sccn1$856@jac.zko.dec.com> (raw)


Archive-name: dec-faq/osf1
Posting-Frequency: monthly
Last-modified: May 22, 1995

Changes since last edition
==========================
None.

Overview
========
This is part 3 of the Frequently Asked Questions posting for
comp.unix.ultrix, with answers about the Digital UNIX (formerly DEC OSF/1 AXP)
operating system [often referred to in short hereafter as OSF/1] from Digital.  
It is also posted on comp.sys.dec, comp.unix.osf.osf1 and vmsnet.alpha, but it 
is not a full FAQ for those groups.  Part 2 has answers that apply to both 
ULTRIX and Digital UNIX and part 1 has answers that apply to ULTRIX alone.

This FAQ is archived in the following locations:
    comp.answers and news.answers newsgroups
    ftp://ftp.digital.com/pub/DEC/dec-faq/osf
    ftp://rtfm.mit.edu/pub/usenet/news.answers/dec-faq/osf1
    http://www.cis.ohio-state.edu/hypertext/faq/usenet/dec-faq/osf1/faq.html

To make suggestions for changes or additions to this Frequently Asked
Questions list, send mail to lionel@quark.enet.dec.com.  Answers are
especially appreciated.

An archive of recent postings to comp.unix.ultrix can be found 
at ftp://ftp.cc.rochester.edu/pub/usenet/comp.unix.ultrix
Thanks to folks at the University of Rochester for providing this
service.

Some general notes:

When used alone, the word "DECstation" is used to mean any of the
DECstations or DECsystems that use MIPS RISC processors.  Similarly,
"Alpha" refers to any DEC systems that use the Alpha AXP processor.

Unless otherwise specified, these answers refer to DEC OSF/1 AXP 3.0, which is
the current release.

World-Wide Web Universal Resource Locator (URL) notation is used for FTP
addresses.

Many people have contributed to this list, directly or indirectly.  In
some cases, an answer has been adapted from one or more postings on the
comp.unix.ultrix or comp.unix.osf.osf1 newsgroups.  Our thanks to all of 
those who post answers. The name (or names) at the end of an entry indicate that
the information was taken from postings by those individuals; the text may have
been edited for this FAQ.  These citations are only given to acknowledge the
contribution.

Although the editor of this FAQ is an employee of Digital Equipment
Corporation, this posting is not an official statement from Digital
Equipment Corporation.

AlphaGeneration, AlphaServer, AlphaStation, Alpha AXP, AXP, DEC, DECstation,
DECsystem, OpenVMS, ULTRIX, VAX and VMS  are trademarks of Digital Equipment
Corporation.  OSF/1 is a registered trademark of the Open Software Foundation.
UNIX is a registered trademark in the United States and other countries,
licensed exclusively through X/Open Company Ltd.  Other names are properties of
their respective owners.


Alpha
======================================================
A1. Where can I find software that has been ported to Alpha?
A2. What does the "AXP" in "DEC 3000 Model 400 AXP Workstation" mean?
A3. Where can I get Emacs and Epoch for Alpha OSF/1? 
A4. Where can I get technical information about Alpha?
A5. How can I test drive an Alpha system?
A6. Where can I get updated console firmware for AlphaServer systems?

Software
======================================================
S1. What (free) tools are there for looking at system behavior?
S2. How can I figure out what files translated binaries are
	looking for?
S3. Where can I get an alternative PostScript previewer?

Programming
======================================================
P1. What tools will help me port software to the 64-bit Alpha system?
P2. Why can't I run dbx?
P3. Why do my applications not work after I upgrade to a new version of DEC OSF/1?
P4. Where can I get a debugging malloc that works on Alpha OSF/1?
P5. What's with 'ld: unresolved symbols: dnet_conn'?

Graphics
======================================================
G1. How can I make the graphics go faster?
G2. Where can I get an xv that works on Alpha OSF/1?

Network
======================================================
N1. Why doesn't FTP work to an XYZ system?
N2. How do you use a NFS-mounted /usr filesystem on OSF/1?
N3. Where can I get rstatd for DEC OSF/1?
N4. How do I switch between the AUI and 10 Base-T Ethernet ports?
N5. Where can I get multicast software for OSF/1?
N6. What's wrong with xdr_long in the OSF/1 XDR routines?

Hardware
======================================================
H1. Where can I get information about Alpha chips?
H2. How can I get a parallel printer to work?

Miscellaneous
======================================================
M1. Where else is DEC OSF/1 discussed?
M2. How do I add a new terminal definition?
M3. How do I boot to single-user mode?
M4. I heard that OSF is dropping OSF/1.  What does that mean for Digital UNIX?

==============================================
A1.  Where can I find software that has been ported to Alpha?

A list of software known to be ported to Alpha OSF/1 is available
on the World-Wide Web:

http://www.digital.com/info/software.html

The "Alpha AXP Freeware CD," which is shipped with the DEC OSF/1 software
distribution, has many popular programs in both source and binary form,
although much of the software is now dated.  The current Alpha Freeware
CD-ROM can also be ordered from DECdirect, order number QA-0PSAA-H8.  The
price is $12 US.  For questions or suggestions about the Alpha Freeware
CD-ROM, except about availability, send mail to freeware@vbo.dec.com.

The Freeware CD is mounted for anonymous FTP on some Internet machines,
including ftp.Uni-Koeln.de, and on ftp.digital.com at

/rom/euuc-axp-freeware

It is also available through:

  ftp://flash.acornsw.com/
  gopher://gopher.acornsw.com/
  http://www.acornsw.com/

			[Peter Kaiser, kaiser@acm.org]
			[Win Treese, treese@lcs.mit.edu]

==============================================
A2. What does the "AXP" in "DEC 3000 Model 400 AXP Workstation" mean?

Nothing. It is part of the trademark.

==============================================
A3. Where can I get Emacs and Epoch for Alpha OSF/1? 

Both a binary and sources for GNU Emacs are included on the base
system CD-ROM. Epoch is available on the Alpha OSF/1 Freeware CD-ROM
(see answer A1 for more information).

Patches to make Emacs version 19.22 run on Alpha OSF/1 can be found at
ftp://ftp.digital.com/pub/GNU . The files are

emacs-19.22-alpha-patch.README
emacs-19.22-alpha-patch.gz

but the current version of GNU emacs (any version at least as recent as
19.28) is said to build and run properly on Alpha OSF/1).

				[Pete Kaiser, kaiser@acm.org]
				[Rob McCool, robm@snail.ncsa.uiuc.edu]

Emacs 19.28 does NOT come with support for the DEC alpha, but the patches for
it are available from ftp.digital.com:/pub/GNU.  So you have to get emacs-19.28
and then the patch as well.  Once you get the patch, it builds flawlessly.
(Well, at least it did for me.)  The documentation within emacs 19.28 says that
hopefully in 19.29 Alpha support will be built into the standard emacs
distribution.
				[holt@cns.caltech.edu]

==============================================
A4. Where can I get technical information about Alpha?

Sites, R.L., Ed., Alpha Architecture Reference Manual (600 page book,
1992) from Digital Press (EY-L520E-DP) or Prentice-Hall 9ISBN
0-13-033663-7). Also at most technical bookstores, including
Quantum(Cambridge) and Stacey's (Palo Alto)

Communications of the ACM, February 1993 issue (4 Alpha articles)

Digital Technical Journal, Vol 4., No. 4 (200 pages of Alpha articles,
including 4 above with fewer typos). Order info: dtj@crl.dec.com
(Available from ftp://ftp.digital.com/pub/DEC/DECinfo/DTJ and
http://www.digital.com/info/DTJ/dtj.html)

Jim Montanaro "The Design of the Alpha 21064 CPU Chip" (42 minutes)
Dick Sites and Dirk Meyer, "Alpha Architecture" (73 minutes)
University Video Communications P.O. BOx 5129 Stanford CA 94309 USA
(415) 813-0506
					[Dick Sites, sites@tallis.enet.dec.com]

==============================================
A5.  How can I test drive an Alpha system?

In no particular order:

OSF:
1. telnet axposf.pa.dec.com, login as guest.
2. telnet axposf.stanford.edu, login as guest.

VMS:
1. telnet axpvms.cc.utexas.edu, login as AXPGUEST
2. telnet axpvms.pa.dec.com, login as AXPGUEST

==============================================
A6.  Where can I get updated console firmware for AlphaServer systems?

We are happy to announce the creation of an unrestricted FTP and WWW area for
Alphaservers.  This area is accessible to both internal and external folks. 
The information includes firmware updates, the latest configuration utilities,
software patches, a list of supported options, hardware documentation, and
more.  The area is under construction, so not everything is in place yet.

The files available for FTP are located at:
  ftp://ftp.digital.com/pub/Digital/Alpha/

The WWW pages are located at:
  http://www.service.digital.com/alpha/server/

We hope that these pages will be useful.  Please send your comments and
feedback to alpha_server@service.digital.com

==============================================
S1.  What (free) tools are there for looking at system behavior?

syd, a utility like top, is on the Alpha OSF/1 Freeware disk for versions
of Alpha OSF/1 before V3.0.  It is also available for anonymous FTP from
many sites.  One is ftp://ftp.Uni-Koeln.DE/decosf; and there you can also
get a version that works with version 3.x of Alpha OSF/1.

The latest official version of top (3.3) supports single cpu
Alphas running OSF/1 1.2, 1.3, 2.0, 3.0, and 3.2. It's at
ftp://eecs.nwu.edu/pub/top  It does not support multi-cpu alphas,
because no-one with root access to a multi-cpu alpha has stepped forward
to do the work. When compiling, note the warning about compiling
with optimisation.

lsof, a utility for listing open files, is available from
ftp://vic.cc.purdue.edu:/pub.

vmubc is a graphical and tty-based tool for displaying statistics
on CPU, UBC, and virtual memory. Note that to compile on OSF/1 2.x,
add -DGSI_CPUS_IN_BOX=55 to the CFLAGS. vmubc is available from
ftp://gatekeeper.dec.com/pub/Digital/vmubc.tar.Z    It was written by
George Chaltas of DEC.

					[Dave Sill, de5@ornl.gov]
					[Anthony Baxter, anthony@aaii.oz.au]

==============================================
S2.  How can I figure out what files translated binaries are
	looking for?

Try
	setenv MXR_TRACE_SYSCALLS open,stat,fstat,access

Running mxr -help will describe this environment variable along with
some other useful ones.
				[Richard Gorton, gorton@blorf.amt.ako.dec.com]

==============================================
S3.  Where can I get an alternative PostScript previewer?

The previewer psview is available from
ftp://ftp.digital.com/pub/DEC/PRL

The interface is similar to that of xdvi.  It can use Display PostScript
or ghostscript for rendering.
					[Castor Fu, foo@leland.stanford.edu]

==============================================
P1. What tools will help me port software to the 64-bit Alpha system?

The version of lint shipped with Alpha OSF/1 has many checks to help
port software to Alpha.  In particular, the -Q option is very useful.
See the manual page for more details.

A document entitled "SunOS to DEC OSF/1 Porting Guide" is available
from ftp://ftp.digital.com/pub/DEC/DECinfo/document/EC-N0736-43.ps.Z

The -taso flag to cc will often help with making code work on the 64bit Alpha.
This causes addresses to be 32-bits and should be used only as a last resort.

==============================================
P2. Why can't I run dbx?

With DEC OSF/1 V1.2 the development environment is a separate layered
product beyond the base OS.  Although it is included on the DEC OSF/1
consolidated CD-ROM, the license must be purchased separately to use
any portion of the Developer's kit.  Within the DEC OSF/1 Developer's
Kit the license just happens to be enforced by a check in dbx.

For more information, look in
ftp://ftp.digital.com/pub/DEC/DECinfo/DECnews-UNIX for:

      0104.txt	  DEC OSF/1 Developer's Extensions V1.2 article, 11/17/92
      0603.txt	  DEC OSF/1 Developer's Toolkit V1.2 article, 03/23/93
      0806.txt    C Compiler for DEC OSF/1 Operating System article, 05/13/93
					[Russ Jones, rjones@pa.dec.com]

==============================================
P3. Why do my applications not work after I upgrade to a new version of DEC OSF/1?

Sometimes the details of the shared libraries change between releases.
In general, applications compiled on an earlier version of DEC OSF/1
should still run on a later version.  The converse may not be true.

In particular, there were some incompatibilies between the field test and
final versions of DEC OSF/1 V1.2.

The usual solution is to recompile from scratch.
						[John Kohl, jtkohl@zk3.dec.com]

==============================================
P4. Where can I get a debugging malloc that works on Alpha OSF/1?

ftp://ftp.digital.com/pub/misc/malloc_dbg.

If you get the package, be sure to read the stuff in the file
contrib/dec_notes which explains how to replace malloc on the fly in
an existing program.

					[Dave Hill, ddhill@zk3.dec.com]

The ATOM tools with OSF/1 3.0 and later also help with debugging memory
allocation problems.
				[Anthony Baxter, anthony.baxter@aaii.oz.au]

==============================================
P5. What's with 'ld: unresolved symbols: dnet_conn'?

Some libraries on OSF/1 (notably the X11 library) are compiled so that
they can use DECnet as well as TCP/IP.  To link with such libraries,
include -ldnet_stub at the end of link command.  If you have DECnet
software installed, use -ldnet.


==============================================
G1. How can I make the graphics go faster?

If your application is sending lots of data (using, say, PutImage
requests), try setting DISPLAY to local:0, which uses a shared memory
transport between the client and the X server.
					[Gail Grant]

==============================================
G2. Where can I get an xv that works on Alpha OSF/1?

XV 3.10a supports Digital UNIX (DEC OSF/1).  It can be obtained from:
    ftp://ftp.cis.upenn.edu/pub/xv

xv is also included on the OSF/1 Freeware CD-ROM (see question A1).

==============================================
N1. Why doesn't FTP work to an XYZ system?

DEC OSF/1 uses the IP type-of-service option (TOS) by default.  This
confuses some systems (reportedly Macintoshes).  To turn off the
option for ftp, create a file /etc/iptos with the following entries:

	ftp-control	tcp	0x0
	ftp-data	tcp	0x0

Reboot the Alpha system.

==============================================
N2. How do you use a NFS-mounted /usr filesystem on OSF/1?

Jon Forrest (forrest@cs.Berkeley.EDU) has written a document that
describes how to do this. Look in 
ftp://s2k-ftp.cs.berkeley.edu/pub/personal/forrest/remote.mounting

Note that as of OSF 1.3 DEC does not support this but it is quite
easy to do.
				[Jon Forrest, forrest@postgres.Berkeley.EDU]

==============================================
N3. Where can I get rstatd for DEC OSF/1?

rstatd is in OSF/1 2.0 and later, as /usr/sbin/rpc.rstatd

==============================================
N4. How do I switch between the AUI and 10 Base-T Ethernet ports?

For the DEC n000 series of systems, the syntax is:

- Shutdown the system.
- At the ">>>" prompt, type:

	set ethernet thick
      or
      	set ethernet tenbt

- Reboot the system.
	                           [Steve Imber, stevei@anduril.fsc.qut.edu.au]

For the AlphaStation and AlphaServer systems, the syntax is different and
depends on what Ethernet adapter you're using.  For Digital EtherWorks
adapters, they'll automatically select between AUI and 10 Base-T but you
may have to use the console command:

	set EWA0_MODE AUI

to have this happen.

==============================================
N5.  Where can I get multicast software for OSF/1?

Information about software for multicast applications on OSF/1 is
available from:

	http://s2k-ftp.cs.berkeley.edu:8000/sequoia/conferencing
or	ftp://s2k-ftp.CS.Berkeley.EDU/pub/sequoia/conferencing
				[Fred Templin, templin@postgres.Berkeley.EDU]

Binaries of the MBone application suite are also available at

    http://chocolate.pa.dec.com/mbone
    ftp://chocolate.pa.dec.com/mbone
				[Lance Berc, berc@src.dec.com]

==============================================
N6. What's wrong with xdr_long in the OSF/1 XDR routines?

xdr_long is used for sending signed 32-bit values and cannot send
0xFFFFFFFF. xdr_ulong should be used instead.  For 64-bit integer
values, use xdr_hyper.  See the manual pages for more details.
					[Curtis Keller, curtis@kinesix.com]

This is slightly misleading.  xdr_long() can send -1, which in 32 bits
is 0xffffffff.  xdr_long() does range checking, insuring that the top 33
bits of its 64-bit argument are all ones or all zeroes.  If this is not
the case, then the signed long integer is beyond the range of
representation within a signed 32-bit value, and xdr_long() rightly
fails.

xdr_u_long() [note typo above!] insures that the top 32 bits of its
64-bit argument are all zero.   If this is not the case, then the
unsigned long integer is beyond ... blah blah.

So, the upshot is:  If you're using signed values, use xdr_long(), and
DON'T use unsigned constants like 0xffffffff to set variables.  If
you're using unsigned values, use xdr_u_long().  In both cases, make
sure you're within range for 32-bits, if you want to interoperate with
32-bit machines using native data types.
					[John Kohl,jtk@atria.com]

==============================================
H1. Where can I get information about Alpha chips?

Call the DECchip Hotline 
   1-800-332-2717 (voice) 
   1-800-332-2515 (TTY) 
   8:30am - 5:30pm ET 

						[Jim Gettys, jg@crl.dec.com]

==============================================
H2.  How can I get a parallel printer to work?

The DEC OSF/1 AXP 3.0 documentation states that parallel interfaces to 
printers are not supported.  However, you may be able to get one to work
anyway.

If you can do "date > /dev/lp0" successfully, then it should also work with
lpd.  Trouble is, lprsetup adds an "rw" tag in /etc/printcap which lets the
data flow stall.  You might try something like this:

# parallel connection
lp3|3|fleet|post:\
:lf=/usr/adm/lpderrs:\
:lp=/dev/lp0:\
:mx#0:\
:pl#66:\
:pw#80:\
:sd=/usr/spool/lp3:\
:sh:\
:xf=/usr/lbin/xf:

BTW: That was for an HP Laserjet before we used its JetDirect (=Ethernet)
card which supports lpd directly via TCP/IP.  The entry for this usage is:

# ether connection
lp3|3|fleet|post:\
:lf=/var/adm/lpderrs:\
:lp=:\
:rm=fleet:\
:rp=fleet:\
:sd=/var/spool/lp3:\
:mx#0:\
:sh:

The printer has an IP address of its own and is called "fleet".
I have seen for the "rp" tag names like "raw" or "text" to distinguish
between postscript or text but the above entry works as well.  Users that
need to print text use "unix2dos" as filter but we'd rather discourage that
and favour dot matrix printers for that purpose.

			[Michael Sternberg, sternberg@physik.tu-chemnitz.de]

==============================================
M1. Where else is DEC OSF/1 discussed?

You can join the mailing list alpha-osf-managers@ornl.gov.  Send a message
with
	subscribe alpha-osf-managers
in the body to Majordomo@ornl.gov.  

					[Dave Sill, de5@ornl.gov]

Archives of alpha-osf-managers mailings are kept at:

    http://www-archive.stanford.edu/lists/alpha-osf-managers/hyper/ and
    http://www-archive.stanford.edu/cgi-bin/fwais.pl

==============================================
M2. How do I add a new terminal definition?

Some applications on OSF/1 use termcap; others use terminfo.  tic(1)
compiles a termcap definition for terminfo.   It is best to add a
new terminal definition both ways.
					[Jeffrey Heller, jeffreyh@kpc.com]

==============================================
M3. How do I boot to single-user mode?

>>> boot -fl s

-fl specifies the flags to the booted image.
					[Boris Yost, boris@msc.cornell.edu]

==============================================
M4. I heard that OSF is dropping OSF/1.  What does that mean for Digital UNIX?

[The following is a "position statement" on this subject from Digital]

As part of its reorganization in March of 1994, the Open Software 
Foundation announced transition plans for its existing technologies. It has 
been well understood since then that the June 1994 release of OSF/1, the 
OSF's operating system source code, would be the last. The possibility 
remains open that OSF sponsors may choose to fund additional work in the 
operating system area, but no projects are underway. 

It is important to understand what OSF/1 is and has always been. It is not a 
finished operating system but a set of operating system technology 
components, from which vendors can pick and choose pieces of technology 
that complement their product development strategies. Many UNIX system 
vendors use elements of OSF/1 code -- Hewlett-Packard in HP-UX, IBM in 
AIX, and many others, including Digital in Digital UNIX. 

Digital uses components of OSF/1 technology, just as it integrates 
technology from other suppliers with its own internal development. By 
following this strategy of integrating needed components, Digital has been 
able to produce the best implementation of the UNIX operating system in 
the industry and to bring it to market quickly.

Since the initial releases, development of Digital's product has not been 
dependent on OSF code. Digital's plans for the future development of 
Digital UNIX are fully under Digital's control, and our plans for a fully 
SPEC 1170 compliant version, UNIX clusters, and other leading 
commercial enhancements are on course. 

[End of FAQ]

-- 

Steve Lionel                      Mail: lionel@quark.enet.dec.com
DEC Fortran Development           WWW:  http://www.digital.com/info/slionel.html
Digital Equipment Corporation     CompuServe: 75263,3001
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698             "Free advice is worth every cent"

For a summary of Digital's Internet services, send mail to info@digital.com



             reply	other threads:[~1995-06-22  4:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-06-22  4:00 Steve Lionel [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-08-21  4:00 DEC OSF/1 AXP Frequently Asked Questions Steve Lionel
1995-07-21  4:00 Steve Lionel
1995-05-22  4:00 Steve Lionel
1995-04-18  4:00 Steve Lionel
1995-03-20 19:18 Steve Lionel
1995-02-22 21:11 Steve Lionel
1995-01-13 18:17 Steve Lionel
1994-12-16 21:48 Steve Lionel
1994-11-10 21:58 Steve Lionel
1994-10-06 14:22 Steve Lionel
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox