Subject: Re: 1230-IV SCSI support
To: None <tha@vsnhdc.cern.ch>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: port-amiga
Date: 11/18/1996 13:39:47
   X-Authentication-Warning: uran.informatik.uni-bonn.de: Host netbsd1.cygnus.com [140.174.6.10] claimed to be mail.NetBSD.ORG
   Date: Mon, 18 Nov 96 10:08:41 +0100
   From: tha@vsnhdc.cern.ch (Thomas Haller)
   Cc: is@NetBSD.ORG
   Sender: port-amiga-owner@NetBSD.ORG
   Precedence: list
   Delivered-To: port-amiga@NetBSD.ORG

   Hallo NetBSD-Amiga folks,
   I tried the new kernel
   /pub/comp/os/NetBSD/NetBSD-Amiga/kernel/netbsd-bIV2-bin12beta.gz
   from ftp.uni-regensburg.de with my Blizzard 1230-IV SCSI board.
   (I write the following out of memory:)
   The good news:
   -) it recognizes the board scsibus1 at bzscn (B1260)
   -) it recognizes the SCSI-devices:
      Seagate ST43400N at Lun0
      Exabyte EXB8500 at Lun1

   I prepared all necessary partitions on the SCSI-disk,
   but when the kernel asks for the boot device
   ( I now enter sd1* instead of sd0* for my
   ide-disk) I get the following:
   kernal panics with an error like:
   scsi-error bszscn(0:0:0)

   ...

   Does that help as error report ?

Sort of.

In the meantime we got notified of another innaccuracy ... this time
in the docs I had, not in my typing in of decimal/hex values from
them. I'll probably have time sometime this week to look into it and
see if I can integrate this into the current bznsc driver, or if I'll
have to split bznsc/bztsc or something.

The error is in the DMA hardware setup. You can play around a bit to
circumvent this (although at reduced performance):

use, e.g., loadbsd -DS [...whatever other options]

to get into the kernel debugger early. It will look like this:

db> 

Type in 

db> w bznsc_flags 0x02
or
db> w bznsc_flags 0x03
(without the db>, of course, and hit the Enter key afterwards), then
db> c
to continue kernel execution.

This way, the machine will not use the DMA.

   P.S.: the minifilesystem that I transfered to the swap-partition on
   the SCSI device with xstreamtodev was from the Gateway II CDROM, so it
   was still from 1.1 distribution. Could this cause problems with the
   new kernel?

Yes. definitely.

While mounting it will work ok, a lot of kernel-aware programs (e.g.:
ps, systat) won't work correctly.