rescan causes offlined tape to reload

Kenneth D. Merry ken at freebsd.org
Fri Jan 21 17:31:27 UTC 2011


It's a START STOP UNIT command, with the LOEJ and START bits set.

Depending on what the tape drive returns when there is no media in the
drive (camcontrol tur sa0 -v will tell you), the error recovery code is
probably treating it like a disk/cd drive and trying to load the media.

Ken

On Fri, Jan 21, 2011 at 09:25:00 -0800, Matthew Jacob wrote:
> I'm a little baffled. I can't find any place in the kernel source that 
> issues a LOAD_UNLOAD (START_STOP) with IMMED and RETEN set (0x3). What 
> *specifiic* kernel source do you have? Is this an SVN tree?
> 
> On 1/21/2011 8:43 AM, G. Paul Ziemba wrote:
> >mj at feral.com (Matthew Jacob) writes:
> >
> >>On 1/20/2011 9:24 PM, G. Paul Ziemba wrote:
> >>>....
> >>># camcontrol rescan all
> >>>
> >>>Jan 20 21:08:40 hairball kernel: (probe4:sym0:0:4:0): TEST UNIT READY. 
> >>>CDB: 0 0 0 0 0 0
> >>>Jan 20 21:08:44 hairball kernel: (probe4:sym0:0:4:0): LOAD UNLOAD. CDB: 
> >>>1b 0 0 0 3 0
> >>>Jan 20 21:09:34 hairball kernel: sym0:4:control msgout: 80 6.
> >>>Jan 20 21:09:34 hairball kernel: (probe4:sym0:0:4:0): TEST UNIT READY. 
> >>>CDB: 0 0 0 0 0 0
> >>>Jan 20 21:09:34 hairball kernel: (probe4:sym0:0:4:0): INQUIRY. CDB: 12 0 
> >>>0 0 24 0
> >>Okay, you've proved that the probe code is issuing this. That's wrong.
> >>Let me chase what has happened here.
> >thanks!
> _______________________________________________
> freebsd-scsi at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe at freebsd.org"

-- 
Kenneth Merry
ken at FreeBSD.ORG


More information about the freebsd-scsi mailing list