Subject: Re: kern/21503: empty SCSI tape drives cannot be queried or configured
To: Greg A. Woods <woods@planix.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-bugs
Date: 05/14/2003 14:53:56
On Thu, May 08, 2003 at 03:55:47PM -0400, Greg A. Woods wrote:
> 
> >Number:         21503
> >Category:       kern
> >Synopsis:       empty SCSI tape drives cannot be queried or configured
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    kern-bug-people
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Thu May 08 19:57:01 UTC 2003
> >Closed-Date:
> >Last-Modified:
> >Originator:     Greg A. Woods
> >Release:        2003/05/07
> >Organization:
> Planix, Inc.; Toronto, Ontario; Canada
> >Environment:
> System: NetBSD-current
> >Description:
> 
> 	Empty SCSI tape drives cannot be interacted with using any of
> 	commands which open their raw character device files, but which
> 	do not need media to do their job (e.g. status queries,
> 	configuration controls, etc.)
> 
> >How-To-Repeat:
> 
> 	Install a new tape drive in a machine and try checking it and
> 	then wonder yet again why "mt status" and even "scsictl
> 	identify" say "Operation not supported by device"

Did you try mt -f /dev/enrst0 status ? This work for me, on a DLT7000

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 24 ans d'experience feront toujours la difference
--