Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2011 16:57:15 +0000 (UTC)
From:      "G. Paul Ziemba" <pz-freebsd-scsi@ziemba.us>
To:        freebsd-scsi@freebsd.org
Subject:   Re: rescan causes offlined tape to reload
Message-ID:  <ihkb1b$2itv$1@hairball.ziemba.us>
References:  <4D3BC293.4010808@feral.com> <ihgtdt$9ie$1@hairball.ziemba.us>

next in thread | previous in thread | raw e-mail | index | archive | help
pz-freebsd-scsi@ziemba.us ("G. Paul Ziemba") writes:

>mj@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ihkb1b$2itv$1>