Bug 206297 - mt - status incorrectly reports "door open" as "device not configured"
Summary: mt - status incorrectly reports "door open" as "device not configured"
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 10.2-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2016-01-15 21:12 UTC by andrew
Modified: 2016-01-15 21:12 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description andrew 2016-01-15 21:12:56 UTC
mt -f /dev/sa0 status
- when no tape is loaded, reports "device not configured" when there is no tape present. 

The message "device not configured" appears to suggest that there is a major hardware or software defect, when "tape not loaded" or "door open" is a perfectly normal state for a tape drive. I would expect a message like "door open", "media not present" or "No tape loaded".

This applies to all SCSI LTOx, DDSx and DATx drives, (have tested all generations of LTO 1 to 4, DDS 2 to 4, and also USB DAT72 drives (I don't have any other working drives at present to test).

This is a pretty serious defect in terms of consequences: I have tested on i386, but previously tested on Sparc and Sparc64, and assumed that the SCSI driver defective on the basis of this message! (So I moved those machines to OpenBSD, and the i386 machines to Linux).