broken SCSI devices and linux...

Teunis Peters (teunis@usa.net)
Fri, 1 Aug 1997 09:55:13 -0600 (MDT)


I have a BAD SCSI cdrom (3X nec - but damaged in various moves & living
conditions)

... Sometimes it can't seek a track (when playing a CD) and then the SCSI
system starts freezing...
... even worse is when I have to turn off the device to quit it seeking
back and forth and Linux crashes:

first the cdrom crash:
scsi : aborting command due to timeout : pid 68199, scsi0, channel 0, id
0, lun 0 Write (6) 03 80 0e 02 00
scsi : aborting command due to timeout : pid 68207, scsi0, channel 0, id
3, lun 0 Start/Stop Unit 00 00 00 02 00
scsi : aborting command due to timeout : pid 68207, scsi0, channel 0, id
3, lun 0 Start/Stop Unit 00 00 00 02 00
SCSI host 0 abort (pid 68207) timed out - resetting

then the system crashes [spewing these]
SCSI bus is being reset for host 0 channel 0.
Sent BUS DEVICE RESET to target 3
Sending DID_RESET for target 3
last message repeated 9 times

Is there any way to recover from this?
The SCSI bus isn't actually _CRASHED_ (as the system still works at this
point - just VERY slow)....

[on a bad disk the host adapter HAS been known to crash taking the entire
system with it - I have a bad SCSI disk I couldn't afford to lose for many
years] - THAT is not recoverable. THIS is!

Incidentally:
SCSI host adapter : Adaptec 1542B (formerly 1540A)
CDrom : NEC 3x external

(I have an old 2X scsi cdrom as well to handle data CDs :)
[incidentally - the drive still plays audio cd's but it can't handle data
cds anymore if that matters]

I do _NOT_ know SCSI well enough to solve this myself...

TIA and G'day, eh?
- Teunis