home *** CD-ROM | disk | FTP | other *** search
/ Danny Amor's Online Library / Danny Amor's Online Library - Volume 1.iso / html / faqs / faq / dec-faq / osf1 < prev    next >
Encoding:
Text File  |  1995-07-25  |  15.2 KB  |  423 lines

  1. Subject: DEC OSF/1 AXP Frequently Asked Questions
  2. Newsgroups: comp.unix.ultrix,comp.unix.osf.osf1,comp.sys.dec,news.answers,comp.answers
  3. From: lionel@quark.enet.dec.com (Steve Lionel)
  4. Date: 10 Nov 1994 21:58:07 GMT
  5.  
  6.  
  7. Archive-name: dec-faq/osf1
  8. Posting-Frequency: monthly
  9. Last-modified: November 10, 1994
  10.  
  11. This is part 3 of the Frequently Asked Questions posting for
  12. comp.unix.ultrix, with answers about the DEC OSF/1 AXP operating system 
  13. [referred to in short hereafter as OSF/1] from Digital.  It is also posted on 
  14. comp.sys.dec, comp.unix.osf.osf1 and vmsnet.alpha, but it is not a full FAQ 
  15. for those groups.  Companion postings have answers that apply to both ULTRIX 
  16. and OSF/1 and answers that apply to ULTRIX alone.
  17.  
  18. A separate FAQ describes how to get information about Digital products
  19. and interacting with Digital.
  20.  
  21. This FAQ is archived in the following locations:
  22.     comp.answers and news.answers newsgroups
  23.     ftp://ftp.digital.com/pub/DEC/dec-faq
  24.     ftp://rtfm.mit.edu/pub/usenet/news.answers
  25.     http://www.cis.ohio-state.edu/hypertext/faq/usenet/
  26.  
  27. The archive name for this FAQ is dec-faq/osf
  28.  
  29. To make suggestions for changes or additions to this Frequently Asked
  30. Questions list, send mail to lionel@quark.enet.dec.com.  Answers are
  31. especially appreciated.
  32.  
  33. An archive of recent postings to comp.unix.ultrix can be found 
  34. at ftp://ftp.cc.rochester.edu/pub/usenet/comp.unix.ultrix
  35. Thanks to folks at the University of Rochester for providing this
  36. service.
  37.  
  38. Some general notes:
  39.  
  40. When used alone, the word "DECstation" is used to mean any of the
  41. DECstations or DECsystems that use MIPS RISC processors.  Similarly,
  42. "Alpha" refers to any DEC systems that use the Alpha AXP processor.
  43.  
  44. Unless otherwise specified, these answers refer to DEC OSF/1 AXP 3.0, which is
  45. the current release.
  46.  
  47. World-Wide Web Universal Resource Locator (URL) notation is used for FTP
  48. addresses.
  49.  
  50. Many people have contributed to this list, directly or indirectly.  In
  51. some cases, an answer has been adapted from one or more postings on the
  52. comp.unix.ultrix or comp.unix.osf.osf1 newsgroups.  Our thanks to all of 
  53. those who post answers. The name (or names) at the end of an entry indicate that
  54. the information was taken from postings by those individuals; the text may have
  55. been edited for this FAQ.  These citations are only given to acknowledge the
  56. contribution.
  57.  
  58. Although the editor of this FAQ is an employee of Digital Equipment
  59. Corporation, this posting is not an official statement from Digital
  60. Equipment Corporation.
  61.  
  62. Alpha AXP, AXP, DEC, DECstation, DECsystem, OpenVMS, ULTRIX, VAX and VMS 
  63. are trademarks of Digital Equipment Corporation.  Other names are properties 
  64. of their respective owners.
  65.  
  66. Changes since last edition
  67. ==========================
  68. E-mail address for info about OSF/1 Freeware CD added.
  69.  
  70. Alpha
  71. ======================================================
  72. A1. Where can I find software that has been ported to Alpha?
  73. A2. What does the "AXP" in "DEC 3000 Model 400 AXP Workstation" mean?
  74. A3. Where can I get Emacs and Epoch for Alpha OSF/1? 
  75. A4. Where can I get technical information about Alpha?
  76. A5. How can I test drive an Alpha system?
  77.  
  78. Software
  79. ======================================================
  80. S1. What (free) tools are there for looking at system behavior?
  81. S2. How can I figure out what files translated binaries are
  82.     looking for?
  83. S3. Where can I get an alternative PostScript previewer?
  84.  
  85. Programming
  86. ======================================================
  87. P1. What tools will help me port software to the 64-bit Alpha system?
  88. P2. Why can't I run dbx?
  89. P3. Why do my applications not work after I upgrade to a new version of DEC OSF/1?
  90. P4. Where can I get a debugging malloc that works on Alpha OSF/1?
  91. P5. What's with 'ld: unresolved symbols: dnet_conn'?
  92.  
  93. Graphics
  94. ======================================================
  95. G1. How can I make the graphics go faster?
  96. G2. Where can I get an xv that works on Alpha OSF/1?
  97.  
  98. Network
  99. ======================================================
  100. N1. Why doesn't FTP work to an XYZ system?
  101. N2. How do you use a NFS-mounted /usr filesystem on OSF/1?
  102. N3. Where can I get rstatd for DEC OSF/1?
  103. N4. How do I switch between the AUI and 10 Base-T Ethernet ports?
  104. N5. Where can I get multicast software for OSF/1?
  105. N6. What's wrong with xdr_long in the OSF/1 XDR routines?
  106.  
  107. Hardware
  108. ======================================================
  109. H1. Where can I get information about Alpha chips?
  110.  
  111. Miscellaneous
  112. ======================================================
  113. M1. Where else is DEC OSF/1 discussed?
  114. M2. How do I add a new terminal definition?
  115. M3. How do I boot to single-user mode?
  116.  
  117. ==============================================
  118. A1.  Where can I find software that has been ported to Alpha?
  119.  
  120. A list of software known to be ported to Alpha OSF/1 is available
  121. on the World-Wide Web:
  122.  
  123.     http://www.digital.com/info/software.html
  124.  
  125. The "Alpha AXP Freeware CD," which is shipped with the DEC OSF/1
  126. software distribution, has many popular programs in both source and
  127. binary form. The current Alpha Freeware CD-ROM can also be ordered
  128. from DECdirect, order number QA-0PSAA-H8.  The price is $12 US.
  129. For more information on the Freeware CD-ROM, send mail to 
  130. freeware@vbo.dec.com.
  131.  
  132. The Freeware CD is mounted on some Internet machines, including
  133. gatekeeper.dec.com and ftp.Uni-Koeln.de, for anonymous FTP.
  134.  
  135. The alpha-osf-managers archive (see below) also has some programs.
  136.  
  137.                 [Pete Kaiser, kaiser@.vbo.dec.com]
  138.                 [Win Treese, treese@lcs.mit.edu]
  139.  
  140. ==============================================
  141. A2. What does the "AXP" in "DEC 3000 Model 400 AXP Workstation" mean?
  142.  
  143. Nothing. It is part of the trademark.
  144.  
  145. ==============================================
  146. A3. Where can I get Emacs and Epoch for Alpha OSF/1? 
  147.  
  148. Both a binary and sources for GNU Emacs are included on the base
  149. system CD-ROM. Epoch is available on the Alpha OSF/1 Freeware CD-ROM
  150. (see answer A1 for more information).  
  151. Patches to make Emacs version 19 run on Alpha OSF/1 can be found at
  152. ftp://ftp.digital.com/pub/GNU .  The files are
  153.  
  154.     emacs-19.22-alpha-patch.README
  155.     emacs-19.22-alpha-patch.gz
  156.  
  157.  
  158.                 [Pete Kaiser, kaiser@vbo.dec.com]
  159.                 [Rob McCool, robm@snail.ncsa.uiuc.edu]
  160.  
  161. ==============================================
  162. A4. Where can I get technical information about Alpha?
  163.  
  164. Sites, R.L., Ed., Alpha Architecture Reference Manual (600 page book,
  165. 1992) from Digital Press (EY-L520E-DP) or Prentice-Hall 9ISBN
  166. 0-13-033663-7). Also at most technical bookstores, including
  167. Quantum(Cambridge) and Stacey's (Palo Alto)
  168.  
  169. Communications of the ACM, February 1993 issue (4 Alpha articles)
  170.  
  171. Digital Technical Journal, Vol 4., No. 4 (200 pages of Alpha articles,
  172. including 4 above with fewer typos). Order info: dtj@crl.dec.com
  173. (Available from ftp://ftp.digital.com/pub/DEC/DECinfo/DTJ and
  174. http://www.digital.com/info/DTJ/dtj.html)
  175.  
  176. Jim Montanaro "The Design of the Alpha 21064 CPU Chip" (42 minutes)
  177. Dick Sites and Dirk Meyer, "Alpha Architecture" (73 minutes)
  178. University Video Communications P.O. BOx 5129 Stanford CA 94309 USA
  179. (415) 813-0506
  180.                     [Dick Sites, sites@tallis.enet.dec.com]
  181.  
  182. ==============================================
  183. A5.  How can I test drive an Alpha system?
  184.  
  185. In no particular order:
  186.  
  187. OSF:
  188. 1. telnet axposf.pa.dec.com, login as guest.
  189. 2. telnet axposf.stanford.edu, login as guest.
  190.  
  191. VMS:
  192. 1. telnet axpvms.cc.utexas.edu, login as AXPGUEST
  193. 2. telnet axpvms.pa.dec.com, login as AXPGUEST
  194.  
  195. ==============================================
  196. S1.  What (free) tools are there for looking at system behavior?
  197.  
  198. syd, a utility like top, is on the Alpha OSF/1 Freeware disk.  It is also
  199. available for anonymous FTP from many sites.  One is
  200. ftp://ftp.Uni-Koeln.DE/decosf.
  201.  
  202. top has been ported to DEC OSF/1, and works under 1.2, 1.3, and field
  203. test releases of version 2.0.  It is available from
  204. ftp://ftp.eng.umd.edu/pub/alpha.
  205.  
  206. lsof, a utility for listing open files, is available from
  207. ftp://vic.cc.purdue.edu:/pub.
  208.  
  209.                     [Dave Sill, de5@ornl.gov]
  210.                     [Anthony Baxter, anthony@aaii.oz.au]
  211.  
  212. ==============================================
  213. S2.  How can I figure out what files translated binaries are
  214.     looking for?
  215.  
  216. Try
  217.     setenv MXR_TRACE_SYSCALLS open,stat,fstat,access
  218.  
  219. Running mxr -help will describe this environment variable along with
  220. some other useful ones.
  221.                 [Richard Gorton, gorton@blorf.amt.ako.dec.com]
  222.  
  223. ==============================================
  224. S3.  Where can I get an alternative PostScript previewer?
  225.  
  226. The previewer psview is available from
  227. ftp://ftp.digital.com/pub/DEC/PRL
  228.  
  229. The interface is similar to that of xdvi.  It can use Display PostScript
  230. or ghostscript for rendering.
  231.                     [Castor Fu, foo@leland.stanford.edu]
  232.  
  233. ==============================================
  234. P1. What tools will help me port software to the 64-bit Alpha system?
  235.  
  236. The version of lint shipped with Alpha OSF/1 has many checks to help
  237. port software to Alpha.  In particular, the -Q option is very useful.
  238. See the manual page for more details.
  239.  
  240. A document entitled "SunOS to DEC OSF/1 Porting Guide" is available
  241. from ftp://ftp.digital.com/pub/DEC/DECinfo/document/EC-N0736-43.ps.Z
  242.  
  243. ==============================================
  244. P2. Why can't I run dbx?
  245.  
  246. With DEC OSF/1 V1.2 the development environment is a separate layered
  247. product beyond the base OS.  Although it is included on the DEC OSF/1
  248. consolidated CD-ROM, the license must be purchased separately to use
  249. any portion of the Developer's kit.  Within the DEC OSF/1 Developer's
  250. Kit the license just happens to be enforced by a check in dbx.
  251.  
  252. For more information, look in
  253. ftp://ftp.digital.com/pub/DEC/DECinfo/DECnews-UNIX for:
  254.  
  255.       0104.txt      DEC OSF/1 Developer's Extensions V1.2 article, 11/17/92
  256.       0603.txt      DEC OSF/1 Developer's Toolkit V1.2 article, 03/23/93
  257.       0806.txt    C Compiler for DEC OSF/1 Operating System article, 05/13/93
  258.                     [Russ Jones, rjones@pa.dec.com]
  259.  
  260. ==============================================
  261. P3. Why do my applications not work after I upgrade to a new version of DEC OSF/1?
  262.  
  263. Sometimes the details of the shared libraries change between releases.
  264. In general, applications compiled on an earlier version of DEC OSF/1
  265. should still run on a later version.  The converse may not be true.
  266.  
  267. In particular, there were some incompatibilies between the field test and
  268. final versions of DEC OSF/1 V1.2.
  269.  
  270. The usual solution is to recompile from scratch.
  271.                         [John Kohl, jtkohl@zk3.dec.com]
  272.  
  273. ==============================================
  274. P4. Where can I get a debugging malloc that works on Alpha OSF/1?
  275.  
  276. ftp://ftp.digital.com/pub/misc/malloc_dbg.
  277.  
  278. If you get the package, be sure to read the stuff in the file
  279. contrib/dec_notes which explains how to replace malloc on the fly in
  280. an existing program.
  281.  
  282.                     [Dave Hill, ddhill@zk3.dec.com]
  283.  
  284. ==============================================
  285. P5. What's with 'ld: unresolved symbols: dnet_conn'?
  286.  
  287. Some libraries on OSF/1 (notably the X11 library) are compiled so that
  288. they can use DECnet as well as TCP/IP.  To link with such libraries,
  289. include -ldnet_stub at the end of link command.  If you have DECnet
  290. software installed, use -ldnet.
  291.  
  292.  
  293. ==============================================
  294. G1. How can I make the graphics go faster?
  295.  
  296. If your application is sending lots of data (using, say, PutImage
  297. requests), try setting DISPLAY to local:0, which uses a shared memory
  298. transport between the client and the X server.
  299.                     [Gail Grant]
  300.  
  301. ==============================================
  302. G2. Where can I get an xv that works on Alpha OSF/1?
  303.  
  304. Try ftp://pfc.mit.edu/  Make sure that LONG and U_LONG in
  305. xvtiffwr.c are defined to be int and unsigned int.
  306.                 [Mike Iglesias, iglesias@draco.acs.uci.edu]
  307.  
  308. ==============================================
  309. N1. Why doesn't FTP work to an XYZ system?
  310.  
  311. DEC OSF/1 uses the IP type-of-service option (TOS) by default.  This
  312. confuses some systems (reportedly Macintoshes).  To turn off the
  313. option for ftp, create a file /etc/iptos with the following entries:
  314.  
  315.     ftp-control    tcp    0x0
  316.     ftp-data    tcp    0x0
  317.  
  318. Reboot the Alpha system.
  319.  
  320. ==============================================
  321. N2. How do you use a NFS-mounted /usr filesystem on OSF/1?
  322.  
  323. Jon Forrest (forrest@cs.Berkeley.EDU) has written a document that
  324. describes how to do this. Look in 
  325. ftp://toe.CS.Berkeley.edu/pub/personal/forrest/remote.mounting
  326.  
  327. Note that as of OSF 1.3 DEC does not support this but it is quite
  328. easy to do.
  329.                 [Jon Forrest, forrest@postgres.Berkeley.EDU]
  330.  
  331. ==============================================
  332. N3. Where can I get rstatd for DEC OSF/1?
  333.  
  334. rstatd is reportedly in DEC OSF/1 version 2.0.
  335.  
  336. ==============================================
  337. N4. How do I switch between the AUI and 10 Base-T Ethernet ports?
  338.  
  339. - Shutdown the system.
  340. - At the ">>>" prompt, type:
  341.  
  342.     set ethernet thick
  343.       or
  344.           set ethernet tenbt
  345.  
  346. - Reboot the system.
  347.                                [Steve Imber, stevei@anduril.fsc.qut.edu.au]
  348.  
  349. ==============================================
  350. N5.  Where can I get multicast software for OSF/1?
  351.  
  352. Information about software for multicast applications on OSF/1 is
  353. available from:
  354.  
  355.     http://s2k-ftp.cs.berkeley.edu:8000/sequoia/conferencing
  356. or    ftp://2k-ftp.CS.Berkeley.EDU/pub/sequoia/conferencing
  357.                 [Fred Templin, templin@postgres.Berkeley.EDU]
  358.  
  359. ==============================================
  360. N6. What's wrong with xdr_long in the OSF/1 XDR routines?
  361.  
  362. xdr_long is used for sending signed 32-bit values and cannot send
  363. 0xFFFFFFFF. xdr_ulong should be used instead.  For 64-bit integer
  364. values, use xdr_hyper.  See the manual pages for more details.
  365.                     [Curtis Keller, curtis@kinesix.com]
  366.  
  367. This is slightly misleading.  xdr_long() can send -1, which in 32 bits
  368. is 0xffffffff.  xdr_long() does range checking, insuring that the top 33
  369. bits of its 64-bit argument are all ones or all zeroes.  If this is not
  370. the case, then the signed long integer is beyond the range of
  371. representation within a signed 32-bit value, and xdr_long() rightly
  372. fails.
  373.  
  374. xdr_u_long() [note typo above!] insures that the top 32 bits of its
  375. 64-bit argument are all zero.   If this is not the case, then the
  376. unsigned long integer is beyond ... blah blah.
  377.  
  378. So, the upshot is:  If you're using signed values, use xdr_long(), and
  379. DON'T use unsigned constants like 0xffffffff to set variables.  If
  380. you're using unsigned values, use xdr_u_long().  In both cases, make
  381. sure you're within range for 32-bits, if you want to interoperate with
  382. 32-bit machines using native data types.
  383.                     [John Kohl,jtk@atria.com]
  384.  
  385. ==============================================
  386. H1. Where can I get information about Alpha chips?
  387.  
  388. Call the DECchip Hotline 
  389.    1-800-332-2717 (voice) 
  390.    1-800-332-2515 (TTY) 
  391.    8:30am - 5:30pm ET 
  392.  
  393.                         [Jim Gettys, jg@crl.dec.com]
  394.  
  395. ==============================================
  396. M1. Where else is DEC OSF/1 discussed?
  397.  
  398. You can join the mailing list alpha-osf-managers@ornl.gov.  Send a message
  399. with
  400.     subscribe alpha-osf-managers
  401. in the body to Majordomo@ornl.gov.  Archives of the list are available
  402. from ftp://ftp.kpc.com/pub/list/alpha-osf-managers  Some useful
  403. Alpha software is also kept there.
  404.                     [Dave Sill, de5@ornl.gov]
  405.  
  406. ==============================================
  407. M2. How do I add a new terminal definition?
  408.  
  409. Some applications on OSF/1 use termcap; others use terminfo.  tic(1)
  410. compiles a termcap definition for terminfo.   It is best to add a
  411. new terminal definition both ways.
  412.                     [Jeffrey Heller, jeffreyh@kpc.com]
  413.  
  414. ==============================================
  415. M3. How do I boot to single-user mode?
  416.  
  417. >>> boot -fl s
  418.  
  419. -fl specifies the flags to the booted image.
  420.                     [Boris Yost, boris@msc.cornell.edu]
  421. [End of FAQ]
  422.  
  423.