Subject: port-i386/1676: pci/ncr.c: SCSI phase error fixup: CCB already dequeued
To: None <gnats-bugs@NetBSD.ORG>
From: None <andreas@planix.com>
List: netbsd-bugs
Date: 10/23/1995 17:09:00
>Number:         1676
>Category:       port-i386
>Synopsis:       panic: cannot mount root after SCSI phase error fixup: CCB already dequeued
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 23 17:35:01 1995
>Last-Modified:
>Originator:     Andreas Wrede
>Organization:
Planix, Inc.
Andreas Wrede                  Planix, Inc.
andreas@planix.com             Networking, System Administration, Consulting
http://www.planix.com          Toronto, Ontario, Canada
>Release:        NetBSD-current, 1995/10/20
>Environment:
System: NetBSD woffi 1.1_ALPHA NetBSD 1.1_ALPHA (WOFFI) #37: Sun Oct 22 01:15:24 EDT 1995 root@woffi:/local/src/netbsd-current/src/sys/arch/i386/compile/WOFFI i386


>Description:
Environment: Pentium-120/32Mb/4GB Quantum Grand Grix/generic NCR SCSI controller
The ncr driver probes the scsi devices correctly but then fails when 
trying to mount root:
ncr0: SCSI phase error fixup: CCB already dequeued (0xf872de00)
ncr0:0: ERROR (80:100) (e-29-0) (8/13) @ (1214:0e000000)
        script cmd = c0000001
        reg:       da 10 00 13 47 08 00 1f 00 0e 80 29 80 01 01 00

>How-To-Repeat:
	boot with -current kernel.
>Fix:
	I have an older version of ncr.c, which I ported from Stefan Esser's 
	version 1.44, which does not have this problem. I don't know enough 
	about scsi to find the problem. Diffs/sourcre available on request.
>Audit-Trail:
>Unformatted: