scsi-problems with 2.0.2x

Oliver Fleischmann (oliver.fleischmann@metronet.de)
Wed, 20 Nov 1996 22:32:37 +0100


Hi...

I have some problems with my magneto-optical drive in my linux box.
When accessing the magneto-optical, i get scsi-resets every few
seconds, and files written to the magneto-optical disks are
corrupted.

Everything works well in 2.0.0 up to 2.0.22 and with DOS and
Windoze. I notice the problems in 2.0.23 to 2.0.25.

The system is scsi-only with an adaptec AHA-2940 host adapter.
The attached devices are:
Fujitsu M2909 Harddisk (ID 0)
Fujitsu M2511A Magnetooptical (ID 3)
Toshiba XM-3701TA CD-ROM (ID 4).

There are lots of messages in the log, for example:

Nov 20 22:03:31 Max kernel: AHA-2940 (PCI-bus), I/O 0xd000, Mem 0xfe000000:
Nov 20 22:03:31 Max kernel: irq 10
Nov 20 22:03:31 Max kernel: bus release time 40 bclks
Nov 20 22:03:31 Max kernel: data fifo threshold 100%
Nov 20 22:03:31 Max kernel: SCSI CHANNEL A:
Nov 20 22:03:31 Max kernel: scsi id 7
Nov 20 22:03:31 Max kernel: scsi selection timeout 256 ms
Nov 20 22:03:31 Max kernel: scsi bus reset at power-on enabled
Nov 20 22:03:31 Max kernel: scsi bus parity enabled
Nov 20 22:03:31 Max kernel: scsi bus termination (low byte) enabled
Nov 20 22:03:31 Max kernel: aic7xxx: Resetting the SCSI bus...done.
Nov 20 22:03:31 Max kernel: scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI)4.0/3.2/4.0
Nov 20 22:03:31 Max kernel: scsi : 1 host.
Nov 20 22:03:31 Max kernel: scsi0: Target 0, channel A, now synchronous at 10.0MHz, offset 15.
Nov 20 22:03:31 Max kernel: Vendor: IBM Model: DORS-32160 Rev: WA6A
Nov 20 22:03:31 Max kernel: Type: Direct-Access ANSI SCSI revision: 02
Nov 20 22:03:31 Max kernel: Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
Nov 20 22:03:31 Max kernel: scsi0: Target 1, channel A, now synchronous at 10.0MHz, offset 15.
Nov 20 22:03:31 Max kernel: Vendor: FUJITSU Model: M2909S-512 Rev: 0127
Nov 20 22:03:31 Max kernel: Type: Direct-Access ANSI SCSI revision: 02
Nov 20 22:03:31 Max kernel: Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
Nov 20 22:03:31 Max kernel: scsi0: Target 3, channel A, now synchronous at 4.0MHz, offset 8.
Nov 20 22:03:31 Max kernel: Vendor: FUJITSU Model: M2511A Rev: 1300
Nov 20 22:03:31 Max kernel: Type: Direct-Access ANSI SCSI revision: 02
Nov 20 22:03:31 Max kernel: Detected scsi removable disk sdc at scsi0, channel 0, id 3, lun 0
Nov 20 22:03:31 Max kernel: scsi0: Target 4, channel A, now synchronous at 4.4MHz, offset 15.
Nov 20 22:03:31 Max kernel: Vendor: TOSHIBA Model: CD-ROM XM-3701TA Rev: 3615
Nov 20 22:03:31 Max kernel: Type: CD-ROM ANSI SCSI revision: 02
Nov 20 22:03:31 Max kernel: scsi : detected 3 SCSI disks total.
Nov 20 22:03:31 Max kernel: SCSI device sda: hdwr sector= 512 bytes. Sectors= 4226725 [2063 MB] [2.1 GB]
Nov 20 22:03:31 Max kernel: SCSI device sdb: hdwr sector= 512 bytes. Sectors= 6054834 [2956 MB] [3.0 GB]
Nov 20 22:03:31 Max kernel: sdc : READ CAPACITY failed.
Nov 20 22:03:31 Max kernel: sdc : status = 1, message = 00, host = 0, driver = 28
Nov 20 22:03:31 Max kernel: sdc : extended sense code = 2
Nov 20 22:03:31 Max kernel: sdc : block size assumed to be 512 bytes, disk size 1GB.

Nov 20 22:04:03 Max kernel: scsi0: Target busy, TCL=0x30.
Nov 20 22:04:31 Max last message repeated 19 times
Nov 20 22:04:31 Max kernel: scsi0 channel 0 : resetting for second half of retries.
Nov 20 22:04:31 Max kernel: SCSI bus is being reset for host 0 channel 0.
Nov 20 22:04:33 Max kernel: aic7xxx: (reset) target/channel 3/0
Nov 20 22:04:33 Max kernel: aic7xxx: (reset_device) target/channel -1/A, active_scb 3
Nov 20 22:04:33 Max kernel: aic7xxx: (match_scb) comparing target/channel -1/A to scb 3/A
Nov 20 22:04:34 Max kernel: aic7xxx: (reset_device) aborting SCB 2, TCL=3/0/0
Nov 20 22:04:34 Max kernel: aic7xxx: (match_scb) comparing target/channel -1/A to scb 3/A
Nov 20 22:04:34 Max kernel: aic7xxx: (reset_channel) Resetting current channel A
Nov 20 22:04:34 Max kernel: aic7xxx: (reset_channel) Channel reset, sequencer restarted
Nov 20 22:04:34 Max kernel: aic7xxx: (done_aborted_scbs) Aborting scb 2, TCL=3/0/0
Nov 20 22:04:34 Max kernel: scsi0: Target 3, channel A, now synchronous at 4.0MHz, offset 8.
Nov 20 22:04:34 Max kernel: scsi0: Target 1, channel A, now synchronous at 10.0MHz, offset 15.
Nov 20 22:04:44 Max kernel: scsi0: Target busy, TCL=0x30.
Nov 20 22:05:01 Max last message repeated 12 times
Nov 20 22:05:01 Max kernel: SCSI disk error : host 0 channel 0 id 3 lun 0 return code = 27070008
Nov 20 22:05:01 Max kernel: scsidisk I/O error: dev 08:20, sector 1501
Nov 20 22:05:02 Max kernel: scsi0: Target busy, TCL=0x30.
Nov 20 22:05:12 Max last message repeated 27 times
Nov 20 22:05:12 Max kernel: UMSDOS Beta 0.6 (compatibility level 0.4, fast msdos)
Nov 20 22:05:20 Max kernel: scsi0: Target busy, TCL=0x30.
Nov 20 22:05:58 Max last message repeated 9 times
Nov 20 22:06:42 Max kernel: scsi0: Target busy, TCL=0x30.
Nov 20 22:06:52 Max kernel: UMSDOS: out of sync, Creation error [7763], deleting lilo_u_1.{_j 17 128 pos 1216
Nov 20 22:07:27 Max kernel: UMSDOS: out of sync, Creation error [7763], deleting lilo_u_1.{_j 17 131 pos 1216
Nov 20 22:07:48 Max kernel: scsi0: Target busy, TCL=0x30.
Nov 20 22:07:50 Max last message repeated 2 times
Nov 20 22:07:50 Max kernel: scsi0 channel 0 : resetting for second half of retries.
Nov 20 22:07:50 Max kernel: SCSI bus is being reset for host 0 channel 0.
Nov 20 22:07:51 Max kernel: aic7xxx: (reset) target/channel 3/0
Nov 20 22:07:51 Max kernel: aic7xxx: (reset_device) target/channel -1/A, active_scb 3
Nov 20 22:07:51 Max kernel: aic7xxx: (reset_channel) Resetting current channel A
Nov 20 22:07:51 Max kernel: aic7xxx: (reset_channel) Channel reset, sequencer restarted
Nov 20 22:07:51 Max kernel: scsi0: Target 3, channel A, now synchronous at 4.0MHz, offset 8.
Nov 20 22:07:52 Max kernel: scsi0: Target 1, channel A, now synchronous at 10.0MHz, offset 15.
Nov 20 22:08:26 Max kernel: scsi0: Target busy, TCL=0x30.
Nov 20 22:08:27 Max kernel: scsi0: Target busy, TCL=0x30.
Nov 20 22:08:27 Max kernel: scsi0 channel 0 : resetting for second half of retries.
Nov 20 22:08:27 Max kernel: SCSI bus is being reset for host 0 channel 0.
Nov 20 22:08:27 Max kernel: aic7xxx: (reset) target/channel 3/0
Nov 20 22:08:27 Max kernel: aic7xxx: (reset_device) target/channel -1/A, active_scb 2
Nov 20 22:08:27 Max kernel: aic7xxx: (match_scb) comparing target/channel -1/A to scb 3/A
Nov 20 22:08:32 Max kernel: aic7xxx: (reset_device) aborting SCB 3, TCL=3/0/0
Nov 20 22:08:32 Max kernel: aic7xxx: (match_scb) comparing target/channel -1/A to scb 3/A
Nov 20 22:08:32 Max kernel: aic7xxx: (reset_channel) Resetting current channel A
Nov 20 22:08:32 Max kernel: aic7xxx: (reset_channel) Channel reset, sequencer restarted
Nov 20 22:08:32 Max kernel: aic7xxx: (done_aborted_scbs) Aborting scb 3, TCL=3/0/0
Nov 20 22:08:33 Max kernel: scsi0: Target 3, channel A, now synchronous at 4.0MHz, offset 8.
Nov 20 22:08:33 Max kernel: scsi0: Target 1, channel A, now synchronous at 10.0MHz, offset 15.
Nov 20 22:08:46 Max kernel: scsi0: Target busy, TCL=0x30.
Nov 20 22:09:11 Max last message repeated 31 times
Nov 20 22:09:11 Max kernel: UMSDOS Beta 0.6 (compatibility level 0.4, fast msdos)
Nov 20 22:09:14 Max kernel: scsi0: Target busy, TCL=0x30.
Nov 20 22:09:14 Max kernel: scsi0: Target busy, TCL=0x30.
Nov 20 22:09:56 Max kernel: scsi0: Target 0, channel A, now synchronous at 10.0MHz, offset 15.

As I read some other mails in this list about scsi-problems, maybe
this is a little bug in the kernel? Perhaps someone can help...

best regards
Oliver Oliver.Fleischmann@metronet.de