Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2011 10:31:24 -0700
From:      "Kenneth D. Merry" <ken@freebsd.org>
To:        Matthew Jacob <mj@feral.com>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: rescan causes offlined tape to reload
Message-ID:  <20110121173124.GA88957@nargothrond.kdm.org>
In-Reply-To: <4D39C16C.7060508@feral.com>
References:  <4D38C44D.6080703@feral.com> <ihb5as$sre$1@hairball.ziemba.us> <4D39AA80.6020609@feral.com> <ihcd3b$2i5p$2@hairball.ziemba.us> <4D39C16C.7060508@feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"

-- 
Kenneth Merry
ken@FreeBSD.ORG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110121173124.GA88957>