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