home *** CD-ROM | disk | FTP | other *** search
/ Danny Amor's Online Library / Danny Amor's Online Library - Volume 1.iso / html / faqs / faq / 3b2-faq / part2 < prev   
Encoding:
Text File  |  1995-07-25  |  31.7 KB  |  818 lines

  1. Subject: AT&T 3B2 Frequently Asked Questions - Part 2/2
  2. Newsgroups: comp.sys.att,news.answers,comp.answers
  3. From: friedl@mtndew.com (Stephen J. Friedl)
  4. Date: 20 Nov 1994 11:15:20 -0800
  5.  
  6. Archive-name: 3b2-faq/part2
  7.  
  8. ------------------------------------------------------------------------------
  9. Subject: 17 What are the pinouts of those phone-like serial connectors?
  10. ------------------------------------------------------------------------------
  11.  
  12. The connectors 3B2's use are called RJ-45.  They are 8 conductor
  13. telephone like connectors, and lucky for us, are pretty standard.  You
  14. can either buy the cables and connectors from AT&T for an arm and a
  15. leg, or elsewhere.  I don't know about the cables, since I've never
  16. bought them from anyone but AT&T, but I have made my own RS-232
  17. connectors with excellent results.
  18.  
  19. The following is an excellent description of the RJ-45 port on the 3B2:
  20.  
  21. From: rthomas@hakatac.almanac.bc.ca (Robert N Thomas)
  22.  
  23. Looking into the 8 pin modular RJ-45 jack you'll see that pin 1 should
  24. be on the right.
  25.  
  26.     Diagram of what you should see when looking
  27.     at an 8 PIN modular jack connector.
  28.  
  29.                +----------+
  30.                | 87654321 | 
  31.                |          |
  32.                +--+    +--+
  33.                   |    |
  34.                   +----+
  35.  
  36. Ok, not all 3B2 8 pin modular jack connectors are created "EQUAL".
  37. These beasties are used for running StarLan 1MBit, EPORTS cards,
  38. PORTS cards, as well as for running ETHERNET 10MBits as well.
  39.  
  40. The pin outs for the two modular jack cables on the back of the
  41. 3B2, as well as for the PORTS card should be as follows:
  42.  
  43.      PIN     Lead           Direction             Explanation
  44.     =====  ==========     =============         ========================
  45.       1     PROT GRD                              Ground
  46.       2     reserved                              Not Connected
  47.       3     TXD0            Out                   Transmit Data
  48.       4     DTR0            Out                   Data Terminal Ready
  49.       5     RXD0            In                    Receive Data
  50.       6     DCD0            In                    Data Carrier Detect
  51.       7     SIG GRD                               Signal Ground
  52.       8     reserved                              Not Connected
  53.  
  54. The 2 modular jacks on the back of your machine should be labeled
  55. console and contty.  If your talking about a PORTS card, here is
  56. what one looks like:
  57.  
  58.      Centronics connector
  59.      for Parallel Printer
  60.           |
  61.          \|/
  62.      +------------+     +----+    +----+    +----+   +----+
  63.       \          /      |    |    |    |    |    |   |    |
  64.        \________/       +-__-+    +-__-+    +-__-+   +-__-+
  65.  
  66.                            ^         ^        ^        ^
  67.                           The above 4 RJ45 connectors are for
  68.                         plugging serial terminals into your 3B2.
  69.  
  70. The EPORTS card is card that has 8 RJ45 connectors (8 pin modular
  71. jacks) on it.  This card is where you would want to plug a high
  72. speed modem onto your system, because the above connectors DO NOT
  73. SUPPORT HARDWARE FLOW CONTROL.  The PIN OUTS for the EPORTS card
  74. are as follows:
  75.    
  76.      PIN     Lead           Direction             Explanation
  77.     =====  ==========     =============         ========================
  78.       1     PROT GRD        ---                   Ground
  79.       2     CTS             In                    Clear to Send
  80.       3     TXD0            Out                   Transmit Data
  81.       4     DTR0            Out                   Data Terminal Ready
  82.       5     RXD0            In                    Receive Data
  83.       6     DCD0            In                    Data Carrier Detect
  84.       7     SIG GRD         ---                   Signal Ground
  85.       8     RTS             Out                   Request to send
  86.  
  87. * NOTES:
  88.  
  89. CTS & RTS (if you have them).
  90.     Most 3B2 systems need to do the following to enable hardware
  91.     flow control.  Otherwise the 3B2 will ignore RTS & CTS.
  92.     Also see the FAQ item about handing high speed modems on
  93.     EPORTS cards for more detailed information.
  94.  
  95.     epstty hfc    <-- XON/XOFF flow control must be disabled
  96.               before you do this.  The stty command is
  97.               one way to disable XON/XOFF.  Line
  98.               DISCIPLINES are another way to do this.
  99.               See etc/gettydefs file.
  100.  
  101. DTR0 notes. {3B2 uses this to signal DISCONNECT}
  102.  
  103.     When the 3B2 is active on the port  (waiting for someone
  104.     to logon to the port or whatever.), DTR is active.   When
  105.     the 3B2 wishes to DISCONNECT (ie, too many wrong passwords,
  106.     or the user logs off the port), it will lower DTR momentarily.
  107.     If you are trying to get a modem to work, you might want
  108.     the modem to DISCONNECT the user when DTR is dropped..
  109.  
  110. DCD0 notes. {Used to tell 3B2 that the user has DROPPED CARRIER}
  111.  
  112.     When the DCD is set inactive, the 3B2 will assume that the
  113.     user has either turned off the terminal, or dropped carrier.
  114.     If this occurs, the user is logged off the system, and
  115.     background tasks are aborted.  If DCD is inactive, be
  116.     aware that NONE of the standard AT&T provided utilities
  117.     are capable of sending anything to the device.  There is
  118.     a way to get around this in the more recent releases of
  119.     the 3B2's OS.  See your admin documentation for details.
  120.  
  121.     Otherwise, in the case of a MODEM, when the user drops
  122.     carrier, you want the modem to "momentarily" lower this
  123.     DCD0 just long enough for the 3B2 to realize that the user
  124.     has dropped carrier.  The modem should then Re-ENABLE DCD0,
  125.     so that the 3B2 will be able to send data to the modem.
  126.     {needed for cu, and outbound UUCP to work correctly in
  127.     older releases of the OS}
  128.  
  129.     Most semi-decent modems are capable of handling DCD and
  130.     DTR in a 3B2 friendly manner.  I have done this with PEP's,
  131.     USR HST's, and MicroComm 9600 AX modems, without incident.
  132.  
  133. From: pen@cbnewsf.cb.att.com (paul.e.nepermann)
  134.  
  135. Here are the pinouts for the connectors from the 8 pin modular to
  136. the 25 pin adapters.
  137.  
  138.     8 pin modular to 25 pin RS232C Terminal/Printer
  139.     8 pin modular to 25 pin RS232C ACU Modem
  140.  
  141.           |       Terminal/Printer        |    ACU Modem
  142. 8 pin side    |    25 pin/male   |    25 pin/female |    25 pin
  143.           |              |              |
  144. 1  FG          |    FG    1     |    FG    1     | FG    1
  145. 2  CTS (in)   |    RTS    4     |    RTS    4     | CTS    5
  146. 3  TXD (out)  |    RXD    3     |    RXD    3     |    TXD    2
  147. 4  DTR (out)  |    DCD    8     |    DCD    8     | DTR    20
  148. 5  RXD (in)   |    TXD    2     |    RXD    2     | RXD    3
  149. 6  DCD (in)   |    DTR    20    |    DTR    20    | DCD    8
  150.           |    DSR    6     |              |
  151. 7  SG          |    SG    7     |    SG    7     | SG    7
  152. 8  RTS (out)  |    CTS    5     |    CTS    5     | RTS    4
  153.  
  154. ------------------------------------------------------------------------------
  155. Subject: 18 What is the u3b. newsgroup hierarchy?
  156. ------------------------------------------------------------------------------
  157.  
  158. Don't worry about it, you're not missing anything.  It's an almost
  159. completely dead hierarchy that used to be about 3B2's and 3B1's.
  160. Discussions about 3B2's have migrated to comp.sys.att, and discussions
  161. about 3B1's have migrated to comp.sys.3b1.
  162.  
  163. ------------------------------------------------------------------------------
  164. Subject: 19 What is the proper way to rebuild the kernel after tuning
  165.         kernel parameters?
  166. ------------------------------------------------------------------------------
  167.  
  168. # cp /unix /oldunix
  169. # cd /etc/master.d
  170.  
  171. Edit your kernel parameters
  172.  
  173. # cd /boot
  174. # mkboot -k KERNEL
  175. # cd /
  176. # sysadm firmware
  177.  
  178. Once in firmware mode, have the 3B2 boot using /etc/system.
  179.  
  180. IMPORTANT NOTE: you can rebuild parameters for modules other than KERNEL,
  181. but if you do so be sure to omit the "-k" option to mkboot.  This is the
  182. special option that means "this is the kernel".
  183.  
  184. ------------------------------------------------------------------------------
  185. Subject: 20 Which GNU packages DON'T run on the 3B2?
  186. ------------------------------------------------------------------------------
  187.  
  188. Most software from the Free Software Foundation compiles and runs
  189. on 3B2s with little or no modification.  The following are exceptions
  190. and their reasons.  Please prove me wrong, I'd love to have some
  191. of this stuff on my 3B2 as well.
  192.  
  193. gdb    - GNU Debugger
  194.       No configuration files for WE32K processor.
  195.  
  196. libg++    - C++ Libraries
  197.       The g++ compiler produces invalid assembler code for one
  198.       of the modules.
  199.  
  200.  
  201. ------------------------------------------------------------------------------
  202. Subject: 21 How do I put a root and/or swap partition on a SCSI drive
  203.             on a 3B2/300|310|400?
  204. ------------------------------------------------------------------------------
  205.  
  206. From: rthomas@hakatac.almanac.bc.ca (Robert N Thomas)
  207.  
  208. [This is intended for experienced 3B2 system administrators only.
  209.  You can lose all the data on your system if a mistake is made.
  210.  You should make a full system backup before you try this.  Heck,
  211.  make two just to be sure.  Do this at your own risk!]
  212.  
  213. Well, I have managed to get a SCSI drive interfaced to my unix system.
  214. I thought that while this is all fresh in my mind, that I would type
  215. this document and make it available to the Net.  I also am keeping a
  216. copy of it to aid me if I need to do this again.  The EMAIL message by
  217. geoff describing the edittbl process was invaluable to me.  But it
  218. still took 30 hours for me to get it to work.  Hopefully the
  219. information here will make it easier for someone else trying to get
  220. this stuff to work.
  221.  
  222. I have a 3B2/400 computer system, with the following required hardware
  223. and software:
  224.  
  225. 1 SCSI Host Adaptor Card.
  226. 1 SCSI cable.
  227. 1 brand new SCSI disk drive. In this case a Quantum 170 Meg drive.
  228.  
  229. Software Required.
  230. cd /usr/options
  231. grep -i scsi *
  232. scsi.name:AT&T 3B2 SCSI Host Adapter Utilities Release 1.0
  233. sd01.name:AT&T 3B2 SCSI Disk Controller Utilities Release 3.0
  234.  
  235. You need the SCSI host adaptor utilities, and disk controller
  236. utilities.  If you don't have the SCSI card, and the software, don't
  237. bother trying it.
  238.  
  239. Here's what I did.
  240.  
  241. prtconf  <-- Take down what SCSI addresses you currently have in use.
  242.              Look under SCSI at the ID: number.
  243.  
  244. Jumper your new hard disk to an unused SCSI ID: number (0-7) (don't
  245. forget about terminating resistors.)
  246.  
  247. I didn't do this and wasted a few hours because I managed to pick one
  248. of the few "used" address's.  BTW, Address 0 is always used on a 3B2.
  249. SCSI host adaptor takes this address.
  250.  
  251. Power Down the 3B2.
  252. Connect the new SCSI drive to the 3B2 SCSI bus.
  253. Power the 3B2 on.
  254.  
  255. With finger on the CTRL-S or printscreen, watch the machine boot. As it
  256. comes up it will say something like:
  257.  
  258. unknown device "QUANTUM ELS170S         3.5" not configured (*void).
  259.   (TC:0, ID:2)
  260. {Gee, maybe I am installing a Quantum 170 on my 3b2 at address 2 eh??}
  261.  
  262. Write all this down, and ensure you got it right.  The 3B2 usually
  263. tries to scroll it off right away for you, to be helpful :-}
  264.  
  265. logon as root.
  266. cd /etc/scsi
  267. ./edittbl -l     <-- The idea here is to view how SCSI disk entries are
  268.                      formatted.  I'll show you what I did here to get the
  269.                      QUANTUM 170 up.
  270. ./edittbl -i     <-- We want to insert a new entry.
  271. Enter Vendor ID: QUANTUM
  272.             The vendor ID must be padded out to 8 characters.  So add one
  273.             space on the end of quantum to pad it out to 8 characters.
  274. Enter Product ID: ELS170S         
  275.             The vendor id entered must be 16 characters.  The "3.5" won't
  276.             fit in 16 characters, hence I simply added 9 spaces onto the
  277.             end until I had 16 characters.
  278. AT&T Device Name: SD01
  279.             SD01 = disk drive
  280.             ST01 = tape drive
  281. TC Driver type: 0x001
  282. Enter Peripheral Device Type: 0x000       <-- Most cases.  1 = tape
  283.                                                            0 = disk
  284. Max lu supported: 0x001       <--- How many logical units, or if you like
  285.                                    subdevices are here.  Usually 1.
  286.  
  287. The system then asks again what vendor ID again.
  288.  
  289. Enter Vendor ID: <CTRL-D>    <--- CTRL-D to update and exit.
  290.                                   Interrupt to exit without save
  291.  
  292.     Next...
  293.  
  294. cd to /usr/lib/scsi
  295.  
  296. Next, you want to edit the tc.index file.   Add an entry for your hard
  297. disk similar to the others.  Here's what I did for the Quantum.
  298.  
  299. QUANTUM ELS180S         3.09
  300. sd00.0
  301.  
  302. Again, QUANTUM padded to 8 chars, ELS170S.  Must be at least 16 chars
  303. long.  In my case I went "over it".
  304.  
  305. sysadm reboot     <--- Reboot machine.
  306.  
  307. Once machine is up, 
  308.  
  309. sysadm single     <--- Go to single user mode.
  310.                        Rumor has it that formatting needs single user mode.
  311.  
  312. cd /usr/lib/scsi  
  313. ./format -v /dev/xxxxxx   <-- In my case /dev/rdsk/c1t6d0s6
  314.               <-- c1 = controller #1, t6 = scsi ID number
  315.               <-- d0 = disk 0, and s6 = partition number
  316.  
  317. sysadm partitioning       <-- to add simple data partitions to the system
  318.               <-- and add them
  319.  
  320.       or
  321.  
  322. In my case, since I wanted the SCSI disk to replace my existing boot
  323. disk, you can't use sysadm partitioning.  Instead, you have to do it in
  324. a more manual mode.  I could use a SLOW MFM drive for critical things
  325. like root, swap and /usr, or I could use a nice BRAND NEW SCSI drive
  326. for this, and use the MFM's for other less critical things.
  327.  
  328. To become a bit more familiar with how your disks are setup, you can
  329. try the below in safety.  prtvtoc only displays the current settings.
  330.  
  331. prtvtoc /dev/dsk/c1d0s6   <-- Display partitions on my BOOTABLE CD WREN
  332.                               70 Meg MFM hard disk. A standard one for most
  333.                               3B2 systems.
  334. prtvtoc /dev/dsk/c1d1s6   <-- This displays the second partition settings for
  335.                               the second MFM hard disk on a 3B2.
  336.  
  337. If the above does not work, you may cat /etc/fstab and this will show
  338. you most of your disks.  You could also check /etc/system for your
  339. root partitions name.
  340.  
  341. In my case, I decided to store these configurations in /etc/vtoc, since
  342. it makes sense to know what's in your partition tables.  The manuals
  343. made mention of this vtoc directory.  When I got there, this was an
  344. empty directory so I decided to populate it.
  345.  
  346. cd /etc/vtoc
  347. prtvtoc /dev/rdsk/c1d0s6 > c1d0s6.vtoc
  348. prtvtoc /dev/rdsk/c1d1s6 > c1d1s6.vtoc
  349.  
  350. Since we want to add partitions to the newly added SCSI disk, what I
  351. did is.   Remember to select the correct device id for the disk your
  352. adding.
  353.  
  354. fmthard /dev/rdsk/c1t6d0s6
  355.  
  356. This will install an unparitioned vtoc (volume table of contents, or
  357. partition table if you prefer).  This gave me some badly needed
  358. information about how many sectors are usable on the disk.
  359.  
  360. I then would recommend:
  361.  
  362. cd /etc/vtoc
  363. prtvtoc /dev/rdsk/c1t6d0s6 > c1t6d0s6.vtoc
  364.  
  365. Funny thing about prtvtoc.  It's output can be read by the partitioning
  366. program to re-create your partitions!!!  Nice touch don't you think.
  367.  
  368. I then went and edited this file's partition tables entries such that I
  369. would have 20 Meg root, 140 Meg /usr and 8 Megs of swap.
  370.  
  371. Here is what it looked like when I finished for my Quantum drive:
  372.  
  373. * /dev/rdsk/c1t6d0s6 partition map
  374. *
  375. * Dimensions:
  376. *     512 bytes/sector
  377. *      63 sectors/track
  378. *       4 tracks/cylinder
  379. *     252 sectors/cylinder
  380. *    1325 cylinders
  381. *    1323 accessible cylinders
  382. *
  383. * Flags:
  384. *   1: unmountable
  385. *  10: read-only
  386. *
  387. *                          First     Sector    Last
  388. * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
  389.        0      2    00        100     40986     41085
  390.        1      3    01      41086     16384     57469
  391.        2      4    00      57470    275926    333395
  392.        6      0    01          0    333396    333395
  393.        7      0    01          0       100        99
  394.  
  395.  
  396. Partition 0 is a root file system.  Starting at sector 100, going to
  397. sector 41085, making a total of 41085 - 100 + 1 = 40986 sectors.
  398.  
  399. Partition 1 is my swap partition.  I started this one at sector num
  400. 41086 to 57469, making a total of 57469 - 41086 +1 = 16384 sectors, or
  401. 8 Meg of swap (16384 * 512 bytes/sector = 8Meg).  I also positioned
  402. this as close to the center of the drive as possible, to try and make
  403. it more accessible.  I want speedy access to this area.  Putting it at
  404. the beginning of the drives, means that when the 3B2 has to read a
  405. swapped process, its got to seek to the beginning of the drive.  I save
  406. myself a bit of seek time.
  407.  
  408. Partition 2 is my /usr file system.
  409.  
  410. Partition 6 defines the total length of the drive.
  411.  
  412. Partition 7 defines the BOOT area of the drive.  I selected the
  413. beginning of the drive.  I suspect you could move it anywhere, but for
  414. me the beginning is good enough.
  415.  
  416. The TAGS also seem to define the type of partition, hence you should
  417. follow the TAG & FLAG examples shown above.  If your just adding a data
  418. disk, let sysadm partition do the dirty work for you.
  419.  
  420. One observation is fmthard does not format a hard disk. I think a name
  421. like makevtoc would be a bit better choice of a name.  Oh well, who
  422. said unix makes sense anyway!!!
  423.  
  424. Ok, now that the file is all edited just right, time to partition the
  425. disk:
  426.  
  427. fmthard -s /etc/c1t6d0s6.vtoc /dev/rdsk/c1t6d0s6 
  428.  
  429. I would recommend doing a prtvtoc to ensure that you got everything
  430. right.  prtvtoc will declare if you had any problems.  EG: unused
  431. sectors and such.
  432.  
  433. Now that the disk is partitioned, it's time to make it a bootable
  434. disk.  I tried to get newboot to work and couldn't.  So I went and used
  435. dd to get the job done:
  436.  
  437. dd if=/dev/dsk/c1d0s7 of=/dev/dsk/c1t6d0s7
  438.  
  439. And POOF!  Instant boot disk.
  440.  
  441. Next, we must use mkfs to create the file systems.  Again, the
  442. /etc/vtoc directory contains most of the answers.  In this case the
  443. number of sectors for each mountable partition.
  444.  
  445. mkfs /dev/dsk/c1t6d0s0 40986:5120 10 126 -b 1024   <-- makes root file sys
  446.  
  447.  40986 = total number of sectors.
  448.   5120 = total number of inodes (total number of files you can create)
  449.     10 = gap. Floppy this should be 1, on my box 10.  It's in the
  450.      manuals.  Your system may be somewhat different for gap.
  451.      Since I have a 3B2/400 at 10MHz, 10 is good.
  452.    126 = Blocks per track.  In the prtvtoc output it says 252 sectors
  453.      per cylinder.  Since each sector is 512 bytes, and my block
  454.      size is 1024.  You get 512/1024 * 252 to get 126 blocks per
  455.      cylinder.
  456.   1024 = I want a 1K/block file system.  I sure could use 2K file
  457.          system software.
  458.  
  459. I got 5120 from a df -lt command.  The current configuration AT&T
  460. provided for my root file system.  Seems good enough for me.
  461.  
  462. mkfs /dev/dsk/c1t6d0s2 275926:40000 10 126 -b 1024  <-- makes my /usr file sys
  463.  
  464. I kinda trumped up my inodes here.  It's always good to have enough
  465. Inodes, and a dam pain when you run out.  I wanted to ensure I had
  466. enough.  Adding more later means the destruction of all files on the
  467. file system and a restore from tape to recover.
  468.  
  469. mkfs to partition 1 (the swap area) is not very useful. Also mkfs to
  470. partition 6 in also not a smart idea.
  471.  
  472. Next it is time to label the file system.  This is a job for the
  473. labelit command.
  474.  
  475. labelit /dev/dsk/c1t6d0s0 /
  476. labelit /dev/dsk/c1t6d0s2 /usr
  477.  
  478. mount each newly created file system(s).   For me, I did the following:
  479.  
  480. cd /
  481. mkdir user
  482. mkdir root
  483. mount /dev/dsk/c1t6d0s0 /root
  484. mount /dev/dsk/c1t6d0s2 /user
  485.  
  486. OK, now that we have our file systems online, it's time to copy the
  487. files over to this new file system.  Here's what I did:
  488.  
  489. cd /
  490. find . -mount -print | cpio -pvdlm /root  
  491.  
  492. This copies all files on ONLY THE ROOT {/} FILE SYSTEM to the /root
  493. file system.
  494.  
  495. cd /usr
  496. find . -print | cpio -pvdlm /user
  497.  
  498. Copies all files on /usr as well as any other file systems below /usr
  499. to the /user file system.  You could use the -mount option to limit
  500. this.  In my case there are no other file systems, so who cares :-}.
  501.  
  502. OK, now all needed files are now on my SCSI drive. Only problem is I
  503. can't boot off the scsi's / file system.
  504.  
  505. cd /root/etc
  506. vi system
  507.  
  508. While you edit this file, you'll find a section all commented out.
  509. The default looks like:
  510.  
  511. * System device specifications
  512. *
  513. * NOTE:  With VTOC, specifications are not required.
  514. *      following is an example of what should go here
  515. *
  516. *    ROOTDEV: /dev/idsk00
  517. *    PIPEDEV: /dev/idsk00
  518. *    SWAPDEV: /dev/swap 0 3528
  519.  
  520. I changed my /root/etc/system files entries to look like:
  521.  
  522. * System device specifications
  523. *
  524. * NOTE:  With VTOC, specifications are not required.
  525. *      following is an example of what should go here
  526. *
  527. ROOTDEV: /dev/dsk/c1t6d0s0
  528. PIPEDEV: /dev/dsk/c1t6d0s0
  529. SWAPDEV: /dev/dsk/c1t6d0s1 0 16384
  530.  
  531. I ran into a terrible problem, and could not get the SCSI drive to
  532. boot.  The system would start booting off the SCSI, and then switch
  533. midstream to the MFM drives on me.   This was horrible, and I could not
  534. find anything in the docs to help.  Editing the /etc/system was the
  535. only way I could get it to work.  If there is a better way, I would
  536. appreciate hearing about it.
  537.  
  538. Since the SCSI is the new root file system, you'll have to ensure that
  539. all mount point directories are re-created on your file system
  540. replacements.  All file system mountpoints will be nonexistent on your
  541. new file systems.
  542.  
  543. mkdir /usr
  544.  
  545. Now you need to select which file systems you want mounted at boot
  546. time.
  547.  
  548. cd /etc
  549. vi fstab
  550.  
  551. In my case, the default file looked like:
  552.  
  553. /dev/dsk/c1d1s2 /usr  
  554. /dev/dsk/c1d0s8 /usr2  
  555.  
  556. I changed it to:
  557.  
  558. /dev/dsk/c1t6d0s2 /usr
  559. /dev/dsk/c1d0s8 /usr2  
  560.  
  561. And remember to ensure the mount directories DO exist.
  562.  
  563. sysadm firmware
  564.  
  565. MCP is usually the Password for most dos based systems.
  566.  
  567. For the boot file name, type in /etc/system
  568.  
  569. For the load device, select SCSI
  570.  
  571. For the subdevice, select the SCSI disk.
  572.  
  573. The system will produce a warning about the devices.  I don't know if I
  574. did all the correctly, but it seems to work.  I tried to find the
  575. answer to my boot disk problem in the docs, but failed.  I assume the
  576. warnings are caused by the 3B2's OS assuming the existence of only MFM
  577. drives.
  578.  
  579. If the machine boots, and your df -lt reports a SCSI root file system,
  580. and a SCSI /usr, then it worked.
  581.  
  582. Next you'll have to use sysadm autold to select the SCSI boot device.
  583.  
  584. Hope this helps, and may be kept available to help someone else get
  585. SCSI disks on their 3B2 as well.
  586.  
  587. Cheers....
  588.                     ---- Robb ----
  589.  
  590. ------------------------------------------------------------------------------
  591. Subject: 22 How do I take a crash dump?
  592. ------------------------------------------------------------------------------
  593.  
  594. From: hak@alf.cooper.edu (Jeff Hakner)
  595.  
  596. The procedure is given in the SAG, but anyway:
  597.     After the system panics and gives you the SYSTEM FAILURE...
  598.     message, type the firmware password.  You'll need 6 formatted
  599.     floppies.  For program name, type sysdump.  This is a firmware
  600.     program, so it won't ask for a device.
  601.  
  602.     Insert the first floppy, hit c, as per directions on screen.
  603.     Continue for the remaining floppies.  This process takes ~15
  604.     minutes.
  605.  
  606.         After the dump is complete, (remove the floppy and) boot unix.
  607.  
  608.     When the system is up, find a filesystem with at least 4MB
  609.     free.  Run ldsysdump filename, where filename is the name of
  610.     the image file which will be created.  Once again, feed it the
  611.     6 disks (in sequence) as prompted.
  612.  
  613.     When this is done, filename will contain the core image of the
  614.     crashed system.  To analyze, use crash filename.
  615.  
  616.         (Of course, if you don't know how to use crash.....)
  617.  
  618. ------------------------------------------------------------------------------
  619. Subject: 23 Why do I get "Host is unreachable" when trying to connect
  620.             to a host on the Internet?
  621. ------------------------------------------------------------------------------
  622.  
  623. From: morgan@engr.uky.edu (Wes Morgan)
  624.  
  625. Q: Why can I connect to some sites with telnet or ftp, but not others?
  626.    Why do I get "Connection timed out" and "Host is unreachable" errors?
  627.    What is the "TTL problem"? How can I fix it?
  628.  
  629. A: Some (or all!) of these problems can often be traced to one
  630.    particular kernel parameter -- IP_TTL.
  631.  
  632.    For those unfamiliar with TCP/IP standards, TTL stands for "time
  633.    to live." Each TCP/IP packet has a finite lifetime, measured in
  634.    "hops."  Normally, each router or brouter along the transmission
  635.    path is considered one hop.  When the packet is first sent, it's
  636.    time-to-live is set to the value of IP_TTL; as the packet travels
  637.    through each router/brouter, this counter is decremented by one.
  638.    If a packet's TTL is exhausted before it reaches its destination,
  639.    an error message is returned and the packet is killed.  This is
  640.    often what actually happens behind those "Connection timed out"
  641.    and "Host is unreachable" error messages.
  642.  
  643.    [ Readers in search of more detailed information about TTL and other  ]
  644.    [ IP packet characteristics should read RFC 791, "Internet Protocol," ]
  645.    [ which is available from many anonymous FTP sites.  Ask archie about ]
  646.    [ "rfc791.txt"                                                        ]
  647.    
  648.    By default, WIN/TCP sets IP_TTL to 15 (0x0f); while this may be
  649.    more than adequate for local networking, it is often far too
  650.    small for systems participating in the larger Internet.  (I
  651.    have, however, seen a *local* network that had enough routers
  652.    to deplete the default TTL on exclusively local traffic --
  653.    sheesh!)
  654.  
  655.    Those who wish to modify the IP_TTL parameter will find it in:
  656.     /etc/conf/pack.d/ip/space.c  (WIN/TCP for System V/386)
  657.     /etc/master.d/ip             (WIN/TCP for 3b2 SVR3.2)
  658.    Follow the normal procedures for modifying tunable parameters.
  659.    REMEMBER -- ALWAYS MAKE A BACKUP COPY OF THE OLD KERNEL!
  660.  
  661. Q: I've been told to set IP_TTL to its maximum value, 255 (0xFF).
  662.    Is a high TTL undesirable?
  663.  
  664.    For normal operation, it's no big deal; it will cause your
  665.    packets to bounce around locally a bit more than necessary, but
  666.    that's a local decision.
  667.  
  668.    However, the impact of a high TTL can be far more significant
  669.    in long-range networking.  During periods of network flakiness
  670.    (which seem to be happening at an ever-increasing rate), a high
  671.    TTL can cause the packet to bounce around *far* more than
  672.    necessary.  For instance, suppose that router A thinks that a
  673.    router B should handle traffic for machine C; it will forward
  674.    packets to router B, decrementing the TTL of each packet.  If
  675.    router B is confused, it might think that router A is supposed
  676.    to handle traffic for machine C and fire the packet right back
  677.    to router A.  With a high TTL, you'll generate endless loops
  678.    between these two routers; this, in turn, will slow down everyone
  679.    else's traffic. [and, in some uncommon cases, crash the router;
  680.    I did that once....8( ]
  681.  
  682.    While I certainly agree that it's "someone else's job" to make
  683.    sure that these situations don't occur, I think that we have an
  684.    obligation to minimize our impact on those folks that provide
  685.    our long-range connectivity.
  686.  
  687.    I've found that setting IP_TTL to 64 (0x40) meets all our needs
  688.    AND minimizes our impact on flaky networks.  Please consider
  689.    your needs when configuring; don't just set things to the maximum
  690.    possible.  After all, it's called "performance tuning," not
  691.    "crank it up, man!"
  692.  
  693. ------------------------------------------------------------------------------
  694. Subject: 24 How do I boost the speed of my 3B2/310 or /400?
  695. ------------------------------------------------------------------------------
  696.  
  697.     Modifying a 3B2/310 or /400 to increase CPU clock speed above 10MHz
  698.  
  699. By: Jeff Hakner, Cooper Union  NYC
  700. Draft 1.1, 13JUL1993
  701.  
  702. 3B2/310 and /400 systems were delivered with a maximum CPU clock
  703. rate of 10 MHz.  AT&T, at some point, released a chipset consisting
  704. of CPU, MMU, MAU and oscillator which ran at 14MHz.  That chipset
  705. does not seem to be widely available any longer.  Congruent
  706. Technologies, a big 3B2 VAR, is known to have a large number of
  707. the chips, but their asking price (as of late 1992) was $1000 !!!
  708. Considering that an entire V2 motherboard is going for $50 these
  709. days, that seems outrageous.
  710.  
  711. I heard from several sources that one could simply replace the
  712. oscillator and run the 10MHz chips up to about 14MHz, depending on
  713. the vintage of the motherboard and memory cards.  The oscillator,
  714. a WE32102 in AT&T parlance, is made be McCoy.  It is not a typical
  715. TTL clock oscillator which is housed in a 14-pin DIP and costs
  716. about $5.  This is because the 3B2 CPU requires a bi-phase clock.
  717. McCoy said they had the faster parts, but they wanted $200!!  I
  718. set out to do it myself.
  719.  
  720. Someone got me the pinout of the WE32102, and I noticed two unused
  721. pins.  I put the thing on the bench, hooked it up to a scope, and
  722. experimented.  It turns out that the WE32102 will accept and
  723. *external* clock at double frequency.  This clock source overrides
  724. the internal x2 oscillator which is inside the WE32102 can.
  725. Therefore, one can easily (and cheaply!) vary the CPU clock speed
  726. by attaching the appropriate TTL clock oscillator, about $5.
  727.  
  728. The WE32102 is a 16-pin DIP.  It is a wide DIP, not the narrow type
  729. normally found in a 16 count.  The pinout is:
  730.  
  731.      8: GND
  732.     16: VCC
  733.      3: Internal oscillator enable
  734.      5: External frequency source (x2) input
  735.     10: Clock, phase 1
  736.     12: Clock, phase 2 (90 degree delay)
  737.     14: x2 output    
  738.  
  739. To perform the mod, all you need to do is:
  740.     1) Make sure pin 3 is not connected to the motherboard,
  741.        which provides a pull-up resistor.  Apply ground to pin
  742.        3.  I recommend bending pin 3 off to the side so that
  743.        it doesn't enter the socket, then wire-wrapping a wire
  744.        from pin 8 to pin 3 to ground out the enable.  You must
  745.        ground pin 3; it floats high.  Be careful not to allow
  746.        pin 3 to touch the case of the WE32102.
  747.  
  748.     2) Apply the x2 clock source to pin 5.  I recommend using
  749.        one of the easily-available TTL clock oscillators.  They
  750.        come in a 14-pin DIP: 14=Vcc, 7=Gnd, 9=Output.  Widely
  751.        available, e.g. from JDR or DigiKey.
  752.  
  753.     3) Get power to the above-mentioned TTL clock osc.  I
  754.        recommend borrowing the power from pins 16 and 8 of the
  755.        WE32102.  I did this and left the TTL osc. flipped on
  756.        its back, resting on top of the WE32102, secured with
  757.        electrical tape (ah, electrical tape, the wonders it
  758.        provides...)
  759.  
  760. For example, a 25MHz clock source will run the system at 12.5MHz.
  761. That's the only speed I've tried, and it seems to work fine.  Your
  762. mileage may vary.  In particular, this mod will not work with really
  763. old motherboards or memory cards, I'm told.
  764.  
  765. Early 3B2/300s and /310s ran at 8.2 MHz.  These systems probably
  766. won't get much above 10 MHz.  Very recent 3B2/400s and /310s (is
  767. that an oxymoron?) have 14MHz CPU/MMU/MAU chipsets installed.
  768. These systems may be able to go to 16MHz, but I don't know if the
  769. rest of the motherboard will handle it!
  770.  
  771. ------------------------------------------------------------------------------
  772. Subject: 25   Why did NFS blow up during installation?
  773. ------------------------------------------------------------------------------
  774.  
  775. NFS Release 1.03.00 for the 3B2 has a serious bug in the installation
  776. script that causes it to fail with a syntax error from "expr" on the
  777. eighth disk if the kernel parameters found in /etc/master.d/kernel
  778. are not of the form:
  779.  
  780.     v--------------- first column on the line
  781.     NPROC = 1234
  782.          ^-^-------- *exactly* one space
  783.  
  784. While it's legal to use any (or no) whitespace as far as rebuilding
  785. the kernel is concerned, it seems that the installation procedure
  786. doesn't permit this (it's actually a very badly-written shell script).
  787. Be sure to check your file before installing this software.
  788.  
  789. ==============================================================================
  790. ==============================================================================
  791.  
  792. To get the latest copy of this FAQ, send a mail message to
  793.     mail-server@rtfm.mit.edu
  794.  
  795. The body of your mail should contain a command to the mail server.
  796. To get all the parts of this FAQ (currently consisting of 2 parts),
  797. place the following command in the body of your message:
  798.     send usenet/news.answers/3b2-faq/*
  799.  
  800. To request only one part, substitute the part number as in the
  801. following example:
  802.     send usenet/news.answers/3b2-faq/part1
  803.  
  804. Please remember to leave the Subject: line blank to reduce the
  805. chance of confusing the server.
  806.  
  807. ==============================================================================
  808. ==============================================================================
  809. If you have any other questions, or better answers, please send
  810. mail to 'friedl@mtndew.com'
  811. ==============================================================================
  812. -- 
  813. Stephen J Friedl | Software Consultant | Tustin, CA  |    +1 714 544-6561
  814. 3B2-kind-of-guy  | I speak for me only |   KA8CMY    |  friedl@mtndew.com
  815.  
  816. Have you signed your organ donor card?  It's important.
  817.  
  818.