Re: sym/ncr53c8xx phase error: Some progress

Rainer Clasen (bj@ncc.cicely.de)
Mon, 10 May 1999 20:59:12 +0200


Hallo erstmal!

On Sun, May 09, 1999 at 11:27:57PM +0200, Gerard Roudier wrote:
> Basically, a target that detects a PARITY ERROR in COMMAND phase may elect
> to switch to MESSAGE IN phase and send a RESTORE POINTERS message (that
> will have the effect of a no-op), and then enter again the COMMAND phase
> (this behaviour may explain 'phase change 2-7' driver messages)
>
> After some exhausted number of retries, the target may switch to STATUS
> phase and report CHECK CONDITION with sense 'ABORTED COMMAND'.
> (this behaviour may explain 'phase change 2-3' driver messages.

But usually the phase changes appear in the reverse order. There is only one
2-3 phase change and the number of 2-7 messages varies. I've seen 0 to 10 of
them.

> Could you boot your system using the following boot options:
> sym53c8xx=debug:0x10

did this as module:
modprobe sym53c8xx sym53c8xx="verb:y debug:0x10"

here's the syslog:

May 10 19:25:46 trans kernel: sym53c8xx: setup=disc:y,specf:3,ultra:2,tags:8,sync:12,burst:7,wide:y,diff:0,revprob:n,buschk:0x1
May 10 19:25:46 trans kernel: sym53c8xx: setup=mpar:y,spar:y,fsn=n,verb:2,debug:0x0,led:n,settle:2,irqm:0x0,nvram:0x1,pcifix:0x0
May 10 19:25:46 trans kernel: sym53c8xx: at PCI bus 0, device 8, function 0
May 10 19:25:46 trans kernel: sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up)
May 10 19:25:46 trans kernel: sym53c8xx: 53c810a detected
May 10 19:25:46 trans kernel: sym53c810a-0: rev=0x23, base=0xe1002000, io_port=0x6400, irq=15
May 10 19:25:46 trans kernel: sym53c810a-0: using memory mapped IO
May 10 19:25:46 trans kernel: sym53c810a-0: ID 7, Fast-10, Parity Checking
May 10 19:25:46 trans kernel: sym53c810a-0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 03/8e/a0/01/00/00
May 10 19:25:46 trans kernel: sym53c810a-0: final SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 03/ce/a0/00/08/00
May 10 19:25:46 trans kernel: sym53c810a-0: resetting, command processing suspended for 2 seconds
May 10 19:25:46 trans kernel: sym53c810a-0: restart (scsi reset).
May 10 19:25:46 trans kernel: scsi1 : sym53c8xx - version 1.3c
May 10 19:25:46 trans kernel: scsi : 2 hosts.
May 10 19:25:48 trans kernel: sym53c810a-0: command processing resumed
May 10 19:25:49 trans kernel: Vendor: IBM Model: DDRS-34560 Rev: S97B
May 10 19:25:49 trans kernel: Type: Direct-Access ANSI SCSI revision: 02
May 10 19:25:49 trans kernel: Detected scsi disk sdc at scsi1, channel 0, id 1, lun 0
May 10 19:25:49 trans kernel: Vendor: YAMAHA Model: CDR102 Rev: 1.01
May 10 19:25:49 trans kernel: Type: WORM ANSI SCSI revision: 02
May 10 19:25:51 trans kernel: sym53c810a-0-<1,0>: tagged command queue depth set to 8
May 10 19:25:51 trans kernel: sym53c810a-0-<1,*>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
May 10 19:25:51 trans kernel: SCSI device sdc: hdwr sector= 512 bytes. Sectors= 8925000 [4357 MB] [4.4 GB]
May 10 19:25:51 trans kernel: sdc: sdc1 < sdc5 >
May 10 19:28:04 trans kernel: sym53c810a-0: detaching ...
May 10 19:28:04 trans kernel: sym53c810a-0: resetting chip
May 10 19:28:04 trans kernel: scsi : 1 host.
May 10 19:28:09 trans kernel: sym53c8xx_setup: unexpected boot option 'debug=0x10 verb:' ignored
May 10 19:28:09 trans kernel: sym53c8xx: setup=disc:y,specf:3,ultra:2,tags:8,sync:12,burst:7,wide:y,diff:0,revprob:n,buschk:0x1
May 10 19:28:09 trans kernel: sym53c8xx: setup=mpar:y,spar:y,fsn=n,verb:2,debug:0x0,led:n,settle:2,irqm:0x0,nvram:0x1,pcifix:0x0
May 10 19:28:09 trans kernel: sym53c8xx: at PCI bus 0, device 8, function 0
May 10 19:28:09 trans kernel: sym53c8xx: 53c810a detected
May 10 19:28:09 trans kernel: sym53c810a-0: rev=0x23, base=0xe1002000, io_port=0x6400, irq=15
May 10 19:28:09 trans kernel: sym53c810a-0: using memory mapped IO
May 10 19:28:09 trans kernel: sym53c810a-0: ID 7, Fast-10, Parity Checking
May 10 19:28:09 trans kernel: sym53c810a-0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 03/8e/a0/01/00/00
May 10 19:28:09 trans kernel: sym53c810a-0: final SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 03/ce/a0/00/08/00
May 10 19:28:09 trans kernel: sym53c810a-0: resetting, command processing suspended for 2 seconds
May 10 19:28:09 trans kernel: sym53c810a-0: restart (scsi reset).
May 10 19:28:09 trans kernel: scsi1 : sym53c8xx - version 1.3c
May 10 19:28:09 trans kernel: scsi : 2 hosts.
May 10 19:28:11 trans kernel: sym53c810a-0: command processing resumed
May 10 19:28:11 trans kernel: Vendor: IBM Model: DDRS-34560 Rev: S97B
May 10 19:28:11 trans kernel: Type: Direct-Access ANSI SCSI revision: 02
May 10 19:28:11 trans kernel: Detected scsi disk sdc at scsi1, channel 0, id 1, lun 0
May 10 19:28:11 trans kernel: Vendor: YAMAHA Model: CDR102 Rev: 1.01
May 10 19:28:11 trans kernel: Type: WORM ANSI SCSI revision: 02
May 10 19:28:14 trans kernel: sym53c810a-0-<1,0>: tagged command queue depth set to 8
May 10 19:28:14 trans kernel: sym53c810a-0-<1,*>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
May 10 19:28:14 trans kernel: SCSI device sdc: hdwr sector= 512 bytes. Sectors= 8925000 [4357 MB] [4.4 GB]
May 10 19:28:14 trans kernel: sdc: sdc1 < sdc5 >
May 10 19:28:56 trans kernel: sym53c810a-0: detaching ...
May 10 19:28:56 trans kernel: sym53c810a-0: resetting chip
May 10 19:28:56 trans kernel: scsi : 1 host.
May 10 19:29:13 trans kernel: sym53c8xx: setup=disc:y,specf:3,ultra:2,tags:8,sync:12,burst:7,wide:y,diff:0,revprob:n,buschk:0x1
May 10 19:29:13 trans kernel: sym53c8xx: setup=mpar:y,spar:y,fsn=n,verb:2,debug:0x10,led:n,settle:2,irqm:0x0,nvram:0x1,pcifix:0x0
May 10 19:29:13 trans kernel: sym53c8xx: at PCI bus 0, device 8, function 0
May 10 19:29:13 trans kernel: sym53c8xx: 53c810a detected
May 10 19:29:13 trans kernel: sym53c810a-0: rev=0x23, base=0xe1002000, io_port=0x6400, irq=15
May 10 19:29:13 trans kernel: sym53c810a-0: using memory mapped IO
May 10 19:29:13 trans kernel: sym53c810a-0: ID 7, Fast-10, Parity Checking
May 10 19:29:13 trans kernel: sym53c810a-0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 03/8e/a0/01/00/00
May 10 19:29:13 trans kernel: sym53c810a-0: final SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 03/ce/a0/00/08/00
May 10 19:29:13 trans kernel: sym53c810a-0: resetting, command processing suspended for 2 seconds
May 10 19:29:13 trans kernel: sym53c810a-0: restart (scsi reset).
May 10 19:29:13 trans kernel: scsi1 : sym53c8xx - version 1.3c
May 10 19:29:13 trans kernel: scsi : 2 hosts.
May 10 19:29:15 trans kernel: sym53c810a-0: command processing resumed
May 10 19:29:15 trans kernel: sym53c810a-0-<0,0>: ERROR: cmd=0 host_status=85 scsi_status=ff
May 10 19:29:16 trans kernel: sym53c810a-0-<0,0>: ERROR: cmd=0 host_status=85 scsi_status=ff
May 10 19:29:16 trans kernel: sym53c810a-0-<1,0>: ERROR: cmd=0 host_status=84 scsi_status=2
May 10 19:29:16 trans kernel: sym53c810a-0-<1,0>: sense data: 70 0 6 0 0 0 0 18 0 0 0 0 29 0.
May 10 19:29:16 trans kernel: Vendor: IBM Model: DDRS-34560 Rev: S97B
May 10 19:29:16 trans kernel: Type: Direct-Access ANSI SCSI revision: 02
May 10 19:29:16 trans kernel: Detected scsi disk sdc at scsi1, channel 0, id 1, lun 0
May 10 19:29:16 trans kernel: sym53c810a-0-<1,1>: ERROR: cmd=0 host_status=84 scsi_status=2
May 10 19:29:16 trans kernel: sym53c810a-0-<1,1>: sense data: 70 0 5 0 0 0 0 18 0 0 0 0 25 0.
May 10 19:29:16 trans kernel: sym53c810a-0-<1,2>: ERROR: cmd=0 host_status=84 scsi_status=2
May 10 19:29:16 trans kernel: sym53c810a-0-<1,2>: sense data: 70 0 5 0 0 0 0 18 0 0 0 0 25 0.
May 10 19:29:16 trans kernel: sym53c810a-0-<1,3>: ERROR: cmd=0 host_status=84 scsi_status=2
May 10 19:29:16 trans kernel: sym53c810a-0-<1,3>: sense data: 70 0 5 0 0 0 0 18 0 0 0 0 25 0.
May 10 19:29:16 trans kernel: sym53c810a-0-<1,4>: ERROR: cmd=0 host_status=84 scsi_status=2
May 10 19:29:16 trans kernel: sym53c810a-0-<1,4>: sense data: 70 0 5 0 0 0 0 18 0 0 0 0 25 0.
May 10 19:29:16 trans kernel: sym53c810a-0-<1,5>: ERROR: cmd=0 host_status=84 scsi_status=2
May 10 19:29:16 trans kernel: sym53c810a-0-<1,5>: sense data: 70 0 5 0 0 0 0 18 0 0 0 0 25 0.
May 10 19:29:16 trans kernel: sym53c810a-0-<1,6>: ERROR: cmd=0 host_status=84 scsi_status=2
May 10 19:29:16 trans kernel: sym53c810a-0-<1,6>: sense data: 70 0 5 0 0 0 0 18 0 0 0 0 25 0.
May 10 19:29:16 trans kernel: sym53c810a-0-<1,7>: ERROR: cmd=0 host_status=84 scsi_status=2
May 10 19:29:16 trans kernel: sym53c810a-0-<1,7>: sense data: 70 0 5 0 0 0 0 18 0 0 0 0 25 0.
May 10 19:29:16 trans kernel: sym53c810a-0-<2,0>: ERROR: cmd=0 host_status=84 scsi_status=2
May 10 19:29:16 trans kernel: sym53c810a-0-<2,0>: sense data: 70 0 6 0 0 0 0 a 0 0 0 0 29 0.
May 10 19:29:16 trans kernel: Vendor: YAMAHA Model: CDR102 Rev: 1.01
May 10 19:29:16 trans kernel: Type: WORM ANSI SCSI revision: 02
May 10 19:29:16 trans kernel: sym53c810a-0-<3,0>: ERROR: cmd=0 host_status=85 scsi_status=ff
May 10 19:29:16 trans kernel: sym53c810a-0-<3,0>: ERROR: cmd=0 host_status=85 scsi_status=ff
May 10 19:29:17 trans kernel: sym53c810a-0-<4,0>: ERROR: cmd=0 host_status=85 scsi_status=ff
May 10 19:29:17 trans kernel: sym53c810a-0-<4,0>: ERROR: cmd=0 host_status=85 scsi_status=ff
May 10 19:29:17 trans kernel: sym53c810a-0-<5,0>: ERROR: cmd=0 host_status=85 scsi_status=ff
May 10 19:29:17 trans kernel: sym53c810a-0-<5,0>: ERROR: cmd=0 host_status=85 scsi_status=ff
May 10 19:29:18 trans kernel: sym53c810a-0-<6,0>: ERROR: cmd=0 host_status=85 scsi_status=ff
May 10 19:29:18 trans kernel: sym53c810a-0-<6,0>: ERROR: cmd=0 host_status=85 scsi_status=ff
May 10 19:29:18 trans kernel: sym53c810a-0-<1,0>: tagged command queue depth set to 8
May 10 19:29:18 trans kernel: sym53c810a-0-<1,*>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 8)
May 10 19:29:18 trans kernel: SCSI device sdc: hdwr sector= 512 bytes. Sectors= 8925000 [4357 MB] [4.4 GB]
May 10 19:29:18 trans kernel: sdc: sdc1 < sdc5 >
May 10 19:37:31 trans kernel: sym53c810a-0-<1,0>: phase change 2-3 6@04a55045 resid=2.
May 10 19:37:31 trans kernel: sym53c810a-0-<1,0>: ERROR: cmd=2a host_status=84 scsi_status=2
May 10 19:37:31 trans kernel: sym53c810a-0-<1,0>: sense data: 70 0 5 0 0 0 0 18 0 0 0 0 24 0.
May 10 19:37:31 trans kernel: sym53c810a-0-<1,0>: phase change 2-7 10@04a55645 resid=4.
May 10 19:37:31 trans kernel: sym53c810a-0-<1,0>: phase change 2-7 10@04a55a45 resid=4.
May 10 19:37:31 trans kernel: sym53c810a-0-<1,0>: phase change 2-7 10@00dffe45 resid=4.
May 10 19:37:31 trans kernel: sym53c810a-0-<1,0>: phase change 2-7 10@04a55445 resid=4.
May 10 19:40:00 trans /USR/SBIN/CRON[664]: (root) CMD (test -f /proc/modules && /sbin/rmmod -a)
May 10 19:47:14 trans kernel: Filesystem panic (dev 08:25).
May 10 19:47:15 trans kernel: File without EOF
May 10 19:47:15 trans kernel: File system has been set read-only
May 10 19:47:15 trans kernel: FAT: fat_truncate called though fs is read-only, uhh...

As you may see, I switched back to non-simplified SCSI-cabling. It didn't
matter anyway. Now it looks like:

+ NCR 810A with passive onboard termination
|
- HD-DSub50 - Centronics Adapter
|
| external cable (50 cm) (a flat one as used for internal cablings)
|
--+ external SCSI tower (with ~40cm cable total)
|
+ DDRS
|
+ Yamaha recorder
|
<-+
external, active Centronics terminator

Rainer

-- 
KeyID=58341901 fingerprint=A5 57 04 B3 69 88 A1 FB  78 1D B5 64 E0 BF 72 EB

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/