home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / bsd / 3034 < prev    next >
Encoding:
Text File  |  1992-07-28  |  2.0 KB  |  68 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!mcsun!news.funet.fi!kannel!news
  3. From: ats@lut.fi (Ari Suutari)
  4. Subject: Do YOU think that this generates correct kernel ?
  5. Sender: news@lut.fi (Usenet News)
  6. Message-ID: <1992Jul28.151518.18102@lut.fi>
  7. Date: Tue, 28 Jul 92 15:15:18 GMT
  8. Organization: Lappeenranta University of Technology, Finland
  9. Keywords: kernel config
  10. Lines: 56
  11.  
  12.  
  13.     Hello again ....
  14.  
  15.     My 386bsd works fine, but I run into possible problem when I compiled
  16.     new kernels for my machine. I specify disks (lines have been
  17.     taken from GENERICISA configuration file) as follows:
  18.  
  19.     controller    wd0    at isa? ....
  20.     disk        wd0    at wd0 drive 0
  21.     disk        wd1    at wd0 drive 1
  22.  
  23.     controller    fd0    at isa?
  24.     disk        fd0    at fd0 drive 0
  25.     disk        fd1    at fd0 drive 1
  26.  
  27.     This file produces a working kernel. But if I look at the
  28.     wd.h (for example) file at /sys/compile/MY_HOST there is a 
  29.     line which states:
  30.  
  31.     #define    NWD    3
  32.  
  33.     I think that this is becouse the config utility ses three lines
  34.     containing "wd". This is incorrect, since I have only 2 disks
  35.     configured. Same problem, of course, exists for "fd" too.
  36.  
  37.     In release 0.0, I think that I had something like this in
  38.     my configuration file:
  39.  
  40.     controller    wd0    at    isa?
  41.     disk        dk0    at    wd0 drive 0
  42.     disk        dk1    at    wd0 drive 1
  43.  
  44.     This doesn't work for release 0.1. When I boot, I got messages
  45.     for swap device not being configured (even if I say "config ...
  46.     swap on dk0").
  47.  
  48.     I think that the controller name (wd) and disk names (dk in 0.0,
  49.     now wd) should be different and that the later example here
  50.     is more correct (if I look at Ultrix machines at work, they
  51.     name the controller as "sii" and disks "rz").
  52.  
  53.     This is not a serious problem but it has been puzzling me for
  54.     some time, since I cannot figure out what would be the
  55.     correct way for 386BSD to this (a small problem, no big ones ...
  56.     that means 386BSD is an excellent OS ...)
  57.  
  58.     I'd like to hear about any suggestions/opinions to this.
  59.  
  60.  
  61.     
  62.         Ari
  63.  
  64. --
  65.     Ari Suutari        ats@lut.fi, ari@hilti.lpr.carel.fi
  66.     Lappeenranta
  67.     Finland
  68.