home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / bsd / 10411 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.6 KB  |  50 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!pilchuck!pugsley!bachesta
  3. From: bachesta@pugsley.Data-IO.COM (Jim Bachesta)
  4. Subject: swapping on a second drive.
  5. Message-ID: <1992Dec18.171556.3158@data-io.com>
  6. Sender: bachesta@pugsley (Jim Bachesta)
  7. Organization: Data I/O Corporation
  8. References:  <BzE981.2An@watserv1.uwaterloo.ca>
  9. Date: Fri, 18 Dec 1992 17:15:56 GMT
  10. Lines: 38
  11.  
  12. This problem probably has been addressed on the net before, but I'm having
  13. a problem getting my swap space to work on my second drive. I currently have
  14. Two ESDI drives running with a wd1007 controller. The first drive is a 
  15. Micropolis 1355 (/dev/wd0x) and the second is a CDC Wren V (/dev/wd1x). I have
  16. rebuilt my kernel defining the wd1 in the swap like this:
  17.  
  18. config    "386bsd"    root on wd0 swap on wd0 and wd1
  19.  
  20. I have checked the file swap386bsd.c in the compile directory and the
  21. data struct. swdevt has been updated with the wd1b major and minor number.
  22. It looks like this:
  23.  
  24. struct swdevt swdevt[] {
  25.     { makedev(0,1),        0,    0 },    /* wd0b */
  26.     { makedev(0,9),        0,    0 },    /* wd1b */
  27.     {0,    0,    0}
  28. };
  29.  
  30. I also updated my /etc/fstab to define swapping on drive wd1b. The entry looks
  31. like this:
  32.  
  33.     /dev/wd1b    none    swap sw 0 0
  34.  
  35. The disklabel on the second drive (the CDC Wren V) has been partitioned. The
  36. partion wd1b is defined to be a swap partition.
  37.  
  38. On boot up I get the following error:
  39.  
  40.     swapon: /dev/wd1b: device not configured.
  41.  
  42. I also get this error when I do a "swapon -a" or a "swapon /dev/wd1b".
  43. If you have any ideas please let me know. I appreciate any help in tracking 
  44. this problem down. Thanks in advance.
  45.  
  46. -- 
  47. Jim Bachesta
  48. Data I/O Corporation
  49. bachesta@Data-IO.COM
  50.