From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6ec354e8f756bce1,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,6ec354e8f756bce1,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-05-07 12:46:34 PST Xref: gmd.de comp.unix.osf.osf1:364 comp.sys.dec:7545 Newsgroups: comp.unix.osf.osf1,comp.sys.dec Path: gmd.de!ira.uka.de!math.fu-berlin.de!risc4!meyer From: meyer@risc4.physik.fu-berlin.de (Sebastian Meyer) Subject: net.wisdom on DEC's Alpha running OSF1 Message-ID: <9O0CB86R@math.fu-berlin.de> Followup-To: comp.unix.osf.osf1 Sender: news@math.fu-berlin.de (Math Department) Organization: Free University of Berlin, Germany Date: Fri, 7 May 1993 19:19:28 GMT This is my second attempt to collect net.wisdom on DEC's Alpha AXP machines running OSF/1. The number of replys I got on the first net.wisdom posting encouraged me to continue. It is posted to comp.unix.osf.osf1 and comp.sys.dec (Followup-To: comp.unix.osf.osf1) and to the alpha-osf-managers@ornl.gov mailing list. These lists are my major sources of information. To suscribe to the mailing list, send the following command in email to "Majordomo@SWS10.CTD.ORNL.GOV": subscribe alpha-osf-managers This posting probably contains some errors is missing many points. Please send your comments. I'll try to compile a corrected version next week. Some general notes: There are (at least) two different OSF/1 versions floating around, called BL10 and BL12. (See part two, how to distinguish.) BL12 is often called "production release", too. They differ in many ways, so don't forget to specify which version you are referring to. 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 newsgroups or the mailing list. My thanks to all of you who post and mail answers and share their experiences with their net.neighbors. I added the name of the author of a piece of information if I could still find out, complain if your name is missing. The text may have been edited for this text. I will try to take care of this list as long as I find the time and when your responses, corrections, comments, flames and completitions let me feel you like or really hate it. I'm looking forward to any response regarding design and contents of this piece of text or my use of the english language, which, as you will have noticed, is not my native language. ################ ########## ########### ############# ################### ################ Version 0.0 beta 07 May 1993 ################### ################ ########## ########### ############# ################### Table of Contents: Part One: How to compile freely available software. Part Two: Known problems with hard- and software. Part Three: ftp sites with designated Alpha directories. ################################################################################ Part One: How to compile freely available software. ################################################################################ This is a list of freely available software running on "my" Alpha and compilation hints I collected from the net. Good news first: some well written pieces of software compile without any problems on the Alpha. Among them are: - bison GNU Bison version 1.20 - gzip gzip 1.0.6 - less less version 177E and 178 - patch Patch version 2.0, patch level 12g8 - syd - S Y D - System Display Program Version 3.1 found on ftp.rrz.Uni-Koeln.DE - nearly as nice as 'top' - install it setuid to root. - unzip UnZip: Zipfile Extract v5.0 of 21 August 1992 - xdvi xdvi for X11, patchlevel 16 (-DBMSHORT in the DEFS) Most software however need more or less porting effort. # bash - needs patch posted to comp.unix.osf.osf1 on 2 Apr 93 15:28 by arnej@lise.unit.no (Arne H. Juul) - there is a Version on ftp.ncsa.uiuc.edu in /DEC_Alpha # dvips - dvips-5.515 - compile with cc (works fine for most documents when compiled with gcc but fails on test.tex from distribution) - remove '-Wall -funsigned-char' from OPT line in Makefile - afm2tfm needs gcc, however # gcc - gcc-2.3.3 needs Johan Vromans' (jv@mh.nl) patch found in comp.unix.osf.osf1; - There is a version called gcc-2.3.3+-alpha on crl.dec.com:/pub/DEC - fails "make compare" but generates fine executables - -g is not supported - GNU C++ and GNU Objective-C are included, but do not work # ghostscript - gs-252 compiles smoothly; - produces lots of "unaligned access" warnings for text files; warnings can be swiched off by "uac p 0" at the shell level (or "uac s 0" on startup); see Ultrix manpage for "uac". - PS files generated from dvips(5.47 or 5.515) on Alpha or any other machine are not viewed successfuly: some show up with pages left blank, some produce segmentation faults - A bug report of thimm@ira.uka.de was answered by a promise for a new release of ghostscript. - kivinen@cs.hut.fi (Tero Kivinen) posted a patch to gnu.ghostscript.bug and comp.sys.dec on 23 Apr 1993, claiming to cure the unaligned access problem on BL12 machines. (It doesn't on my BL10...) # gnu-tar - vprintf seems to be broken on the Alpha (BL10) ; gnu-find must remove #define HAVE_VPRINTF=1 in Makefile after running ./Configure # perl - needs Mike Iglesias' patch found in alpha-osf-managers mailing list on 08 Mar 93; (archived on ftp.kpc.com, see Part 3). - use 'dec-osf' instead of 'osf1', which is the default running ./configure; # tcsh-6.03 - use cc (gcc fails with #include problems) and config/config.osf1 - in Makefile: watch for "DEC osf1 on the alpha" CFLAGS= $(INCLUDES) -O -Olimit 2000 # TeX-3.141 - change lib/config.h: #define INTEGER_TYPE int (was: long) (thanks to bruhn@wu-wien.ac.at) - use gcc-2.3.3; (cc is said to work, too) - switch off all optimisation, at least with 'make MF'; - virmf needs additional library: -ldnet_stub: change ./Makefile: wlibs= -lXt -lX11 -ldnet_stub - (passed Trip and Trap tests on 5 Apr 93) # tiff library - see xv # Monsanto NQS - Kalle@rrz.uni-koeln.de (Claus Kalle) put patch to ftp.Uni-Koeln.DE:/decosf/src/nqs-3.31.1.patch1.decosf # Wcl + Mri (Widget Creation Library + Motif Resource Interpreter) - Wayne Scott (wws@isp.bellcore.com) compiled them without major problems # xgobi (a statistics program, interactive dynamic graphics program for data visualization) - Joern Amundsen made a patch set for the mar-93 version of xgobi # xgopher - arnej@imf.unit.no (Arne Henrik Juul) writes: xgopher compiled fine on T1.2-2 when I just put -DSYSV in the Makefile produced by xmkmf. # xv - ftp.ncsa.uiuc.edu has xv-3.0 and xv-2.21.NEW in /DEC_Alpha (note: xv-3.0 is shareware!) - both have hacked TIFF libraries which work on Alpha (robm@snail.ncsa.uiuc.edu (Rob McCool)) Worst news last: There is software nobody in netland has managed to compile on the Alpha. At least he/she didn't tell us. Help us to clear this list! - X11R5 - INN1.4 - IDA sendmail - C-news ################################################################################ Part Two: Known problems with hard- and software. ################################################################################ # How to distiguish OSF/1 BL10 from BL12 - the file /usr/include/stamp.h defines INCLUDE_STAMP as "BL10", whereas BL12 defines it as "3.11" - /etc/motd has something like "DEC OSF/1 T1.2-2 (Rev. 5)" for BL10 and "DEC OSF/1 V1.2 (Rev. 10)" for BL12 # The scheduler is not running correctly. You can watch it nice(!)ly using 'syd'. Kalle@rrz.uni-koeln.de (Claus Kalle) wrote in the mailing list: "It appears that nice values (talking about p_nice or p_basepri) do not have any meaning in adjusting CPU usage on or systems, too. At first I thought this to be a deficiency of BL10, but the "feature" continued on BL12. DEC, is this a new way to adjust OSF/1 scheduling to Windows/NT ?" Jack Burness wrote in the mailing list on 7 May 1993: "Digital is aware of this problem. They have it corrected and it will be available in the maintenance release, which I believe is due out in the summer. We had a chance to test a few of prototype fixes and they seem to work. Note that on BL12 renice and nice commands themselves do work (i.e. they correctly change the state in the system tables and 'ps' indicates that the jobs are running at the specified priority), but the scheduler has a bug in it and so the priority information really results in no changes to performance." # man - If you want "less" as your pager use setenv PAGER 'less -sr' # mount - If you have problems mounting a CD-ROM getting "/dev/rz4c on /cdrom: Dirty file system": mount -d will do it. It's missing in the (BL10-) manpage. I found it in an example section elsewhere. (Who can tell me?) # pixie - To get pixie to work on BL10, you: %cc -O0 -non_shared and then: % pixie a.out and then: % a.out.pixie and then: % prof -pixie a.out a.out.Addrs a.out.Counts Thanks to Paul Howell and Dave Haley at the Atlanta CSC for this info. # printer - Anybody with a postscript printer connected to a serial port ? bruhn@aie.wu-wien.ac.at (Peter Bruhn) describes the problem: "I have connected a LaserJet III (Postscript) to the serial interface of my DEC 3000/400 (/dev/tty00). As long as I print short PS-files, everything is all right. But if I try to print a long one (1 MB), the printer stops after ca. 10-15 pages. "/etc/printcap" is not the problem, since I have tried to cat the file to /dev/tty00 directly, and this produced the same result." After some experiments with terminals connected to /dev/tty00 we explained that behavior by assuming, that the port ignores flow control chars (^S/^Q) the connected device sends. The printer is flooded with data and stops reading from /dev/tty00 when it's memory is exhausted. Anybody to confirm or disagree? Anybody with a workaround? If it works for you: Tell us, please, and send the output of "stty -a < /dev/tty00". # rshd - don't leave last position of /etc/passwd blank! Although a null field in the last position of /etc/passwd implies /bin/sh as far as login(1) is concerned, the same isn't true for rshd. You must explicitly specify /bin/sh if you want the Bourne shell. error message: "rshd, : No such file or directory" reported by Mark Bartelt ################################################################################ Part Three: ftp sites with designated Alpha directories. ################################################################################ ftp sites: # gatekeeper.dec.com:/pub/DEC/Alpha description: lots of advertising and some pieces of software # crl.dec.com:/pub/DEC gcc-2.3.3+-alpha # ftp.rrz.Uni-Koeln.DE:/decosf maintained by Kalle@rrz.Uni-Koeln.DE (Claus Kalle) contains: syd (GET IT!), amd930325b+axp, nqs and more # ftp.kpc.com:/pub/list/alpha-osf-managers [144.52.120.9] maintained by Carl Rigney (cdr@kpc.com) description: archive for the alpha-osf-managers mailing list # ftp.ncsa.uiuc.edu: /DEC_Alpha description: lots of ported gnu-staff, xv # you.know.some.more: Tell me! ################ ########## ########### ############# ################### -- __o Sebastian Meyer Tel: 030/838-5181| FU Berlin, Physik _ \<,_ meyer@risc4.physik.fu-berlin.de | Arnimallee 14 [Raum 1.3.35] (_)/ (_) bastel@zaphod.physik.fu-berlin.de | D-1000 Berlin 33 ~~~~~~~~~~ "To err is human, to really foul things up requires a computer"