Debugging/monitoring advice for sym53c1010-33 problems sought
I'm trying to track down the cause(s) of some SCSI errors that I'm getting. Almost always the errors occur at night and either show up as syslog entries or as a completely hung machine (no ping, no login, no SysRq). I determined that last night, the errors occurred towards the end of my writing a 1.7GB backup file from root partition (/dev/sda4) to an IDE partition (/dev/hda1).
So far, I have (just) taken the following steps:
0. Read the "Linux 2.4 SCSI subsystem HOWTO" (dated 2002-04-07)
1. Enabled SCSI logging with
echo "scsi log timeout 3" > /proc/scsi/scsi
Are there more useful parameters to use, keeping in mind that my /var/log/messages file _is_ on the SCSI disk that's causing problems?
2. Monitoring hourly the number of bad blocks on /dev/sda with
scu -f /dev/sda show defects
Currently, the "Defect list length is 5824 bytes, containing 728 defects" (Is this a lot, little, normal for an 18GB Quantum Atlas 10K drive?)
Is there anything else I should or could do to help me track down these (see below) problems?
Thanks.
--- Vladimir
--------
Vladimir G. Ivanovic http://leonora.org/~vladimir
2770 Cowper St. [email protected]
Palo Alto, CA 94306-2447 +1 650 678 8014
------
May 27 05:27:52 bach kernel: sym53c1010-33-0:6: ERROR (81:0) (8-0-0) (3e/18) @ (script 50:f31c0004). May 27 05:27:52 bach kernel: sym53c1010-33-0: script cmd = 90080000 May 27 05:27:52 bach kernel: sym53c1010-33-0: regdump: da 00 00 18 47 3e 06 0f 04 08 86 00 00 00 0f 0a 3a 0a 0a 09 02 00 00 00. May 27 05:27:52 bach kernel: sym53c1010-33-0: ctest4/sist original 0x8/0x0 mod: 0x18/0x0 May 27 05:27:52 bach kernel: sym53c1010-33-0: restart (scsi reset). May 27 05:27:52 bach kernel: sym53c1010-33-0: handling phase mismatch from SCRIPTS. May 27 05:27:52 bach kernel: sym53c1010-33-0: Downloading SCSI SCRIPTS. May 27 05:27:54 bach kernel: sym53c1010-33-0-<6,*>: FAST-80 WIDE SCSI 160.0 MB/s (12.5 ns, offset 62) May 27 05:29:57 bach kernel: sym53c1010-33-0:6: ERROR (81:0) (8-0-0) (3e/18) @ (script 38:f31c0004). May 27 05:29:57 bach kernel: sym53c1010-33-0: script cmd = e21c0004 May 27 05:29:57 bach kernel: sym53c1010-33-0: regdump: da 00 00 18 47 3e 06 0f 04 08 86 00 00 00 0f 0a 72 cf 0c 00 02 00 00 00. May 27 05:29:57 bach kernel: sym53c1010-33-0: ctest4/sist original 0x8/0x0 mod: 0x18/0x0 May 27 05:29:57 bach kernel: sym53c1010-33-0: restart (scsi reset). May 27 05:29:57 bach kernel: sym53c1010-33-0: handling phase mismatch from SCRIPTS. May 27 05:29:57 bach kernel: sym53c1010-33-0: Downloading SCSI SCRIPTS. May 27 05:29:59 bach kernel: sym53c1010-33-0-<6,*>: FAST-80 WIDE SCSI 160.0 MB/s (12.5 ns, offset 62) May 27 05:31:59 bach kernel: sym53c1010-33-0:6: ERROR (81:0) (8-0-0) (3e/18) @ (script 38:f31c0004). May 27 05:31:59 bach kernel: sym53c1010-33-0: script cmd = e21c0004 May 27 05:31:59 bach kernel: sym53c1010-33-0: regdump: da 00 00 18 47 3e 06 0f 04 08 86 00 00 00 0f 0a 72 cf 0c 00 02 00 00 00. May 27 05:31:59 bach kernel: sym53c1010-33-0: ctest4/sist original 0x8/0x0 mod: 0x18/0x0 May 27 05:31:59 bach kernel: sym53c1010-33-0: restart (scsi reset). May 27 05:31:59 bach kernel: sym53c1010-33-0: handling phase mismatch from SCRIPTS. May 27 05:31:59 bach kernel: sym53c1010-33-0: Downloading SCSI SCRIPTS. May 27 05:32:01 bach kernel: sym53c1010-33-0-<6,*>: FAST-80 WIDE SCSI 160.0 MB/s (12.5 ns, offset 62) May 27 05:32:11 bach kernel: WEIRD message received: 80. May 27 05:32:11 bach kernel: M_REJECT to send for : 80. May 27 05:32:11 bach kernel: sym53c1010-33-0: unexpected disconnect May 27 05:33:11 bach kernel: scsi : aborting command due to timeout : pid 216080, scsi0, channel 0, id 6, lun 0 Read (10) 00 01 82 6e d0 00 00 08 00 May 27 05:33:11 bach kernel: sym53c8xx_abort: pid=216080 serial_number=216081 serial_number_at_timeout=216081 May 27 05:33:11 bach kernel: scsi : aborting command due to timeout : pid 216081, scsi0, channel 0, id 6, lun 0 Write (10) 00 00 04 4b ae 00 00 02 00 May 27 05:33:11 bach kernel: sym53c8xx_abort: pid=216081 serial_number=216082 serial_number_at_timeout=216082 May 27 05:33:12 bach kernel: SCSI host 0 abort (pid 216080) timed out - resetting May 27 05:33:12 bach kernel: SCSI bus is being reset for host 0 channel 0. May 27 05:33:12 bach kernel: sym53c8xx_reset: pid=216080 reset_flags=2 serial_number=216081 serial_number_at_timeout=216081 May 27 05:33:12 bach kernel: sym53c1010-33-0: restart (scsi reset). May 27 05:33:12 bach kernel: sym53c1010-33-0: handling phase mismatch from SCRIPTS. May 27 05:33:12 bach kernel: sym53c1010-33-0: Downloading SCSI SCRIPTS. May 27 05:33:15 bach kernel: sym53c1010-33-0-<6,*>: FAST-80 WIDE SCSI 160.0 MB/s (12.5 ns, offset 62) May 27 05:34:56 bach kernel: sym53c1010-33-0:6: ERROR (81:0) (8-0-0) (3e/18) @ (mem 1f481bc:f7c670a8). May 27 05:34:56 bach kernel: sym53c1010-33-0: regdump: da 00 00 18 47 3e 06 0f 04 08 86 00 00 00 0f 0a 00 00 00 11 02 00 00 00. May 27 05:34:56 bach kernel: sym53c1010-33-0: ctest4/sist original 0x8/0x0 mod: 0x18/0x0 May 27 05:34:56 bach kernel: sym53c1010-33-0: restart (scsi reset). May 27 05:34:56 bach kernel: sym53c1010-33-0: handling phase mismatch from SCRIPTS. May 27 05:34:56 bach kernel: sym53c1010-33-0: Downloading SCSI SCRIPTS. May 27 05:34:59 bach kernel: sym53c1010-33-0-<6,*>: FAST-80 WIDE SCSI 160.0 MB/s (12.5 ns, offset 62) May 27 05:40:23 bach kernel: WEIRD message received: 80. May 27 05:40:23 bach kernel: M_REJECT to send for : 80. May 27 05:40:23 bach kernel: sym53c1010-33-0: unexpected disconnect May 27 05:41:23 bach kernel: scsi : aborting command due to timeout : pid 283835, scsi0, channel 0, id 6, lun 0 Read (10) 00 01 fe 58 f0 00 00 10 00 May 27 05:41:23 bach kernel: sym53c8xx_abort: pid=283835 serial_number=283836 serial_number_at_timeout=283836 May 27 05:41:23 bach kernel: scsi : aborting command due to timeout : pid 283836, scsi0, channel 0, id 6, lun 0 Read (10) 00 00 03 18 18 00 00 02 00 May 27 05:41:23 bach kernel: sym53c8xx_abort: pid=283836 serial_number=283837 serial_number_at_timeout=283837 May 27 05:41:26 bach kernel: SCSI host 0 abort (pid 283835) timed out - resetting May 27 05:41:26 bach kernel: SCSI bus is being reset for host 0 channel 0. May 27 05:41:26 bach kernel: sym53c8xx_reset: pid=283835 reset_flags=2 serial_number=283836 serial_number_at_timeout=283836 May 27 05:41:26 bach kernel: sym53c1010-33-0: restart (scsi reset). May 27 05:41:26 bach kernel: sym53c1010-33-0: handling phase mismatch from SCRIPTS. May 27 05:41:26 bach kernel: sym53c1010-33-0: Downloading SCSI SCRIPTS. May 27 05:41:26 bach kernel: sym53c1010-33-0-<6,*>: FAST-80 WIDE SCSI 160.0 MB/s (12.5 ns, offset 62)