Subject: jaz drive on i586 with NetBSD 1.2
To: None <port-i386@netbsd.org, netbsd-help@netbsd.org>
From: Scott Presnell <srp@zgi.com>
List: netbsd-help
Date: 04/11/1997 07:37:24
HI Folks,
	I'm having some	trouble talking to a jaz drive on a i586 running
NetBSD 1.2 (stock, not current).

In preparation for connecting the jaz, I got ahold of a Adaptec
AHA-1542CP and installed it.

When I boot the machine with the jaz connected @ scsci ID#4 I get messages
from the kernel which seem ok:

Apr 10 15:51:09 srphome /netbsd: aha1 at isa0 port 0x334-0x337 irq 10 drq 6:
	model AHA-1542CP, firmware F.0
Apr 10 15:51:09 srphome /netbsd: aha1: unlocking mailbox interface
Apr 10 15:51:09 srphome /netbsd: aha1: async, parity

...and when the bus is probed it finds a jaz drive at aha1:4:0
but it also reports, an illegal request, etc.:

Apr 10 15:51:09 srphome /netbsd: sd0 at scsibus0 targ 4 lun 0:
	<iomega, jaz 1GB, J^77> SCSI2 0/direct removable
Apr 10 15:51:09 srphome /netbsd: sd0: sd0(aha1:4:0): illegal request,
	data = 32 3c 01 3c 91 00 00 00 00 00 00 00 00 00 00 00 00
Apr 10 15:51:09 srphome /netbsd: sd0: could not mode sense (4);
	using fictitious geometry
Apr 10 15:51:09 srphome /netbsd: 1021MB, 1021 cyl, 64 head, 32 sec,
	512 bytes/sec

After talking to cjs and reading the man page I tried to get started
on getting a disklabel in place.  If after booting I try "disklabel sd0"
I get:

	aha1: DMA beyond end of ISA
	sd0: could not mode sense (4); using fictitious geometry
	aha1: DMA beyond end of ISA
	sd0(aha1:4:0): could not get size
	sd0: no disk label
	aha1: DMA beyond end of ISA

and about half the time the process locks up (won't exit).

I have some experience as a sysadmin on other machines but I'm
unfamilar with adding hardware to NetBSD.

Is there some way, besides the boot messages, I should confirm the
operation of the scsi card/bus?

Does anyone have experience with similar problems, or a similar setup?

	Thanks for an help.

	- Scott (srp@zgi.com)