home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / dec-faq / ultrix < prev   
Internet Message Format  |  1998-11-17  |  56KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!gatech!cpk-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!su-news-feed2.bbnplanet.com!news.gtei.net!news1.digital.com!pa.dec.com!mail.dec.com!lionel
  2. From: Steve Lionel <Steve.Lionel@digital.com>
  3. Newsgroups: comp.unix.ultrix,comp.sys.dec,comp.answers,news.answers
  4. Subject: ULTRIX Frequently Asked Questions (FAQ)
  5. Supersedes: <6ptdos$309@usenet.pa.dec.com>
  6. Followup-To: poster
  7. Date: 16 Nov 1998 20:46:09 GMT
  8. Organization: Compaq Computer Corporation, Nashua NH
  9. Lines: 1368
  10. Approved: news-answers-request@MIT.EDU
  11. Distribution: world
  12. Expires: 31 March 1999 00:00:00 GMT
  13. Message-ID: <72q2uh$hhq@usenet.pa.dec.com>
  14. Reply-To: Steve Lionel <Steve.Lionel@digital.com>
  15. NNTP-Posting-Host: quark.zko.dec.com
  16. Summary: This posting contains a list of Frequently Asked Questions
  17.     (and their answers) about the ULTRIX operating system from
  18.     Digital Equipment Corporation.
  19. X-Newsreader: mxrn 6.18-32
  20. Xref: senator-bedfellow.mit.edu comp.unix.ultrix:34445 comp.sys.dec:68091 comp.answers:33874 news.answers:144570
  21.  
  22. Archive-name: dec-faq/ultrix
  23. Posting-Frequency: bi-monthly
  24. Last-modified: July 30, 1998
  25.  
  26. Editor's Note
  27. ============
  28. The former "common" and "osf1" FAQs have been merged into a new
  29. Digital-UNIX FAQ.  Some pieces of the old "common" FAQ will get merged back
  30. into this FAQ, but I haven't done that yet.  Other pieces, now in the
  31. "Digital-UNIX" FAQ, will still be of interest to ULTRIX users so you may want
  32. to peruse it anyway.
  33.  
  34. Changes since last edition
  35. ==========================
  36.  
  37. Overview
  38. ========
  39. This is the Frequently Asked Questions (FAQ) list for Digital's RISC ULTRIX
  40. operating system and the hardware on which it runs.  Some additional
  41. information relevant to RISC ULTRIX users may also be found in the
  42. Digital-UNIX FAQ which is available in the same archive locations.
  43.  
  44. This FAQ is archived in the following locations:
  45.     comp.answers and news.answers newsgroups
  46.     ftp://ftp.digital.com/pub/Digital/dec-faq/ultrix
  47.     ftp://rtfm.mit.edu/pub/usenet/news.answers/dec-faq/ultrix
  48.     http://www.supelec.fr/decus/faq/faq-ultrix.html
  49.     CompuServe VAXFORUM, Library 9, ULTRXFAQ.TXT
  50.  
  51. The archive name for this FAQ is dec-faq/ultrix
  52.  
  53. Many FAQs, including this one, are available on the archive site
  54. rtfm.mit.edu in the directory pub/usenet/news.answers.  The name under
  55. which a FAQ is archived appears in the Archive-name line at the top of
  56. the article.  This FAQ is archived in the directory dec-faq.
  57.  
  58. To make suggestions for changes or additions to this Frequently Asked
  59. Questions list, send mail to Steve.Lionel@digital.com.  Answers are
  60. especially appreciated.  Please do NOT send technical questions to the
  61. editor - post them to the appropriate newsgroup instead.
  62.  
  63. An archive of recent postings to comp.unix.ultrix can be found 
  64. at ftp://ftp.cc.rochester.edu/pub/usenet/comp.unix.ultrix
  65. Thanks to folks at the University of Rochester for providing this
  66. service.
  67.  
  68. Some general notes:
  69.  
  70. When used alone, the word "DECstation" is used to mean any of the
  71. DECstations or DECsystems that use MIPS RISC processors.  Similarly,
  72. "Alpha" refers to any DEC systems that use the Alpha AXP processor.
  73.  
  74. Unless otherwise specified, these answers refer to ULTRIX 4.5, which is
  75. the current release of ULTRIX.
  76.  
  77. World-Wide Web Universal Resource Locator (URL) notation is used for FTP
  78. addresses.
  79.  
  80. Many people have contributed to this list, directly or indirectly.  In
  81. some cases, an answer has been adapted from one or more postings on the
  82. comp.unix.ultrix newsgroup.  Our thanks to all of those who post answers.
  83. The name (or names) at the end of an entry indicate that the information
  84. was taken from postings by those individuals; the text may have been
  85. edited for this FAQ.  These citations are only given to acknowledge the
  86. contribution.
  87.  
  88. Although the editor of this FAQ is an employee of Digital Equipment
  89. Corporation, this posting is not an official statement from Digital
  90. Equipment Corporation.
  91.  
  92. AlphaGeneration, AlphaServer, AlphaStation, Alpha AXP, AXP, DEC, DECstation,
  93. DECsystem, OpenVMS, ULTRIX, VAX and VMS  are trademarks of Digital Equipment
  94. Corporation.  OSF/1 is a registered trademark of the Open Software Foundation.
  95. UNIX is a registered trademark in the United States and other countries,
  96. licensed exclusively through X/Open Company Ltd.  Other names are properties of
  97. their respective owners.
  98.  
  99.  
  100. Software
  101. ======================================================
  102. S1. Why does dxpsview sometimes crash with an X error?
  103. S2. How do I compile perl on RISC/ULTRIX?
  104. S3. Is it possible to run the newer 4.3 BSD syslogd on ULTRIX?
  105. S4. How do I build gdb on RISC/ULTRIX?
  106. S5. Why doesn't "talk" work between DECstations and other machines?
  107. S6. Why doesn't troff work?
  108. S7. How are /bin/sh and /usr/bin/sh5 related?
  109. S8. Why doesn't syslog work on ULTRIX 4.3?
  110. S9. Is there an LSE (Language-Sensitive Editor) for ULTRIX?
  111. S10. How can I get a core dump of a running process on ULTRIX? 
  112. S11. Does ULTRIX have shared libraries? 
  113. S12. Where can I get a "man" program that understands multiple directories?
  114. S13. What does "panic: km_free: bad addr" mean?
  115. S14. Where can I get a "vacation" program for ULTRIX?
  116. S15. Where can I get Netscape for ULTRIX?
  117. S16. How do I build gcc on VAX ULTRIX?
  118.  
  119. Network
  120. ======================================================
  121. N1. What does the message "named: accept: Too many open files" in syslog mean,
  122.     and how can I fix it?
  123. N2. Why don't packet-filter applications like "tcpdump" or CAP work?
  124. N3. OK, I've done all that and CAP still doesn't run.
  125. N4. I want to run the "screend" program but I get "Operation not supported
  126.     on socket".
  127. N5. I want to use screend but I'm not sure how to set up the
  128.     /etc/screend.conf configuration file.
  129. N6. Why can't ULTRIX 4.2 mount NFS filesystems that could be mounted with
  130.         ULTRIX 4.1?
  131. N7. How do I change the IP address of a diskless client? 
  132. N8. Is ONC RPC (formerly "Sun RPC") supported under ULTRIX - and what should I
  133.     do to port my existing applications that rely on it?
  134. N9. How can I disable forwarding of IP packets on an ULTRIX system with two
  135.     network interfaces?
  136. N10. How can I run network daemons from inetd as users other than root?
  137. N11. How do I decode "stale filehandle" messages from NFS?
  138. N12. Where can I get IP multicast support for ULTRIX? 
  139. N13. Where can I get SLIP for ULTRIX?
  140.  
  141. Disk
  142. ======================================================
  143. D1. Why don't ULTRIX releases prior to V4.2A work with SCSI disks 
  144.         larger than 1 Gbyte?
  145. D2. How can I increase the number of inodes on a filesystem? 
  146. D3. OK, I used "newfs -i", and I didn't get more inodes?
  147. D4. What the ^&@(%*&) is a gnode? 
  148.  
  149. Programming
  150. ======================================================
  151. P1. Where can I get an ANSI C compiler for DECstations running ULTRIX?
  152. P2. Where can I get a Modula-2 (or Modula-3) compiler for ULTRIX?
  153. P3. Does mmap(2) work on plain files?
  154.  
  155. Graphics
  156. ======================================================
  157. G1. Why does the X server use so much memory?
  158. G2. How can I build an X11R5 server for an ULTRIX machine?
  159. G3. How do I change or get rid of the Digital logo on the login screen of 
  160.     my workstation?
  161. G4. How do I run MIT X11 Software?
  162. G5. How do I build X software that I got from the net?
  163. G6. Why do some applications run slowly on the DECstation PX and PXG
  164.     displays?
  165. G7. What can I do to improve security with X? Can I use xdm? 
  166.  
  167. Hardware
  168. ======================================================
  169. H1. Can I mix 8-Megabyte and 32-Megabyte boards in the DECstation 5000/xxx
  170.     family?
  171. H2. How can I find out which type of DECstation 5000 I have?
  172. H3. How can I run a DECstation 3100 without the display?
  173. H4. How do I reset the console (to change password, etc.)?
  174.  
  175. Miscellaneous
  176. ======================================================
  177. M1. What is the floating-point number representation on ULTRIX?
  178. M2. If the console is a graphics device, can it be used as a terminal for
  179.     full-screen applications?
  180. M3. M3. How do I read a tar image from a TK50 tape if my only TK50 is on a VMS
  181.     machine?
  182. M4. Why does ULTRIX restrict the number of users on the system?
  183. M5. Where else can I discuss ULTRIX with other users?
  184. M6. What is the part number for an ULTRIX source code license?
  185. M7. What is the future of ULTRIX?
  186.  
  187. ==============================================
  188. S1. Why does dxpsview sometimes crash with an X error?
  189.  
  190. dxpsview will often behave better if the "Watch Progress" item is selected
  191. from the Options menu.  You can use the following resource in your
  192. Xdefaults file:
  193.  
  194. DPSViewer*watchProgress:        on
  195.  
  196. to make this the default behavior.  Some reports indicate that this resource
  197. only works properly on ULTRIX 4.2A and later, however.
  198.  
  199. Some have reported that disabling the use of PostScript comments also helps:
  200.  
  201. DPSViewer*useComments:            off
  202.  
  203. ==============================================
  204. S2. How do I compile perl on RISC/ULTRIX?
  205.  
  206. The following is valid for perl 4.0, patchlevel 35.  It is probably
  207. approximately correct for later versions as well.
  208.  
  209. The biggest trick in compiling perl on RISC/ULTRIX is fixing its
  210. notion of "volatile".  To do this, when Configure stops and asks you
  211. if you want to edit config.sh, do so. Search for the word "volatile"
  212. and change the "define" on that line to "undef".  This step is reportedly
  213. not necessary for versions perl version 4.0, patchlevel 36 and later.
  214.  
  215. On machines with a relatively small amount of memory, you may not want
  216. to use -O on eval.c, since the compiler can end up taking a long time
  217. to compile that file.
  218.  
  219. If the source directory is NFS-mounted, it is usually the case that you
  220. will see the message
  221.  
  222.    io/fs..........FAILED on test 18
  223.  
  224. This is harmless and can be ignored.
  225.  
  226. perl 5.003 can be compiled on VAX Ultrix.
  227. If you use the native C compiler (vcc), you need a patch, which change 
  228. enums to #define in C-text. You can get this patch from:
  229.   ftp://kiev1.ipri.kiev.ua/pub/ultrix.ports
  230.  and in configure add to compiler flags -DUNCOMPARABLE_ENUMS
  231.  
  232. ==============================================
  233. S3. Is it possible to run the newer 4.3 BSD syslogd on ULTRIX?
  234.  
  235. A version of the 4.3BSD syslog library and daemon that detects either
  236. 4.2bsd-compatible clients (which is what the Ultrix libc.a will help
  237. you create) or 4.3bsd-compatible clients, which are more flexible, is
  238. available at ftp://ftp.digital.com/pub/DEC/jtkohl-syslog.shar
  239.  
  240. Another version that supports regular expressions in syslog.conf is available
  241. from ftp://decuac.dec.com/pub/DEC/syslog_mjr.tar.Z
  242.  
  243. A version integrated with Net2 code and which builds under Ultrix 4.x
  244. is available at:
  245.   ftp://ftp.cic.net/pub/Software/unix/ultrix-net2-syslogd.tar.gz
  246.                     [Paul Southworth]
  247.  
  248. ==============================================
  249. S4. How do I build gdb on RISC/ULTRIX?
  250.  
  251. To build gdb, you will also need to install the GNU make.
  252.  
  253. For gdb 4.0 and later: 
  254. - unpack the tar file
  255. - cd <tar-root>
  256. - ./configure +subdirs decstation
  257. - cd H-decstation/T-decstation
  258. - gnumake
  259.  
  260. This will build the gdb binary in
  261. <tar-root>/gdb/H-decstation/T-decstation/gdb
  262.  
  263. Install this binary in the location of your choice (e.g. /usr/local/bin)
  264.  
  265. ==============================================
  266. S5. Why doesn't "talk" work between DECstations and other machines?
  267.  
  268. The original Berkeley talk protocol did not use network byte order, so
  269. machines with different byte order could not talk to each other.  This
  270. was fixed in 4.3BSD, and in recent versions of ULTRIX.  Some vendors
  271. have not fixed their software.  The 4.3BSD talk software is available
  272. from many FTP archive sites.  ULTRIX includes a program, "otalk",
  273. which uses the old protocol, but it only works with machines that use
  274. little-endian byte order (e.g., VAXen, DECStations, not most others).
  275.  
  276. ==============================================
  277. S6. Why doesn't troff work?
  278.  
  279. Digital does not support troff on ULTRIX, mostly because of the way
  280. AT&T licenses the software now.  However, you can use groff (GNU roff)
  281. which works pretty nicely and generates pure PostScript. There's a
  282. RISC/ULTRIX binary kit for groff available from
  283. ftp://decuac.dec.com/pub/binaries
  284.                     [Marcus Ranum]
  285.  
  286. ==============================================
  287. S7. How are /bin/sh and /usr/bin/sh5 related?
  288.  
  289. /bin/sh on ULTRIX is the traditional Bourne shell.  /usr/bin/sh5 is
  290. the newer "System V" shell and has functions and a few other odds and
  291. ends added to it. A comparison of the manual pages will give an idea
  292. of the differences.
  293.                     [Marcus Ranum]
  294.  
  295. ==============================================
  296. S8. Why doesn't syslog work on ULTRIX 4.3?
  297.  
  298. There is a bug in the distribution: /etc/syslog.pid is owned by root.  It
  299. should be owned by daemon.
  300.                     [Alan Rollow]
  301.  
  302. ==============================================
  303. S9. Is there an LSE (Language-Sensitive Editor) for ULTRIX?
  304.  
  305. Digital's LSE for RISC ULTRIX is no longer available.
  306. GNU Emacs also has packages for several different languages.
  307.                 [Jean-Marc Digne]
  308.  
  309. ==============================================
  310. S10. How can I get a core dump of a running process on ULTRIX? 
  311.  
  312. Get gcore from ftp://ftp.digital.com/pub/DEC/gcore.shar   This one is
  313. known to work on ULTRIX 4.2; it should work on 4.3 as well.
  314.                         [Jeff Mogul]
  315.  
  316. ==============================================
  317. S11. Does ULTRIX have shared libraries? 
  318.  
  319. Shared libraries are not currently available for ULTRIX.  Digital UNIX
  320. does have shared libraries.
  321.  
  322. ==============================================
  323. S12. Where can I get a "man" program that understands multiple directories?
  324.  
  325. The ULTRIX man program does not understand multiple directories.  Some that
  326. do are:
  327.  
  328. 1. The 4.3BSD man program, available from
  329.      ftp://decuac.dec.com/pub/sources/bsd-man.shar.Z
  330. 2. man, from ftp://ftp.che.utexas.edu/pub/unix/man-1.1.tar.gz
  331.     Not an FSF program, but distributed under the GNU GPL.
  332. 3. Tom Christiansen's PERL man program, from:
  333.        ftp://convex.convex.com/pub/perl/scripts/man.shar.Z
  334.     (Requires perl)
  335. 4. For those with Tcl/Tk, try tkman, available from:
  336.     ftp://ftp.cs.berkeley.edu/ucb/people/phelps/tcltk/tkman.tar.Z
  337.  
  338. Alpha OSF/1 man understands MANPATH.
  339.                 [Frank Wortner]
  340.                 [Win Treese]
  341.                 [Philip J. Tait]
  342.                 [Tom Phelps]
  343.  
  344.  
  345. ==============================================
  346. S13. What does "panic: km_free: bad addr" mean?
  347.  
  348. It means that you need the patch for tcp_output.o, available from the
  349. Customer Support Centers.
  350.  
  351. ==============================================
  352. S14. Where can I get a "vacation" program for ULTRIX?
  353.  
  354. The BSD vacation program is available from
  355. ftp://ftp.uu.net/pub/networking/bsd-net2/usr.bin/vacation
  356.  
  357. Another vacation program, written in perl, is available from
  358. ftp://convex.convex.com/pub/perl/scripts/clones/vacation
  359.  
  360. Both of these are careful about to whom and how often they reply.
  361.  
  362. DEC OSF/1 includes the BSD vacation program.
  363.  
  364.                 [Brian Smith]
  365.  
  366. ==============================================
  367. S15.  Where can I get Netscape for ULTRIX?
  368.  
  369. Sorry, you can't.  Netscape Communications has not released a version
  370. for ULTRIX.
  371.  
  372. ==============================================
  373. N1. What does the message "named: accept: Too many open files" in syslog mean,
  374.     and how can I fix it?
  375.  
  376. There is a bug in the ULTRIX version of named that causes it to run
  377. out of file descriptors when it does too many zone transfers.
  378.  
  379. A somewhat different version of named called cra-bind that does not have this 
  380. problem.  This version cannot use Kerberos for server-server authentication, 
  381. as the ULTRIX version can.  It does support Hesiod data and queries.  It is 
  382. not supported by Digital, although it is in active use on Digital's Internet 
  383. machines.
  384.  
  385. cra-bind has been superseded by the public release of BIND 4.9.  BIND 4.9
  386. can be obtained from ftp://ftp.digital.com/pub/BSD/bind/4.9
  387.  
  388.                     [Win Treese]
  389.  
  390. ==============================================
  391. N2. Why don't packet-filter applications like "tcpdump" or CAP work?
  392.  
  393. Probably because you have not configured the packet filter into
  394. the kernel.  The default kernel configurations do NOT include the
  395. packet filter.  See "man 4 packetfilter" for full details, but basically
  396. the process involves
  397.  
  398.     editing your kernel configuration file
  399.         add "options PACKETFILTER"
  400.         add "pseudo-device packetfilter"
  401.     rebuilding your kernel
  402.     installing the new kernel
  403.     booting the new kernel
  404.     "cd /dev; MAKEDEV pfilt" to create the required entries
  405.  
  406. You might also want to add the following lines to /etc/rc.local:
  407. [ -f /usr/etc/pfconfig ] && {
  408.         /usr/etc/pfconfig +p +c -a 2>&1 & echo -n ' pfconfig'   >/dev/console
  409. }
  410.  
  411. This allows you to use promiscuous-mode applications, such as "tcpdump"
  412. or "nfswatch".  Note that the '-a' option to pfconfig allows any user to
  413. spy on the network.  If it is omitted, only root may do so.
  414.  
  415. There are also some patches for ULTRIX 4.2 and 4.2A for the
  416. packetfilter code.  Call Digital's Customer Support if you need them.
  417. The official description of the patches is below; here is some
  418. background information. ULTRIX 4.3 has all of the patches included.
  419. Note: these patches cause DECnet-OSI not to work.  To run DECnet-OSI
  420. on ULTRIX 4.3, you will need the latest patched version of
  421. net_common.o for 4.3.
  422.  
  423. Although not mentioned in the description, these patches should also
  424. make Ultrix more forgiving of certain incorrect 802.3 packets.  Such
  425. packets are sent by some 3rd-party implementations.  I don't think
  426. this will fix the problem in every case, since some Digital Ethernet
  427. interfaces filter out "bad" 802.3 packets in hardware.  The patches
  428. should work for DECstations and most DECsystems.
  429.  
  430. Note that if you install these patches and you have been running CAP,
  431. you should recompile CAP after removing the definition for ULT42PFBUG
  432. from the Configure script.  The ULT42PFBUG patch to CAP will not work
  433. once the kernel has been patched.  You should also *stop* doing
  434.  
  435.     ifconfig ln0 copyall
  436.  
  437. once you install the patches.
  438.  
  439. If you have been using tcpdump, nfswatch, or a similar monitoring
  440. program on an FDDI network, installing these patches will probably
  441. make that not work.  You will still be able to use tcpdump on an
  442. Ethernet, of course.  The reason for this is that tcpdump only worked
  443. on FDDI networks because of the bug that is fixed by these patches.
  444.  
  445. These patches are available for Ultrix 4.2 and 4.2A, and for both RISC
  446. and VAX.  They must not be applied to previous versions of Ultrix.
  447.  
  448. Finally, note you must install new versions of BOTH net_common.o
  449. and pfilt.o; you cannot just install one of the files.
  450.  
  451. /sys/{MIPS,VAX}/BINARY/net_common.o      
  452. /sys/{MIPS,VAX}/BINARY/pfilt.o
  453. -----------------------------------          
  454.                           (v4.2 RISC & VAX, v4.2a RISC)
  455.  
  456. Listed are problem resolved by these 2 patches:
  457.  
  458. 1. PACKET FILTER FAILS TO RECEIVE UNICASTS TO LOCAL HOST
  459.  
  460. The packet filter mechanism is supposed to allow a user application
  461. to receive packets that are sent to the local host, if no other
  462. protocol in the kernel wants to use the packet.  This worked fine
  463. in Ultrix 4.0 and 4.1, but in Ultrix 4.2 it is broken.
  464.  
  465. Apparently, setting "copyall" with ifconfig is a workaround, but
  466. this is an EXTREMELY inefficient workaround, and requires users
  467. to reconfigure their systems as super-user.  This is not needed in
  468. ULTRIX 4.3.
  469.  
  470. 2. PACKET FILTER IOCTL EIOCDEVP RETURNS WRONG MTU VALUE
  471.  
  472. A change was made to increase the size for ethernet packets
  473. from 1500 bytes to 1514 bytes which is the MAX size for the ethernet.
  474. This will allow 1500 bytes for the message and 14 bytes for the header.
  475.  
  476. Also corrected the value returned in endevp.end_MTU by the EIOCDEVP ioctl.
  477.  
  478. 3. 802.3/802.2 PACKETS NOT PROPERLY DELIVERED TO PACKET FILTER
  479.  
  480. The packet filter is defined, in its manual page, to provide packets
  481. to user applications exactly as those packets appear on the network.
  482. The current kernel code mangles the headers of 802.2 encapsulations
  483. of Ethernet packets, causing several popular applications to fail.
  484.  
  485.                         [Jeff Mogul]
  486.  
  487. ==============================================
  488. N3. OK, I've done all that and CAP still doesn't run.
  489.  
  490. [See the previous topic for information on relevant patches for ULTRIX.]
  491.  
  492. There are several bugs in the Ultrix 4.2 packet filter mechanism, some
  493. of which affect CAP.  These are fixed in ULTRIX 4.3. The details are
  494. complex, but you can solve one of them by doing (as super-user,
  495. probably from /etc/rc.local)
  496.  
  497.     /etc/ifconfig ln0 copyall
  498.  
  499. (substitute whatever interface type you are using for "ln0").  The
  500. other bug, which apparently only affects CAP when "Phase 2" is in use,
  501. requires a patch to CAP.  CAP patches are available from a number of
  502. archive sites, including gatekeeper.dec.com: in the directory named
  503.  
  504.     /pub/net/appletalk/cap/cap.patches
  505.  
  506. Another problem you may have is that some Ethernet interfaces sold for
  507. the Macintosh occasionally send incorrect 802.3 packet headers.  (The
  508. bug is that they send a packet whose length does not match the value
  509. provided in the 802.3 header's length field.  Ultrix 4.2, as well as
  510. some of Digital's Ethernet interface hardware, is strict about
  511. checking 802.3 header, and does not accept these packets.)  As of this
  512. writing, a patch is not yet available and there is no workaround.  If
  513. you can, you should try to get the vendor of the nonconforming
  514. interface to provide a solution.
  515.  
  516. Once you have obtained an up-to-date, fully patched copy of CAP 6.0,
  517. the Configure script does not automatically switch on the workaround
  518. code; you must manually edit the m4.setup file to turn the workaround
  519. code on.
  520.  
  521.                         [Jeff Mogul]
  522. N3. OK, I've done all that and CAP still doesn't run.
  523.  
  524. [See the previous topic for information on relevant patches for ULTRIX.]
  525.  
  526. There are several bugs in the Ultrix 4.2 packet filter mechanism, some
  527. of which affect CAP.  These are fixed in ULTRIX 4.3. The details are
  528. complex, but you can solve one of them by doing (as super-user,
  529. probably from /etc/rc.local)
  530.  
  531.     /etc/ifconfig ln0 copyall
  532.  
  533. (substitute whatever interface type you are using for "ln0").  The
  534. other bug, which apparently only affects CAP when "Phase 2" is in use,
  535. requires a patch to CAP.  CAP patches are available from a number of
  536. archive sites, including gatekeeper.dec.com: in the directory named
  537.  
  538.     /pub/net/appletalk/cap/cap.patches
  539.  
  540. Another problem you may have is that some Ethernet interfaces sold for
  541. the Macintosh occasionally send incorrect 802.3 packet headers.  (The
  542. bug is that they send a packet whose length does not match the value
  543. provided in the 802.3 header's length field.  Ultrix 4.2, as well as
  544. some of Digital's Ethernet interface hardware, is strict about
  545. checking 802.3 header, and does not accept these packets.)  As of this
  546. writing, a patch is not yet available and there is no workaround.  If
  547. you can, you should try to get the vendor of the nonconforming
  548. interface to provide a solution.
  549.  
  550. Once you have obtained an up-to-date, fully patched copy of CAP 6.0,
  551. the Configure script does not automatically switch on the workaround
  552. code; you must manually edit the m4.setup file to turn the workaround
  553. code on.
  554.  
  555.                         [Jeff Mogul]
  556.  
  557. ==============================================
  558. N4. I want to run the "screend" program but I get "Operation not supported
  559.     on socket".
  560.  
  561. By default, support for screend is not configured into the Ultrix 4.2
  562. kernel, and the documentation for this is missing.  Edit your kernel
  563. configuration file to include the line:
  564.  
  565.     pseudo-device   gwscreen
  566.  
  567. and rebuild your kernel (i.e., run /etc/config, then change to the
  568. right directory and do "make depend" and then "make").  Install the
  569. new kernel and reboot the system.
  570.                         [Jeff Mogul]
  571.  
  572. ==============================================
  573. N5. I want to use screend but I'm not sure how to set up the
  574.     /etc/screend.conf configuration file.
  575.  
  576. Get a copy of NSL Network Note NN-16, "Using screend to Implement
  577. IP/TCP Security Policies".  Send mail with "Subject: help" for
  578. information on how to order this, or just "Subject: send postscript
  579. nn-16" if you want to receive the PostScript file via return mail to
  580.     nsl-techreports@pa.dec.com
  581.      or ...!uunet!decwrl!nsl-techreports
  582.                         [Jeff Mogul]
  583.  
  584. ==============================================
  585. N6. Why can't ULTRIX 4.2 mount NFS filesystems that could be mounted with
  586.         ULTRIX 4.1?
  587.  
  588. The version of SUN RPC shipped with ULTRIX V4.2 supports up to 32
  589. groups per user, whereas previous versions supported 8 groups per
  590. user.  Users that are members of more than 8 groups cannot NFS mount
  591. file systems from NFS servers using the version of SUN RPC that only
  592. supports 8 groups.
  593.  
  594. The error message  that nfs_mount will give you if you are in too many
  595. groups will look like this:
  596.  
  597. nfs_mount: crltrx:/usr/local server not responding: RPC: Authentication error;
  598. why = Invalid client credential
  599. nfs_mount: access denied for crltrx:/usr/local
  600.  
  601. The workaround is to reduce the number of groups you are a member of
  602. to eight or less to make NFS mounts work again.  In particular, you should
  603. check the number of groups that "root" is in.
  604.  
  605. ==============================================
  606. N7. How do I change the IP address of a diskless client? 
  607.  
  608. The Internet address of a diskless client is determined by the network
  609. boot block the system send as the secondary load file. This file is
  610. initially created by DMS but at the present time DMS does not have
  611. the capability to change an existing netblk.
  612.  
  613. NOTE: If you attempt to change the IP address of either the client or
  614.       server without modifying the netblk then your DISKLESS CLIENTS
  615.       WILL NOT BOOT.
  616.  
  617. The definition of the network boot block is in /usr/include/sas/mop.h and
  618. the netblk structure is shown below.
  619.  
  620.   struct netblk   {
  621.       char        srvname[32];            /* server hostname (boot server)*/
  622.       unsigned long srvipadr;             /* server IP address (boot server)*/
  623.       char        cliname[32];            /* client hostname      */
  624.       unsigned long cliipadr;             /* client IP address    */
  625.       unsigned long brdcst;               /* broadcast address    */
  626.       unsigned long netmsk;               /* network mask address */
  627.       short       swapfs;                 /* swap file system type*/
  628.       short       rootfs;                 /* root file system type*/
  629.       short       swapsz;                 /* swap size in 1/2 Meg units */
  630.       short       dmpflg;                 /* dump flag 0 - disabled */
  631.                                           /*           1 - enabled  */
  632.       char        rootdesc[80];           /* root filesys descriptor */
  633.       char        swapdesc[80];           /* swap file descriptor */
  634.       char        reserved[20];           /* for later use        */
  635.   };
  636.                                    
  637. In order to change the IP address of the client or of the server you will need
  638. to modify the netblk.
  639.  
  640. The code for the boot block is in the file /etc/bootblk.c on the diskless
  641. client.
  642.  
  643. An example of this file is:
  644.  
  645.   #include <sas/mop.h>
  646.   struct netblk   nblk={
  647.   "my_server",
  648.   0x10b38001, "my_client", 0x10b3803e, 0x10b380ff, 0xffffff00,
  649.   0,
  650.   5,
  651.   0,
  652.   0,
  653.   "/dlclient0/my_client.root",
  654.   "rz3b",
  655.   ""
  656.   };
  657.  
  658. A quick cross-reference with the mop include file will tell you which fields
  659. represent which data.
  660.  
  661. To change the IP addresses you need to use the command /usr/diskless/makpkt.
  662.  
  663. The format of this command is:
  664.  
  665.   makpkt server_IP_addr client_name client_IP_addr broadcast netmask
  666.  
  667. Here is an example of using makpkt to change the network boot block parameters.
  668.  
  669.  For a server of address 16.128.128.4 and a client called fred of address
  670. 16.128.128.19 on a class B network you'll need to use the command:
  671.  
  672.   % makpkt 16.128.19.4 fred 16.128.20.19 16.128.255.255 255.255.0.0
  673.  
  674. this will produce the output:
  675.  
  676.   0x10801304,
  677.   "fred",
  678.   0x10801413,
  679.   0x1080ffff,
  680.   0xffff0000,
  681.  
  682.  
  683. You will now need to edit netblk.c and replace the line
  684.  
  685.   0x10b38001, "my_client", 0x10b3803e, 0x10b380ff, 0xffffff00,
  686.  
  687. with
  688.  
  689.   0x10801304, "fred", 0x10801413, 0x1080ffff, 0xffff0000,
  690.  
  691.  
  692. The next step is to compile the new netblk.
  693.  
  694.   % cc -c netblk.c
  695.  
  696.  
  697. If you are changing the client IP address then you will also need to modify
  698. the CLIARP field in /etc/dlparam on the client.
  699.  
  700. eg.
  701.   CLIARP="16.182.128.61"
  702.  
  703.  
  704. Finally you can change the server and/or client IP address on the server
  705. and reboot.
  706.  
  707. ==============================================
  708. N8. Is ONC RPC (formerly "Sun RPC") supported under ULTRIX - and what should I
  709.     do to port my existing applications that rely on it?
  710.  
  711. ONC RPC (formerly "Sun RPC") is not supported under ULTRIX. This means
  712. that not only may some library routines like "clnt_create" not exist,
  713. but that if they do, they may not work as expected. If you need to use
  714. RPC for an application can use the unsupported version of the RPC4.0
  715. distribution that is available at
  716. ftp://decuac.dec.com/pub/sources/rpc4.0-ultrix.tar.Z
  717.  
  718. ONC RPC is a supported component of DEC OSF/1.
  719.  
  720. NobleNet provides ONC RPC tools and solutions for ULTRIX,
  721. UNIX, Windows (3.1/95/NT), Macintosh, VMS, OS/2, NetWare,
  722. VxWorks, etc.
  723.  
  724.         NobleNet, Inc.
  725.         337 Turnpike Road
  726.         Southboro, MA  01772
  727.         Voice +1 508 460 8222
  728.         Fax +1 508 460 3456
  729.         mailto:sales@noblenet.com
  730.         http://www.noblenet.com/
  731.  
  732. ==============================================
  733. N9. How can I disable forwarding of IP packets on an ULTRIX system with two
  734.     network interfaces?
  735.  
  736. Put this in rc.local:
  737.  
  738. echo -n 'disabling kernel routing: ipforwarding '        >/dev/console
  739. /usr/etc/kvar -k -wl -s ipforwarding -v 0 /vmunix        >/dev/console
  740.  
  741. ==============================================
  742. N10. How can I run network daemons from inetd as users other than root?
  743.  
  744. inetd will take a username as the fifth field.  This is not documented
  745. on the inetd manual page.  For example:
  746.  
  747. finger    stream    tcp    nowait    nobody    /usr/etc/fingerd    fingerd
  748.  
  749. ==============================================
  750. N11. How do I decode "stale filehandle" messages from NFS?
  751.  
  752. In the message 
  753.  
  754.     NFS server: stale file handle _fs(21,154) file 4100
  755.  
  756. 21 and 154 are the major and minor device numbers.  4100 is the inode number.
  757. Running 'ls -l' on /dev will show the device numbers, so you can ask
  758. mount what directory the filesystem is mounted on.  Then use
  759.  
  760.     find <file system> -inum <inode no> -print
  761.  
  762. to find the file.
  763.                 [Peter Mayne]
  764.                 [Greg Shapiro]
  765.  
  766. ==============================================
  767. N12. Where can I get IP multicast support for ULTRIX? 
  768.  
  769. Patches to enable IP Multicast are available from
  770. ftp://gregorio.stanford.edu/vmtp-ip/  Patches are available for Ultrix 4.1 &
  771. 4.2a.  Binaries are available for 4.2a.  As far as is known, the
  772. patches also work on 4.3.
  773.  
  774. The multicast patches break the ULTRIX packetfilter.  An unsupported
  775. version of pfilt.o that works with the multicast code is in
  776.  
  777.     ftp://crl.dec.com/pub/DEC/multicast/pfilt.o
  778.  
  779. This patch should work with 4.2, 4.2A, and 4.3, but it is not supported.
  780.  
  781.                     [Lance Berc]
  782.                     [Win Treese]
  783.  
  784. ==============================================
  785. N13. Where can I get SLIP for ULTRIX?
  786.  
  787. SLIP is in the "unsupported" kit for ULTRIX 4.2 and later.  It is
  788. included in DEC OSF/1.
  789.  
  790. ==============================================
  791. D1. Why don't ULTRIX releases prior to V4.2A work with SCSI disks 
  792.         larger than 1 Gbyte?
  793.  
  794. ULTRIX releases prior to V4.2A are unable to handle logical block
  795. numbers greater than (2**21 - 1).  The left bit positions of block
  796. numbers greater than (2**21 - 1) are effectively ignored, causing
  797. access to wrap around to the beginning of the disk.  This means that
  798. SCSI disks larger than 1 Gbyte (formatted) cannot be used (assuming
  799. 512 kbyte blocks), even if all partition sizes are less than 1 Gbyte.
  800.  
  801. The earliest version of ULTRIX that can handle DEC 1.3 Gbyte RZ58 drives 
  802. on DEC RISC machine is ULTRIX 4.2A.
  803.                 [Jeffrey C. Gealow]
  804.  
  805.  
  806. ==============================================
  807. D2. How can I increase the number of inodes on a filesystem? 
  808.  
  809. "newfs -i XXX" is usually used to increase the number of inodes on a
  810. filesystem, where XXX is the desired number of bytes per filesystem. 
  811. However, there is a not-well-known limit of 2048 inodes per cylinder
  812. group, and newfs doesn't tell you that if you try to ask for more.
  813.  
  814. The solution is to get more cylinder groups, either by using "newfs -c XXX"
  815. to specify the number of cylinders per group or by using 4096-byte
  816. blocks and 512-byte fragments.
  817.  
  818. Read the newfs manual page before trying this at home or work.
  819.                     [Alan Rollow]
  820.                     [Win Treese]
  821.  
  822. ==============================================
  823. D3. OK, I used "newfs -i", and I didn't get more inodes?
  824.  
  825. The version of the Berkeley Fast File system used by the ULTRIX
  826. Operating System has a limit of 2048 inodes per cylinder group.  This
  827. limit is the constant MAXIPG in the include file
  828. /usr/include/ufs/fs.h.  To change it you need to be able to recompile
  829. from sources.
  830.  
  831. When newfs/mkfs runs it attempts to allocate enough inodes so that
  832. there are enough for an average file size of 2 KB.  (bytes per inode =
  833. 2048).  When there are enough cylinder groups this is easy.  In fact,
  834. if the cylinder group is small enough, it may not get close to the
  835. MAXIPG limit.
  836.  
  837. But over the years, disks have gotten bigger.  They have more
  838. cylinders, more tracks and the tracks have more sectors.  As a result
  839. cylinder groups are larger and it's hard to allocate enough inodes to
  840. meet the 2048 bytes per inode limit, with only MAXIPG available.
  841. Since MAXIPG is fixed the effective average file size goes up.
  842.  
  843. On a News spool tree, the average file probably is around or less than
  844. 2 KB.  As a result, these large cylinder disks don't have enough
  845. inodes for the typical file size, and, more importantly, you can't get
  846. more, since you're already at the MAXIPG limit.  At least not easily.
  847.  
  848. But there are some solutions available...
  849.  
  850. Theme of solutions:
  851.  
  852. Inodes are allocated on a cylinder group basis.
  853. Want more inodes, use more cylinder groups.
  854.  
  855. 1.  Use fewer cylinders per group, thus getting more groups.
  856.     See the -c option of newfs(8).
  857.  
  858.     Note: On the 2nd hand advice of Gregory Neil Shapiro 
  859.     (gshapiro@wpi.edu) there are some disks for which
  860.     the -c option won't work because mkfs(8) enforces a set 
  861.     of cylinder group sizes that won't allow reducing the 
  862.     number cylinders per below the default of 16.  This seems
  863.     to be the case for the RZ57 and RZ58.
  864.  
  865. 2.  Use a different file system block and fragment size; 4K/512a
  866.     instead of the usual 8K/1K.  In the case of News this may work 
  867.     best.  Since most files are small, using the smaller size may
  868.     help reflect the smaller average file size.  It may also waste
  869.     less space in partially filled fragments.
  870.  
  871. 3.  Lie about the geometry.  If the track length or tracks
  872.     per cylinder is nice factorable number, reduce one to
  873.     increase the effective number of cylinders.  By playing
  874.     games with the factors of the geometry you manage to keep
  875.     the geometry approximately the same.
  876.  
  877.     For some disks this may not matter and you can invent whatever
  878.     lie you want.  For example; the RZ58 uses zoned based recording
  879.     (banding).  Depending on where you are on the disk, there will
  880.     more or less sectors per track.  The single geometry presented
  881.     by ULTRIX is a convient lie.
  882.                     [Allan Rollow]
  883.  
  884. ==============================================
  885. D4. What the ^&@(%*&) is a gnode? 
  886.  
  887. "Gnode" means "generic inode". Like most versions of UNIX these days,
  888. ULTRIX has a virtual filesystem. This means the kernel can support
  889. different types of filesystem - like the BSD FFS, the old V7-style
  890. filesystem in System V, RFS, NFS etc.  Gnodes are similar to the vnodes
  891. of the Sun filesystem switch.
  892.  
  893. The message "out of gnodes" usually means "out of inodes" on the
  894. filesystem.  To fix this, you can delete files or reinitialize the
  895. filesystem with newfs (after backing everything up!).
  896.  
  897. The message "gnode: table is full" means that the kernel table for keeping
  898. track of open files is full.  If you need to fix this, increase the maxusers
  899. parameter in your kernel configuration file and rebuild your kernel.
  900.                     [Jim Reid]
  901.                     [Alan Rollow]
  902.                     [Win Treese]
  903.  
  904. ==============================================
  905. P1. Where can I get an ANSI C compiler for DECstations running ULTRIX?
  906.  
  907. DEC C++ comes with a full ANSI C compiler, which is also known as DEC
  908. C.  The GNU C compiler (gcc) also runs on DECstations with ULTRIX, as
  909. well as under OSF/1 on Alpha platforms.  It is available from many ftp
  910. sites.
  911.                         [Dan McCoy]
  912.                         [Mads Westermann]
  913.  
  914. ==============================================
  915. P2. Where can I get a Modula-2 (or Modula-3) compiler for ULTRIX?
  916.  
  917. A Modula-2 compiler for DECstations and VAXen developed at Digital's Western
  918. Research Lab is available in gatekeeper.dec.com:/pub/DEC/Modula-2.
  919.  
  920. If you like Modula-2, you might be interested in Modula-3, a successor
  921. language to Modula-2 developed at Digital's Systems Research Center and
  922. the (now defunct) Olivetti Research Center.  A description of the language
  923. and a portable compiler that runs on many platforms is available in
  924. ftp://ftp.digital.com/pub/DEC/Modula-3
  925.  
  926.                 [Win Treese]
  927.  
  928. ==============================================
  929. P3. Does mmap(2) work on plain files?
  930.  
  931. On ULTRIX, mmap(2) only works on character special devices.
  932.                     [Win Treese]
  933.  
  934. ==============================================
  935. G1. Why does the X server use so much memory?
  936.  
  937. Xws and the other other DEC X servers generally grow larger with
  938. workload, not because of memory leaks.  When you start an X server,
  939. its process is quite small.  As applications are started, the server
  940. allocates memory for a variety of reasons to service requests from
  941. clients.  An example of this is allocating a pixmap.  When the
  942. resource is freed, the corresponding memory is freed back to the
  943. malloc pool, but the server image doesn't get any smaller.  This is
  944. true of any application where you malloc memory and then free it. If
  945. your workload is consistent, server growth is asymptotic, growing
  946. quickly at first, then tapering off.  In other words, if you exit the
  947. application that caused the server to allocate a lot of memory, the
  948. server size won't shrink when the application exits, but the server
  949. won't grow any larger if you run the same application the same way
  950. again.
  951.  
  952. Of course it's possible that a memory leak in the server still exists.
  953. If you think you have a memory leak, you should figure out which
  954. application you run that triggers the leak.  You should run that
  955. application several times, observing the server size with every
  956. iteration.  If the server grows by an appreciable amount each time,
  957. please file an SPR.
  958.  
  959. For workstations with minimal memory, we recommend that you use the
  960. following server command line arguments:
  961.  
  962.     -once    (restart the server afresh for each session)
  963.     -su     (inhibit save unders)
  964.     -bs     (inhibit backing store)
  965.  
  966. The -su and -bs flags essentially trade CPU for memory, making
  967. applications work harder in some cases to save server memory.  This
  968. tradeoff isn't as bad as it may sound.
  969.                     [Joel Gringorten]
  970.  
  971. ==============================================
  972. G2. How can I build an X11R5 server for an ULTRIX machine?
  973.  
  974. The display device drivers changed significantly between ULTRIX 4.1
  975. and ULTRIX 4.2.  To build an R5 server on ULTRIX 4.1 system, edit the
  976. the file ultrix.cf in mit/config and #define OSMinorVersion to be 1.
  977. This should cause the Xcfbpmax server to be built instead of the Xdec
  978. server.  Xdec only runs on ULTRIX 4.2 and later.
  979.  
  980. ==============================================
  981. G3. How do I change or get rid of the Digital logo on the login screen of 
  982.     my workstation?
  983.  
  984. To have no logo displayed at all, add this line to /.Xdefaults:
  985.  
  986.     XSessionManager*displayLogo:    no
  987.  
  988. To replace the Digital logo with a different Encapsulated PostScript
  989. image, add the following to /.Xdefaults:
  990.  
  991.     XSessionManager*logoFile:       filename
  992.     XSessionManager*logoFullScreen: true
  993.  
  994. Make sure that "filename" is the full path to a PostScript file.
  995. Note that the PostScript should not end with a "showpage" or the page
  996. will print and then disappear with the "new page."
  997.  
  998. ==============================================
  999. G4. How do I run MIT X11 Software?
  1000.  
  1001. If you are running with Ultrix 4.2 or later, you should have received
  1002. some sort of distribution media with "Unsupported" subsets on it.
  1003. Among those subsets are the following:
  1004.  
  1005.     UDXUNFONTS420 'Unsupported MIT Fonts'
  1006.         UDXUNMAN420   'Unsupported X11 Reference Pages'
  1007.         UDXUNMIT420   'Unsupported X11 Components'
  1008.  
  1009. These subsets, in total, provide the fonts, manual pages, and clients
  1010. from the X11 Release 4 distribution from MIT, with a few minimal
  1011. changes to fix problems that cropped up after the MIT release.
  1012.  
  1013. If all you want is R4 clients, load the above subsets.  These subsets
  1014. were built directly from the X Consortium sources and include all of
  1015. the public patches.  The R4 clients will be installed in /usr/bin/X11;
  1016. put that directory in your path in order to access them.  An ls on
  1017. /usr/bin/X11 will also reveal the names of the applications that are
  1018. available.
  1019.  
  1020. If you have a previous version of Ultrix, or if you need X11 Release
  1021. 5, you will have to build from the X Consortium sources yourself.
  1022. There are some difficulties associated with building Release 4 from
  1023. source on Ultrix versions 4.0 and higher; fortunately, Release 5
  1024. corrects these problems, so be sure to start with a fresh Release 5
  1025. distribution.
  1026.  
  1027. Building from source should be a simple matter of editing the
  1028. mit/config/ultrix.cf file and then connecting to the toplevel
  1029. directory and typing ``Make World''.  If you are running Ultrix 4.2,
  1030. you don't need to edit ultrix.cf, but for other versions of Ultrix, be
  1031. sure to cd to mit/config and change the OSMinorVersion (and, for
  1032. versions of Ultrix prior to 4.0, the OSMajorVersion) number to the
  1033. appropriate number for your version of Ultrix.
  1034.  
  1035. As mentioned in another FAQ answer, the Xdec server provides
  1036. multiscreen capability for colour frame buffers, but features of
  1037. Ultrix required to support this capability are not present prior to
  1038. Ultrix 4.2; for those versions, the Xcfbpmax server will be built;
  1039. this server only supports one display per machine, and only DECstation
  1040. 2100 and 3100 and DECstation 5000 models running with the CX adapter.
  1041.  
  1042. The Xdec server should work on the following systems:
  1043.  
  1044.         DECstation 2100 Monochrome or Color Workstations
  1045.         DECstation 3100 Monochrome or Color Workstations
  1046.         DECstation 5000/1xx CX, MX or HX Single or Multiscreen Workstations
  1047.     DECstation 5000/2xx CX, MX or HX Single or Multiscreen Workstations
  1048.  
  1049. The support for the HX option on the above platforms is limited to
  1050. direct frame buffer I/O - the graphics processor present on the HX
  1051. board will not be used.  This means that performance with the R5
  1052. server will be substantially worse than performance with the
  1053. DEC-supplied server in most cases.  Support for the PX and PXG options
  1054. is not present in R5 in any form.  Support for the MX exists, but some
  1055. problems have been reported when attempting to render non-black,
  1056. non-white pixels.
  1057.  
  1058. Source to X11 Release Five can be copied across the Internet from
  1059. ftp.digital.com (16.1.0.2), crl.dec.com (192.58.206.2), or
  1060. export.lcs.mit.edu (18.24.0.12).  Other internet archives may also
  1061. have full source distributions; asking around on the Usenet newsgroup
  1062. comp.windows.x will probably elicit this information.
  1063.  
  1064. ==============================================
  1065. G5. How do I build X software that I got from the net?
  1066.  
  1067. If you get source code to an X application from somewhere and want to
  1068. build it, here are a few helpful hints:
  1069.  
  1070. First, make sure the following subsets are installed:
  1071.  
  1072.         UDXUNMIT420
  1073.         UDXUNFONTS420
  1074.  
  1075. You may also find the man pages for the previous two subsets
  1076. useful.  They're in:
  1077.  
  1078.         UDXUNMAN420    
  1079.  
  1080. Next, add the following line to the end of /usr/lib/X11/config/site.def
  1081.  
  1082.         #define StandardIncludes -I/usr/include/mit
  1083.  
  1084. If there are any README files with the source code, now is a good time
  1085. to read them, and make any changes they suggest.
  1086.  
  1087. If you installed the MIT X11 distribution from MIT, rather than the
  1088. ULTRIX subsets, your local configuration may be different.
  1089.  
  1090. If there is an Imakefile:
  1091.  
  1092. If the source code has a file called "Imakefile" at the top of its
  1093. directory hierarchy, typing the following in that top-level directory
  1094. should build the application:
  1095.  
  1096.         xmkmf
  1097.         make Makefiles
  1098.         make depend
  1099.         make
  1100.  
  1101. To install the application, type
  1102.  
  1103.         make install
  1104.  
  1105.  
  1106. If there isn't an Imakefile:
  1107.  
  1108. You might have to edit the Makefile to make the application compile.
  1109.  
  1110. If ".h" files (like those for the Athena widget set, "Xaw") are not
  1111. being found, adding "-I/usr/include/mit" to the "cc" command(s) in the
  1112. Makefile will usually do the trick.
  1113.  
  1114. If you are having problems linking, try using "-lXext-mit" and "-lX11-mit"
  1115. instead of "-lXext" and "-lX11" in the Makefile.
  1116.  
  1117. ==============================================
  1118. G6. Why do some applications run slowly on the DECstation PX and PXG
  1119.     displays?
  1120.  
  1121. The PX and PXG graphics adapters are designed for high-speed
  1122. two-dimensional vector drawing and for high-speed three-dimensional
  1123. rotation and polygon fills, respectively.  In order to get maximum
  1124. performance in these specialized areas, both kinds of adapters have
  1125. their own intelligent on-board processor which do high-speed drawing
  1126. operations, and in the case of the PXG, a general purpose RISC
  1127. processor which does 3D rendering, scaling and rotation.
  1128.  
  1129. In order to optimize graphics performance, a tradeoff was made on both
  1130. of these boards which prevents your system CPU from directly accessing
  1131. display memory.  Allowing your system CPU to directly access display
  1132. memory would, at a minimum, cut the graphics accelerator performance
  1133. by a factor of two, and perhaps more.
  1134.  
  1135. Unfortunately, as a result, operations which involve the copying of
  1136. large images (Pixmaps) into or out of display memory are performed
  1137. much more slowly than they would be if the processor were able to
  1138. directly access system memory.
  1139.  
  1140. One example of this is the ever-popular background image.  The X
  1141. server keeps a Pixmap containing the pattern with which to paint the
  1142. root window; whenever an area of the root window is exposed, the X
  1143. server must copy that portion of the Pixmap over the relatively
  1144. low-performance I/O channel to the PX or PXG adapter, which then
  1145. copies it into display memory.
  1146.  
  1147. As a result, iconifying and deiconifying windows can become a fairly
  1148. slow experience, particularly on systems with lower TurboChannel
  1149. bandwidth.  In this case, the solution is simple; just use the
  1150. standard, boring background.  However, if an application that you use
  1151. actually needs to copy Pixmaps to the screen on a regular basis, you
  1152. will definitely experience slow performance; there's no way to fix
  1153. this problem.
  1154.  
  1155. Unless you need the vector performance of the PX or the 3D rendering
  1156. capabilities of the PXG, use one of the several boards DEC produces
  1157. which are optimized for windowing and imaging, such as the CX (dumb
  1158. colour frame buffer), MX (dumb monochrome frame buffer), HX (smart
  1159. colour frame buffer), or TX (imaging colour frame buffer).
  1160.  
  1161.                         [Author lost.]
  1162.  
  1163. ==============================================
  1164. G7. What can I do to improve security with X? Can I use xdm? 
  1165.  
  1166. ULTRIX 4.3 and later support the MIT-MAGIC-COOKIE-1 authorization
  1167. protocol and include xdm as well.  Alpha OSF/1 uses xdm by default and
  1168. also supports the authorization protocol.
  1169.                         [Bob Heiney]
  1170.  
  1171. ==============================================
  1172. H1. Can I mix 8-Megabyte and 32-Megabyte boards in the DECstation 5000/xxx
  1173.     family?
  1174.  
  1175. All DS5000 series machines set the memory stride from the first memory
  1176. array module (this is true of the Personal DECstation and the
  1177. DS5000/1xx series and not just the DS5000/2xx machines). The only
  1178. supported configurations are those in which all of the memory array
  1179. modules are of the same capacity.
  1180.  
  1181. Memory array module types are:
  1182.  
  1183.         MS01-AA   1Mbit DRAM    DS2100,DS3100,PDS5000/20,PDS5000/25,DS5000/120,
  1184.                                 DS5000/125,DS5000/133
  1185.         MS01-CA   4Mbit DRAM    PDS5000/20,PDS5000/25,DS5000/120,DS5000/125,
  1186.                                 DS5000/133
  1187.         MS02-AA   1Mbit DRAM    DS5000/200,DS5000/240
  1188.         MS02-CA   4Mbit DRAM    DS5000/200,DS5000/240
  1189.  
  1190. However, you can place one memory array module of a smaller capacity
  1191. at the end of a series of higher capacity modules.
  1192.  
  1193.                 Slot            Module
  1194.  
  1195.                  0              MS02-CA
  1196.                  1              MS02-CA
  1197.                  2              MS02-AA
  1198.  
  1199. This configuration will work, and be properly recognized by Ultrix,
  1200. but it is not "supported." The console will see all of the memory
  1201. modules. The operating system will be expecting memory in 32MB
  1202. segments and when it hits slot 2 it will simply believe that there are
  1203. 24MB of failed memory on that module.
  1204.  
  1205. It will not be possible to support higher memory congigurations in the
  1206. DS5000 series machines with 16Mbit DRAM cards. The issue is that both the
  1207. physical memory address and the I/O address are provided by the same Kseg0
  1208. block (512MB) in the R3000. This will not change with the advent of the R4000
  1209. daughter cards, as it would require modification of the memory controller ASIC
  1210. (the MT chip) as well.
  1211.  
  1212. ==============================================
  1213. H2. How can I find out which type of DECstation 5000 I have?
  1214.  
  1215. If /etc/sizer -c returns:
  1216. DS5000                 then it's a 5000/200.
  1217. DS5000_100             then it's a 5000/1xx (where xx={20,25,33})
  1218. DS5000_300             then it's a 5000/240.
  1219. DSPERSONAL_DECSTATION  then it's a 5000/xx.
  1220.  
  1221. For something more specific on the 5000/1xx and 5000/xx, you need to
  1222. look at the messages printed out at last boot time (available in the
  1223. error log; use /etc/uerf -R -r 300).
  1224.  
  1225. ==============================================
  1226. H3. How can I run a DECstation without the display?
  1227.  
  1228. To turn a DECstation 2100/3100 into a DECsystem 2100/3100 you need to:
  1229.  
  1230. 1.  Remove the Graphics board, keyboard and mouse.
  1231. 2.  Put a mouse loopback connector in the hole for the mouse
  1232.     plug.
  1233.  
  1234. The loopback connector part number is: 12-25628-01
  1235.  
  1236. To make your own:
  1237.  
  1238. Short Transmit data to Receive Data,        o 1 
  1239. pins 2->4 as shown in the diagram.    7  o +-+  o 2
  1240. (view looking at the plug).           6  o | |  
  1241.                                       5  o +-+  o 3
  1242.                                             o 4
  1243.  
  1244. To run a DECstation 5000/2xx without the display:
  1245.  
  1246. 1. Remove the graphics card, keyboard and mouse.
  1247.  
  1248. 2.  Connect the character terminal to the serial port labelled "3".
  1249.    (9600bps, 8N1, data leads only).  If you are connecting between two
  1250.    computers, use a null modem cable.
  1251.  
  1252.                 [Philip Tait]
  1253. ==============================================
  1254. H4. How do I reset the console (to change password, etc.)?
  1255.  
  1256.         1) Remove the cover
  1257.         2) Look for two sets of jumpers by the main power supply line
  1258.         3) Place a jumper on the jumper with _2_ pins (I.e. not the one
  1259.                 with 3 or 4)  On the 5000/120, this was labeled with
  1260.                 the cryptic letters "wav".
  1261.         4) Boot the machine; reset or delete the password as suits you
  1262.                 (with passwd -s or passwd -c respectively).
  1263.         5) Remove the jumper and you are ready to go.
  1264.  
  1265. ==============================================
  1266. M1. What is the floating-point number representation on ULTRIX?
  1267.  
  1268. The floating point format differs depending on which architecture the
  1269. ULTRIX software is running on.
  1270.  
  1271. Digital's RISC machines all use IEEE floating point representation
  1272. with a little-endian byte ordering.  You can easily convert between
  1273. little and big endian ordering by reversing bytes within the floating
  1274. point number.
  1275.  
  1276. The VAX line uses a unique (although, given the popularity of VAXen)
  1277. quite well known floating point format.
  1278.  
  1279. The ULTRIX C libraries include routines which will translate between
  1280. RISC (IEEE) and VAX floating point formats.  Look under "ftoi" in
  1281. either the online or hardcopy documentation.
  1282.  
  1283. ==============================================
  1284. M2. If the console is a graphics device, can it be used as a terminal for
  1285.     full-screen applications?
  1286.  
  1287. The console emulates a dumb terminal, with no ability to address the screen.
  1288. To run anything like a screen editor, you must start the window system.
  1289.  
  1290. ==============================================
  1291. M3. M3. How do I read a tar image from a TK50 tape if my only TK50 is on a VMS
  1292.     machine?
  1293.  
  1294. On VMS (assuming your tape drive on VMS is MUA0:) :
  1295.  
  1296.     mount/foreign/block=10240/record=10240 mua0:
  1297.     copy mua0: file.tar
  1298.  
  1299. On Ultrix:
  1300.  
  1301.     dcp -i 'vms::where$logical:file.tar' file.tar
  1302.  
  1303. ==============================================
  1304. M4. Why does ULTRIX restrict the number of users on the system?
  1305.  
  1306. The answer to this is two-fold.  The first reason is that due to
  1307. Digital's contract with AT&T, Digital pays royalties to AT&T for its
  1308. ULTRIX product on "bands" of user increments which match up to the
  1309. capacity upgrade licenses which we sell.  For every ULTRIX upgrade
  1310. license sold, Digital sends a portion of that royalty payment to AT&T.
  1311. Other vendors have worked other licensing arrangements with AT&T. 
  1312.  
  1313. The second reason is that Digital depends more on "personal" use of an
  1314. operating system, and tries to break up the costs of providing an
  1315. operating system depending on the number of users using it.  Rather
  1316. than charge a larger amount of money for a two-user system, Digital
  1317. charges a base amount of money, then distributes the rest of the
  1318. development costs across the per-user license base.  Digital hopes
  1319. that this gives an equitable and affordable system to all customers. 
  1320.                     [Jon "maddog" Hall]
  1321.  
  1322. ==============================================
  1323. M5. Where else can I discuss ULTRIX with other users?
  1324.  
  1325. The decstation-managers mailing list is a rapid-turnaround vehicle for
  1326. Ultrix (and maybe OSF/1 someday) administrators to reach a pool of
  1327. people with similar expertise who might be able to help them resolve a
  1328. problem they're having.  There's no discussion on the list--just
  1329. questions and summaries of responses to those questions.
  1330.  
  1331. To join the list, send a message containing:
  1332.  
  1333.         subscribe decstation-managers
  1334.  
  1335.     to majordomo@ornl.gov.  To subscribe an address other than your
  1336.     return address, such as a local exploder, add that address to the
  1337.     subscribe command, e.g.:
  1338.  
  1339.         subscribe decstation-managers decstation-managers@foo.bar
  1340.                         [Dave Sill]
  1341.  
  1342. ==============================================
  1343. M6. What is the part number for an ULTRIX source code license?
  1344.  
  1345. For educational institutions (these are not listed in the SPD):
  1346.  
  1347.         MODEL                                                         
  1348.         NUMBER      DESCRIPTION                   
  1349.       ----------    ----------------------------- 
  1350.    1  QB-0JRAA-E5   Ultrix/UWS Edu Source Code    
  1351.    2  QB-0JRAA-EM   Ultrix/UWS Edu Source Code    
  1352.    3  QB-0JRAE-E5   Ultrix/UWS Edu Source Code    
  1353.    4  QB-0JRAE-EM   Ultrix/UWS Edu Source Code    
  1354.  
  1355. This is a little confusing, since the "DESCRIPTION" of all four kits is
  1356. the same.  As far as I know, you need to order the -0JRAA- kit the
  1357. first time, and the -0JRAE- ("update") kit for subsequent releases.
  1358. Probably, this is so that you don't have go through a complete set of
  1359. paperwork for a new release.  You have to have to meet a number of other
  1360. requirements; see the Software Product Description (SPD) for more details.
  1361.  
  1362. The -E5 kits are on TK50, and the -EM kits are on 9-track magtape.
  1363. I don't believe that the source kits are available on any other medium.
  1364.  
  1365. All 4 part numbers have the same list price (not especially expensive).
  1366. I don't know if they are available outside the US.
  1367.  
  1368. If you're not at an educational institution, here are the corresponding
  1369. part numbers (these are listed in the SPD, by the way):
  1370.         MODEL                                                         
  1371.         NUMBER      DESCRIPTION                   
  1372.       ----------    ----------------------------- 
  1373.    1  QB-0JQAA-E5   ULTRIX WS LOC.USE SOURCE TK50 
  1374.    2  QB-0JQAA-EM   ULTRIX WS LOC.USE SOURCE 16MT 
  1375.    3  QB-0JQAE-E5   ULTRIX WS LOC.USE SOURCE TK50 
  1376.    4  QB-0JQAE-EM   ULTRIX WS LOC.USE SOURCE 16MT 
  1377.  
  1378. These are more expensive.
  1379.                         [Jeff Mogul]
  1380.  
  1381. ==============================================
  1382. M7. What is the future of ULTRIX?
  1383.  
  1384. ULTRIX V4.5, an update of V4.4 primarily with bug fixes, has begun to ship
  1385. as of December 1995.  This is likely to be the last release of ULTRIX.
  1386.  
  1387.                 [Steve Lionel]
  1388. [End of FAQ]
  1389.