home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1994 June / NEBULA_SE.ISO / Documents / FAQ / Dec-faq / ultrix < prev    next >
Encoding:
Text File  |  1993-08-05  |  49.1 KB  |  1,230 lines

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