home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / answers / dec-faq / ultrix < prev    next >
Encoding:
Internet Message Format  |  1993-12-16  |  52.5 KB

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