home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / 3b1 / 3262 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  42.1 KB

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