home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk1.iso / answers / 3b1-faq / part2 < prev    next >
Internet Message Format  |  1994-09-09  |  44KB

  1. Path: bloom-beacon.mit.edu!grapevine.lcs.mit.edu!olivea!charnel.ecst.csuchico.edu!yeshua.marcam.com!zip.eecs.umich.edu!newsxfer.itd.umich.edu!gatech!howland.reston.ans.net!spool.mu.edu!mnemosyne.cs.du.edu!nyx.cs.du.edu!not-for-mail
  2. From: jbunch@nyx.cs.du.edu (John B. Bunch)
  3. Newsgroups: comp.sys.3b1,comp.answers,news.answers
  4. Subject: comp.sys.3b1 FAQ part2
  5. Followup-To: comp.sys.3b1
  6. Date: 9 Sep 1994 12:44:20 -0600
  7. Organization: University of Denver, Math/CS Dept.
  8. Lines: 921
  9. Approved: news-answers-request@MIT.Edu
  10. Expires: Mon, 3 Oct 1994 00:00:00 GMT
  11. Message-ID: <34qae4$d5d@nyx.cs.du.edu>
  12. Reply-To: 3b1-faq@nyx.cs.du.edu
  13. NNTP-Posting-Host: nyx.cs.du.edu
  14. Summary: This Posting contains a list of Frequently Asked Questions (and
  15.      answers) about 3b1 computers.  It should be read by all who want
  16.      to participate in the comp.sys.3b1 newsgroup.
  17. Xref: bloom-beacon.mit.edu comp.sys.3b1:4904 comp.answers:7186 news.answers:25427
  18.  
  19.  
  20. Archive-name: 3b1-faq/part2
  21. Version: $Id: 3b1-faq-part2,v 2.3 1992/06/30 23:17:48 jbunch
  22.  
  23.  
  24.  
  25.  
  26. ----------------------------------------------------------------------
  27. | Answers to some frequently asked questions about the AT&T UNIX PC, |
  28. |     as well as some frequent problems, hints, and solutions.         |
  29. ----------------------------------------------------------------------
  30. [$Revision: 2.3 $ $Date: 92/06/30 23:17:48 $]
  31. Send updates to 3b1-faq@nyx.cs.du.edu.
  32.  
  33.         Part 2 of 2
  34.  
  35. This article contains answers to the following questions:
  36. 36) Can I really get 4MB of memory, even with a 1.5MB combo card, 512K RAM 
  37.     card, and 2MB of RAM on the motherboard?
  38. 37) Can I hook up a 3.5" 720K floppy drive to my UNIX PC?  How about
  39.     a 1.2MB or 1.44MB floppy drive?   Can I run both the 3.5" drive and 
  40.     the 5.25" drive on my machine somehow?
  41. 38) Can I put a larger hard disk drive in the UNIX PC?
  42. 39) How do I park the hard disk heads before moving the machine?
  43. 40) How do I open the case and get to the motherboard?
  44. 41) Why does my fan sometimes speed up and slow down?  Should I replace it?
  45. 42) Why has my clock stopped?
  46. 43) What can I do when I turn on my UNIX PC and all I see is a "green screen"?
  47. 44) What can I do when I turn on my UNIX PC and I have no video?
  48. 45) What can I do when I get lots of FDERRs when writing/formatting a floppy?
  49. 46) Why does rn fail with "Can't open /dev/tty" from the built-in modem?
  50. 47) Can I connect my Starlan board to an Ethernet?
  51. 48) Can I run SLIP (Serial Line Internet Protocol) on my UNIX PC?
  52. 49) What are the consequences of "fsck -s" (salvaging the freelist)?
  53. 50) What does the "-s" option to dismount do?
  54. 51) How do I identify what motherboard revision I have?
  55. 52) How can the monitor fail?
  56. 53) What are the LED's left side of the machine for?
  57. 54) What's /etc/update?  What does it do? 
  58. 55) Why did the time display at the top of the screen go away?
  59. 56) How do I stop that darn double-ESC mode on console windows?
  60. 57) What do I do when the machine hangs at the boot message?
  61. 58) How can the UNIX PC be made more secure?
  62. 59) How do I access the expert menus in the diagnostics?
  63.  
  64. ------------------------------------------------------------------------
  65. 36) Can I really get 4MB of memory, even with a 1.5MB combo card, 512K RAM 
  66.     card, and 2MB of RAM on the motherboard?
  67.  
  68.     The answer is yes.  It does require a simple pin-ectomy.  You
  69. need to fool the hardware to think the 512K RAM card is in a slot that
  70. doesn't physically exist on the UNIX PC.  For more information on how
  71. to do this, grab John Milton's HwNote06 from the archive sites.
  72.  
  73. ------------------------------------------------------------------------
  74. 37) Can I hook up a 3.5" 720K floppy drive to my UNIX PC?  How about
  75.     a 1.2MB or 1.44MB floppy drive?   Can I run both the 3.5" drive and 
  76.     the 5.25" drive on my machine somehow?
  77.  
  78.     Yes, to the 720K.  No, to the 1.2MB and 1.44MB.
  79.  
  80.     Putting a 720K 3.5" floppy drive is rather simple if you are
  81. just replacing the existing 360K 5.25" drive completely.  In most
  82. cases it's a one-to-one swap, providing you can get the jumper setting
  83. set correctly on the 3.5" drive.
  84.  
  85.     You can run both drives, provided you make a mechanical switch
  86. (SPDT) to change the drive select between the 5.25" 360K internal
  87. drive and the 3.5" 720K (run externally).  You need to make a cable to
  88. switch the pin 10 (FDRIVE0*) from one drive to the other.  Drilling a
  89. hole in the case above the left fan grate is a suitable spot.
  90.  
  91.     When you use the 720K drive, all you need to do is create an
  92. iv description file that has 80 cylinders instead of 40, and you get
  93. the full 800K (80 tracks, 10 sec/trk).  Makes backups go faster!
  94.  
  95. ------------------------------------------------------------------------
  96. 38) Can I put a larger hard disk drive in the UNIX PC?
  97.  
  98.     Upgrading from a 10MB, 20MB, or 40MB to a 67MB drive requires
  99. a 3B1 power supply and a 3B1 case top (the 40MB and 67MB drive is
  100. full-height).  There are other solutions to this -- you can get
  101. half-height drives that have seek times faster than the 80ms of the
  102. old 10MB and 20MB drives, and which have more disk space.  So long as
  103. the drive has a ST506/MFM interface, has less than or equal to 1024
  104. cylinders and less than or equal to 8 heads, the drive will work
  105. without *any* hardware modifications.
  106.  
  107.     To upgrade to a disk with more than 8 heads and more than 1024
  108. cylinders there are several approaches one can take.  Gaining more
  109. cylinders is the easiest of upgrades: all you need to do is replace
  110. the WD1010 disk controller (which is socketed on the motherboard at
  111. location 21H) with the pin-for-pin compatible disk controller, WD2010.
  112. The WD2010 comes in several varieties, and all seem to work for the
  113. most part (WD2010A, WD2010B, etc.).  The WD2010 is a very difficult
  114. part to come by -- Intel makes (or made) a pin-compatible version of
  115. the WD2010, the Intel 82064.  There has been some discussion on Usenet
  116. that people haven't been able to get the WD2010 to work in their older
  117. revision motherboard UNIX PC or PC7300.  These machines have a
  118. daughterboard that handles the disk circuitry, instead of the
  119. all-in-one chip that was replaced in the later models.
  120.  
  121.     The operating system, from at least release 3.0, supported an
  122. unreleased motherboard revision, P5.1.  The P5.1 revision level (like
  123. the P3...P5 that you see during the boot phase) includes some extra
  124. features such as an extra disk head select (expanding to 16 read/write
  125. disk heads) and extra drive select (allowing expansion to two
  126. simultaneous hard disks).  With the appropriate hardware modifications
  127. (all requiring some expertise in soldering and reading schematics),
  128. one could upgrade his motherboard to emulate this undocumented
  129. motherboard revision.  These upgrades weren't released to the public
  130. by either CT or AT&T during the life-cycle of the product, but were
  131. later released and made public by several people in several different
  132. forms.
  133.  
  134.     o   John Milton <...!cis.ohio-state.edu!n8emr!uncle!jbm> has a prebuilt
  135.         circuit board that offers up to 4 hard disks and 2 floppy drives, but
  136.         be forewarned that the operating system only supports the two
  137.         hard disks and one floppy drive.  If the operating system patches
  138.         could be made, John's hardware would support it.  He's offering a
  139.         prebuilt and pretested board that can be wired into the motherboard.
  140.         The motherboard wiring (jumpers) and soldering will have to be done 
  141.         as well before you can use John's board (this is not a plug in and
  142.         go situation -- it requires some time to wire).  The board and
  143.         instructions currently cost $75, but contact John for pricing.
  144.  
  145.     o   SSDL/ICUS Hard Disk Upgrade Version 2.0.
  146.     Gil Kloepfer, Jr (gil@limbic.ssdl.com) is currently (10Jan92)
  147.     offering the second version of the popular ICUS do-it-yourself
  148.     hard-disk upgrade kit.  From the announcement, answering the
  149.     question "What is it?" --
  150.     "It is a single-chip upgrade to the 3B1 that allows a second
  151.     hard disk to be added and a 4th head select line to allow
  152.     disks with more than 8 heads to be used.  It is a superset of
  153.     the functionality of the P5.1 PAL (ie. you don't need P5.1 to
  154.     use the V2.0 PAL), and completely emulates all the
  155.     functionality of the earlier ICUS V1.0 upgrade.
  156.  
  157.     "This upgrade *DOES NOT* extend the number of cylinders
  158.     (>1024).  You must purchase a WD2010 to replace the WD1010
  159.     chip on the motherboard if you wish to do this."
  160.  
  161.     Full information about availability and pricing can be
  162.     obtained from v2upgrade@limbic.ssdl.com.
  163.  
  164.     o   FIELD P5.1 PAL upgrade.  The P5.1 instructions were posted to 
  165.         unix-pc.general a long time ago, and are now archived on OSU in
  166.         the P5.1.Z file.  This requires a preprogrammed PAL chip to be made.
  167.  
  168.     The largest disk which can be handled by the UNIX PC/3B1 is:
  169.  
  170.     o   Motherboard revision P3...P5 (WD1010 disk controller)
  171.     8 heads x 1024 cyls x 16 sectors/track x 512 bytes/sector  =  67.1MB
  172.  
  173.     o   Motherboard revision P3...P5 (WD2010 disk controller)
  174.     8 heads x 1400 cyls x 16 sectors/track x 512 bytes/sector  =  91.7MB
  175.  
  176.     o   Motherboard revision P5.1 (modified) (WD1010 disk controller) 
  177.     16 heads x 1024 cyls x 16 sectors/track x 512 bytes/sector = 134.2MB
  178.  
  179.     o   Motherboard revision P5.1 (modified) (WD2010 disk controller)
  180.     16 heads x 1400 cyls x 16 sectors/track x 512 bytes/sector = 183.5MB
  181.  
  182.     NOTE: 1400 cylinders is the #define HDMAXCYL in
  183. /usr/include/sys/gdisk.h -- although the WD2010 can support up to 2048
  184. cylinders, the operating system cannot.  Also, with the multiple hard
  185. disk upgrades you can have two disks that can be as large as the above
  186. sizes for the P5.1 modified motherboard revision.
  187.  
  188.     FINAL NOTE ON THE WD2010: Some folks have reported troubles
  189. with their systems after installing the WD2010, far too many to
  190. discount as due to bad chips.  Thad Floryan was irritated enough by
  191. this to take time away from sheep-herding and solve the problem.  This
  192. problem occurs only on certain versions of the 3b1 motherboard.
  193. Short and sweet, quoting from Thad here:
  194.  
  195.     "So, in overview, the complete and correct "DRUN patch" modification 
  196.     to a 3B1 motherboard which does function with a WD1010 but does not 
  197.     function with a WD2010 is:
  198.         1. separate and lift [13N] 74123's pins 1 and 2 
  199.            from the motherboard
  200.         2. run a wire from the lifted [13N] pin 1 
  201.            to [13M] 74F10 pin 7 (ground)
  202.         3. run a wire from the lifted [13N] pin 2 
  203.            to [13K] 26LS32 pin 3
  204.         4. replace R63 per:
  205.             original:  6.81K,  1%, 1/4W
  206.             new value: 4.75K, 1%, 1/4W
  207.     Parts list:
  208.         1. new 74123 (reason for this is described below)
  209.         2. 4.75K, 1%, 1/4 W precision resistor
  210.         3. less than one foot of 30ga "wire-wrap" wire 
  211.            for the two patches"
  212.  
  213.     And additionally:
  214.  
  215.     "If your system is one that DOESN'T have the "DRUN Patch"
  216.     then putting the WD2010 in your system will cause you a LOT
  217.     of grief.  From my observations on MANY systems, it's not
  218.     always obvious whether the patch exists on one's system;
  219.     some factory runs implemented the patch along the lines
  220.     of what I described in my posting last December [excerpted
  221.     above], and some runs had the patch integrated into
  222.     (presumably) new motherboard layouts where the legs of the
  223.     74123 chip are NOT sticking up in the air.  If the resistor at
  224.     R63 has the color code bands, then the presence of 4.75K 1%
  225.     means the patch is already applied (the value of 6.81K 1%
  226.     means you have the old data separator circuit which will NOT
  227.     function properly with a WD2010); if the resistor is the RN05
  228.     type (no color bands) then you probably won't be able to read
  229.     the value and you'll either have to remove it (to read the
  230.     value) or forget the whole thing.
  231.  
  232.     The ABSENCE of a capacitor at C252 is also a good clue one's
  233.     motherboard has the DRUN patch already applied."
  234.  
  235. ------------------------------------------------------------------------
  236. -- Maintenance ---------------------------------------------------------
  237.  
  238. ------------------------------------------------------------------------
  239. 39) How do I park the hard disk heads before moving the machine?
  240.  
  241.     The Miniscribe and Hitachi disks used in the 40MB and 67MB
  242. machines parks the heads automatically (and loudly) when the power is
  243. turned off.  (That's that *clunk* sound you hear when you hit the
  244. power switch.)  Also note that many newer drives have auto-parking
  245. mechanisms -- check with your specific manufacturers for more
  246. information.
  247.  
  248.     If your drive doesn't auto-park (many Seagates don't), or you
  249. want to make extra sure that the heads are in the parked position,
  250. then after the machine is shutdown insert the Diagnostics floppy disk
  251. and boot from it.  Select "Park Disk Heads" from the Diagnostics menu.
  252.  
  253.     Note that the older 7300 machines have 10 or 20MB disks which
  254. do not auto-park.  If you're buying one used (especially at an auction
  255. or a fair), you may want to bring along a diagnostics diskette to make
  256. sure the disk is okay.
  257.  
  258. ------------------------------------------------------------------------
  259. 40) How do I open the case and get to the motherboard?
  260.  
  261.     [Courtesy of Norman Yarvin:]
  262.  
  263.     Three sets of screws hold the case together.  The first set
  264. consists of two screws underneath the keyboard retainer posts, and
  265. three screws in the rear panel.  (The keyboard retainer posts hold the
  266. keyboard to the base -- one is next to the socket for the keyboard
  267. plug.  Note the seam around the top of the retainer posts.  Remove the
  268. covers from the posts, and you'll find a screw inside each.)
  269.  
  270.     When this set of screws is removed, the top (plastic) part of
  271. the case is attached to the bottom only by some cables, which have
  272. enough slack to let you take the top of the case off, tilt it
  273. backward, and rest it on its rear behind the machine.  However, this
  274. is quite a difficult task.  This is because it is hard to get the very
  275. front of the case up; the plastic is shaped in such a way as to catch
  276. on to the metal bottom somewhere.  A bit of wrestling with the case is
  277. usually necessary here, and some people prefer to take the top part of
  278. the top part off (the next paragraph) before taking off the bottom
  279. part of the top part.
  280.  
  281.     The second set of screws holds the top part of the case
  282. together.  It consists of six screws, pointing upwards, which are
  283. found under the overhang of the case.  The only time they really need
  284. to be removed is when replacing the fan.  In addition to these screws,
  285. two or three plastic hook-and-tab latches in the front of the machine
  286. need to be released.  The top of the case must be moved outward
  287. slightly (usually with a screwdriver or finger pressure) along the
  288. joint to the right of the floppy drive in order to release the
  289. catches.  [The three plastic catches in the front are in the middle,
  290. and at about the 7th-to-10th louvers from the left and right of the
  291. case.]
  292.  
  293.     Taking off the top of the case exposes only the floppy drive,
  294. the hard disk (underneath shielding) and the power supply.  To get to
  295. the motherboard, you then have to unscrew the third set of screws --
  296. three screws at the very front of the machine.  The two latches on
  297. either side of the motherboard cover become obvious when one tries to
  298. lift up the panel, and are easily released.  The motherboard cover
  299. pivots at the rear; it can be lifted up.  To lift it up more than an
  300. inch, the power supply cable and the 10-pin video cable must be
  301. unplugged.  After that the metal shielding can be lifted and slid
  302. along the tracks and then flipped up or removed.  This exposes the
  303. motherboard.  If you need to remove the motherboard shielding
  304. completely and the monitor assembly, you need to disconnect the floppy
  305. and hard disk cables from the motherboard (note the direction of the
  306. connectors, and when replacing them be very sure that the 20-pin and
  307. 34-pin connectors are seated correctly on the associated pins).  If
  308. you have a PC7300 power supply and motherboard, your floppy drive
  309. power cable might also be connected to the motherboard.  To remove the
  310. whole assembly, in that case, you'll need to remove the power
  311. connector from the back of the floppy drive as well.
  312.  
  313.     Be careful when putting the top of the Unix PC/3B1 back on; a
  314. common cause for the machine not powering up after the cover is
  315. replaced is the 120VAC connectors (brown and blue wires crimped on)
  316. falling off the power input, or being pulled off by the hard drive as
  317. the case is closed.  The green ground wire has a tendency to get
  318. caught in the fan blades (causing the fan not to start spinning when
  319. the machine is turned on) or caught in the case itself.  Check that
  320. the fan is working after closing the case.
  321.  
  322.     As always, use your head.  Be careful when exposing any
  323. component of the Unix PC.  There are many static sensitive components;
  324. ground yourself before poking around inside.
  325.  
  326. ------------------------------------------------------------------------
  327. 41) Why does my fan sometimes speed up and slow down?  Should I replace it?
  328.  
  329.     The fans have been a problem with the UNIX PC in a lot of
  330. cases.  What happens is the 12VDC fan is connected to a thermal switch
  331. that will run the fan motor faster when the machine is hot, and then
  332. slow it down when the machine cools.  There have been occasions,
  333. however, when a fan goes from fast to slow, and then slows all the way
  334. to a dead stop.  The fan tends to collect a lot of dust and dirt, and
  335. sometimes when switching to the slow speed it goes so slow that it
  336. stops and doesn't have enough "umph" to start up again.
  337.  
  338.     Gil Kloepfer theorizes the reason for this happening is that
  339. the 12VDC fan is constantly running with too little current due to a
  340. resistor wired in series with the power supply when the thermal switch
  341. is in its normally open position.  When the fan is beginning to
  342. malfunction, it will run subtly slower, but not enough to keep enough
  343. air moving through the machine.  The thermal switch kicks-up the
  344. power, which causes the fan to move faster and cool the machine down
  345. until the switch kicks-out again.  This cycling effect keeps going
  346. until the fan become excessively weak and clogged with dirt to where
  347. it eventually stops working permanently.  But he goes on to add that,
  348. in any case, "I don't think it's just dirt."
  349.  
  350.     The next stage is the machine overheats, the power supply cuts
  351. out, and the machine powers down, then it powers up, and down, and up.
  352. If you are lucky, you catch this before major damage occurs or you
  353. take preventive measures beforehand.  Most of the time the power
  354. supply gets so hot, it warps the plastic case above it.  This is a
  355. sure sign that a UNIX PC has had a "meltdown" before.
  356.  
  357.     What can you do?  Well, you can replace the 12VDC fan with a
  358. 3" 120VAC fan.  The 120VAC fans are more robust, they produce more air
  359. current (~34CFM normally) and don't draw on the power supply any.  One
  360. drawback is that they are noisier.  Radio Shack has an appropriate
  361. 120VAC fan for $16.95, cat. no. 273-242.
  362.  
  363.     Some people can go years or forever without ever having a
  364. problem, but it just takes that one day that you aren't around and the
  365. machine goes into "meltdown" and then you'll be assured some damage
  366. somewhere.
  367.  
  368. ---------------------------------------------------------------------
  369. 42) Why has my clock stopped?
  370.  
  371.     Your battery is dead.  On the UNIX PC motherboard there is a
  372. 3.0 VDC lithium battery which keeps the real-time clock operating.
  373. Unfortunately, the battery is soldered to the motherboard in most
  374. cases.  It's either the round cylindrical canister type, or more
  375. commonly the flat disc-shaped battery.  A suitable replacement can be
  376. purchased at Radio Shack (BR-2325), but you'll need to get the disc
  377. battery holder.  If you desolder the battery from the motherboard,
  378. solder in the holder, future replacement of this battery will be much
  379. simpler.  If you are nervous about touching a soldering iron to your
  380. precious machine, ASCRC will do it for you (see above).
  381.  
  382. ------------------------------------------------------------------------
  383. -- Failures ------------------------------------------------------------
  384.  
  385. ------------------------------------------------------------------------
  386. 43) What can I do when I turn on my UNIX PC and all I see is a "green screen"?
  387.  
  388.     This symptom crops up in a lot of UNIX PC's.  Generally, the
  389. machine can be revived with only little fuss.  Open the machine down
  390. to the motherboard.  Carefully reseat all the socketed chips,
  391. especially the 68010 CPU.  Blow all of the accumulated dust out of the
  392. machine (vacuuming is not recommended due to the possibility of static
  393. discharge).  7 times out of 10 the machine will boot afterwards.  If
  394. the machine still doesn't boot, it could be something more serious.
  395. Check with the ASCRC on how you can go about getting the machine
  396. repaired.
  397.  
  398. --------------------------------------------------------------------
  399. 44) What can I do when I turn on my UNIX PC and I have no video?
  400.  
  401.     The first thing you could do is check the brightness control.
  402. After you are sure that it's not that, the problem generally goes away
  403. by replacing the power supply.  If you don't have a spare one, try
  404. asking on Usenet, or deal with ASCRC.
  405.  
  406. ------------------------------------------------------------------------
  407. 45) What can I do when I get lots of FDERRs when writing/formatting a floppy?
  408.  
  409.     Jon H. LaBadie, Boyd Ostroff, and Perry Miller have suggested
  410. that there could be accumulated dust blocking the write protect
  411. apparatus on the floppy drive.  The easiest solution for this is to
  412. get a can of compressed air, or blow real hard into the floppy
  413. aperture several times.  This generally will remove the dust or dirt
  414. from the area, and hopefully will solve the problem.  (With the light
  415. being blocked, the floppy drive is considered permanently write
  416. protected!)
  417.  
  418.     If the problem persists after you follow the simple solution,
  419. you might have to open the machine, remove the floppy drive, and
  420. perform a closer examination.  If all else fails, a standard TEAC 360K
  421. floppy drive is a one-for-one replacement.
  422.  
  423. ------------------------------------------------------------------------
  424. 46) Why does rn fail with "Can't open /dev/tty" from the built-in modem?
  425.  
  426.     The problem is a line in the term.c file.  The lines that have
  427. to be changed for rn to work are:
  428.  
  429.     Before change:
  430.  
  431.         [...]
  432.             devtty = open("/dev/tty",O_RDONLY);
  433.             if (devtty < 0) {
  434.             printf(cantopen,"/dev/tty") FLUSH;
  435.             finalize(1);
  436.             }
  437.             fcntl(devtty,F_SETFL,O_NDELAY);
  438.         [...]
  439.  
  440.     After change:
  441.  
  442.         [...]
  443.             devtty = open("/dev/tty",O_RDWR);    /* changed for UNIX PC */
  444.             if (devtty < 0) {
  445.             printf(cantopen,"/dev/tty") FLUSH;
  446.             finalize(1);
  447.             }
  448.             /* fcntl(devtty,F_SETFL,O_NDELAY);   /* changed for UNIX PC */
  449.         [...]
  450.  
  451.     This change is required because the /dev/ph* devices require
  452. DATA connections to be opened with O_RDWR, so changing the O_RDONLY
  453. (or, in some versions of rn, the constant 0) to O_RDWR will solve your
  454. problems.  Note that these changes are also required for rn-derived
  455. programs like trn.
  456.  
  457. ------------------------------------------------------------------------
  458. 47) Can I connect my Starlan board to an Ethernet?
  459.  
  460.     No, you cannot connect Starlan to an Ethernet network, at
  461. least not directly.  Starlan, or in the case of the UNIX PC, Starlan-1
  462. (1BASE5) is a 1Mbps (megabits/sec) network over twisted-pair wire.
  463. The URP protocol is used to communicate over Starlan-1 on the UNIX PC.
  464. The newer Starlan standard is Starlan-10 (10BASE2) and is 10Mbps which
  465. is more *like* Ethernet.  The protocol used is the ISO/OSI standard,
  466. and therefore its interconnectability is increased.  However, this is
  467. not compatible with the UNIX PC version.  There is an expensive item
  468. that AT&T sells, called the Starlan 1:10 Bridge, which connects the
  469. two networks together if this is a necessity, but plan to spend around
  470. $4,500 for the convenience.  (AT&T PEC Code: STARLAN 1:10 BRIDGE
  471. 2611-005.) According to AT&T Stargroup documentation, there is
  472. software available to interconnect Starlan-10 hardware to Ethernet
  473. using IEEE 802.3, TCP/IP protocol, this of course in conjunction with
  474. the Bridge could connect Starlan-1 via the Starlan 1:10 Bridge to
  475. Starlan-10, and then to Ethernet, a roundabout way, but presumably
  476. possible.
  477.  
  478.     If you want to connect your UNIX PC to a *real* Ethernet,
  479. you'll need to hunt down the AT&T UNIX PC Ethernet board.  This board
  480. runs a version of the TCP/IP drivers developed by Wollogong.  The
  481. board will require the proper cables, as well as a transceiver.  This
  482. increases the cost of Ethernet interconnectability.  The Wollogong
  483. TCP/IP drivers are an older version not supported by Wollogong
  484. anymore.  It's generally acknowledged that there are many bugs, and
  485. the throughput of the board is nowhere near what Ethernet should be
  486. getting.  (People report that throughput with the Starlan-1 board was
  487. better than the TCP/IP Ethernet board, which shouldn't be the case.)
  488.  
  489.     Thanks to the hard work of Roger Florkowski
  490. (cs.utexas.edu!taliesin!roger), UNIX PC Starlan users don't have to be
  491. limited with just uucp'ing and cu'ing over the network.  He has ported
  492. and created a bunch of BSD network utilities (r* commands).  His
  493. package, (bsdslan.cpio.Z on OSU-CIS) allows one to do remote tape
  494. operations, remote copies, and remote shell commands.
  495.  
  496. ------------------------------------------------------------------------
  497. 48) Can I run SLIP (Serial Line Internet Protocol) on my UNIX PC?
  498.  
  499.     So far there hasn't been anyone who has ported a SLIP device
  500. driver. That would be the optimal solution, but in the interim we do
  501. have an answer for those who want to run SLIP.
  502.  
  503.     There is the KA9Q/W9NK TCP/IP Version 890421.1 available for
  504. the UNIX PC.  Thanks to Phil Karn (the original developer), Gary
  505. Sanders, and Rob Stampfli, the package supports SLIP which in theory,
  506. over a modem or direct serial line (preferably 9600 baud or higher)
  507. one could use to connect to an Internet machine allowing Dialup/Direct
  508. SLIP logins.  With the pseudo-tty driver (pty) you can have multiple
  509. TELNET sessions (even on the UNIX PC side).  Built into the "net"
  510. package is FTP, TELNET, FINGER, SMTP, and others.
  511.  
  512.     KA9Q is available from OSU-CIS, Gary Sander's BBS or via
  513. anonymous uucp login on Rob's UNIX PC:
  514.  
  515.         kd8wk Any ACU 2400 16147598597 in:--in: uucp word: anonymous
  516.  
  517.     To obtain the net source, issue the following uucp command:
  518.  
  519.         $ uucp kd8wk!~/pub/netsrc.cpio.Z /usr/spool/uucppublic
  520.  
  521.     To obtain an executable for the AT&T 7300, enter the following:
  522.  
  523.         $ uucp kd8wk!~/pub/netexe.7300.Z /usr/spool/uucppublic
  524.  
  525.     System Name:     N8EMR
  526.     Phone:        614-895-2553 (19.2K Trailblazer, 2400, 1200)
  527.     Login:        hbbs 
  528.     Data Settings:    8 Bits, NO Parity, 1 Stop Bit
  529.     Times:         24hrs
  530.  
  531. ------------------------------------------------------------------------
  532. 49) What are the consequences of "fsck -s" (salvaging the freelist)?
  533.  
  534.     Jim Adams sent some information regarding the uses (and
  535. dangers) of salvaging the freelist using the fsck(1M) command.
  536.  
  537.     fsck(1M) provides a method of salvaging and reconstructing the
  538. freelist maintained by the UNIX filesystem.  It is dangerous to
  539. haphazardly do anything with the filesystem, as well as just
  540. reconstructing the freelist.  If the filesystem isn't in a good state,
  541. it's possible that the freelist could be further damaged by just
  542. salvaging it.  fsck(1M) will salvage the freelist when necessary, or
  543. when the question "SALVAGE (Y/N)?" is answered "yes".
  544.  
  545.     Jim has said that the alternative method, fsck -S, should be
  546. used if you wish to salvage the freelist.  The salvage will only be
  547. done if the filesystem is properly constructed, and nothing damaging
  548. could occur by its reconstruction.  If errors are found during the
  549. fsck phases, other than errors like "POSSIBLE FILE SIZE ERROR I=nnn"
  550. (which occurs from sparse files, also known as files with holes in
  551. them) the salvage will not be done.
  552.  
  553.     fsck(1M) is designed to be run on a mounted root filesystem,
  554. so long as the block device is used and the system is in a quiet
  555. state.  fsck(1M) can be run on the raw/character device when
  556. the filesystem isn't mounted, and this is generally much faster.
  557. fsck(1M) will automatically reboot the system without sync'ing, if the
  558. "mounted" root filesystem was modified, just as you should (since the
  559. in-core image of the filesystem would be different).  There is no
  560. "re-mount" facility on the UNIX PC, otherwise the root filesystem
  561. could just be remounted.
  562.  
  563.     Another suggestion made was to run "fsck -D" to check
  564. directories for bad blocks.  This takes longer, but is considered
  565. worth it.  (fsck -D is similar to the MSDOS CHKDSK facility.)
  566.  
  567. ------------------------------------------------------------------------
  568. 50) What does the "-s" option to dismount do?
  569.  
  570.     It should never be used.  It's an historical option (as the
  571. manual notes), used to un-mount the "Syquest" external drive.  This
  572. unfortunately causes the first hard disk to RECAL if you don't have
  573. the second disk upgrade.  With the second disk upgrade it improperly
  574. un-mounts all the filesystems, apparently not handling the /etc/mnttab
  575. file correctly for all the partitions on the second disk.
  576.  
  577.     In many people's opinions, it's much safer to use multiple
  578. /etc/umount commands to unmount multiple partitions.  This works for
  579. all cases, and there is no second guessing on what the command is
  580. actually doing.  If you want to mimic the operation of dismount, you
  581. can easily issue the "sync" command before the "umount" command.  As
  582. far as clearing the "pulled-flag" as the manual indicates, many have
  583. never had any problem just using the /etc/umount command (on floppies
  584. as well as my other partitions and hard disk)
  585.  
  586. ------------------------------------------------------------------------
  587. 51) How do I identify what motherboard revision I have?
  588.  
  589.     [Courtesy of Thad Floryan:]
  590.  
  591.     The board "schematic" number (in copper) near the left rear
  592. corner is quite useful when referencing one of the three sets of
  593. schematics in the Reference Manual.  Often the copper number is
  594. obscured by a white sticker bearing a different number.  BOTH sets of
  595. numbers "almost" uniquely identify your machine.  Peel the white
  596. sticker off and reapply it flanking the copper number.
  597.  
  598.     The copper board number will (usually) be one of 60-00222-00,
  599. 60-00225-00 or 60-00230-00.  If yours is 60-00216-00 you have my
  600. sympathy (the connector to the floppy drive may be pin-for-pin
  601. reversed from that found on all other motherboards, and you probably
  602. have the daughterboard above the motherboard).  The white paper
  603. sticker will bear a printed number something like "60-00237".
  604.  
  605.     The OTHER "number" to write down for future reference is the
  606. "REV.n" value on the white sticker normally found near the volume
  607. control sliding pot; this will be something like "REV.C", "REV.F",
  608. "REV.J", etc.
  609.  
  610.     The combination of the two sets of reference designators seems
  611. to uniquely identify all 3B1 systems I've seen.  And note that a
  612. "REV.C" on a "225" board is NOT the same as a "REV.C" on a "230"
  613. board.  And, before you ask, I have NOT been able to determine
  614. precisely what each "REV.n" represents and I doubt that information
  615. still exists even at CT (now UNISYS/NCG).
  616.  
  617. ------------------------------------------------------------------------
  618. 52) How can the monitor fail?
  619.  
  620.     [Courtesy of Rob Stampfli:]
  621.  
  622.     I have witnessed the loss of more than a few Unix-PC monitors
  623. to a phenomenon where the right side of the screen becomes
  624. increasingly compressed (nonlinear), at an exponentially increasing
  625. rate, until the monitor fails completely.  Usually, this occurs over a
  626. period of months, and it usually is observed after the monitor has
  627. been removed from service, stored, then placed back into service.
  628.  
  629.     [Rob notes a particular case which was diagnosed by his
  630. colleague, Harry Maddox, BEFORE the monitor failed completely.  He
  631. writes, "We believe that an actual failed monitor would take out an
  632. associated transistor and the flyback transformer, unless the monitor
  633. is fused, presenting a much more difficult problem to fix."  The
  634. particulars:]
  635.  
  636.     A 4.7 uF 25V non-polarizing electrolytic capacitor (C411) is
  637. bad.  C411 develops a high internal resistance and gets quite hot,
  638. which further causes it to deteriorate.  It may explode -- use
  639. caution.  C411 is located between L402 and T401 inside the monitor
  640. proper.  The value and voltage rating of this capacitor is not
  641. critical, "ESR" [equivalent series resistance] is however.
  642.  
  643.     Replace C411 with a mylar capacitor, 4-6 uF @ 25V or more,
  644. such as AT&T 535GA (4.22 uF @ 100V) or equivalent.  Mount on end with
  645. insulation on top lead.  Dress away from adjacent parts.
  646.  
  647.     Replace CAP ASAP before further damage is done.  Replace fuse
  648. if blown.  Check TR402 for Collector to Base shorts if set was not
  649. working.  Also D403 for short.
  650.  
  651.     Procedure:
  652.  
  653.     1. Remove CRT Cover (2 screws in back).
  654.     2. Remove Speaker Assembly (2 screws).
  655.     3. Remove RF Tape from bottom cover (shield).  One tape is
  656.        hidden at front of bottom shield.
  657.     4. Remove bottom shield.
  658.     5. A small part (I think a thermal sensor) is found on the
  659.        bottom of the PC board just under C411.  It is covered with
  660.        black tape.  Remove the tape and bend sensor out of the
  661.        way.
  662.     6. Remove C411 and replace with Mylar capacitor, 4-6 uF, 100V.
  663.     7. Replace sensor and tape.
  664.     8. Reassemble monitor.
  665.  
  666.     Note: the bottom shield is tricky to remove and replace if you
  667. don't unmount the monitor from its swivel mount, but it can be done.
  668. If monitor has failed completely, then check fuse (if present), TR402
  669. (C-B short), and D403 for a short.
  670.  
  671. ------------------------------------------------------------------------
  672. -- Mysteries -----------------------------------------------------------
  673.  
  674. ------------------------------------------------------------------------
  675. 53) What are the LED's left side of the machine for?
  676.  
  677.     This is from John Milton's HwNotes series #1.
  678.  
  679.     0 RED:      This is the "user LED". It can be turned on and off
  680.           with the syslocal(2) call. It is not used by any
  681.           existing applications.
  682.     1 GREEN:  This is the one most people get wrong. This LED
  683.           toggles every time there is a process context
  684.           change, and is cleared on the whole second.
  685.     2 YELLOW: This is the idle LED. When it is on, there are no
  686.           processes in the ready to run state.
  687.     3 RED:    Heart beat LED. This is toggled on the whole second.
  688.  
  689.     This and other interesting information is available in the
  690. HwNote series 1-15 that are archived on OSU.
  691.  
  692. ------------------------------------------------------------------------
  693. 54) What's /etc/update?  What does it do? 
  694.  
  695.     /etc/update is an antiquated command which is no longer
  696. necessary to be used.  It is not a shell script, but could easily be
  697. one.  The executable basically takes one argument, the number of
  698. seconds to sleep, or defaults to 30 (I believe).  It then sleeps that
  699. interval and then issues a sync(2) system call.  This is a continuous
  700. process -- it detaches itself from the current tty with the setpgrp(2)
  701. call, and closes all file descriptors 0, 1, and 2 (stdin, stdout, and
  702. stderr).  It was to be run by /etc/init, as a boot-time process, and
  703. was to remain there for the duration of the machine's uptime.
  704.  
  705. ------------------------------------------------------------------------
  706. 55) Why did the time display at the top of the screen go away?
  707.  
  708.     The time at the top of the display is provided by the program
  709. /etc/smgr, which combines the functionality of cron, /etc/update, a
  710. time display, plus maybe a few other mysterious things.  Equally
  711. mysterious is its propensity to occasionally die, leaving a stipple
  712. pattern in its place.  
  713.  
  714. As smgr does its cron processing, it logs what it is doing in
  715. /usr/adm/cron.log.  So that this file does not get too large,
  716. smgr responds to signal 17 (SIGUSR2) by truncating the log file.
  717. Unfortunately, smgr will exit if the log file is missing.
  718.  
  719. If you want to make sure this does not happen anymore, edit
  720. /etc/cleanup.wk (the script that runs weekly and sends smgr the
  721. clean up signal) and add
  722.     touch /usr/adm/cleanup.wk
  723. before the script sends the signal with "kill -17 $PID"
  724.  
  725.     Restarting smgr is thankfully unmysterious; become root and
  726. type "/etc/smgr".
  727.  
  728. ------------------------------------------------------------------------
  729. 56) How do I stop that darn double-ESC mode on console windows?
  730.  
  731.     Some programs that use the TAM (Terminal Access Method)
  732. library can leave the keyboard (really the shell window) in a strange
  733. state after leaving.  This state is characterized by each press of the
  734. ESC key injecting two 0x1b characters into the input stream.  This
  735. generally doesn't help anybody -- vi beeps too much, emacs is
  736. unusable, etc.  The fix is to issue the following ioctl from a C program:
  737.  
  738.         #include <sys/window.h>
  739.         ioctl(0, WIOCSESC, 0);    /* to turn off double-esc mode */
  740.  
  741.     If you really want it back again, do the following:
  742.  
  743.         ioctl(0, WIOCSESC, 1);    /* to turn on double-esc mode */
  744.  
  745. ------------------------------------------------------------------------
  746. 57) What do I do when the machine hangs at the boot message?
  747.  
  748.         Version #.##x
  749.         Real memory      = #######
  750.         Available memory = #######
  751.         Main board is ####
  752.  
  753.     9 times out of 10 the /etc/inittab file is either deleted,
  754. corrupted, or truncated because of some filesystem damage during a
  755. system crash.
  756.  
  757.     The machine will hang there at that Main board prompt forever
  758. since /etc/init is looking for the inittab file.  This is where it is
  759. handy to have a floppy filesystem disk with saved copy of /etc/inittab
  760. on it.  Boot the system using the "Floppy Boot Disk" (Disk 2 of ##),
  761. then insert your copy when it asks for the Floppy Filesystem Disk.
  762. Interrupt the script with <DEL> to get a "#" prompt when the first
  763. question appears.  On your floppy, if you followed the previous
  764. advice, is /etc/inittab.save, which can be happily copied to the
  765. /mnt/etc/inittab file when the hard disk root filesystem (/dev/fp002)
  766. is mounted from the floppy as /mnt.
  767.  
  768.         # umount /dev/fp002
  769.         # fsck -s /dev/rfp002
  770.         # mount /dev/fp002 /mnt
  771.         # ls -l /mnt/etc/inittab
  772.     If the file isn't there, or is corrupted:
  773.         # cp /etc/inittab.save /mnt/etc/inittab
  774.         # sync
  775.         # umount /dev/fp002
  776.         # sync
  777.         # sync
  778.         # reboot
  779.  
  780.     The other one time (out of 10), the /etc/inittab file is okay
  781. but there is a /etc/utmp.lck file on the system.  This happens in very
  782. rare race conditions involving the pututent(3C) routines.  Removing
  783. this file and rebooting will generally recover the system.
  784.  
  785. ------------------------------------------------------------------------
  786. 58) How can the UNIX PC be made more secure?
  787.  
  788.     The best way to not worry about security is to not allow users
  789. on your machine that aren't trusted.  Especially users that have shell
  790. access.
  791.  
  792.     There are several serious problems with the UNIX PC's
  793. software, specifically the User Agent (UA).  The UA (the windowing
  794. environment, also known as the Office environment) has some serious
  795. security problems.  The best solution, of course, would be to remove
  796. the entire UA system from your machine.  This isn't the easiest
  797. procedure (since there are lots of programs scattered all around the
  798. disk that are tied into the UA) and probably not the most desirable
  799. for some novice users.  What's so wrong with it?  Well, look in your
  800. trusty manuals, in section 4.  The manual UA(4) states (talking about
  801. UA configuration files):
  802.  
  803.     [...] (page 4)
  804.     EXEC and SH have a number of variations, which are used depending
  805.     on the intelligence of the process being invoked. 
  806.     [...]
  807.     The variations are specified via option characters as follows:
  808.  
  809.         -n    Run the process without a window
  810.         -w    Run the process without waiting
  811.         -d    Run the process in a dimensionless window
  812.         -p    Run the process with superuser privileges
  813.     [...]
  814.  
  815.     The "-p" option being the problem.  For a little experiment to
  816. show to a security conscious user (who still likes the UA), start out
  817. in a non-privileged user account.
  818.  
  819.     First create a file in your home directory called "Office"
  820. with the following lines:
  821.  
  822.         Name=Super User UNIX
  823.         Default = Run
  824.         Run=EXEC -pwd $SHELL
  825.  
  826.     Then type:
  827.  
  828.         $ exec /usr/bin/ua
  829.  
  830.     Select the new object that you just created ("Super User
  831. UNIX") and then at the "#" prompt type "id" for the effect.
  832.  
  833.         # id
  834.         uid=0(root) gid=0(root)
  835.  
  836.     OK, convinced?
  837.  
  838.     If you really *LOVE* the UA, you can do something about this.
  839. Protect the programs /usr/lib/ua/uasetx and /usr/lib/ua/uasig so they
  840. are not executable by "other" and only executable by a "trusted" group.
  841.  
  842.     -rwsr-x---  1 root    trusted    4268 Jan  1  1970 /usr/lib/ua/uasetx
  843.     -rwsr-x---  1 root    trusted    2068 Jan  1  1970 /usr/lib/ua/uasig
  844.  
  845.     Another problem involves UA mail-handling.  Send yourself some
  846. electronic mail.  Nothing elaborate is necessary.
  847.  
  848.         $ mail myself < /dev/null
  849.  
  850.     Select the [mailbox] icon when it comes up, and then when
  851. you're in /bin/mail, at the "?" prompt type "! /bin/sh".  Poof!  Root
  852. shell.
  853.  
  854.         # id
  855.         uid=0(root) gid=0(root)
  856.         # pwd
  857.         /etc/lddrv
  858.  
  859.     This last problem can easily be corrected with Lenny
  860. Tropiano's "email" program that is archived on OSU as "email.sh.Z".
  861. That program sets the correct user id, group id, and home directory.
  862.  
  863.     The other things to look for are covered in lots of books on
  864. UNIX security: directories with 777 permissions (world writable),
  865. setuid programs that aren't very security conscious, etc.
  866.  
  867. ------------------------------------------------------------------------
  868. 59) How do I access the expert menus in the diagnostics?
  869.  
  870.     The diagnostic floppy has a mode in it for the more
  871. experienced system tester.  This mode allows the user to skip the
  872. menus and just specify the test to run.  The diagnostic tests can be
  873. run repeatedly for testing intermittent hardware.  The diagnostic
  874. output can be sent to a parallel printer for review later, and also
  875. for unattended testing (since the output can scroll off the screen
  876. rather easily).
  877.  
  878.     To enter the expert mode, boot the diagnostic disk and type in
  879. "s4test" at the first menu prompt.  The result is the following
  880. prompt:
  881.  
  882.         expert>
  883.  
  884.     From there you can type "?" for a "semi-verbose" command
  885. syntax, and a list of many of the tests.  For more detail on what
  886. tests and subtests you can do, grab a nice file by Craig Votava
  887. (cmv@ihlpf.att.com) called "s4test.info.Z" from the OSU Archives.
  888.  
  889. ------------------------------------------------------------------------
  890. -- Credits -------------------------------------------------------------
  891.  
  892.     The following are just a few of the folks who made this list possible.
  893.     Apologies to those who may have been missed.
  894.  
  895.     James Warner Adams    <adams@ucunix.san.uc.edu>
  896.     Brad Bosch        <brad@i88.isc.com>
  897.     Brian Botton        <botton@iexist.att.com>
  898.     David Brierley        <dave@galaxia.network23.com>
  899.     Brant Cheikes        <brant@manta.pha.pa.us>
  900.     Alex S. Crain        <alex@umbc3.umbc.edu>
  901.     Mark Dapoz        <...!cs.utoronto.edu!hybrid!mdapoz>
  902.     Mike "Ford" Ditto    <ford@yoda.uucp>
  903.     Roger Florkowski    <...!cs.utexas.edu!taliesin!roger>
  904.     Thad Floryan        <thad@btr.com>
  905.     Darren Friedlien    <darren@bacchus.bacchus.com>
  906.     Mark Galassi        <rosalia@max.physics.sunysb.edu>
  907.     Robert Granvin        <rjg@sialis.com>
  908.     Emmet P. Gray        <...!uunet!uiucuxc!fthood!egray>
  909.     Jan Isley        <...!gatech!bagend!jan>
  910.     Karl Kleinpaste        <karl@cis.ohio-state.edu>
  911.     Gil Kloepfer, Jr    <gil@limbic.ssdl.com>
  912.     Jon H. LaBadie        <...!princeton!jonlab!jon>
  913.     John McMillan        <jcm@pegasus.att.com>
  914.     Perry Miller        <pbm@cup.portal.com>
  915.     John Milton        <...!cis.ohio-state.edu!n8emr!uncle!jcm>
  916.     Scott H. Mueller    <scott@zorch.SF-Bay.ORG>
  917.     Boyd Ostroff        <ostroff@oswego.oswego.edu>
  918.     Arnold Robbins        <arnold@skeeve.ATL.GA.US>
  919.     Gary W. Sanders        <...!osu-cis!n8emr!gws>
  920.     Rob Stampfli        <...!osu-cis!n8emr!kd8wk!res>
  921.     Lenny Tropiano        <lenny@icus.ICUS.COM>
  922.     Craig Votava        <cmv@ihlpf.att.com>
  923.     Norman Yarvin        <yarvin-norman@cs.yale.edu>
  924.     Chris Lewis        <clewis@ferret.ocunix.on.ca>
  925.  
  926. ------------------------------------------------------------------------
  927. Local Variables:
  928. mode: outline
  929. outline-regexp: "-- [a-zA-Z]+\\|60\\|[0-9]+)"
  930. eval: (hide-body)
  931. End:
  932.  
  933.  
  934.  
  935. -- 
  936. John B Bunch              AT&T   I don't want the world, I just want your
  937. 27 Stanwix St. Apt. #8   UnixPC           half....     -TMBG
  938. Albany, NY 12209        Sun 3/50        jbunch@nyx10.cs.du.edu
  939. (518) 436-3810                        Proud Albany has Gay Rights!
  940.