Kernel becomes unresponsive because of SCSI

David B. Rees (dbr@oto.dyn.ml.org)
Tue, 22 Sep 1998 08:03:55 -0700 (PDT)


Hello,

I'm running kernel 2.1.122 and have a Tekram390F(UW) in the computer. I'm using
th e ncr53c875 drivers. I have three devices attached to it, two internal
SCSI-2 drives, and on the outside, a scanner. The everything is detected fine
at bootup when everything is on. However, if I turn on the scanner after bootup
(it's a Microtek V300), and then try to recognize it with
echo "scsi add-single-device 0 0 6 0" > /proc/scsi/scsi
The driver will go into a endless loop of resetting the scsi-bus, and if I let
it go too long, it will freeze the machine. If I turn off the scanner quick
enough, the driver recovers. Is this a problem with the scanner? (seems
possible) Or is it a driver problem? (also possible) I don't think it's a
termination problem, the cable to the scanner is a 68pin SCSI3(controller) ->
Cent50(scanner) with an inline terminator on the scanner end.

Here's a section of the system logs:

Sep 22 07:46:04 oto kernel: scsi singledevice 0 0 6 0
Sep 22 07:46:04 oto kernel: ncr53c875-0-<6,*>: asynchronous.
Sep 22 07:46:10 oto kernel: scsi : aborting command due to timeout : pid
225060, scsi0, channel 0, id 6, lun 0 0x00 00 00 00 00 00
Sep 22 07:46:10 oto kernel: ncr53c8xx_abort: pid=225060 serial_number=225296
serial_number_at_timeout=225296
Sep 22 07:46:10 oto kernel: ncr53c875-0: abort ccb=c0005020 (cancel)
Sep 22 07:46:13 oto kernel: SCSI host 0 abort (pid 225060) timed out -
resetting
Sep 22 07:46:13 oto kernel: SCSI bus is being reset for host 0 channel 0.
Sep 22 07:46:13 oto kernel: ncr53c8xx_reset: pid=225060 reset_flags=2
serial_number=225296 serial_number_at_timeout=225296
Sep 22 07:46:13 oto kernel: ncr53c875-0: restart (scsi reset).
Sep 22 07:46:13 oto kernel: ncr53c875-0: Downloading SCSI SCRIPTS.
Sep 22 07:46:19 oto kernel: ncr53c875-0:6: ERROR (0:4) (8-0-0) (0/5) @ (script
5c:86030000).
Sep 22 07:46:19 oto kernel: ncr53c875-0: script cmd = 1e000000
Sep 22 07:46:19 oto kernel: ncr53c875-0: regdump: da 00 80 05 47 00 06 07 71 08
00 00 80 00 00 02.
Sep 22 07:46:19 oto kernel: ncr53c875-0: have to clear fifos.
Sep 22 07:46:19 oto kernel: ncr53c875-0: unexpected disconnect
Sep 22 07:46:19 oto kernel: ncr53c875-0-<6,0>: COMMAND FAILED (8a ff)
@c0005020.
Sep 22 07:46:19 oto kernel: ncr53c875-0: SCSI parity error detected: SCR1=64
DBC=1e000000 SSTAT1=6
Sep 22 07:46:19 oto kernel: ncr53c875-0: restart (scsi reset).
Sep 22 07:46:19 oto kernel: ncr53c875-0: Downloading SCSI SCRIPTS.

(I turn off scanner here)

Sep 22 07:46:21 oto kernel: ncr53c875-0-<0,*>: FAST-10 SCSI 10.0 MB/s (100 ns,
offset 8)
Sep 22 07:46:21 oto kernel: ncr53c875-0-<1,*>: FAST-5 SCSI 5.0 MB/s (200 ns,
offset 7)

-
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/