*BSD News Article 2650


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!mcsun!news.funet.fi!kannel!news
From: ats@lut.fi (Ari Suutari)
Subject: Do YOU think that this generates correct kernel ?
Sender: news@lut.fi (Usenet News)
Message-ID: <1992Jul28.151518.18102@lut.fi>
Date: Tue, 28 Jul 92 15:15:18 GMT
Organization: Lappeenranta University of Technology, Finland
Keywords: kernel config
Lines: 56


	Hello again ....

	My 386bsd works fine, but I run into possible problem when I compiled
	new kernels for my machine. I specify disks (lines have been
	taken from GENERICISA configuration file) as follows:

	controller	wd0	at isa? ....
	disk		wd0	at wd0 drive 0
	disk		wd1	at wd0 drive 1

	controller	fd0	at isa?
	disk		fd0	at fd0 drive 0
	disk		fd1	at fd0 drive 1

	This file produces a working kernel. But if I look at the
	wd.h (for example) file at /sys/compile/MY_HOST there is a 
	line which states:

	#define	NWD	3

	I think that this is becouse the config utility ses three lines
	containing "wd". This is incorrect, since I have only 2 disks
	configured. Same problem, of course, exists for "fd" too.

	In release 0.0, I think that I had something like this in
	my configuration file:

	controller	wd0	at	isa?
	disk		dk0	at	wd0 drive 0
	disk		dk1	at	wd0 drive 1

	This doesn't work for release 0.1. When I boot, I got messages
	for swap device not being configured (even if I say "config ...
	swap on dk0").

	I think that the controller name (wd) and disk names (dk in 0.0,
	now wd) should be different and that the later example here
	is more correct (if I look at Ultrix machines at work, they
	name the controller as "sii" and disks "rz").

	This is not a serious problem but it has been puzzling me for
	some time, since I cannot figure out what would be the
	correct way for 386BSD to this (a small problem, no big ones ...
	that means 386BSD is an excellent OS ...)

	I'd like to hear about any suggestions/opinions to this.


	
		Ari

--
	Ari Suutari		ats@lut.fi, ari@hilti.lpr.carel.fi
	Lappeenranta
	Finland