Problems with ncr53c8xx on an Alpha

Jan Rychter (jwr@icm.edu.pl)
01 Jun 1998 02:46:05 +0200


Alpha Noname motherboard, 166MHz CPU. Integrated NCR53c810 SCSI
controller. Trying to dump an audio CD with cdda2wav gave the following
after 3 tracks (repeatable at will):

scsi : aborting command due to timeout : pid 15038, scsi0, channel 0, id 2, lun 0 Read (10) 00 00 00 8b 14 00 00 0d 00
scsi0 : DANGER : command running, can not abort.
scsi : aborting command due to timeout : pid 15038, scsi0, channel 0, id 2, lun 0 Read (10) 00 00 00 8b 14 00 00 0d 00
scsi0 : DANGER : command running, can not abort.
SCSI host 0 abort (pid 15038) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
scsi0 : DCMD|DBC=0x50000000, DNAD=0x4053cd10 (virt 0xfffffc000053cd10)
DSA=0x4012e1ec (virt 0xfffffc000012e1ec)
DSPS=0x4053ce20, TEMP=0x4053c9a0 (virt 0xfffffc000053c9a0), DMODE=0x0
SXFER=0x8, SCNTL3=0x13
phase=MSGIN, 0 bytes in SCSI FIFO
STEST0=0x6
scsi0 : DSP 0x4053cd08 (virt 0xfffffc000053cd08) ->
0x4053cd08 (virt 0xfffffc000053cd08) : 0x50000000 0x4053ce20 (virt 0xfffffc000053ce20)
0x4053cd10 (virt 0xfffffc000053cd10) : 0x60000200 0x00000000 (virt 0x0000000000000000)
0x4053cd18 (virt 0xfffffc000053cd18) : 0x78380000 0x00000000 (virt 0x0000000000000000)
0x4053cd20 (virt 0xfffffc000053cd20) : 0x0f000001 0x4053c680 (virt 0xfffffc000053c680)
0x4053cd28 (virt 0xfffffc000053cd28) : 0x78381000 0x00000000 (virt 0x0000000000000000)
0x4053cd30 (virt 0xfffffc000053cd30) : 0xc0000004 0x4053c67c (virt 0xfffffc000053c67c) 0x00008034 (virt 0x0000000000000000)
scsi0 : issue queue
scsi0 : schedule dsa array :
scsi0 : end schedule dsa array
scsi0 : reconnect_dsa_head :
scsi0 : dsa at phys 0x4012c1ec (virt 0xfffffc000012c1ec)
+ 64 : dsa_msgout length = 1, data = 0x4012c020 (virt 0xfffffc000012c020)
Identify disconnect allowed lun 0
+ 60 : select_indirect = 0x1302c800
+ 56 : dsa_cmnd = 0x41f0d960 result = 0xffff, target = 2, lun = 0, cmd = Read (10) 00 00 00 8b 14 00 00 0d 00
+ 48 : dsa_next = 0x0
scsi0 target 2 : sxfer_sanity = 0xc8, scntl3_sanity = 0x13
script : 0x78031300 0x0 0x7805c800 0x0 0x90080000 0x0 0x0 0x0
scsi0 : saved data pointer at offset 0
scsi0 : can't determine active data pointer offset
0x4053c908 (virt 0xfffffc000053c908) : 0x820b0000 0x4053c900 (virt 0xfffffc000053c900)
0x4053c910 (virt 0xfffffc000053c910) : 0x8f0b0000 0x4053cab8 (virt 0xfffffc000053cab8)
scsi0 : end reconnect_dsa_head
Duh? Bad things happening in the NCR driver

The machine continued to run, but I later found out that some
filesystems got corrupted in the process.

My SCSI chain is:

scsi-ncr53c7,8xx : at PCI bus 0, device 6, function 0
scsi-ncr53c7,8xx : NCR53c810 at memory 0x4200000, io 0x8000, irq 11
scsi0 : burst length 2
scsi0 : reset ccf to 3 from 0
scsi0 : NCR code relocated to 0x4053c6b4 (virt 0xfffffc000053c6b4)
scsi0 : test 1 started
scsi0 : NCR53c{7,8}xx (rel 17)
scsi : 1 host.
scsi0 : target 1 accepting period 100ns offset 8 10.00MHz FAST SCSI-II
scsi0 : setting target 1 to period 100ns offset 8 10.00MHz FAST SCSI-II
Vendor: IBM Model: DCAS-34330 Rev: S65A
Type: Direct-AccessANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 1, lun 0
scsi0 : target 2 accepting period 236ns offset 8 4.23MHz synchronous SCSI
scsi0 : setting target 2 to period 248ns offset 8 4.03MHz synchronous SCSI
Vendor: TOSHIBA Model: CD-ROM XM-5201TA Rev: 3254
Type: CD-ROM ANSI SCSI revision:02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
scsi0 : target 4 accepting period 204ns offset 8 4.90MHz synchronous SCSI
scsi0 : setting target 4 to period 224ns offset 8 4.46MHz synchronous SCSI
Vendor: WANGTEK Model: 5525ES SCSI Rev: REV1
Type: Sequential-Access ANSI SCSI revision:02
Detected scsi tape st0 at scsi0, channel 0, id 4, lun 0
scsi : detected 1 SCSI tape 1 SCSI cdrom 1 SCSI disk total.

The machine is running Linux 2.1.103.
Hope this helps somewhat. Let me know if I can provide more details.

--J.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu