home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / coherent / 6567 < prev    next >
Encoding:
Text File  |  1993-01-04  |  11.0 KB  |  280 lines

  1. Newsgroups: comp.os.coherent
  2. Path: sparky!uunet!spool.mu.edu!caen!hellgate.utah.edu!csn!teal.csn.org!wizard
  3. From: wizard@teal.csn.org (Michael Willett)
  4. Subject: FAQ, Technical Tips for Coherent 4.0
  5. Message-ID: <C0C6zJ.EtE@csn.org>
  6. Sender: news@csn.org (news)
  7. Nntp-Posting-Host: teal.csn.org
  8. Organization: Colorado SuperNet, Inc.
  9. Date: Mon, 4 Jan 1993 15:57:18 GMT
  10. Lines: 268
  11.  
  12.  
  13.  
  14.  
  15.           T E C H N I C A L  T I P S  F O R  C O H E R E N T  4.X
  16.  
  17.                  Technical Tips FAQ for Rev 4.X of Coherent
  18.  
  19.                                   Rev 2.2
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                           Help With Installation:
  26.                4.0 Binary compatability with other software:
  27.                             Compiling programs:
  28.                    Help with serial ports and terminals:
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. NOTE: I have had very few problems with Coherent 4.X, so I was at a
  36.       loss to help in the FAQ.  I asked Bob Hemedinger to help
  37.       me in this area, and he was kind enough to put together the
  38.       help areas including Installation, Binary (COFF) Compatibility,
  39.       and a few tips on compiling programs.  This is one of the many
  40.       reasons I have stayed with Coherent.  Thanks, Bob!
  41.  
  42.  
  43. Help With Installation:     From: Bob Hemedinger <support@mwc.com>
  44. -----------------------
  45.  
  46. 1) I'm updating from version 3.x to 4.x and am being asked for
  47.    a serial number from a registration card. I don't have one.
  48.  
  49.         - updating users do not need new serial numbers. Use
  50.           the number supplied with your 3.x version. If you don't
  51.           know what it is, read the file /etc/serialno.
  52.  
  53. 2) I'm seeing various characters in the upper right hand corner of
  54.    my screen when Coherent boots.
  55.  
  56.         - These are used by MWC for debugging some installation
  57.           problems. If installation fails to boot, the last character(s)
  58.           displayed in the corner of the screen will give a significant
  59.           clue as to where the failure occurred.
  60.  
  61. 3) I get a core dump during the installation. The last digits of the
  62.    eip register are 2EF.
  63.  
  64.         - Call MWC for a new set of installation diskettes.
  65.  
  66. 4) I see a prepare_gift() message when Coherent boots.
  67.  
  68.         - The tertiary boot program, /tboot, is attempting to read your
  69.           CMOS to get your hard drive parameters and other information.
  70.           This process met with an unexpected error, usually related to
  71.           the initialization of cache memory. If Coherent continues to boot
  72.           and run, ignore the message. If the boot fails, try this:
  73.  
  74.                 - hit <space> when prompted by tboot to abort the
  75.                   boot process. Type 'info' at the first '?' prompt.
  76.                   Ignore the returned data. At the next '?' prompt,
  77.                   type 'update' or 'begin' if updating or installing,
  78.                   or enter the name of the kernel to boot. Follow
  79.                   this procedure exactly. Do NOT try the 'info' command
  80.                   more than once.
  81.  
  82. 5) When booting the installation, I come to a # prompt with a message
  83.    displayed that I didn't boot properly and need to reboot.
  84.  
  85.         - tboot failed to pass what you typed at the '?' prompt
  86.           to the installation program. A prepare_gift() message
  87.           was probably displayed before this, sometimes too quickly
  88.           to be seen unless one is looking for it specifically.
  89.           One can either reboot and use the procedure from item #4
  90.           (above), or type 'build' at the # prompt to install, or
  91.           type 'build -u' at the # prompt to update from 3.x.
  92.  
  93. 6) During boot, I see a message about not being able to brelease a
  94.    modified buffer.
  95.  
  96.         - In most cases, Coherent will continue to boot normally. In some,
  97.           the message will scroll endlessly. This is an indication of an
  98.           incompatible bios and is a very rare case. The Epson bios set
  99.           has sometimes produced this problem. If at all possible, update
  100.           the bios chips in the computer. Phoenix is the bios chipset
  101.           MWC recommends.
  102.  
  103. 7) After installing disk #1, I reboot Coherent from the hard drive, but
  104.    am never prompted to enter a diskette -or-, I reboot Coherent from the
  105.    hard drive, and the system hangs with a Coherent banner message on the
  106.    screen.
  107.  
  108.         - Thou hast most likely chosen to use either virtual consoles,
  109.           or no virtual consoles but did select a loadable keyboard
  110.           table. Coherent is hanging at the point where keyboard initialization
  111.           takes place, indicating that the keyboard does not properly support
  112.           IBM scan code 3. This is a different keyboard mode than DOS
  113.           uses, and probably a good 10% of keyboards of Asian origin will
  114.           have problems with this. Reinstallation without virtual consoles
  115.           nor loadable keyboard tables should resolve this.
  116.  
  117. 8) All diskettes install without a hitch, but after rebooting, fsck finds
  118.    all sorts of DUP blocks and bad i-nodes.
  119.  
  120.         - This is rare, but is usually the result of installing onto a
  121.           large partition. This is possibly related to sector translation
  122.           firmware and/or the manner in which the firmware deals with
  123.           bad blocks... we don't know yet. Break the large partition into
  124.           smaller partitions and try installation again. If this is an ESDI
  125.           drive, and the controller is doing sector translation, try switching
  126.           it to native mode.
  127.  
  128.  
  129. 4.0 Binary compatability with other software:
  130. --------------------------------------------
  131.  
  132. Coherent 4.x compiles and runs COFF executables. Third party COFF software
  133. will most likely run if the following conditions are true:
  134.  
  135.         - does NOT use shared memory nor shared libraries. We plan to
  136.           implement these in the next release of Coherent. Coherent
  137.           4.0 shared memory is not System V compliant.
  138.  
  139.         - does NOT rely on sockets nor streams. Again, we plan to have
  140.           have at least one of these in the next release.
  141.  
  142.         - does NOT use graphics. Coherent 4.0 is strictly a text-based
  143.           system. Again, we plan to have some form of graphics support
  144.           in the future.
  145.  
  146. Some examples of 3rd party software running under Coherent 4.x:
  147.         ACUCOBOL
  148.         Xtree
  149.         BASIS International BBX/Progression 3 (BASIC)
  150.         FilePro
  151.  
  152.         - For more info, please contact MWC, or email sales@mwc.com.
  153.  
  154.  
  155. Compiling programs:
  156. -------------------
  157.  
  158. 1) The compiler is complaining about not enough memory.
  159.  
  160.         - You may have a significant amount of memory, say 2 or 4 Megabytes,
  161.           but one must also account for other running processes. The compiler
  162.           by default tries to do all of its work in core (memory). If it
  163.           aborts due to not enough memory, then add a -T0 to your cc command
  164.           line. This will force the compiler to use temporary files on
  165.           the hard drive, rather than in core.
  166.  
  167. 2) I'm trying to port software from a bbs or the net. Is Coherent closer to
  168.    System V or BSD?
  169.  
  170.         - You should select System V wherever possible. We tend to
  171.           avoid BSDisms.
  172.  
  173. 3) When compiling a package, the linker complains that getwd() doesn't
  174.    exist. This worked under 3.x. What happened?
  175.  
  176.         - With Coherent 4.0, we have gone to getcwd() in place of
  177.           getwd(). We have supplied _getwd() for people that need
  178.           getwd(), but we are planning on dropping this in the
  179.           future.
  180.  
  181.  
  182. Help with serial ports and terminals:
  183. -------------------------------------
  184.                  d10590@tanus.oz.au (Robert Chalmers) Coherent V4.0/4.01.
  185.                         Thanks, Robert!
  186.  
  187. If you follow the installation instructions, and choose their defaults,
  188. you will end up with a ttys file very similar to the following.
  189.  
  190.         0lPcom1l <--|
  191.         0lPcom2l    | -- The four standard COM1, COM2,
  192.         0lPcom3l    |    COM3 & COM4 ports. NOT CONFIGURED.
  193.         0lPcom4l <--|    See the notes below for configuration.
  194.         1lPmono0 <--|
  195.         1lPmono1    | -- The terminal virtual consoles.
  196.         1lPmono2    |    These REPLACE the V3.x's 1Pconsole
  197.         1lPmono3 <--|     entry in that versions ttys file.
  198.                           You dont have to touch these.
  199.  
  200. For  example, on  my system  I have the  following hardware.   One standard
  201. HDD/FDD Controller  (IDE) with COM1,  COM2 and LPT1 on  board, and enabled.
  202. These live at 3F8 - IRQ4, and 2F8 - IRQ3.  LPT1 uses 378 and IRQ7.
  203.  
  204. One standard Taiwan Multi I/O card  with 2 COM ports, one printer port, and
  205. one game port.  This card can be configured as  COM1/2  or COM3/4, and LPT1
  206. or LPT2. I  have the jumpers set for the  following. COM3 at 3E8 - IRQ4 and
  207. COM4 at 2E8 - IRQ3, with the second printer, LPT2 at 278 - IRQ5.
  208.  
  209. Now, setting them up, as applied to this type of 2 board setup.  If you are
  210. not sure  if your installation configured the  ports correctly, then follow
  211. the instructions  in the Release  Notes and Installation  Guide under 'Asy'
  212. exactly as  they appear, regarding the making of  the devices.  Dont change
  213. anything. yet.  Now, the thing to  note is the rule on IRQs and Polling. If
  214. you are using COM2 as your  modem port, (seems to be the most used option),
  215. and COM1 as a terminal connection,  and both are using IRQs, then the other
  216. two  must be  Polled. COM3  and COM4  must be  Polled. Observe  my settings
  217. listed,
  218.  
  219.         0lPcom1l <--- Serial terminal on COM1. IRQ4
  220.         1rLcom2r <--- Modem, incoming, on COM2. IRQ3
  221.         0lLcom2l <--- Modem, outgoing (the same modem) on COM2. IRQ3
  222.         0lPcom3pl <--- Serial terminal on COM3. Polled
  223.         0lPcom4pl <--- Serial terminal on COM4. Polled
  224.         1lPmono0 <-|
  225.         1lPmono1   |
  226.         1lPmono2   | --virtual screens.
  227.         1lPmono3 <-|
  228.  
  229. The Serial terminals are shown as 'disabled' in the above listing, but when
  230. they are connected, you simply type  'enable com3pl' and presto!, you get a
  231. login prompt on that terminal.
  232.  
  233. In SUMMARY:
  234. Install with all defaults.
  235. Run the three configuration commands in the Asy entry.
  236. The asyxxx entries in your /dev directory are the prototypes for
  237. the comxx devices, so you can ignore them for the purposes of this.
  238. Decide which lines you will use, and check your IRQ/Poll combination.
  239. Check your physical wiring.
  240.  
  241. For terminals, you only need three wires:
  242.  
  243. D25 connectors. TXD to RXD, RXD to TXD, Common Ground.
  244.         2 --> 3
  245.         3 <-- 2
  246.         7 <-> 7
  247. D9 connector. TXD to RXD, RXD to TXD, Common Ground.
  248.         2 --> 3
  249.         3 <-- 2
  250.         5 <-> 5
  251.  
  252. In the above setting, to call out on the modem, you MUST type
  253.  'disable com2r' before  you can call out on com2l.  When you are finished,
  254. type 'enable com2r' to put your modem back on line.
  255.  
  256. Other  things  of  note: Old  Xt's  with  a com  port  and  any version  of
  257. TELIX/PROCOMM/etc etc  make good cheap terminals, as  do old terminals that
  258. businesses throw away as obsolete.
  259.  
  260. Windows  3.1's Terminal  will emulate  a  vt100. If  you have  a second  PC
  261. connected  to  a Coherent  serial  port, its  'almost!'  like having  Xterm
  262. running Coherent in a Term window.  You can even cut and paste between Word
  263. for Windows etc and vi. So who needs X I ask?
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276. -- 
  277. Michael Willett, mike@array.com    uupsi!monarch!mike   uunet!csn!monarch!mike
  278.                 So much fun, so little time to enjoy it...
  279.  
  280.