home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / ultrix / 6517 < prev    next >
Encoding:
Text File  |  1992-08-27  |  4.3 KB  |  110 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!ucla-cs!ucla-mic!alisa!farrokh
  3. From: farrokh@alisa.ucla.edu (Farrokh Najmabadi)
  4. Subject: Third party disks: Problem adding a second swap space 
  5. Message-ID: <1992Aug27.101510.26303@mic.ucla.edu>
  6. Sender: farrokh@alisa (Farrokh Najmabadi)
  7. Nntp-Posting-Host: alisa.fusion.ucla.edu
  8. Organization: ucla
  9. Date: 27 Aug 92 10:15:10 PDT
  10. Lines: 98
  11.  
  12. I have problem adding partition b of a Fujitsu M2266SA disk drive as the second
  13. swap space to my machine.  I have a DecStation 5000/200 and using Ultrix 4.2A.
  14. The kernel is configured with a second swap space and I am confident the
  15. problem is not there (I can add a second swap space on a DEC disk drive).  The
  16. problem is with /etc/swapon (or some routines called by that) refusing to start
  17. a swap space on partition b of the Fujitsu drive.  Below is a detailed
  18. description of the problem.  Your help would be appreciated.
  19.  
  20. Farrokh Najmabadi
  21. najmabadi@fusion.ucla.edu
  22.  
  23.  
  24.  
  25. I purchased recently a Fujitsu M2266SA disk drive which I have installed in a
  26. DEC BA-42 expansion box together with a DEC RZ57 drive.  The Fujitsu disk came
  27. formatted.  The manual that came with the drive lists the no. of cylinders
  28. to be 1658, no. of heads to be 15, and no. of sectors to be 85.  I made the
  29. following table and included it in the /etc/disktab file
  30.  
  31. m2266sa|M2266SA|M2266S-512|FUJITSU M2266S-512 Winchester:\
  32.         :ty=winchester:ns#85:nt#15:nc#1658:\
  33.         :pa#32768:ba#8192:fa#1024:\
  34.         :pb#131072:bb#4096:fb#1024:\
  35.         :pc#2107704:bc#8192:fc#1024:\
  36.         :pd#299604:bd#8192:fd#1024:\
  37.         :pe#299604:be#8192:fe#1024:\
  38.         :pf#447720:bf#8192:ff#1024:\
  39.         :pg#447720:bg#8192:fg#1024:\
  40.         :ph#449216:bh#8192:fh#1024:
  41.  
  42. Then, I ran newfs to build the file system on the partition a of the device and
  43. made the following partition table:
  44.  
  45. /dev/rrz1a
  46. Current partition table:
  47. partition     bottom        top       size    overlap
  48.     a              0      32767      32768    c
  49.     b          32768     163839     131072    c
  50.     c              0    2107703    2107704    a,b,d,e,f,g,h
  51.     d         163840     463443     299604    c
  52.     e         463444     763047     299604    c
  53.     f         763048    1210767     447720    c
  54.     g        1210768    1658487     447720    c
  55.     h        1658488    2107703     449216    c
  56.  
  57.  
  58. I then build file systems on each partitions (d through h).  The Fujitsu drive
  59. is working fine.  I ran disk exerciser program on all of the partitions (b
  60. through h) and there was 0 fault rate. Now, I have file systems mounted on
  61. each of partitions d through h and they are fine.  
  62.  
  63. The only problem is that the system refuses to swap of the partition b.
  64.  
  65. The Kernel is built with a second swap space on rz1b.  During the booting I get
  66. error messages regarding the second swap space (transcript follows ), even
  67. though the system gets booted and works properly with exception of the second
  68. swap space.  Trying to add the second swap space after booting with
  69.     /etc/swapon -a 
  70. will result in
  71.     Adding /dev/rz1b as swap device
  72.     /dev/rz1b: No such device
  73.  
  74. Even though /dev/rz1b does exist and I have even mounted file systems to that
  75. partition (to see if it is really recognized by the operating system) and could
  76. read and write to it.  I have got the same results when I attached this disk
  77. drive to a system that runs ULTRIX 4.2 (not 4.2A).
  78.  
  79.  
  80. (messages on console during booting):
  81. ULTRIX V4.2A (Rev. 47) System #1: Mon Aug 17 14:49:18 PDT 1992
  82. real mem = 41943040
  83. avail mem = 34750464
  84. using 1024 buffers containing 4194304 bytes of memory
  85. KN02 processor - system rev 32
  86. cpu0 ( version 2.0, implementation 2 )
  87. fpu0 ( version 3.0, implementation 3 )
  88. asc0 at ibus5
  89. rz0 at asc0 slave 0 (RZ57)
  90. rz1 at asc0 slave 1 (RZxx) [ FUJITSU M2266S-512       0020 ]
  91. tz4 at asc0 slave 4 (TZxx) [ WangDAT Model 1300       01.9 ]
  92. ln0 at ibus6
  93. ln0: DEC LANCE Ethernet Interface, hardware address: 08:00:2b:23:6b:8d 
  94. dc0 at ibus7
  95. px0 at ibus0
  96. pa0 (5x1 8+8+0+0)
  97. ufs_swapconf: Can not open swap device (21,9)   <=  First Error Message
  98. .....
  99.     fsck reporting that all file systems were unmounted cleanly
  100. ......
  101.         Second error message when /etc/rc tries to add the swap device  <=
  102. Adding /dev/rz1b as swap device                 <=
  103. /dev/rz1b: No such device                       <=
  104.  
  105. ...
  106.  
  107.     Booting is completed.
  108.  
  109.  
  110.