Subject: port-i386/567: mt is broken (fails on "mt stat", gives bad error for no tape)
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: Greywolf -- James Graham <greywolf@autodesk.com>
List: netbsd-bugs
Date: 11/09/1994 13:50:08
>Number: 567
>Category: port-i386
>Synopsis: mt is broken (fails on "mt stat", gives bad error for no tape)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 9 13:50:03 1994
>Originator:
>Organization:
Autodesk, Inc.
>Release: 1.0
>Environment:
System: NetBSD deep-thought 1.0 NetBSD 1.0 (DEEP_THOUGHT) #6: Tue Nov 8 10:15:41 PST 1994 greywolf@deep-thought:/usr/src/sys/arch/i386/compile/DEEP_THOUGHT i386
Hardware: Compaq DESKPRO/66M
wd0: IDE drive
aha0: 1542C/CF detected, unlocking mailbox
aha0 at isa0 port 0x330-0x333 irq 11 drq 7
scsibus0 at aha0
aha0 targ 0 lun 0: <EXABYTE EXB-8500-85Qanx005E0> SCSI2 sequential removable
st0 at scsibus0: drive empty
>Description:
"mt -f /dev/nrst0 st" fails with the message:
mt: unknown tape drive type (7)
If I do this with /dev/erst0, it takes the drive off line and
spits out the tape. /dev/enrst0 behaves identically to /dev/nrst0.
If I do the mt stat command on a drive which is offline, it
reports:
/dev/nrst0: Device busy
Something is seriously broken here.
>How-To-Repeat:
mt -f $TAPE st;
[ For TAPE in the set (/dev/{e,}{n,}{r,}st0 ]
>Fix:
>Audit-Trail:
>Unformatted: