home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / apollo / 3459 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  70.2 KB

  1. Xref: sparky comp.sys.apollo:3459 news.answers:2786
  2. Path: sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!eba!ebh!wjw
  3. From: wjw@ebh.eb.ele.tue.nl (Willem Jan Withagen)
  4. Newsgroups: comp.sys.apollo,news.answers
  5. Subject: comp.sys.apollo FAQ (september)
  6. Message-ID: <1660@eba.eb.ele.tue.nl>
  7. Date: 1 Sep 92 09:17:14 GMT
  8. Expires: 1 Dec 92 01:01:01 GMT
  9. Sender: news@eb.ele.tue.nl (The News system)
  10. Organization: Eindhoven University of Technology, The Netherlands
  11. Lines: 1877
  12. Approved: news-answers-request@MIT.edu
  13. Suppersedes: <1606@eba.eb.ele.tue.nl>
  14.  
  15. This is the Apollo Frequently Asked Questions file.  I compiled it from
  16. various sources.  
  17.  
  18. As of 25 march 92 this file is maintained by Willem Jan Withagen.
  19. You can mail possible items to add to the file to:
  20.     wjw@eb.ele.tue.nl
  21.  
  22.     Willem Jan Withagen, 
  23.     Eindhoven University of Technology, 
  24.     The Netherlands.
  25.  
  26. Topics:
  27.  
  28.  1 )  Is there an archive of comp.sys.apollo?
  29.  2 )  Where can I get "foo" for my Apollo (for all values of "foo"
  30.       where "foo" is some freely available software package)?
  31.  3 )  Would anyone have a termcap entry that will work correctly with
  32.       the VI editor?
  33.  4 )  Why is X so slow at sr10.2?
  34.  5 )  Why do I get these errors when I try to compile an X application?
  35.  6 )  Where can I get x11r4?
  36.  7 )  A list of third-party component vendors.
  37.  8 )  Where can I get a version of sendmail which supports MX records?
  38.  9 )  "does this or that version of sendmail work on apollos?"
  39.  10)  What is "unknown mailer error 1?"
  40.  11)  How can I use the DM editor for mail or while su'd?
  41.  12)  How can I keep my node clocks synchronized?
  42.  13)  When I try to use NFS on my IBM PC to access files on my
  43.       Apollo, it complains about not finding an "Authentication Server."
  44.  14)  Why doesn't Apollo ftpd support anonymous ftp?
  45.  15)  How can I get auto word-wrapping in the DM?
  46.  16)  How can I connect my Macs to my Apollo in a reasonable way?
  47.  17)  Are the VT100 PF1-PF4 keys defined in the Apollo version of xterm?
  48.  18)  What else should I know about X keysyms?
  49.  19)  Where can I get emacs?
  50.  20)  Do you have a problem with Gnu Emacs' C-x` command?
  51.  21)  Does anybody know where I can get proxy ARP?
  52.  22)  Are there third-party vendors of ethernet boards?
  53.  23)  How do I enable IP name service?
  54.  24)  Why can't I log in as root anywhere except a DM pad?
  55.  25)  How can I determine the load average without /dev/kmem?
  56.  26)  Why do I get "cannot start daemon" when I try to use lpr?
  57.  27)  How can I get my printer to work?
  58.  28)  Do I need to buy Omniback to use my Exabyte 8mm tape drive?
  59.  29)  How can I read cartridges written on SUN systems?
  60.  30)  Does anyone out there know about using DAT drives for backing up Apollos?
  61.  31)  How do I use wbak to write stdout to a SUN workstation's tape?
  62.  32)  Why does routed not work for long periods of time under SR10.2?
  63.  33)  Does Apollo NFS work?
  64.  34)  How can I get gcc and g++ to run?
  65.  35)  Where can I get an assembler?
  66.  36)  What's the story on adding more disks to my node?
  67.  37)  I'm trying to get a SCSI-2 type disk to work with my Apollo but it
  68.       does seem to work. What did I do wrong?
  69.  38)  What are the connections in a 3-way serial porst splitter.
  70.  39)  Why do I get:
  71.          Unable to go into maintenance state  User not authorized to
  72.          perform operation (network computing system/Registry Server)
  73.  40)  Fixing your 19" monochrome monitor.
  74.  41)  How well does SLIP work?
  75.  42)  What are the internal names for the various node types?
  76.  43)  Where else can I go besides HP for repairs?
  77.  44)  How do I find out about, and fix, bad spots on my disk?
  78.  45)  Why does my dn10000 ethernet interface stop working?
  79.  46)  Has anyone else experienced power-supply problems with their
  80.       Apollo 10000.
  81.  47)  Former maintainer
  82.  48)  Contributers
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89. ===============
  90.  
  91.  1 )     Is there an archive of comp.sys.apollo?
  92.  
  93. Answer:
  94.  
  95. There is an archive and an info server at the Eindhoven University of
  96. Technology, maintained by Willem Jan Withagen <wjw@ebh.eb.ele.tue.nl>.  To
  97. try it out, telnet to apoinfo.eb.ele.tue.nl on port 3401 from a vt100 or
  98. equivalent.  From your Apollo, for example, start up an xterm or vt100 and
  99. run "telnet apoinfo.eb.ele.tue.nl 3401" .
  100.  
  101. An archive of the comp.sys.apollo newsgroup is maintained by Jim Richardson
  102. (jimr@maths.su.oz.au) and is available by anonymous FTP from maths.su.oz.au
  103. (129.78.68.2).
  104.  
  105. The file README.FIRST in directory comp.sys.apollo gives details of the organ-
  106. ization of the archive, which goes back to November 1989.
  107.  
  108. There are index files, which contain the following fields from each article:
  109.  
  110.     From        Subject        Summary        Keywords
  111.     Message-ID    References    Date
  112.  
  113. These indices should be useful to people wanting to search through the wealth
  114. of information in the archive for answers to questions that have been discussed
  115. in the newsgroup in the past.
  116.  
  117. ===============
  118.  
  119.  2)  Where can I get "foo" for my Apollo (for all values of "foo"
  120.      where "foo" is some freely available software package)?
  121.  
  122. Answer:
  123.  
  124. Many things are available by anonymous ftp over the Internet.  Check the
  125. "Anon-FTP-sites" file on archive.umich.edu.  A good place to find Apollo
  126. specific code is
  127.          the ADUS archive at adus.ecn.uiowa.edu.
  128. Also try
  129.          archive.umich.edu,
  130.          hpcvaaz.cv.hp.com,
  131.          maths.su.oz.au,
  132.      and ftp.eb.ele.tue.nl.
  133.  
  134. ===============
  135.  
  136.  3 )  Would anyone have a termcap entry that will work correctly with
  137.       the VI editor?
  138.  
  139. Answer:  Nope.  You have to use the vt100 emulator (which ought to get loaded
  140.     automatically when you run vi - unless you're trying to do it remote).
  141.     You can also use an xterm.
  142.  
  143.     Pads are not terminals.
  144.     Workstations were supposed to obsolete terminals.
  145.     But they didn't.
  146.     But pads still aren't terminals.
  147.  
  148. ===============
  149.  
  150.  4 )  Why is X so slow at sr10.2?
  151.  
  152. Answer:
  153.     You need to install "psk5".  This should be available from your friendly
  154.     HP/Apollo sales office.  It's fixed in sr10.3.
  155.  
  156. ===============
  157.  
  158.  5 )  Why do I get these errors when I try to compile an X application?
  159.  
  160. xtiff.c: 63: Unable to find include file 'X11/Xaw/Form.h'.
  161. xtiff.c: 64: Unable to find include file 'X11/Xaw/List.h'.
  162. xtiff.c: 65: Unable to find include file 'X11/Xaw/Label.h'.
  163.  
  164. Answer:
  165.  
  166. Your application was written for X11r4, and your Apollo only has X11r3.
  167. Even though r5 is out now, HP still only fully supports r3 -- that puts them
  168. two revs behind.
  169.  
  170.  
  171. ===============
  172.  
  173.  6 )  Where can I get x11r4?
  174.  
  175. Answer:
  176.  
  177. Your r4 clients will work just fine with the Apollo share-mode r3 X server.
  178. The psk_q3_91 from Apollo includes some r4 client libraries (but not Xaw,
  179. the Athena widgets) and a server that runs simultaneously with the DM, but
  180. rather than sharing the screen, you switch between them with a hot key.  You
  181. can get this by anonymous ftp from hpcvaaz.cv.hp.com, in the directory
  182. ~ftp/pub/apollo/pskq3_91 .  You can get shared r4 client libraries in binary
  183. form by ftp from archive.umich.edu.  You can get x11r4 sources from the
  184. following sites:
  185.  
  186.                         Machine                  Internet      FTP
  187.     Location            Name                     Address       Directory
  188.     --------            -------                  --------      -------------
  189. (1) West USA            gatekeeper.dec.com       16.1.0.2      pub/X11/R4
  190.     Central USA         mordred.cs.purdue.edu    128.10.2.2    pub/X11/R4
  191. (2) Central USA         giza.cis.ohio-state.edu  128.146.8.61  pub/X.V11R4
  192.     Southeast USA       uunet.uu.net             192.48.96.2   X/R4
  193. (3) Northeast USA       crl.dec.com              192.58.206.2  pub/X11/R4
  194. (4) UK Janet            src.doc.ic.ac.uk         129.31.81.36  X.V11R4
  195.     UK niftp            uk.ac.ic.doc.src                       <XV11R4>
  196. (5) Australia           munnari.oz.au            128.250.1.21  X.V11/R4
  197.  
  198.  
  199. ===============
  200.  
  201.  7 ) A list of third-party component vendors.
  202.  
  203. I am looking for addresses for Apollo third-party vendors for disk
  204. and memory (DNxxxxx's, PRISM, and 400 series). Anyone have a list of
  205. addresses? Any info would be appreciated.
  206.  
  207. Answer:
  208.  
  209. ======================================================================
  210. DISCLAIMER:  I will neither vouch for, nor complain about, any of the
  211. following companies.  I have never worked for any of them, nor am I
  212. receiving any favoritism from them.  To the best of my knowledge, the
  213. products listed are available from them, but it is not necessarily a
  214. COMPLETE list of products -- please call them yourself.
  215. The vendors listed are not in any particular order.  I typed them as
  216. their addresses came up in my folders.
  217. The last three companies _appear_ to be HP suppliers primarily.  If 
  218. this is true, I would expect them to deal mainly in the 9000 series
  219. peripherals.  (However -- again -- call them).
  220.  
  221. John Thompson (jt)
  222. Honeywell, SSEC
  223. Plymouth, MN  55441
  224. thompson@pan.ssec.honeywell.com
  225.  
  226. ======================================================================
  227.  
  228. National Peripherals, Inc
  229. 1111 Pasquinelli Drive, Suite 400
  230. Westmont, IL  60559
  231. (312) 325-4151
  232. ==> DNxxxx memory
  233. ==> 9000/400 series memory, I believe
  234. ==> Maxtor 8760E (697MB) disk drives
  235. ==> SCSI drives for 9000/400 series
  236. ==> Exabyte 8mm tape drives
  237. ==> other disk drives, etc.
  238.  
  239.  
  240. North Central Peripherals
  241. 14041 Burnhaven Drive, Suite 114
  242. Burnsville, MN  55337
  243. (612) 881-2302
  244. ==> DNxxxx memory
  245. ==> 9000/400 series memory
  246. ==> Maxtor 8760E (697MB) disk drives
  247. ==> Exabyte 8mm tape drives
  248. ==> other disk drives, etc.
  249.  
  250. AnDATAco Computer Peripherals
  251. 9550 Waples Street
  252. San Diego, CA  92121
  253. (619) 453-9191
  254. ==> DNxxxx memory
  255. ==> Maxtor 8760E (697MB) disk drives
  256. ==> Exabyte 8mm tape drives
  257. ==> other disk drives, etc.
  258.  
  259. Infotek Systems
  260. 1045 S. East Street
  261. Anaheim, CA  92805
  262. (714) 956-9300
  263. ==> 9000/400 series memory
  264.  
  265. Martech
  266. 1151 West Valley Boulevard
  267. Alhambra, CA  91803
  268. (818) 281-3555
  269. ==> 9000/400 series memory
  270.  
  271. Digital Micronics, Inc
  272. 5674 El Camino Real, Suite P
  273. Carlsbad, CA  92008
  274. (619) 931-8554
  275. ==> 9000/400 series memory
  276.  
  277.  -- John Thompson (jt)
  278.     Honeywell, SSEC
  279.     Plymouth, MN  55441
  280.     thompson@pan.ssec.honeywell.com
  281.  
  282. Also:
  283.  
  284. Here are the names/addresses of two third party vendors that I have had
  285. good luck with.
  286.  
  287.    local office                       corporate
  288.    Mesa Tech                          MESA Tech
  289.    267 Boston Rd.; Suite 13           9720 Patuxent Woods Drive
  290.    Billerica, MA  01862               Columbia, Maryland 21046
  291.    ATN: Michael Hall                  301-290-8150
  292.         508-663-8254
  293.    ==> HP SCSI drives for 9000/400 series
  294.    ==> Exabyte 8mm tape drives
  295.    ==> other disk drives, etc.
  296.    
  297.    Clearpoint Research
  298.    35 Parkwood Dr
  299.    Hopkinton Ma 01748
  300.    508-435-2000
  301.    800-877-7519 (New England)
  302.    ==> DNxxxx memory
  303.    ==> 9000/400 series memory
  304.  
  305.  -- Greg Rocco
  306.     MIT Lincoln Lab
  307.     rocco@ll.mit.edu
  308.  
  309.  
  310. ===============
  311.  
  312.  8 )  Where can I get a version of sendmail which supports MX records?
  313.  
  314. Answer:  
  315.  
  316. Sendmail 5.61+IDA is available by anonymous ftp from eng.clemson.edu in
  317. directory mail+ftp.  For some small patches to make it run better under
  318. Domain/OS, ftp the file sendmail.5.61-apo.Z from maths.su.oz.au.
  319.  
  320.  -- Jim Richardson
  321.  
  322. Also, check out Neil Rickert's version of sendmail 5.65 with the IDA
  323. enhancements available from uxc.cso.uiuc.edu in
  324. pub/sendmail-5.65+IDA-1.4.2.tar.Z
  325.  
  326.  -- ianh@bhpmrl.oz.au (Ian Hoyle)
  327.  
  328. Rumor has it that sr10.4 comes equipped with sendmail 5.65b+IDA-1.4.3, which
  329. supports MX records.
  330.  
  331.  -- Jim Rees
  332.  
  333.  
  334. ===============
  335.  
  336.  9 ) "does this or that version of sendmail work on apollos?"
  337.  
  338.      the questioncan be rephrased:
  339.          "does this version of apollo work under sendmail?"
  340.  
  341. Answer:
  342.  
  343. are there sites out there that deliver or queue 8,000 - 10,000 messages
  344. a day on/through their ring?
  345.  
  346. we do.
  347.  
  348. three mods to mail are required to handle this volume of mail.
  349.  
  350. 1.  use dbm files for /etc/passwd info, and do not query the rgy all
  351. the time.
  352.  
  353. 2.  use nR_xor_1W concurrency control and not cowriters, so you are
  354. able to have different nodes process files without regard for which
  355. node has the disk attached.
  356.  
  357. 3.  have sendmail "tempfail" errors like ios_$concurrency_violation,
  358. and get clues from the difference between ios_$name_not_found and
  359. ios_$object_not_found.  Along with #2, this makes alias files much
  360. easier to deal with.  Also makes it harder to miss someone's forward
  361. file.
  362.  
  363. 3a.  display the apollo error text, and not just the perror() text.  if
  364. you see things like sfcb allocation failures, or can't lock pipe
  365. errors, just go ahead and reboot.
  366.  
  367. if you use the rgy, and do any volume, you need to make sure that any 0
  368. returned by getpw routines is not accompanied by an errno.  if you use
  369. the /etc//passwd approach, you will get your errors at open time (you 
  370. hope) but we have seen hours and hours go by and still a machine will
  371. not successfully get the rgy data cached into `node_data/systmp.
  372.  
  373. when we quit using the rgy, we discovered that we ran into other
  374. problems, like not getting sfcbs, having mutex locks never released by
  375. processes trying to get an IP route, and other fatalities.  So, I call
  376. proc2_$list() and see how many procs are running.  The load average is
  377. not sufficient because the # of procs can get quite large without
  378. appreciably bumping the load ave.
  379.  
  380. Anyway, I don't know offhand what arrangements the "king james" or IDA
  381. releases make for apollos, but in my experience the aforementioned ones
  382. have been crucial here.
  383.  
  384. We also spike a dec3100 at load aves. of anywhere from 40-60 doing news
  385. and mail, so after a while, you just get used to "big mail."
  386.  
  387. Having said all this, the apollo/domain file system architecture is
  388. really very good for doing the definitive distributed mail
  389. environment.  We do run into loading problems and plain old bugs, but
  390. we could not provide the scale of service we do now on anything but
  391. apollos, quite honestly.
  392.  
  393. One hopes that other distributed or networked file systems will get
  394. better and have features that support the same sort of functionality
  395. I've gotten used to on apollos.
  396.  
  397.  -- paul@CAEN.ENGIN.UMICH.EDU (Paul Killey)
  398.  
  399.  
  400. ===============
  401.  
  402.  10)  What is "unknown mailer error 1?"
  403.  
  404. Answer:
  405.  
  406. The Apollo file system uses mandatory, implicit locks.  The Apollo mail
  407. system has never been fixed to properly deal with this.
  408.  
  409. Mail is usually delivered to the spool file by /bin/mail.  If /bin/mail is
  410. busy delivering mail when you try to collect it, you will be unable to open
  411. the spool file.  If you are busy collecting mail when /bin/mail tries to
  412. deliver, then sendmail will see the infamous "unknown mailer error 1."
  413.  
  414. As far as I know, /bin/mail doesn't use any other locking scheme.  It can't
  415. use flock(), since flock() can only be called on open files.  It may use
  416. .lock files but I doubt it.
  417.  
  418. The proper solution to all this is to write a new version of /bin/mail that
  419. retries on locked spool files, and make sure all your mail reading agents
  420. keep the spool file open only long enough to collect the mail, and also
  421. retry on locked files.  Apollo should do this.  You shouldn't have to.  Don't
  422. hold your breath waiting for this to happen.
  423.  
  424.  -- Jim Rees
  425.  
  426. I think Apollo patch pd91-m0336 (Oct 1, 1991) fixes the  mail file locking
  427. problem that results in the "unknown mailer error" message from sendmail.
  428.  
  429.  -- orchard@eceserv0.ece.wisc.edu (Bruce Orchard)
  430.  
  431.  
  432. ===============
  433.  
  434.  11) How can I use the DM editor for mail or while su'd?
  435.  
  436. Answer: Many people have written programs to call the DM editor from a program
  437. and wait until it exits.  For one solution, ftp the file dmedit.tar.Z from
  438. maths.su.oz.au or ftp.eb.ele.tue.nl.
  439.  
  440.  
  441. ===============
  442.  
  443. Question:  Why won't kermit compile (or run) on my Apollo?
  444.  
  445. Answer:  There are some very old versions of kermit that have #ifdefs for
  446. Apollo in them.  These are no longer necessary with Domain/OS (they were
  447. needed for previous versions of Aegis with Domain/IX).  Get the standard
  448. Unix kermit and use that.  I recommend the one on cuvmb.cc.columbia.edu.
  449.  
  450.  
  451. ===============
  452.  
  453.  12)  How can I keep my node clocks synchronized?
  454.  
  455. Answer:
  456.  
  457. Use xntp, available from the usual ftp sites.  See the file Readme.xntp for
  458. Apollo patches.  See date.tar.Z for a simple program that just sets one
  459. node's clock from another node's clock.
  460.  
  461.  -- Jim Rees
  462.  
  463. timed works well on SR10.2-nodes (it did not work in SR10.1).
  464.  
  465. We start it from rc.local as follows:
  466.     /etc/timed -M -n <name of the local network>
  467. and we list this local network in /etc/networks.
  468. This works well for synchronizing the clocks among
  469. all Apollos in the local network.
  470.  
  471. Recently, we wanted to synchronize the clocks with the
  472. outside world also (i.e. other workstations in our department).
  473. Our Apollos are connected through a token ring, but
  474. one of them has an Ethernet card and runs routed to
  475. provide the connection to the outside world. On
  476. this machine we do the following:
  477.         /etc/timed -M
  478.  
  479. The other ones still listen only to the local network, and do
  480. not attempt to become master anymore:
  481.         /etc/timed -n <name of the local network>
  482.  
  483. This implies that when booting our Apollos the "master machine"
  484. must go first.
  485.  
  486. timed only accepts corrections from the timed on
  487. another machine if they are not "too extreme". In the latter
  488. case set the clocks manually using /bin/date once
  489. before starting the time daemons. If you set a clock
  490. backwards, don't do it with /bin/date, but shut the node down, use 
  491.  
  492. >EX CALENDAR
  493.  
  494. to set date and time, and wait for the amount of time that you had set
  495. the clocks backwards before rebooting. This avoids
  496. duplicate time stamps.
  497.  
  498. For all this to work correcty, TCP/IP has to be installed properly.
  499.  
  500. Best regards, Annegret
  501. --
  502.  Annegret Liebers, Technische Universitaet Berlin, FB 3 (Mathematik), MA 6-1,
  503.            Strasse des 17. Juni 136, W - 1000 Berlin 12, Germany
  504.                        Tel:  +49 - 30 - 314 - 25791
  505.                  email:  annegret@combi.math.tu-berlin.de
  506.  
  507.  
  508. ===============
  509.  
  510.  13)  When I try to use NFS on my IBM PC to access files on my
  511.       Apollo, it complains about not finding an "Authentication Server."
  512.  
  513. Answer:
  514.  
  515. Like always: There's an easy one, and a hard one.
  516.  
  517. Easy:    Get /pub/apollo/local/etc/pcnfsd.v1
  518.          or /pub/apollo/local/etc/pcnfsd.v2
  519.         /pub/apollo/local/man/{m,c}atl/pcnfsd.l
  520.     At ftp.eb.ele.tue.nl
  521.  
  522. Which should get it all to work.
  523. (Don't try pcnfsd.new, since that's the version 2 I'm working on, which
  524.  supports membership to multiple groups, but has printing sort of
  525.  messed up. )
  526. Goto /usr/adm, touch the file pcnfsd.log and from there execute the
  527. pcnfsd. You get a nice log, which needs to be cleaned on regular
  528. occasions.
  529.  
  530. (Note I keep a version with some changes to have it easier compile on
  531.  Apollo's in /ftp/pub/apollo/sunrpc3.9a.tar.Z )
  532.  
  533. Now I've compiled this set with RPC version 3.9, and the most recent
  534. one is 4.0. So You might choose the hard way:
  535.     Get the RPC stuff, archie could tell you where.
  536.     Get the code for the ftp-deamon (/pub/apollo/pcnfsd.v1.3.tar.Z)
  537. And just compile to only make the library and then compile the pcnfsd. 
  538. It's not all that hard.
  539.  
  540.  -- wjw@eb.ele.tue.nl (Willem Jan Withagen)
  541.  
  542.  
  543. ===============
  544.  
  545.  14)  Why doesn't Apollo ftpd support anonymous ftp?
  546.  
  547. Answer:  Anonymous ftp depends on the chroot() call, which doesn't work on
  548. Apollo.  There is a patched version of ftpd that supports anonymous ftp by
  549. fixing all path names before passing them off to the system.  It's available
  550. (by anonymous ftp!) from various places, including ocf.berkeley.edu,
  551. archive.umich.edu, and ftp.eb.ele.tue.nl.
  552.  
  553.  
  554. ===============
  555.  
  556.  15)  How can I get auto word-wrapping in the DM?
  557.  
  558. Answer:
  559.  
  560. WW is an undocumented DM command to do word wrap on the currently selected
  561. region or to set word wrapping mode for text subsequently entered.  Options:
  562.  
  563.      -ON   Turn on word wrap and set column at current right margin
  564.      -OFF  Turn off word wrap
  565.      -C nn Turn on word wrap and set column at specified value
  566.      -A    Wrap selected region
  567.      -I    Query current column setting
  568.  
  569.  -- stluka@software.org (Fred Stluka)
  570.  
  571.  
  572. ===============
  573.  
  574.  16)  How can I connect my Macs to my Apollo in a reasonable way?
  575.  
  576. Answer:  See the file mac-apollo (separate file because of its length).
  577.  
  578.  -- Carlton B. Hommel <carlton@apollo.hp.com>
  579.  
  580.  
  581. ===============
  582.  
  583.  17)  Are the VT100 PF1-PF4 keys defined in the Apollo version of xterm?
  584.  
  585. If so,where are they?  If not, can someone give me a hint how to define
  586. them (or how to redefine any key for that matter).
  587.  
  588.  -- John A. Breen
  589.  
  590. Answer:
  591.  
  592. The manual "Using the X Window System on Apollo Workstations" is the place
  593. to look for some of this -- it's a good summary, but not an exhaustive
  594. treatise on X.  The answer to your question is that you will need to use the
  595. client "xmodmap" in order to simulate the keys which are not physically
  596. present on the Apollo keyboard (PF1-PF4 as an example).
  597.  
  598. Since you are running in a "dm owns root" configuration, you'll need to take
  599. into account the "keyboard.config" file which tells XApollo "this list of
  600. keys doesn't exist for X, pass them through to the Apollo Display Manager".
  601. This is important because you don't want to remap keys for xterm which
  602. XApollo will not GIVE to xterm. See section 2.2.2 in the manual for a
  603. detailed discussion about the /usr/lib/X11/keyboard/keyboard.config file.
  604.  
  605. Once you have picked a set of physical keys to emulate the PF keys, feed
  606. this to xmodmap using the physical keycode and the keysym name (from the
  607. include file /usr/include/X11/keysymdef.h).
  608.  
  609. Example - you want to make the "AGAIN" key map to PF1.  Looking at the
  610. output of "xmodmap -pk" you see that it is labeled "Redo" (which agrees with
  611. the entry in the keyboard.config file), and it is keycode value 158.
  612. Looking at the include file keysymdef.h, you see "#define XK_KP_F1 0xFF91"
  613. which is the entry for "keypad function key 1" - also known as PF1.  The
  614. xmodmap client will take either a file entry or a command line remapping, so
  615. you could invoke it as < xmodmap -e "keycode 158 = KP_F1" > (the quotes are
  616. required on the command line) and the deed is done.
  617.  
  618. If you don't have a copy of the manual, you can get one by using the order
  619. number "015213-A02". Hope that helps.
  620.  
  621.  -- weber_w@apollo.HP.COM (Walt Weber)
  622.  
  623.  
  624. ===============
  625.  
  626.  18)  What else should I know about X keysyms?
  627.  
  628. Answer:
  629.  
  630. I suggest you put the following into /usr/X11/lib/XKeysymDB :
  631.  
  632. LineDel:        1000FF00
  633. CharDel:        1000FF01
  634. Copy:           1000FF02
  635. Cut:            1000FF03
  636. Paste:          1000FF04
  637. Move:           1000FF05
  638. Grow:           1000FF06
  639. Cmd:            1000FF07
  640. Shell:          1000FF08
  641. LeftBar:        1000FF09
  642. RightBar:       1000FF0A
  643. LeftBox:        1000FF0B
  644. RightBox:       1000FF0C
  645. UpBox:          1000FF0D
  646. DownBox:        1000FF0E
  647. Pop:            1000FF0F
  648. Read:           1000FF10
  649. Edit:           1000FF11
  650. Save:           1000FF12
  651. Exit:           1000FF13
  652. Repeat:         1000FF14
  653. KP_parenleft:   1000FFA8
  654. KP_parenright:  1000FFA9
  655.  
  656. This will let you refer to these keys by name.  For example, the following
  657. resource will define scroll keys for your xterm.  You can put this resource
  658. into your ~/.Xdefaults file and it will get loaded when you start an xterm.
  659.  
  660. XTerm*VT100.Translations: #override \
  661.     <KeyPress>UpBox       : scroll-back(1,halfpage) \n \
  662.     <KeyPress>DownBox     : scroll-forw(1,halfpage) \n
  663.  
  664. If you use emacs or motif, you may want to define a "meta" key (motif calls
  665. this an "alt" key, presumably because IBM has some pull at OSF).  You can do
  666. this by creating a ~/.keymod file, an put this in it:
  667.  
  668.   clear mod1
  669.   keycode 147 = Meta_L
  670.   add mod1 = Meta_L
  671.  
  672. This makes F0 your meta key.  You can use whatever key you want as your
  673. meta, of course.  Use xev to find out the keycode for the key you want.
  674. Then, when you log in, run this command (I put this in ~/.xsession, which
  675. gets run on my machine when I log in):
  676.  
  677.   /usr/bin/X11/xmodmap .keymod
  678.  
  679.  -- Jim Rees
  680.  
  681.  
  682. ===============
  683.  
  684.  19)  Where can I get emacs?
  685.  
  686. Answer:
  687.  
  688. A new version of my modifications to GNU Emacs for the Apollo is now available.
  689. This version supports GNU Emacs 18.57, Domain/OS SR10.2 and SR10.3, and the
  690. latest release of the Domain C Compiler...
  691.  
  692. I am distributing this release from labrea.stanford.edu (36.8.0.47).  The
  693. following files are available for anonymous ftp from the "pub/gnu" directory:
  694.  
  695.     APOLLO.README            README for Apollo GNU Emacs
  696.     apollo-emacs.tar.Z        Apollo GNU Emacs modifications
  697.  
  698. As always, to install my Apollo GNU Emacs modifications, uncompress and untar
  699. "apollo-emacs.tar.Z" on top of a unmodified GNU Emacs 18.57 distribution tree,
  700. and consult "APOLLO.README" for building instructions.
  701.  
  702. Note: There is a bug in SR10.2 tar such that overwritten files are not
  703. necessarily truncated to the proper size.  Before you untar the file under
  704. SR10.2, execute the following commands:
  705.  
  706. rm README etc/APOLLO etc/MACHINES info/dir lisp/cl-indent.el* lisp/info.el*
  707. rm lisp/lisp-mode.el* lisp/paths.el* lisp/rmail.el* lisp/rnews.el*
  708. rm lisp/server.el* lisp/shell.el* lisp/startup.el* src/Makefile src/crt0.c
  709. rm src/dired.c src/dispnew.c src/emacs.c src/fileio.c src/fns.c src/keyboard.c
  710. rm src/m-apollo.h src/process.c src/sysdep.c src/x11fns.c src/x11term.c
  711. rm src/xdisp.c src/ymakefile
  712.  
  713.                 Leonard N. Zubkoff
  714.         Lucid, Incorporated
  715.  
  716.  
  717. Also, if you want a multi-window X version of emacs, check out epoch,
  718. available from cs.uiuc.edu.  - Jim Rees
  719.  
  720.  
  721. ===============
  722.  
  723.  20)  Do you have a problem with Gnu Emacs' C-x` command?
  724.  
  725. Gnu Emacs 18.55 (with Leonard N. Zubkoff's patches for sr 10.2) seems to
  726. have a problem with shell subprocesses.  At times the 0x0 character
  727. (displayed as ^@ by emacs) appears in buffers running a shell.  While this is
  728. only a nuisance running an inferior shell, it is a problem when running the
  729. M-x compile command: The C-x ` (next-error) function is unable to process
  730. the compiler output. Has anybody found out what causes this problem and how
  731. to fix it? Any hints will be appreciated!
  732.  
  733.  -- mike@vlsivie.tuwien.ac.at (Michael K. Gschwind)
  734.  
  735. Answer:
  736.  
  737. This should probably go in some kind of FAQ list (sigh)...  Emacs talks to
  738. its subsprocesses using pseudo ttys (ptys among friends).  On Apollos, ptys
  739. occasionally get corrupted, and the problem you describe results.
  740. Rebuilding the ptys helps, but it can have funny side effects to any users
  741. logged in on those ptys.  We rebuild ours once per week.  That seems to
  742. avoid the problem most of the time, but of course your mileage may vary.
  743. Here is the relevant line from our /usr/lib/crontab (running the shell
  744. script at 04:00 every Sunday morning):
  745.  
  746. 0          4 * * 7 root /usr/local/lib/fix_ptys
  747.  
  748. and here is /usr/local/lib/fix_ptys:
  749.  
  750. #!/bin/csh -f
  751. /bin/rm -f /dev/[pt]ty[pq][0-9a-f]
  752. /etc/crpty 32
  753.  
  754.  -- 
  755.  
  756.  
  757. ===============
  758.  
  759.  21)  Does anybody know where I can get proxy ARP?
  760.  
  761. Answer:  Proxy ARP is a bad idea.  Apollo has wisely decided not to
  762.     support it.  Use subnets instead.
  763.  
  764.  
  765. ===============
  766.  
  767.  22)  Are there third-party vendors of ethernet boards?
  768.  
  769. Answer:
  770.  
  771. The ethernet board used in the Otter (dn3000 series) is a 3Com 505.  You can
  772. buy your own and perhaps save some money.  If you buy the board from Apollo,
  773. it comes with a special PROM, which you won't have if you buy direct from
  774. 3Com.  That means you won't be able to boot diskless over the ethernet, or
  775. make remote dumps over the ether.  But you'll still be able to boot from
  776. disk, or over the ring if you have one.  And once the node is booted,
  777. everything else will work fine.
  778.  
  779. The 505 is more expensive than some boards, because it has quite a bit of
  780. on-board smarts and buffering.  No other ethernet board will work in the
  781. Otter, unless you want to write your own driver, and even then you will lose
  782. the ability to run domain protocols and TCP over the ether, which makes it
  783. pretty useless.
  784.  
  785. Switch settings for the 505 are given in the file ether-switches.
  786.  
  787.  -- Jim Rees
  788.  
  789. And as followup:
  790. In article <1992Jun30.140020.994@quintro.uucp>, bep@quintro.uucp (Bryan Province) writes:
  791.  
  792.   I bought a 3C505 board from 3Com instead of Apollo because I'm not
  793.   interested in doing diskless booting over the ethernet.  I know it's missing
  794.   a prom for doing that.  I've set the jumpers as described in the
  795.   /systest/ssr_util/jumpers program with no luck.
  796.  
  797. Correct settings are port 300, mem addr 80000, dma 6, intr 10, test mode
  798. off, rom select off.  If Domain/OS (and DEX) can't find the board at all,
  799. you've probably got the port wrong.  You should have jumpers 8 and 9 in,
  800. where "in" is away from the back panel bnc and aui connectors.
  801.  
  802. A second board would go at port 310, mem addr 84000, dma 3, intr 9.
  803.  
  804.  -- Jim Rees
  805.  
  806. orrect, however all the original poster said was that self tests
  807. couldn't find the board.  I'm assuming that he's referring to the self
  808. tests that run when powering up in normal mode (or when the
  809. appropriate prom command is it "te" ?) is entered.  If this is the
  810. ONLY time the board can't be found, it's because of the lack of the
  811. boot prom (self test code is stored in there).  Run "ex config" and
  812. remove it's knowledge of the ethernet board so it won't try to test
  813. it.  The OS should find it ok (and nothing was said in the original
  814. mail about whether the OS could or could not find it, I assume that it
  815. could (it should!) ).
  816.  
  817. I tried emailing the original poster but couldn't for some reason...
  818.  
  819.  carl@Cayman.COM (Carl Heinzl)
  820.  
  821.  
  822. ===============
  823.  
  824.  23)  How do I enable IP name service?
  825.  
  826. Answer:
  827.  
  828. Uncomment the 'nmconfig' lines in /etc/rc.local.  Create the empty file
  829. /etc/daemons/nmconfig.  Create the file /etc/resolv.conf.  It should look
  830. like this:
  831.  
  832. domain  domain-name
  833. nameserver      server1
  834. nameserver      server2
  835. nameserver    server3
  836.  
  837. where domain-name is your domain name, and server1..n are the numeric IP
  838. addresses of your name servers.  You can have as many as you want, it tries
  839. them in the order listed.  Here's a sample file for pisa.citi.umich.edu (IP
  840. addresses are fictional):
  841.  
  842. domain  ifs.umich.edu
  843. nameserver      10.3.27.4
  844. nameserver      10.1.27.4
  845. nameserver    10.1.33.2
  846.  
  847.  -- Jim Rees
  848.  
  849.  
  850. ===============
  851.  
  852.  24)  Why can't I log in as root anywhere except a DM pad?
  853.  
  854. Answer:
  855.  
  856. All you need is to configure /etc/ttys to allow root login via psudo-ttys
  857. (if you really want to):
  858.  
  859. pty0    none    dumb    on    secure
  860. pty1    none    dumb    on    secure
  861. .
  862. .
  863. .
  864. ptyf    none    dumb    on    secure
  865.  
  866.  -- chen@digital.sps.mot.com (Jinfu Chen)
  867.  
  868.  
  869. ===============
  870.  
  871.  25)  How can I determine the load average without /dev/kmem?
  872.  
  873. Answer:
  874.  
  875. getla()
  876. {
  877.     long avenrun[3];
  878.  
  879.     proc1_$get_loadav(avenrun);
  880. }
  881.  
  882.  -- Jim Rees
  883.  
  884.  
  885. ===============
  886.  
  887.  26)  Why do I get "cannot start daemon" when I try to use lpr?
  888.  
  889. Answer:
  890.     The Apollo lpr/lpd seems to differ from other BSDs in that it
  891. apparently references the Domain name (set by ctnode) as well as servername
  892. (created in /usr/spool/lpd by the system administrator).  Those names should
  893. agree with the Internet hostname.  The hostname is set by default to the Domain
  894. name (which by default is set to the hard disk name, I think, as Yan Lau
  895. suggested in his note on how they resolved this problem).  IF YOU MODIFY
  896. rc.local TO EXPLICITLY SET THE HOSTNAME (IGNORING THE SAGE ADVICE IN THE
  897. COMMENTS THERE), THEN LPR/LPD WILL NOT SPAWN NEW DAEMONS.  The best solution
  898. might be to get the lpr/lpd sources and recompile, but the easiest solution
  899. seems to be:
  900.         uctnode <your old node name>
  901.         lcnode -me        (get your node number)
  902.         ctnode <internet hostname you want to be> <your node #>
  903.     then be sure the lines in rc.local that set hostname are
  904.         commented out so the hostname will be the Domain node name
  905.     then be sure that /usr/spool/lpd/servername contains the same
  906.         name as the Domain name (hostname > /usr/spool/lpd/servername)
  907.     then carefully check the protections on lpr, lpd, and the
  908.         various spool directories as suggested in earlier notes
  909.         on this problem
  910.     of course, look in the BSD Systems Admin guide for other aspects
  911.         of the setup such as printcap entries, etc.
  912. This approach has the advantage that it doesn't require modifying sendmail.cf
  913. to handle Internet mail, etc. (the "I refuse to talk to myself" problem that
  914. started all of this!).
  915.  
  916.  --hdtodd@eagle.wesleyan.edu (David Todd)
  917.  
  918.  
  919. ===============
  920.  
  921.  27)  How can I get my printer to work?
  922.  
  923. Answer:  It's not as easy as it should be.  See the separate file "printing."
  924.  
  925.  
  926. ===============
  927.  
  928.  28)  Do I need to buy Omniback to use my Exabyte 8mm tape drive?
  929.  
  930. Answer:
  931.  
  932. Apollo's earlier tape utilities, including "wbak", "rbak", and "rwmt" access
  933. the tape drive directly via calls to either the magtape driver or the
  934. cartridge tape driver, depending on whether you use "-dev mt" (the default)
  935. or "-dev ct". These calls are made via the unreleased "tfp_$" calls, which
  936. then branch out to either the unreleased "mt_$" or the "ct_$" calls. All of
  937. these library routines are in /lib/tfp. When Apollo introduced their 8mm
  938. Exabyte drive, they wrote a new tape library to support the drive; and they
  939. did *not* add support for the drive to the existing "tfp_$" library. Thus,
  940. the older Apollo programs can not access Apollo's 8mm drive. Only programs
  941. which use the new tape library can access the drive, and Omniback is the
  942. only Apollo utility that I'm aware of which does use the new library.
  943.  
  944. The standard Unix utilities, such as "tar", "dd", "mt" and the like, all
  945. access the tape drive via a Unix device file (eg. /dev/rmt0). As of SR10.x,
  946. Apollo has supplied device files for SCSI tape drives attached to either the
  947. native SCSI port of the DN2500 or the SCSI port of the multi-function WD7000
  948. disk controller used on most DN3500 and DN4500 machines. These device files
  949. are /dev/rmts8 and /dev/rmts12 (rewind and no-rewind) for SCSI tape device
  950. 0, and /dev/rmts9 and /dev/rmts13 (rewind and no-rewind) for SCSI tape
  951. device 1 [note: hardware hackers, feel free to correct me! this explanation
  952. is getting long enough to publish as an article -- I'd *hate* to get this
  953. wrong in print!!]. These device files invoke the *new* Apollo tape library,
  954. and therefore can access the 8mm Exabyte drive in addition to SCSI cartridge
  955. tapes and SCSI 9-track tapes. The device files /dev/rmt8 and /dev/rmt12, on
  956. the other hand, access the old tape library for 9-track drives; and
  957. /dev/rct8 and /dev/rct12 access the old tape library for non-SCSI cartridge
  958. tape drives.
  959.  
  960. Now, there *is* a way to use "wbak" and "rbak" with the 8mm Exabyte drive:
  961. you use the "wbak -to" and "rbak -from" options to redirect I/O to a file
  962. instead of old tape library, and you use either /dev/rmts8 or /dev/rmts12 as
  963. the file name. There is a minor drawback to this: the ANSI labeled tape
  964. options such as "-fid" (file ID), "-vid" (volume ID), and "-f NN" (write to
  965. the NNth file on the tape) won't work -- you can only write an unlabled file
  966. to the current position on the tape.
  967.  
  968. So much for  HP/Apollo ... There *is* at least one 3rd party vendor that
  969. provides a cleaner solution. Workstation Solutions sells the Exabyte drive
  970. packaged with a version of the *old* Apollo tape library that supports the
  971. 8mm drive, and a utility program that automatically loads this library prior
  972. to running "wbak", "rbak", "rwmt", and any other program you like. The
  973. library replaces the regular Apollo 9-track tape library and makes the
  974. Exabyte drive look like the 9-track tape. Thus any program which uses the
  975. "mts_$" and "ios_$" calls to access a 9-track tape will work ... and any
  976. program which uses the /dev/rmt8 or /dev/rmt12 device files (which in turn,
  977. access the old Apollo tape library) will also work.
  978.  
  979. Either way, your Apollo sales person is mis-informed. Exabyte drives *can*
  980. be used on the Apollos under SR10 with DN2500/3500/4500 machines via the
  981. SCSI tape device files; or under either SR9.7 or SR10 via either the magtape
  982. library calls or the old, non-SCSI, device files with Workstation Solutions'
  983. package on DN2500/3500/4500 with SCSI ports, or on DN3000/4000 machines with
  984. an AT-BUS SCSI adaptor card.
  985.  
  986.  -- David Krowitz <krowitz@richter.mit.edu>
  987.  
  988. ===============
  989.  
  990.  29)  How can I read cartridges written on SUN systems?
  991.  
  992. Answer:
  993. APOLLO supports the new QIC 24 Tape Format only. Sun supports the
  994. (obsolete?) QIC 11 (default) and QIC 24 formats.  Some older Suns do
  995. not support QIC 24.
  996.  
  997. If you write tar tapes on a Sun please use the QIC 24 format.
  998. This corresponds to the Sun nrst8-11 devices, for instance 
  999. the /dev/nrst8.  For more information, you may try 'man 4 intro'
  1000. and 'man 4s st' on your Sun.
  1001.  
  1002. Then the archive can be read with the Apollo /dev/rct12 
  1003. device.
  1004. --------
  1005. Since then, newer suns support still another (higher density) QIC 150
  1006. format.  However they still support QIC 24, which is the only format
  1007. supported on the Apollos.
  1008. --
  1009. Harald Hanche-Olsen <hanche@imf.unit.no>               I eat my peas with honey
  1010. Division of mathematical sciences                      I've done it all my life
  1011. The Norwegian Institute of Technology             It makes the peas taste funny
  1012. N-7034 Trondheim NORWAY                          But it keeps them on the knife
  1013.  
  1014. From: krowitz@QUAKE.MIT.EDU (David Krowitz)
  1015. Subject: Re:  Apollo <--> Sun tapes?
  1016.  
  1017. Apollo 1/4" tapes are written as QIC-24 format (60 Mb per
  1018. DC600A cartridge, ~45 Mb per DC300XLP cartridge). Sun-3's
  1019. can read and write either QIC-11 or QIC-24 tapes. Sun-4's
  1020. (Sparcstations) can *read* QIC-24 tapes, but only write
  1021. QIC-120 (or is it QIC-150?) tapes. Apollo "tar" tapes are
  1022. readable on Suns, but with pre-SR10 tapes you may need to
  1023. force the blocksize (if I can remember back to SR9, I think
  1024. the Apollos were using a blocking factor of 1?) to match.
  1025.  
  1026. == Dave
  1027.  
  1028. ===============
  1029.  
  1030.  30)  Does anyone out there know about using DAT drives for backing up Apollos?
  1031.  
  1032. I'm thinking of buying one to put on either a 425t or a DN4500 with Western
  1033. Digital SCSI
  1034.  
  1035. Answers:
  1036. Yes, you can use them, but only with SR10.3.5 (= SR10.3 + PSKQ3_91); you can
  1037. use wbak/rbak, or tar, or whatever.
  1038.  
  1039. We got our DAT drive recently. /systest/ssr_util/scsi_info tells me it is a
  1040. Sony SDT-1020; the salesman sold it as a Sony 2GB drive. (It is a Sony
  1041. drive, packaged locally into a cabinet with a power supply.)
  1042.  
  1043. I tested the drive with 425t, DN2500, DN10000, DN3500; I cannot remember if
  1044. I tested it or not on DN4500 and DN5500 (the DN[3-5]xxx with Western Digital
  1045. controller, Apollo part number 12283; the DN10000 with the SCSI cartridge
  1046. controller, Apollo part number 12171). It worked without a hitch, as
  1047. described in /install/doc/apollo/pskq3_91.v.10.3__notes.
  1048.  
  1049. Paul Szabo - System Manager   //        School of Mathematics and Statistics
  1050. szabo_p@maths.su.oz.au        //   University of Sydney, NSW 2006, Australia
  1051.  
  1052. There exists a video8 backup-unit with a capacity of
  1053. 2.2 Giga. The name of the company who sold it was Cyber.. Data 
  1054. Group (don't kill me if the name`s wrong, I can look it up if
  1055. you'r realy interested). We used it on a 425 with SCSI. 
  1056.  
  1057. We used wbak/rbak. Note that there is a problem with wbak under
  1058. SR 10. You can no longer overwrite a file-container > 1 without first
  1059. overwriting all previous file-containers.
  1060.  
  1061. Frank Teusink
  1062. frankt@cwi.nl
  1063.  
  1064. ===============
  1065.  
  1066.  31)  How do I use wbak to write stdout to a SUN workstation's tape?
  1067.  
  1068. Answer:
  1069.  
  1070. I currently rsh to the target machine and run a csh script similar to
  1071. the following:
  1072.  
  1073.   onintr error
  1074.   rm latest_backup_listing
  1075.   (/com/wbak -stdout -full -l /whatever | rsh dump_machine \
  1076.           dd of=/dev/nrst8 ibs=8192 obs=8192) >&! latest_backup_listing
  1077.   if ($status > 0) then
  1078.      rsh dump_machine touch ERROR.rdump.target_system
  1079.   endif
  1080.   exit
  1081.   error:
  1082.      rsh dump_machine touch ERROR.rdump.target_system
  1083.      exit
  1084.  
  1085. although I have also tried (and my scripts optioally allow) the following:
  1086.  
  1087. rsh dump_machine "/com/wbak -stdout -full -l /whatever" | \
  1088.           dd of=/dev/nrst8 ibs=8192 obs=8192
  1089.  
  1090. I have just completed a rather extensive backup package, written in 
  1091. Perl, which may be used to backup Sun, Apollo, and SGI machines, and
  1092. which features an automated interactive restore facility. I would be
  1093. willing to make these available to you if you want to try them out.
  1094.  
  1095. Oh yes. I currently run SunOS 4.1.2 and SR 10.2.1.
  1096.  
  1097. rmallett@ccs.carleton.ca
  1098.  
  1099. ===============
  1100.  
  1101.  32)  Why does routed not work for long periods of time under SR10.2?
  1102.  
  1103. Answer:
  1104.  
  1105. The SR10.2 version of routed would stop broadcasting and listening to RIP
  1106. routes after about 20 minutes.  This is due to a feature in DomainOS which
  1107. keeps applications from receiving their own broadcast packets.  BSD routed
  1108. depends on this feature in stand-alone networks to determine if there is a
  1109. problem with the physical interface.
  1110.  
  1111. From the SR10.3 release notes:
  1112.  
  1113.      4.2.4  TCP/IP Bug in routed
  1114.  
  1115.      The routed command does not detect an inactive physical interface
  1116.      unless the interface is specifically configured "down" with the ifcon-
  1117.      fig command.
  1118.  
  1119.         o SR10.2 routed aged active routes (APR 000DDC72)
  1120.  
  1121.           The routed command was timing out active physical interfaces.
  1122.           We've modified routed to prevent it from timing out, and there-
  1123.           fore marking "down", interfaces that are configured "up" with the
  1124.           ifconfig command.  The routed command does, however, time out
  1125.           interfaces that are configured "down" with the ifconfig command.
  1126.  
  1127.  -- ericb@caen.engin.umich.edu (Eric Bratton)
  1128.  
  1129.  
  1130. ===============
  1131.  
  1132.  33)  Does Apollo NFS work?
  1133.  
  1134. Answer: not always.  The most reliable NFS released so far (as of 3/91) is
  1135. NFS 2.1 plus patch 186.  This patch is not on the new patch tapes, so
  1136. you must ask for the patch explicitly when calling Apollo Customer Support.
  1137.  
  1138.  -- ericb@caen.engin.umich.edu (Eric Bratton)
  1139.  
  1140.  
  1141. ===============
  1142.  
  1143.  34)  How can I get gcc and g++ to run?
  1144.  
  1145. Answer:
  1146.  
  1147. Changes required to build gcc 1.37.1, g++ 1.37.1, and libg++ 1.37.0
  1148. for Apollo 68K platforms are now available. The changes are in the
  1149. form of compressed tar files containing new versions of files to
  1150. replace those from the virgin FSF distributions.
  1151.  
  1152. The following files are available via anonymous ftp from
  1153. labrea.stanford.edu (36.8.0.47) in the pub/gnu directory:
  1154.  
  1155.     APOLLO-GCC-README        4197 bytes
  1156.     APOLLO-G++-README        6379 bytes
  1157.     APOLLO-LIBG++-README        5906 bytes
  1158.     apollo-gcc-1.37.1.tar.Z          255509 bytes
  1159.     apollo-g++-1.37.1.tar.Z       418879 bytes
  1160.     apollo-libg++-1.37.0.tar.Z     43532 bytes
  1161.  
  1162. The README files explain what is involved in building each component.
  1163. Gcc must be built and installed in order to build g++, which must be
  1164. built and installed in order to build libg++.  The README files are
  1165. also included in the tar packages, but are available separately in
  1166. case you want to see what's involved first.
  1167.  
  1168. The gcc-1.37.1 changes fix several problems which were reported to me
  1169. by folks who tried my earlier gcc-1.37 changes. Also, you'll need the
  1170. gcc-1.37.1 changes in order to get g++ built, even if you already have
  1171. gcc 1.37 running.
  1172.  
  1173. I have only tried out these changes on SR10.2/SR10.3, using the
  1174. 6.7/6.8 versions of the Apollo C compiler. There may be problems with
  1175. earlier releases of Domain/OS and the C compiler.
  1176.  
  1177. If you do not have ftp access, I can mail you the changes in the form
  1178. of diffs. If you request them, be sure to give me a voice phone number
  1179. so I can contact you in case I can't send you mail; I've had several
  1180. requests in the past from people I can't contact.
  1181.  
  1182.  
  1183. John Vasta                Hewlett-Packard Apollo Systems Division
  1184. vasta@apollo.hp.com       M.S. CHR-03-DW
  1185. (508) 256-6600 x5978      300 Apollo Drive, Chelmsford, MA 01824
  1186. UUCP: {decwrl!decvax, mit-eddie, attunix}!apollo!vasta
  1187.  
  1188. Answer:
  1189.  
  1190. I've done a port using a different approach.  You compile a version of
  1191. gcc using the standard Apollo compiler to generate a generic M68020
  1192. compiled code that follows Apollo calling conventions.  The output file
  1193. format is the "standard" GNU/FSF a.out format.  This is all done using
  1194. the "standard" configuration capabilities of the distributed gcc package.
  1195.  
  1196. I then have a separate "gnu2coff" program that transforms that file into
  1197. something acceptable to the standard Apollo linker.  "gnu2coff"
  1198. recognizes calls to functions in the normal Apollo shared libraries,
  1199. and automatically patches the code to call them correctly, so that
  1200. text segments can be left "pure" (read only).  It also handles
  1201. data references to shared library variables.  And finally it also
  1202. recognizes G++ compiled code, and automatically adds patches to get
  1203. static constructors/destructors run.
  1204.  
  1205. "gnu2coff" is called using shell files that run the appropriate
  1206. compiler front-ends, run "gnu2coff", and then run the Apollo linker.
  1207.  
  1208. In general "gnu2coff" is not able to handle symbolic debug info in
  1209. the "a.out" file, nor is it able to generate Apollo COFF format
  1210. symbolic debugging info.  (I once made a start at doing this, (and
  1211. that code still exists), but it was never complete, probably uses
  1212. the wrong approach, definitely is buggy, etc.)
  1213.  
  1214. So far gcc seems to run fine.  G++ compiles fine and all the small
  1215. tests I try run fine.  I "think" I have Libg++ ported correctly.
  1216. It all compiles fine, and some tests work.  However many other
  1217. tests don't work.  (Typically the default "new" handler in gnulib
  1218. ends up being called, which aborts.).  You need a working libg++
  1219. to try to port groff.
  1220.  
  1221. A version of "gnu2coff" was distributed on comp.sys.apollo a few
  1222. years ago.  The only real differences between that and my current
  1223. version is that floating point has a reasonable chance to be handled
  1224. correctly, and minor updates to be compatible with the latest
  1225. releases of gcc/g++.
  1226.  
  1227.  -- dclemans@mentorg.com (Dave Clemans)
  1228.  
  1229. In article <1992Jun8.163547.22347@syma.sussex.ac.uk>, mikejm@syma.sussex.ac.uk (Michael J McNeill) writes:
  1230. => Could somone please mail me the whereabouts of patches (I seem to
  1231. => remember them being posted to this newsgroup some time ago) for
  1232. => gcc-2.1 on Apollo68k machines. 
  1233. => 
  1234. Hello!
  1235. I got (from ftp.gnu.ai.mit.edu and labrea.Stanford.EDU)
  1236. the Files:
  1237.  gcc-2.1.tar.Z
  1238.  gas-1.38.1.tar.Z
  1239.  bison-1.16.tar.Z
  1240.  patch-2.0.12u6.tar.Z
  1241.  apollo-gas-1.38.1.diffs.Z
  1242.  gcc-2.1.patch
  1243. and compiled gcc. 
  1244. gcc works for short programs but I did no tests with large programs.
  1245.  
  1246. I had (using motif) the problem that my cpp had not enough memory
  1247. so I used /bin/cc -Yp,/usr/local/lib/gcc-lib/m68k-apollo-bsd/2.1, this
  1248. worked!
  1249.  
  1250. I am using Domain/OS 10.3.5 .
  1251. Hope this helps you!
  1252. -- 
  1253. Peter Kutschera
  1254.  
  1255.  
  1256. ===============
  1257.  
  1258.  35)  Where can I get an assembler?
  1259.  
  1260. Answer:
  1261.  
  1262. There is an Apollo assembler, which you may be able to get.  It isn't a
  1263. supported product.
  1264.  
  1265. You can also use the gnu assembler.  It is part of gcc (see above), or you
  1266. can ftp it from /pub/apollo/local/lib/gcc-as at ftp.eb.ele.tue.nl
  1267. [131.155.20.25].
  1268.  
  1269.  
  1270. ===============
  1271.  
  1272.  36)  What's the story on adding more disks to my node?
  1273.  
  1274. Answer:
  1275.  
  1276. You can't add SCSI devices to the DN3x00 / DN4x00 / DN5x00 series machines,
  1277. unless HP/Apollo has made a _RADICAL_ change of policy.  I know that Mentor
  1278. (and probably 3rd party) has a SCSI board that sits in the AT-bus, and you
  1279. can access it if you use the special driver that's provided, but that will
  1280. NOT give you disk services.
  1281.  
  1282. The best (biggest) you can do with a DN3000 is a 325MB drive (Maxtor?).  If
  1283. you get a motherboard up-rev (to God knows what revision), the DN3500/
  1284. 4000/4500 can take the WD7000 controller, which has a SCSI bus on it.
  1285. However, you can only hook up SCSI tape drives, floppies, and CD-ROMs as 
  1286. far as I know.  The best (biggest) drive you can hang off a WD7000 is the
  1287. Maxtor 760MB ESDI drive (Maxtor XT8760E), which'll give you 650MB formatted
  1288. space.  You can put 2 drives per controller, and 2  controllers per node,
  1289. for 2.6GB of space.  I think you'll find that the up-revs you'll need will
  1290. be too pricey though.  Probably better to go with a 9000/400 series node
  1291. (maybe the 425E, if you have ethernet).  You can hang about 9 GB of SCSI off
  1292. of a 'E' or 'T' type 400 series, and 27 GB from an 'S' type 400 series (3
  1293. SCSI controllers, 6 SCSI drives per, 1.5 GB per).
  1294.  
  1295. John Thompson
  1296. Honeywell, SSEC
  1297. Plymouth, MN  55441
  1298. thompson@pan.ssec.honeywell.com
  1299.  
  1300. And again in another message:
  1301.  
  1302. > I've read the faq, but it doesn't make the answer to this question entirely
  1303. > clear.  Can I connect an external SCSI disk to a DN5500 with a WD7000
  1304. > controller?  If so, is there any limitation on the size (eg 1.2GB)?  Is the
  1305. > process for involing etc.. the same as for a 425t?
  1306.  
  1307. OK -- let's make it clear then.
  1308.  
  1309. You can not hook up any SCSI disk drives to a WD7000 controller.  In fact, you 
  1310. can't use SCSI drives on any Apollo machine except the DN2500 (the 9000/4xx is
  1311. an HP/Apollo box).
  1312.  
  1313. You CAN hook up up to 2 ESDI drives to a WD7000 controller.  There are only 
  1314. three (?) drives that are supported, though -- the Maxtor 8760E (697MB), the
  1315. Maxtor 4380E (329MB FastActuator) and the Micropolis(?) 170MB drive.  The 
  1316. controller can apparently figure out what's on the other end, and act 
  1317. appropriately, so there aren't jumpers for the drive type itself.  I think I've
  1318. heard that you can add different drive types as your two drives (e.g. a 697MB and
  1319. a 329MB drive).  
  1320.  
  1321. You CAN install up to 2 WD7000 controllers in your system (DN3500/DN4500/DN5500).
  1322. The SCSI bus _must_ be disabled on the second controller.
  1323.  
  1324. You CAN install a SCSI cartridge drive or floppy, but only if you do not have a
  1325. non-SCSI one in place.  If you have a non-SCSI tape/floppy, you must disable the 
  1326. SCSI bus.
  1327.  
  1328. If the SCSI bus is enabled, you CAN add up to 7 SCSI devices total of CD-ROMS,
  1329. 4mm drives, 8mm drives, and 9-track drives.  I'm not sure whether the 4mm drives
  1330. are explicitly supported, but I'm almost certain that I read somewhere that they 
  1331. work.  I've read that SCSI device 0 is reserved for the cartridge/floppy drive, 
  1332. but that might have changed.
  1333.  
  1334. The 8mm tape drives must be SCSI ids 1,2,3, or 4.  These correspond to devices
  1335. rmts8, 9, 10, and 11 (12-14 for non-rewinding devices).  Although wbak is not
  1336. officially supported on 8mm drives, it works fine at 10.3+ (and at 10.2?).  Use
  1337. m0 for SCSI id 1, m1 for SCSI id 2, etc.  There is a long pause before it starts
  1338. writing the tape with wbak.  The tar and omniback packages work just fine (as do
  1339. lots of other vendors' backup packages, I'm sure).
  1340.  
  1341. John Thompson
  1342. Design Services Engineer / Sys-Admin
  1343. Honeywell, SSEC
  1344. Plymouth, MN  55441
  1345. thompson@pan.ssec.honeywell.com
  1346.  
  1347. [ Also see the separate file "disk-info" .  -- Jim Rees ]
  1348.  
  1349.  
  1350. ===============
  1351.  
  1352.  37)  I'm trying to get a SCSI-2 type disk to work with my Apollo but it
  1353.       does seem to work. What did I do wrong?
  1354.  
  1355. Answer:
  1356.  
  1357. NOTHING. But Apollo doesn't like to be hooked up to an SCSI-2 drive!
  1358.  
  1359. > These drives will work with 400's (and DN-2500's) if they are set to
  1360. > respond as SCSI-1 or SCSI-1/CCS devices. You need to execute the Change
  1361. > Definition SCSI command on the drive to change their response. Talk to
  1362. > your supplier and see if they will do this for you. (R Squared does this
  1363. > sort of thing all the time, besides (normally) providing manuals :-)
  1364. > -- 
  1365. > -----
  1366. > +-+  Michael Lampi       lampi@polari.online.com
  1367. > |R|  R Squared           16398 NE 85th St., Suite 101, Redmond, WA 98052
  1368. > +-+                      (206) 883-3116       fax (206) 883-2676
  1369.  
  1370. Try using /systest/ssr_util/scsi_info to check what info is returned from
  1371. the drive. It probably claims to a a SCSI-2 device ... in which case the
  1372. Domain/OS SCSI disk software is going to refuse to deal with the drive.
  1373. Many disks can be configured as either SCSI-1 or SCSI-2 depending on their
  1374. jumper settings.
  1375.  
  1376. == Dave Krowitz
  1377.  
  1378. ===============
  1379.  
  1380.  38)  What are the connections in a 3-way serial porst splitter.
  1381.  
  1382. I am trying to get a hold of the 3-way serial port splitter for a Apollo
  1383. 3550 unit.  Would anyone have descriptions on building a cable for this.  At
  1384. this time work is unable to justify paying CDN$407 for such a cable.
  1385.  
  1386.  -- cgwong@faraday.physics.utoronto.ca (Clint Wong)
  1387.  
  1388. Answer:
  1389.  
  1390. Apollo 1 to 3 serial connector
  1391.  
  1392.  
  1393. Sio 1               Sio 2               Sio 3
  1394.  
  1395.  1  -  1             1  -  1             1  -  1
  1396.  7  -  7             7  -  7             7  -  7
  1397.  2  -  2             2  - 12             2  - 21
  1398.  3  -  3             3  - 13             3  -  9
  1399.  4  -  4             4  - 14             4  - 23
  1400.  5  -  5             5  - 15             5  - 10
  1401.  8  -  8             8  - 16             8  - 25
  1402. 20  - 20            20  - 18            20  - 19
  1403.  
  1404. Where every first column is the connection to the divided stream.  The
  1405. second column indicates the connection made in the joined connector which
  1406. goes in the apollo's back.
  1407.  
  1408.  -- wjw@ebh.eb.ele.tue.nl (Willem Jan Withagen)
  1409.  
  1410.  
  1411. ===============
  1412.  
  1413.  39)  Why do I get:
  1414.          Unable to go into maintenance state  User not authorized to
  1415.          perform operation (network computing system/Registry Server)
  1416.  
  1417. I use a cron to run a script as user root on a regular basis to backup the
  1418. registry.  I have been checking the log file recently and every time the
  1419. following error message appears:
  1420.  
  1421.   Unable to go into maintenance state  User not authorized to perform operation (network computing system/Registry Server)
  1422.  
  1423. Any ideas?
  1424.  
  1425.  -- robinb@resmel.bhp.com.au (Robin Brown)
  1426.  
  1427. Answer:
  1428.  
  1429. The registry service is a distributed application that uses an encryption
  1430. based authentication algorithm.  This means that breaking security on a 
  1431. single machine does not allow you to attack the registry database - you have
  1432. to have access to an administrator's password in order to perform updates
  1433. on the registry.
  1434.  
  1435. One workaround for the problem you are having is to make sure that cron
  1436. is running as the real "root" user.  To do this, don't run cron from the
  1437. /etc/rc script.  Instead, login as root and then run cron in the background
  1438. (I believe that the command "/etc/server -p /etc/cron" will protect the 
  1439. cron process from termination when root logs out.)  Don't forget the
  1440. "-p" option - this preserves the current user's identity.  If you leave
  1441. this out, cron will run as user.none.none and will not be able to perform
  1442. its normal tasks.
  1443.  
  1444. You need only do this on the machine that is responsible for performing
  1445. routine backups for the registry database.  All other machines can start
  1446. cron in the normal way.
  1447.  
  1448. Future distributed systems will have this behavior for most services.  For
  1449. example, the OSF DCE (Distributed Computing Environment) uses authentication
  1450. protocols for all distributed accesses (including access to files on non-local
  1451. machines).  Fortunately these systems come with better mechanisms for running
  1452. batch jobs from cron (unlike the "hack" I describe above).
  1453.  
  1454.  --pato@apollo.HP.COM (Joe Pato)
  1455.  
  1456.  
  1457. ===============
  1458.  
  1459.  40)  Fixing your 19" monochrome monitor.
  1460.  
  1461. My 19 inch monochrome monitor has failed.  Video is fine, but horizontal
  1462. sync won't lock up.  How can I fix it for only $1 and half an hour of my
  1463. time?
  1464.  
  1465. Answer:
  1466.  
  1467. Subject:
  1468.     Apollo Domain 19 inch B&W monitor horizontal drift and
  1469. frequency vistability.
  1470.  
  1471. Problem Component:
  1472.     Capacitor C207, a frequency determining element in the
  1473. horizontal oscillator circuit IC202.  This circuit uses a NE555 I.C.
  1474. in an astable multivibrator configuration.  The original component was
  1475. a polystrene type capacitor which demonstrated a pronounced negative
  1476. temperature coeficient.
  1477.  
  1478. Fix:    
  1479.     Replace C207 with either a mylar film or a dipped mica 1000pF
  1480. capacitor.  The oscillator circuit has a fairly narrow range of
  1481. adjustment such that selection or trimming of value may be necessary.
  1482. The total value of the replacement capacitor in this case was 1195 pF
  1483. (1140pF in another).
  1484.  
  1485. Procedure:
  1486.     Set the horizontal frequency control to mid range.  Connect a
  1487. frequency counter to pin 3 of IC202 and select or trim the value of
  1488. C207 until the oscillator hasa free running frequency of 68.219KHz.
  1489. Free running operation occurs with the 9 pin computer connect cable is
  1490. disconnected.  After obtaining the desired frequency, reconnect the
  1491. computer cable.  The horizontal oscillator should lock immediately.
  1492. Adjust the horizontal frequency control through its entire range.  The
  1493. oscillator should stay locked throughout most if not all the
  1494. potentiometer range of adjustment.
  1495.     If drift in horizontal position occurs, it may be due to the
  1496. polystyrene capacitor C202 used with IC201 the horizontal positioning
  1497. one shot multivibrator.  Its value is also 1000pF and should be
  1498. replaced with a mylar or dipped mica type capacitor.
  1499.  
  1500.  -- Ricky Houghton <houghton@iuvax.cs.indiana.edu>
  1501.  
  1502.  
  1503. ===============
  1504.  
  1505.  41)  How well does SLIP work?
  1506.  
  1507. Answer:
  1508.  
  1509. Gosh, I guess this needs to be added to the FAQ file, since I thought
  1510. I had seen it addressed before.
  1511.  
  1512. In any case, DOMAIN TCP/IP does support SLIP and I use it all the time
  1513. from my sr10.3 DN3000 at home connected via a pair of Telebit T2500s
  1514. running v.32 to a cisco terminal server.  The DCE/DTE connection is at
  1515. 9600 baud; CTS/RTS flow control is enabled in the modem and the node.
  1516. I dial up to work using emt, get connected to the terminal server, give
  1517. it the "slip" command (which tells you what IP address you've been assigned
  1518. and then puts the line in SLIP mode), exit emt, and do something like:
  1519.  
  1520.     /etc/ifconfig sl0 <my ip address> <ip address of terminal server>
  1521.     /etc/route add default <ip address of terminal server> 0
  1522.  
  1523. It all works passably well.  It's hard to know which nuisances to attribute
  1524. to the modems, the phone line, SLIP in general, or DOMAIN TCP/IP.  It
  1525. works well enough so that I haven't delved into it.  (I used to use Telebit
  1526. PEP mode, which is pretty awful for SLIP, but barely tolerable.  My current
  1527. nuisance seems to be that the T2500s have some sort of bug that cause
  1528. them to hang the connection after an hour or so of use.  Others have
  1529. reported these symptoms on comp.dcom.modems in a non-DOMAIN environment,
  1530. so it looks like a modem, not a DOMAIN, bug.)
  1531.  
  1532.  -- Nat Mishkin
  1533.     Cooperative Object Computing Division / East
  1534.     Hewlett-Packard Company
  1535.     mishkin@apollo.hp.com
  1536.  
  1537. Some additional info:  The slip MTU is fixed at 1000.  If you're using a
  1538. slow line, you may want to start tcpd with the -p0 option (see the man
  1539. page).  - Jim Rees
  1540.  
  1541.  
  1542. ===============
  1543.  
  1544.  42)  What are the internal names for the various node types?
  1545.  
  1546. Answer:
  1547.  
  1548. DN100/400/420/600    <no name>    (sau1)
  1549. DN300/320/330        Swallow        (sau2)
  1550. DSP80/90        Sparrow        (sau3)
  1551. DN460/660        Tern        (sau4)
  1552. DN550/560        Stingray    (sau5)
  1553. DN570/580/590-T        Banshee        (sau6)
  1554. DN3500            Cougar II    (sau7)
  1555. DN4000            Mink        (sau7)
  1556. DN4500            Roadrunner    (sau7)
  1557. DN3000            Otter        (sau8)
  1558. DN2500            Frodo        (sau9)
  1559. DN10000            AT        (sau10)
  1560. 400s            Trailways    (030: sau12, 040: sau11)
  1561. 400t            Strider        (030: sau12, 040: sau11)
  1562. 400e            Woody        (sau11)
  1563. DN5500            Leopard     (sau14)
  1564.  
  1565.  -- Nat Mishkin
  1566.     Cooperative Object Computing Division / East
  1567.     Hewlett-Packard Company
  1568.     mishkin@apollo.hp.com
  1569.  
  1570.  
  1571. ===============
  1572.  
  1573.  43)  Where else can I go besides HP for repairs?
  1574.  
  1575. Answer:
  1576.  
  1577. I can recommend AMC Computer Services, Inc., 146-B Rangeway Rd.,
  1578. N. Billerica, MA., 01862.  Phone: (508)670-9395.  They're a group of
  1579. former Apollo employees who have formed their own depot repair facility
  1580. for Apollo.  They seem to possess considerable expertise and all of
  1581. our experiences so far have been very positive.
  1582.  
  1583.  -- HONEYWELL Third Party Computer Service  --  1(800) 525-7439 
  1584.     Mike Thomas, Senior Technician, Albuquerque, New Mexico
  1585.     honeywel@chama.eece.unm.edu   (505) 888-5820
  1586.  
  1587.  
  1588. ===============
  1589.  
  1590.  44) How do I find out about, and fix, bad spots on my disk?
  1591.  
  1592. Answer:
  1593.  
  1594. I always use fixvol to reformat the track the bad spot is on.  If you would
  1595. rather just move the block into the badspot list, here's an excellent
  1596. description of the problem and fix, from Paul Szabo.  - Jim Rees
  1597.  
  1598. From: szabo_p@maths.su.oz.au (Paul Szabo)
  1599. Newsgroups: comp.sys.apollo
  1600. Subject: Bad blocks on disk (was: Re: SCSI disks on a HP 9000/400t)
  1601. Date: Mon, 4 Nov 91 18:34:24 EST
  1602. Organization: Mathematics, University of Sydney
  1603.  
  1604. This article describes how to get rid of bad blocks on disks. Bad blocks
  1605. will naturally develop during the useful life of the disk. There is no
  1606. cause for alarm as long as the total number or the rate of growth of bad
  1607. blocks is not excessive.
  1608.  
  1609. Once these bad blocks develop, they should be avoided (i.e. should not
  1610. be used). While the problems are intermittent or recoverable, you may be
  1611. inclined to put up with the problem. But bad blocks usually deteriorate,
  1612. and may cause your node to crash. (Our DN10000 developed a bad block in
  1613. a directory, and any access to this directory sometimes caused it to
  1614. crash.) Simply, you need to add the block numbers to the bad spot list
  1615. using INVOL.
  1616.  
  1617. If you are happy to wipe the disk and start from scratch, everything is
  1618. easy. Run EX DEX, RUN WIN (no defaults, all disk: start 0, end last
  1619. address, write enabled) and this will tell you about every single bad
  1620. block. Add these to the bad spot list using INVOL, re-format the disk,
  1621. and install the OS. There is no need to go to this extreme, however.
  1622.  
  1623. Get a listing of problem blocks using /systest/ssr_util/lsyserr. You
  1624. should use this periodically to monitor the behaviour of the disk. Look
  1625. for repeated problems with disk blocks; you may want to skip the
  1626. once-only problems. Use the physical disk addresses. (In case of striped
  1627. disks, ignore the RELATIVE addresses. Run the output of lsyserr through
  1628. "grep 'Phys daddr =' | sort | uniq -c".) You could also run EX DEX, RUN
  1629. WIN -ENTIRE. This will read all your disk (without re-formatting or
  1630. writing it).
  1631.  
  1632. You may simply tell INVOL about the bad block addresses, and then run
  1633. SALVOL to fix up the disk. This seems to work reasonably well, but then
  1634. ... do you trust them (or any other Apollo utility :-) to work properly?
  1635. (Note that SALVOL occasionally uses addresses relative to a logical
  1636. volume, these are one smaller than the physical addresses. Then again,
  1637. the discrepancy is sometimes not one but two... this may be related to
  1638. a physical volume PV label on each of our striped disks.)
  1639.  
  1640. To give you confidence in what you are doing, you would like to know
  1641. what files are at those disk addresses.
  1642.  
  1643. You may use /systest/ssr_util/rwvol (select READ, enter DADDR, then just
  1644. [RETURN] for start and end) to display UIDs of objects, then
  1645. /systest/ssr_util/upath to display pathnames.
  1646.  
  1647. Probably it is easier to use /systest/ssr_util/fixvol (this has online
  1648. help, type help). Use the read command to display UIDs/pathnames:
  1649. (fv [p])> r 12345
  1650.    uid:       478771C7.3001A581 /y/sfw/reduce3.3/fasl/int.b
  1651.    page:      9
  1652.    dtm:       478774A5   Wednesday, December 20, 1989   11:40:12 am (EST)
  1653.    blk_type:  0 
  1654.    sys_type:  0 (file_$file_type)
  1655.    pad:       00000000 00000000
  1656.    checksum:  0000
  1657.    daddr:      12345 ( 163- 1- 0)  disk# 1
  1658.  
  1659. Now that you know the pathname, you may wish to move it somewhere 'out
  1660. of the way' and copy it back to its proper place
  1661. /bin/mv file /lost+found
  1662. /bin/cp -pPiov /lost+found/file dir
  1663. This may not be necessary, but it is cheap insurance.
  1664.  
  1665. It seems to me that you cannot do much about vtoce blocks:
  1666. (fv [p])> r 1234
  1667.    uid:       202.00000000 vtoc_$uid
  1668.    page:      1232
  1669.    dtm:       4AF72F18   Wednesday, June 13, 1990   9:53:49 am (EST)
  1670.    blk_type:  0 
  1671.    sys_type:  0 (file_$file_type)
  1672.    pad:       00000000 00000000
  1673.    checksum:  0000
  1674.    daddr:       1234 (  16- 2- C)  disk# 0
  1675.  
  1676. BEWARE: if the bad blocks are in the vtoc, then SALVOL may not be able
  1677. to fix up your disk, in which case you will have to wipe it and start
  1678. from scratch.
  1679.  
  1680. You are now ready to tell INVOL about the bad blocks.
  1681.  
  1682. Run SALVOL to fix the disk. SALVOL will find 'multiply allocated blocks'
  1683. (since they are also in the bad block list), and then go into 'second
  1684. pass' looking for these multiply allocated blocks. SALVOL will report to
  1685. fix some objects with the correct names, but for others it will report
  1686. to repair objects at 'vtocx = something' (when the block is not at the
  1687. beginning of the file?). It will attempt to copy the bad block somewhere
  1688. else, and usually it will succeed.
  1689.  
  1690. There is one problem with SALVOL. If the bad block is in a directory,
  1691. SALVOL will orphan the files catalogued there; but as it succeeds in
  1692. copying the bad block, the files will still be catalogued in the
  1693. original directory. When you boot the node, find_orphans will catalogue
  1694. these files in /lost+found, but the reference count (number of hard
  1695. links) will be wrong (one instead of two). If you remove the file
  1696. pointed to by /lost+found, then when listing the original directory you
  1697. get the message 'object not found'. Admittedly, SALVOL at the end of its
  1698. run said '... errors ... require that Salvol be run again ...' which I
  1699. did, but that did not seem to do anything. Maybe it needed find_orphans
  1700. between the two runs. Anyway, I made another copy of the files...
  1701.  
  1702.  
  1703. Appendix
  1704.  
  1705. The only manual I have on the workings of SALVOL is rather old:
  1706. 'DOMAIN System Utilities', part no. 009414 Rev 00, Sept 1986.
  1707. Some quotes from this manual below. (The newer 'Domain Hardware
  1708. Utilities Reference', part no. 014881-A00, barely describes how to
  1709. use SALVOL.)
  1710.  
  1711.  
  1712. Classes of errors: ... 4. Multiply allocated blocks... allocated to
  1713. more than one file, or to a file and to a system structure, such as
  1714. the VTOC, the BAT or the badspot list....
  1715.  
  1716. The salvager attempts to repair multiply allocated blocks... if the
  1717. salvager finds a multiply allocated block and can determine which
  1718. file the block belongs to, then it sets the trouble flag only for
  1719. the non-owning file.
  1720.  
  1721. DOMAIN disk volumes are structured so that naming directories and
  1722. space/location information (in a VTOC) about files are kept
  1723. separately. Currently, the salvager does not synchronize these
  1724. on-disk structures. ... cannot detect orphans...
  1725.  
  1726. I/O errors that occur on physical and logical volume labels or on
  1727. the block availability table (BAT) are fatal to the salvager. All
  1728. other errors are reported, but are non-fatal.
  1729.  
  1730. Generally, the salvager always repairs the BAT (except in the case
  1731. of hard I/O errors) and the VTOC. Thus, if AEGIS badly malfunctions,
  1732. writing normal file blocks over the BAT or the VTOC blocks, for
  1733. example, the salvager repairs the BAT or VTOC and the file. To do
  1734. so, it copies the data into a newly allocated block and
  1735. reinitializes the overwritten block.
  1736.  
  1737. If a block is multiply allocated to both the badspot list and to a
  1738. file or a VTOC chain, the salvager tries to copy any potentially
  1739. valid data to a newly allocated block. If the block is in the
  1740. badspot list because of persistent device level errors, however, the
  1741. copy may fail; the salvager then prompts for alternatives. The
  1742. salvager and badspot listing cannot be used to correct persistent
  1743. errors in the BAT or VTOC hash space, however. The salvager aborts
  1744. in the former case, and simply reports the I/O error in the second
  1745. case. The only solution is to reinitialize the volume around such
  1746. badspots using INVOL.
  1747.  
  1748.  -- Paul Szabo       szabo_p@maths.su.oz.au
  1749.  
  1750.  
  1751. ===============
  1752.  
  1753.  45)  Why does my dn10000 ethernet interface stop working?
  1754.  
  1755. Answer:
  1756.  
  1757. The solution is the new Ethernet board (part no. A1658-66016, rev. F), plus
  1758. the OS/TCP patches from the 9109 or later patch tape.  Note that there is a
  1759. second set of patches that are not on the 9109 tape, which you will
  1760. definitely need, and even those still have a problem with the "mbuf"s being
  1761. either all filled or not release properly (we are now having tcpd aborting
  1762. when it improperly frees a buffer).  This is still under investigation by HP
  1763. (call # A2055392).
  1764.  
  1765. -- Mike Peterson <system@alchemy.chem.utoronto.ca>
  1766.  
  1767. ===============
  1768.  
  1769.  46)  Has anyone else experienced power-supply problems with their
  1770.       Apollo 10000.
  1771.  
  1772. >Has anyone else experienced power-supply problems with their
  1773. >Apollo 10000 purchased in 1988?  Specifically, I believe the
  1774. >problem has something to do with the +5V regulator in the
  1775. >power supply.
  1776.  
  1777. Answer:
  1778.  
  1779. We had to have it replaced.  It would just randomly cause the node to
  1780. crash.  The local FE told me it was a well known problem, I think with a
  1781. bad lot of capacitors that will fail early.
  1782.  
  1783. Mike
  1784.  
  1785.   Michael Zeleznik              Computer Science Dept.
  1786.                                 University of Utah
  1787.   zeleznik@cs.utah.edu          Salt Lake City, UT  84112
  1788.                                 (801) 581-5617
  1789. And:
  1790.  
  1791. We've had two distinct types of crashes on our 1988 10K.  The first was
  1792. definately a power supply problem - The system would randomly shut itself
  1793. down completely ie: all lights out.  Inspection of the tell tail leds
  1794. inside the box indicated that the 5v rail was low.  We've had the power
  1795. bricks replaced (twice!) and it seems to have fixed the problem.  The
  1796. other is also random but differs in that the shutdown is not complete.
  1797. The response center do not believe it is related but I'm not so sure.
  1798. The system is left at the IP0> prompt and we get error messages like:
  1799.  
  1800. Stop CPUs with NMI...
  1801. fault on CPU 0 (sometimes 1,2 or 3) pc= ...etc
  1802. bus/mmu execute trap: page fault fpc=frozen fa=frozen mmu_csr=0000008A
  1803.  
  1804. And:
  1805.  
  1806.    There is a SERVICE NOTE on the +5 V portion of the 10k
  1807. power supplies dated 18 June 1990.  A summary of the text follows:
  1808.  
  1809. DN100X0/DSP100X0
  1810. Serial Numbers: All
  1811.  
  1812. Date Code: All +5 Volt Booster Modules with 1988 Date Codes
  1813. Performed By: HP/Apollo Qualified Service Personnel Only
  1814. Parts Required: +5 Volt, 150W Control Module (APN 010524-001)
  1815.  
  1816. Situation:
  1817. A problem has been identified with the DN100X0/DSP100X0 power sys-
  1818. tems in both Manufacturing and the Field. The power system shuts down
  1819. due to a +5 Volt OV (Over Voltage) failure.
  1820.  
  1821. Having evaluated several Power EuroCards from Manufacturing and
  1822. returns from the field, R&D has identified an oscillation on some of the
  1823. +5 Volt Booster DC/DC Converters.  This oscillation forces the +5V
  1824. output voltage to exceed +5.3V dc and the microprocessor shuts down
  1825. the power system.
  1826.  
  1827. After having tested different +5 Volt Booster Module configurations,
  1828. R&D has concluded that Booster Modules with 1988 Datecodes are the
  1829. direct cause of the +5 Volt OV (overvoltage failures).
  1830.  
  1831.                              -jjw
  1832. waldram@grizzly.uwyo.edu
  1833.  
  1834.  47)  Former maintainer:
  1835. >  I am no longer able to maintain this file, so its contents
  1836. >  may be somewhat out of date.  The latest version of this file, and the
  1837. >  auxiliary documents referred to here, are available by AFS in
  1838. >  /afs/umich.edu/group/itd/archive/apollo or by anonymous ftp at
  1839. >  archive.umich.edu ("cd apollo").
  1840.  
  1841. >  -- Jim Rees, University of Michigan IFS Project, March 1992
  1842.  
  1843.  48)  Contributers.
  1844.  
  1845.       Well there are a lot more people who give sensible answers, so
  1846.       If you feel left out. Please let me know. (WjW)
  1847.       (And they are in the order in which they appeared in the original FAQ)
  1848.  
  1849.       Jim Rees              jim.rees@umich.edu
  1850.       John Thompson (jt)    thompson@pan.ssec.honeywell.com
  1851.       Greg Rocco            rocco@ll.mit.edu
  1852.       Jim Richardson        jimr@maths.su.oz.au
  1853.       Ian Hoyle             ianh@bhpmrl.oz.au
  1854.       Paul Killey           paul@CAEN.ENGIN.UMICH.EDU
  1855.       Bruce Orchard         orchard@eceserv0.ece.wisc.edu
  1856.       Annegret Liebers      annegret@combi.math.tu-berlin.de
  1857.       Willem Jan Withagen   wjw@eb.ele.tue.nl
  1858.       Fred Stluka           stluka@software.org
  1859.       Carlton B. Hommel     carlton@apollo.hp.com
  1860.       John A. Breen
  1861.       Walt Weber            weber_w@apollo.HP.COM
  1862.       Leonard N. Zubkoff
  1863.       Michael K. Gschwind   mike@vlsivie.tuwien.ac.at
  1864.       Harald Hanche-Olsen   hanche@imf.unit.no
  1865.       Bryan Province        bep@quintro.uucp
  1866.       Carl Heinzl           carl@Cayman.COM
  1867.       Jinfu Chen            chen@digital.sps.mot.com
  1868.       David Todd            hdtodd@eagle.wesleyan.edu
  1869.       David Krowitz         krowitz@richter.mit.edu
  1870.       Paul Szabo            szabo_p@maths.su.oz.au
  1871.       Frank Teusink         frankt@cwi.nl
  1872.       rmallett@ccs.carleton.ca
  1873.       Eric Bratton          ericb@caen.engin.umich.edu
  1874.       John Vasta            vasta@apollo.hp.com
  1875.       Dave Clemans          dclemans@mentorg.com
  1876.       Peter Kutschera
  1877.       Michael Lampi         lampi@polari.online.com
  1878.       Clint Wong            cgwong@faraday.physics.utoronto.ca
  1879.       Robin Brown           robinb@resmel.bhp.com.au
  1880.       Joe Pato              pato@apollo.HP.COM
  1881.       Ricky Houghton        houghton@iuvax.cs.indiana.edu
  1882.       Nat Mishkin           mishkin@apollo.hp.com
  1883.       Mike Thomas           honeywel@chama.eece.unm.edu
  1884.       Mike Peterson         system@alchemy.chem.utoronto.ca
  1885.       Michael Zeleznik      zeleznik@cs.utah.edu
  1886.       Jim Waldram           waldram@grizzly.uwyo.edu
  1887. Digital Information Systems Group, Room EH 10.35 
  1888. Eindhoven University of Technology   
  1889. P.O. 513                             Tel: +31-40-473401,Fax: +31-40-448375
  1890. 5600 MB Eindhoven                    The Netherlands
  1891.