Subject: port-pmax/10031: NetBSD/pmax MI SCSI incompatible with HITACHI CDR-1750S cdrom drive
To: None <gnats-bugs@gnats.netbsd.org>
From: None <g.mcgarry@ieee.org>
List: netbsd-bugs
Date: 05/01/2000 15:23:11
>Number: 10031
>Category: port-pmax
>Synopsis: NetBSD/pmax MI SCSI incompatible with HITACHI CDR-1750S cdrom drive
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: port-pmax-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 01 15:24:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Gregory McGarry
>Release: 1.4X
>Organization:
>Environment:
NetBSD/pmax
>Description:
The HITACHI CDR-1750S cdrom drive used to work under the old scsi
driver:
NetBSD 1.4X (GENERIC) #4: Mon May 1 09:32:56 EST 2000
Personal DECstation 5000/25 (MAXINE)
...
Beginning old-style SCSI device autoconfiguration
rz5 at asc0 drive 5 slave 0 HITACHI CDR-1750S rev 0010 (SCSI-1)
# disklabel /dev/rz5a
# /dev/rz5a:
type: SCSI
disk:
label:
flags: removable
bytes/sector: 2048
sectors/track: 100
tracks/cylinder: 1
sectors/cylinder: 100
cylinders: 12807
total sectors: 1280608
rpm: 300
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
3 partitions:
# size offset fstype [fsize bsize cpg]
a: 1280608 0 ISO9660 # (Cyl. 0 - 12806*)
c: 1280608 0 ISO9660 # (Cyl. 0 - 12806*)
disklabel: boot block size 0
disklabel: super block size 0
>How-To-Repeat:
Find a HITACHI CDR-1750S cdrom drive to the bus and watch it
go catatonic:
xasc0 at ioasic0 offset 0x300000: NCR53C94, 25MHz, SCSI ID 7
...
[NCR_INIT(1)] scsibus0 at xasc0: 8 targets, 8 luns per target
[ncr53c9x_intr] regs[intr=80,stat=80,step=00] [ncr53c9x_sched] scsibus0: waiting 2 seconds for devices to settle...
[ncr53c9x_scsi_cmd] [0x0, 6]->0 [ncr53c9x_sched] [ncr53c9x_select(t0,l0,cmd:0)] [ncr53c9x_intr] regs[intr=20,stat=80,step=00] <DISC [intr 20, stat 80, step 0]>[ncr53c9x_done(error:4)] error=4
[ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x12, 6]->0 [ncr53c9x_sched] [ncr53c9x_select(t0,l0,cmd:12)] [ncr53c9x_intr] regs[intr=20,stat=80,step=00] <DISC [intr 20, stat 80, step 0]>[ncr53c9x_done(error:4)] resid=44 error=4
[ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x0, 6]->1 [ncr53c9x_sched] [ncr53c9x_select(t1,l0,cmd:0)] [ncr53c9x_intr] regs[intr=20,stat=80,step=00] <DISC [intr 20, stat 80, step 0]>[ncr53c9x_done(error:4)] error=4
[ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x12, 6]->1 [ncr53c9x_sched] [ncr53c9x_select(t1,l0,cmd:12)] [ncr53c9x_intr] regs[intr=20,stat=80,step=00] <DISC [intr 20, stat 80, step 0]>[ncr53c9x_done(error:4)] resid=44 error=4
[ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x0, 6]->2 [ncr53c9x_sched] [ncr53c9x_select(t2,l0,cmd:0)] [ncr53c9x_intr] regs[intr=20,stat=80,step=00] <DISC [intr 20, stat 80, step 0]>[ncr53c9x_done(error:4)] error=4
[ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x12, 6]->2 [ncr53c9x_sched] [ncr53c9x_select(t2,l0,cmd:12)] [ncr53c9x_intr] regs[intr=20,stat=80,step=00] <DISC [intr 20, stat 80, step 0]>[ncr53c9x_done(error:4)] resid=44 error=4
[ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x0, 6]->3 [ncr53c9x_sched] [ncr53c9x_select(t3,l0,cmd:0)] [ncr53c9x_intr] regs[intr=20,stat=80,step=00] <DISC [intr 20, stat 80, step 0]>[ncr53c9x_done(error:4)] error=4
[ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x12, 6]->3 [ncr53c9x_sched] [ncr53c9x_select(t3,l0,cmd:12)] [ncr53c9x_intr] regs[intr=20,stat=80,step=00] <DISC [intr 20, stat 80, step 0]>[ncr53c9x_done(error:4)] resid=44 error=4
[ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x0, 6]->4 [ncr53c9x_sched] [ncr53c9x_select(t4,l0,cmd:0)] [ncr53c9x_intr] regs[intr=20,stat=80,step=00] <DISC [intr 20, stat 80, step 0]>[ncr53c9x_done(error:4)] error=4
[ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x12, 6]->4 [ncr53c9x_sched] [ncr53c9x_select(t4,l0,cmd:12)] [ncr53c9x_intr] regs[intr=20,stat=80,step=00] <DISC [intr 20, stat 80, step 0]>[ncr53c9x_done(error:4)] resid=44 error=4
[ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x0, 6]->5 [ncr53c9x_sched] [ncr53c9x_select(t5,l0,cmd:0)] [ncr53c9x_intr] regs[intr=18,stat=82,step=01] xasc0: !MSGOUT
[NCR_INIT(1)] [ncr53c9x_done(error:5)] error=5
[ncr53c9x_intr] regs[intr=80,stat=80,step=00] [ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x0, 6]->5 [ncr53c9x_sched] [ncr53c9x_select(t5,l0,cmd:0)] [ncr53c9x_intr] regs[intr=18,stat=82,step=01] xasc0: !MSGOUT
[NCR_INIT(1)] [ncr53c9x_done(error:5)] error=5
[ncr53c9x_intr] regs[intr=80,stat=80,step=00] [ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x0, 6]->5 [ncr53c9x_sched] [ncr53c9x_select(t5,l0,cmd:0)] [ncr53c9x_intr] regs[intr=18,stat=82,step=01] xasc0: !MSGOUT
[NCR_INIT(1)] [ncr53c9x_done(error:5)] error=5
[ncr53c9x_intr] regs[intr=80,stat=80,step=00] [ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x0, 6]->5 [ncr53c9x_sched] [ncr53c9x_select(t5,l0,cmd:0)] [ncr53c9x_intr] regs[intr=18,stat=82,step=01] xasc0: !MSGOUT
[NCR_INIT(1)] [ncr53c9x_done(error:5)] error=5
[ncr53c9x_intr] regs[intr=80,stat=80,step=00] [ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x0, 6]->5 [ncr53c9x_sched] [ncr53c9x_select(t5,l0,cmd:0)] [ncr53c9x_intr] regs[intr=18,stat=82,step=01] xasc0: !MSGOUT
[NCR_INIT(1)] [ncr53c9x_done(error:5)] error=5
[ncr53c9x_intr] regs[intr=80,stat=80,step=00] [ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x12, 6]->5 [ncr53c9x_sched] [ncr53c9x_select(t5,l0,cmd:12)] [ncr53c9x_intr] regs[intr=18,stat=82,step=01] xasc0: !MSGOUT
[NCR_INIT(1)] [ncr53c9x_done(error:5)] resid=44 error=5
[ncr53c9x_intr] regs[intr=80,stat=80,step=00] [ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x12, 6]->5 [ncr53c9x_sched] [ncr53c9x_select(t5,l0,cmd:12)] [ncr53c9x_intr] regs[intr=18,stat=82,step=01] xasc0: !MSGOUT
[NCR_INIT(1)] [ncr53c9x_done(error:5)] resid=44 error=5
[ncr53c9x_intr] regs[intr=80,stat=80,step=00] [ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x12, 6]->5 [ncr53c9x_sched] [ncr53c9x_select(t5,l0,cmd:12)] [ncr53c9x_intr] regs[intr=18,stat=82,step=01] xasc0: !MSGOUT
[NCR_INIT(1)] [ncr53c9x_done(error:5)] resid=44 error=5
[ncr53c9x_intr] regs[intr=80,stat=80,step=00] [ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x12, 6]->5 [ncr53c9x_sched] [ncr53c9x_select(t5,l0,cmd:12)] [ncr53c9x_intr] regs[intr=18,stat=82,step=01] xasc0: !MSGOUT
[NCR_INIT(1)] [ncr53c9x_done(error:5)] resid=44 error=5
[ncr53c9x_intr] regs[intr=80,stat=80,step=00] [ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x12, 6]->5 [ncr53c9x_sched] [ncr53c9x_select(t5,l0,cmd:12)] [ncr53c9x_intr] regs[intr=18,stat=82,step=01] xasc0: !MSGOUT
[NCR_INIT(1)] [ncr53c9x_done(error:5)] resid=44 error=5
[ncr53c9x_intr] regs[intr=80,stat=80,step=00] [ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x0, 6]->6 [ncr53c9x_sched] [ncr53c9x_select(t6,l0,cmd:0)] [ncr53c9x_intr] regs[intr=20,stat=80,step=00] <DISC [intr 20, stat 80, step 0]>[ncr53c9x_done(error:4)] error=4
[ncr53c9x_sched] [ncr53c9x_scsi_cmd] [0x12, 6]->6 [ncr53c9x_sched] [ncr53c9x_select(t6,l0,cmd:12)] [ncr53c9x_intr] regs[intr=20,stat=80,step=00] <DISC [intr 20, stat 80, step 0]>[ncr53c9x_done(error:4)] resid=44 error=4
[ncr53c9x_sched]
>Fix:
This drive works fine on an adaptec on NetBSD/i386. I did have
problems on a bt542? buslogic controller on NetBSD/i386 which was
a synchronisation problem. A flick of a dip switch fixed it.
Otherwise, I don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: