Subject: Disk config problems
To: None <port-pc532@NetBSD.ORG>
From: Jon Buller <jonb@ons.octel.com>
List: port-pc532
Date: 01/10/1995 09:21:07
I was rebuilding the kernel over the last few days, fixing the clock
problems (Thanks Phil) While doing this, I tried to get the machine to
configure my two disks in a fixed pattern (so in case one crashes the
other will still come up the same way as sd0/sd1) To do this, I changed
/sys/arch/pc532/conf/BULLBOX to read as follows:

controller      ncr0
disk            sd0     at ncr0 flags 0 drive 0 bio
disk            sd1     at ncr0 flags 0 drive 1 bio
tape            st1     at ncr0 flags 1 drive ? bio

But after rebuilding the system, it came up like:

Jan  4 08:24:51 bullbox /netbsd: scn7 at mainbus0 addr 0xffc80038
Jan  4 08:24:52 bullbox /netbsd: ncr0 targ 0 lun 0: type 0(direct) fixed <MICROP  2210-09MQ1001901HQ30> SCSI2
Jan  4 08:24:52 bullbox /netbsd: sd0 at ncr0 targ 0 lun 0: 1000MB 2372 cyl, 9 head, 96 sec, 512 byte/sec
Jan  4 08:24:52 bullbox /netbsd: ncr0 targ 1 lun 0: type 0(direct) fixed <CDC     94171-9         5759> SCSI1
Jan  4 08:24:51 bullbox savecore: no core dump

Reconfiguring as <disk sd0 at ncr0 flags 0 drive 0 bio> and
<disk sd1 at ncr0 flags 0 drive ? bio> had no effect, but
when I went back to <disk sd0 at ncr0 flags 0 drive ? bio> and
<disk sd1 at ncr0 flags 0 drive ? bio> it configured the drive
as follows:

Jan 12 17:54:48 bullbox /netbsd: scn7 at mainbus0 addr 0xffc80038
Jan 12 17:54:48 bullbox /netbsd: ncr0 targ 0 lun 0: type 0(direct) fixed <MICROP  2210-09MQ1001901HQ30> SCSI2
Jan 12 17:54:48 bullbox /netbsd: sd0 at ncr0 targ 0 lun 0: 1000MB 2372 cyl, 9 head, 96 sec, 512 byte/sec
Jan 12 17:54:48 bullbox /netbsd: ncr0 targ 1 lun 0: type 0(direct) fixed <CDC     94171-9         5759> SCSI1
Jan 12 17:54:48 bullbox /netbsd: sd1 at ncr0 targ 1 lun 0: 284MB 1409 cyl, 9 head, 46 sec, 512 byte/sec
Jan 12 17:54:49 bullbox savecore: no core dump

So, is this a known problem?  Is it fixed with the new config/SCSI
code?  Do I need to poke around and fix it?  Or is that a bad thing to
do before I get the new config stuff?

Jon Buller