Subject: port-i386/3766: chio status results in kernel printf..
To: None <gnats-bugs@gnats.netbsd.org>
From: Bill Sommerfeld <sommerfeld@orchard.east-arlington.ma.us>
List: netbsd-bugs
Date: 06/19/1997 14:17:49
>Number:         3766
>Category:       port-i386
>Synopsis:       chio status results in kernel printf..
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 19 07:20:01 1997
>Last-Modified:
>Originator:     Bill Sommerfeld
>Organization:
	
>Release:        970615 (plus thorpej vm_fault machdep patches)
>Environment:
	
System: NetBSD orchard.east-arlington.ma.us 1.2G NetBSD 1.2G (ORCHARD) #5: Wed Jun 18 21:35:57 EDT 1997 sommerfeld@orchard.east-arlington.ma.us:/home/current/src/sys/arch/i386/compile/ORCHARD i386


>Description:
	I have an Archive Python DAT autochanger hooked up to a Adaptec 1540.
	I just upgraded from 1.2C to 1.2G.

Autoconf output:

aha0 at isa0 port 0x330-0x333 irq 11 drq 5
aha0: model AHA-1540A/1542A/1542B, firmware 0.3
aha0: sync, parity
scsibus0 at aha0: 8 targets
scsibus0: waiting for scsi devices to settle
st0 at scsibus0 targ 2 lun 0: <ARCHIVE, Python 28849-XXX, 4.CM> SCSI2 1/sequential removable
st0: drive empty
ch0 at scsibus0 targ 2 lun 1: <ARCHIVE, Python 28849-XXX, 4.CM> SCSI2 8/changer removable
ch0: 4 slots, 1 drive, 1 picker, 0 portals
sd1 at scsibus0 targ 5 lun 0: <SEAGATE, ST3610N, 8734> SCSI2 0/direct fixed
sd1: 510MB, 1872 cyl, 7 head, 79 sec, 512 bytes/sec

	'chio status' usually results in the following message being
syslogged one or twice, and prints out blanks for the slot or drive
status instead of reality (it should print either <ACCESS> or
<ACCESS,FULL>; instead it leaves it blank..); the latter is a symptom
of the driver not returning any data to the user.

	ch0: warning, READ ELEMENT STATUS avail != count

This was never seen under 1.2C

>How-To-Repeat:
	`chio status'
>Fix:
	??? unknown.

>Audit-Trail:
>Unformatted: