rescan causes offlined tape to reload
G. Paul Ziemba
pz-freebsd-scsi at ziemba.us
Sun Jan 23 09:46:38 UTC 2011
mj at feral.com (Matthew Jacob) writes:
>The basic gist of the error is that during the probe sequence a command
>is likely coming back with ASC 0x04 ASCQ 0x02 (Logical unit not ready,
>initializing command required).
>Unfortunately, this causes camperiphscsisenseerror to issue
>scsi_start_stop command.
>See if the attached patch helps
Matthew, thanks for your efforts on this issue.
It seems to avoid reloading the tape when there is a rescan (yay!)
I have not had a chance to fully exercise it (it might take until
Monday before I can run it through my usual sequence of operations)
however so I can't say what else will happen.
But now there is a TUR about every two seconds. (Maybe because
"error = EIO;" on line 1562 bubbles up and causes a retry?)
>Why this did not occur before I am a little
>baffled about because the same code was in place in the time frame you
>had it 'working'.
I'll see if I can rebuild an old kernel from Nov 2009 -stable. Maybe
it will even work with a Jan 2011 world/ports.
--
G. Paul Ziemba
FreeBSD unix:
1:46AM up 1:04, 6 users, load averages: 0.09, 0.21, 0.16
More information about the freebsd-scsi
mailing list