rescan causes offlined tape to reload
G. Paul Ziemba
pz-freebsd-scsi at ziemba.us
Mon Jan 24 16:57:16 UTC 2011
pz-freebsd-scsi at ziemba.us ("G. Paul Ziemba") writes:
>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.
I exercised this code a bit more yesterday, and it seems to do
the right thing (i.e., "camcontrol rescan" no longer causes the
tape to load). I'm delighted!
However it does seem to continually (every two seconds) send a TUR
to the tape drive. That doesn't cause an operational problem, but
might not be what you intended.
Popping up a level, about optical (cd/dvd) drives: should those
behave differently? It's not an operational issue for me, but
should optical drives load on a rescan either?
Meanwhile, I'll see if I can get a stable kernel from Dec 2009 or so
built so I can look at the old behavior. I think I can run it in
single user mode to avoid issues with the more recent ports+world.
thanks,
~!paul
--
G. Paul Ziemba
FreeBSD unix:
8:56AM up 1 day, 8:14, 6 users, load averages: 0.03, 0.05, 0.02
More information about the freebsd-scsi
mailing list