NetBSD Problem Report #10031
Received: (qmail 25742 invoked from network); 1 May 2000 22:23:29 -0000
Message-Id: <200005012223.PAA11463@nbwww.isc.org>
Date: Mon, 1 May 2000 15:23:29 -0700 (PDT)
From: g.mcgarry@ieee.org
Reply-To: g.mcgarry@ieee.org
To: gnats-bugs@gnats.netbsd.org
Subject: NetBSD/pmax MI SCSI incompatible with HITACHI CDR-1750S cdrom drive
X-Send-Pr-Version: www-1.0
>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: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 01 22:24:00 +0000 2000
>Closed-Date: Fri May 02 06:33:09 +0000 2003
>Last-Modified: Fri May 02 06:33:09 +0000 2003
>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:
From: "Michael L. Hitch" <mhitch@lightning.msu.montana.edu>
To: g.mcgarry@ieee.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-pmax/10031: NetBSD/pmax MI SCSI incompatible with HITACHI
CDR-1750S cdrom drive
Date: Tue, 2 May 2000 11:48:29 -0600 (MDT)
On Mon, 1 May 2000 g.mcgarry@ieee.org wrote:
> >Description:
> The HITACHI CDR-1750S cdrom drive used to work under the old scsi
> driver:
...
> >How-To-Repeat:
> Find a HITACHI CDR-1750S cdrom drive to the bus and watch it
> go catatonic:
...
> [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
It looks to me like this drive responded to the NCRCMD_SELATNS command
by accepting the identify message byte, but then sent into the command
phase instead of staying in the message out phase to receive the
synchronous negotiation request. The old ASC driver probably never
attempted to do synchronous negotitation, since the rz driver will not
request that unless the device inquire information indicates the device
will support it.
I think the ncr53c9x driver could check to see if the current phase
is the command phase, and if so, just try to continue from there.
--
Michael L. Hitch mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University Bozeman, MT USA
State-Changed-From-To: open->closed
State-Changed-By: gmcgarry
State-Changed-When: Fri May 2 06:32:32 UTC 2003
State-Changed-Why:
I don't have the hardware any longer to investigate further.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.