Subject: kern/12982: tape access via ahc broken
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 05/19/2001 09:28:04
>Number: 12982
>Category: kern
>Synopsis: tape access via ahc broken
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 19 00:27:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 2001-05-18 / 2001-05-19
>Organization:
Matthias Scheler http://scheler.de/~matthias/
>Environment:
System: NetBSD lyssa.zhadum.de 1.5V NetBSD 1.5V (LYSSA) #0: Sat May 19 09:17:05 CEST 2001 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
With the latest NetBSD-current sources I can't access my Sony SDT 7000
streamer connect to an Adaptec 3940UW anymore:
st0(ahc1:0:4:0): Check Condition on CDB: 0x15 00 00 00 00 0c
SENSE KEY: Illegal Request
ASC/ASCQ: Illegal Field in CDB
SKSV: Error in CDB, Offset 5, bit 3
st0: cannot set selected mode
Because the drive and medium work perfectly if I boot from a 1.5.1_BETA2
installation floppy there must be a bug in our tape or ahc driver. Here
is the "dmesg" output for the probe of my SCSI devices:
ahc0 at pci2 dev 4 function 0
ahc0: interrupting at irq 9
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
ahc1 at pci2 dev 5 function 0
ahc1: interrupting at irq 9
ahc1: aic7880 Wide Channel B, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc1: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <IBM, DDRS-39130W, S97B> SCSI2 0/direct fixed
sd0: 8715 MB, 8387 cyl, 10 head, 212 sec, 512 bytes/sect x 17850000 sectors
sd0: sync (50.0ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <IBM, DNES-318350W, SA30> SCSI3 0/direct fixed
sd1: 17501 MB, 11474 cyl, 10 head, 312 sec, 512 bytes/sect x 35843670 sectors
sd1: sync (50.0ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
scsibus1: waiting 2 seconds for devices to settle...
cd0 at scsibus1 target 2 lun 0: <PLEXTOR, CD-ROM PX-20TS, 1.01> SCSI2 5/cdrom removable
cd0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers
cd1 at scsibus1 target 3 lun 0: <WAITEC, WT624, 7.0H> SCSI2 5/cdrom removable
cd1: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers
st0 at scsibus1 target 4 lun 0: <SONY, SDT-7000, 0300> SCSI2 1/sequential removable
st0: drive empty
st0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers
>How-To-Repeat:
mt -f /dev/nrst0 stat
>Fix:
Sorry, I don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: