On 15 Nov, Hans Petter Selasky wrote:

> The SCSI quirk is not needed. This should be fixed in the SCSI stack!

The SCSI quirk does seem to be needed, at least to make the umass device
readable.  With the UQ_MSC_NO_PREVENT_ALLOW quirk, I am able to mount
the umass device (before it goes way) and read its contents.  This quirk
is not implemented in 8.4-STABLE, and on my 8.4-STABLE machine I am not
able to read the umass device.  It looks like PREVENT REMOVAL causes the
device to become unreadable.

If I do a verbose boot on my 8.4-STABLE machine, I can see more of what
is going on when I plug in the device:

ugen1.2: <Novatel Wireless Inc.> at usbus1
umass0: <Novatel Wireless Inc. Novatel Wireless CDMA, class 0/0, rev 1.10/0.00, 
addr 2> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:2:0:-1: Attached to scbus2
(probe0:umass-sim0:0:0:0): SCSI status error
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 00 00 00 00 00 00 
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(probe0:umass-sim0:0:0:0): Error 6, Unretryable error
pass1 at umass-sim0 bus 0 scbus2 target 0 lun 0
pass1: <Novatel Mass Storage 1.00> Removable CD-ROM SCSI-2 device 
pass1: Serial Number 091166643730000
pass1: 1.000MB/s transfers
GEOM: new disk cd1
(cd1:umass-sim0:0:0:0): SCSI status error
(cd1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd1:umass-sim0:0:0:0): Error 6, Unretryable error
cd1 at umass-sim0 bus 0 scbus2 target 0 lun 0
cd1: <Novatel Mass Storage 1.00> Removable CD-ROM SCSI-2 device 
cd1: Serial Number 091166643730000
cd1: 1.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
cd1: quirks=0x10<10_BYTE_ONLY>
(cd1:umass-sim0:0:0:0): SCSI status error
(cd1:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00 01 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd1:umass-sim0:0:0:0): Error 6, Unretryable error
(cd1:umass-sim0:0:0:0): SCSI status error
(cd1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd1:umass-sim0:0:0:0): Error 6, Unretryable error
(cd1:umass-sim0:0:0:0): SCSI status error
(cd1:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00 01 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd1:umass-sim0:0:0:0): Error 6, Unretryable error
(cd1:umass-sim0:0:0:0): SCSI status error
(cd1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd1:umass-sim0:0:0:0): Error 6, Unretryable error


I played around a bit with camcontrol debug on my 11.0-CURRENT box.
Unfortunately it isn't possible to turn on debug for a specific device
before it is plugged in, and if I enable debugging for all devices, I
have to be pretty selective about the debug flags to keep hard drive I/O
from being logged (which causes a feedback loop via syslog).

Here's 11.0-CURRENT without the quirk:

(noperiph:xpt0:0:-1:ffffffff): debugging flags now 61
ugen2.2: <Novatel Wireless Inc.> at usbus2
umass0: <Novatel Wireless Inc. Novatel Wireless CDMA, class 0/0, rev 1.10/0.00, 
addr 2> on usbus2
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:9:0: Attached to scbus9
(noperiph:umass-sim0:0:-1:ffffffff): xpt_async(AC_PATH_REGISTERED)
(probe0:umass-sim0:0:0:0): Periph created
(probe0:umass-sim0:0:0:0): Probe started
(probe0:umass-sim0:0:0:0): Probe PROBE_INVALID to PROBE_INQUIRY
(probe0:umass-sim0:0:0:0): Probe PROBE_INQUIRY to PROBE_FULL_INQUIRY
(probe0:umass-sim0:0:0:0): Probe PROBE_FULL_INQUIRY to PROBE_SUPPORTED_VPD_LIST
(probe0:umass-sim0:0:0:0): Probe PROBE_SUPPORTED_VPD_LIST to PROBE_DEVICE_ID
(probe0:umass-sim0:0:0:0): Probe PROBE_DEVICE_ID to PROBE_SERIAL_NUM
(probe0:umass-sim0:0:0:0): Probe PROBE_SERIAL_NUM to PROBE_TUR_FOR_NEGOTIATION
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 00 00 00 00 00 00 
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(probe0:umass-sim0:0:0:0): Error 6, Unretryable error
(probe0:umass-sim0:0:0:0): Probe PROBE_TUR_FOR_NEGOTIATION to PROBE_DONE
(probe0:umass-sim0:0:0:0): Probe completed
(probe0:umass-sim0:0:0:0): Periph invalidated
(probe0:umass-sim0:0:0:0): Periph destroyed
(noperiph:umass-sim0:0:0:0): xpt_async(AC_FOUND_DEVICE)
(cd0:umass-sim0:0:0:0): Periph created
(pass2:umass-sim0:0:0:0): Periph created
pass2 at umass-sim0 bus 0 scbus9 target 0 lun 0
pass2: <Novatel Mass Storage 1.00> Removable CD-ROM SCSI-2 device 
pass2: Serial Number 091166643730000
GEOM: new disk cd0
pass2: 1.000MB/s transfers
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
cd0 at umass-sim0 bus 0 scbus9 target 0 lun 0
cd0: <Novatel Mass Storage 1.00> Removable CD-ROM SCSI-2 device 
cd0: Serial Number 091166643730000
cd0: 1.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd0: quirks=0x10<10_BYTE_ONLY>
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Error 6, Retries exhausted
(cd0:umass-sim0:0:0:0): cddone: got error 0x6 back
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Error 6, Retries exhausted
(cd0:umass-sim0:0:0:0): cddone: got error 0x6 back
(noperiph:(cd0:umass-sim0:0:umass-sim0:0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Error 6, Retries exhausted
(cd0:umass-sim0:0:0:0): cddone: got error 0x6 back
(noperiph:(cd0:umass-sim0:0:umass-sim0:0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Retrying command (per sense data)
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 c8 00 00 00 01 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(cd0:umass-sim0:0:0:0): Error 6, Retries exhausted
(cd0:umass-sim0:0:0:0): cddone: got error 0x6 back
(noperiph:(cd0:umass-sim0:0:umass-sim0:0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): cdclose
(noperiph:umass-sim0:0:0:0): debugging flags now 69
(pass2:umass-sim0:0:0:0): TEST UNIT READY. CDB: 00 00 00 00 00 00 
(pass2:umass-sim0:0:0:0): GET EVENT STATUS NOTIFICATION. CDB: 4a 01 00 00 10 00 
00 00 08 00 
(cd0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 00 00 00 00 00 00 
(pass2:umass-sim0:0:0:0): TEST UNIT READY. CDB: 00 00 00 00 00 00 
(pass2:umass-sim0:0:0:0): GET EVENT STATUS NOTIFICATION. CDB: 4a 01 00 00 10 00 
00 00 08 00 
(pass2:umass-sim0:0:0:0): TEST UNIT READY. CDB: 00 00 00 00 00 00 
[...]


And 11.0-CURRENT with the quirk:

(noperiph:xpt0:0:-1:ffffffff): debugging flags now 61
ugen2.2: <Novatel Wireless Inc.> at usbus2
umass0: <Novatel Wireless Inc. Novatel Wireless CDMA, class 0/0, rev 1.10/0.00, 
addr 2> on usbus2
umass0:  SCSI over Bulk-Only; quirks = 0x8100
umass0:9:0: Attached to scbus9
(noperiph:umass-sim0:0:-1:ffffffff): xpt_async(AC_PATH_REGISTERED)
(probe0:umass-sim0:0:0:0): Periph created
(probe0:umass-sim0:0:0:0): Probe started
(probe0:umass-sim0:0:0:0): Probe PROBE_INVALID to PROBE_INQUIRY
(probe0:umass-sim0:0:0:0): Probe PROBE_INQUIRY to PROBE_FULL_INQUIRY
(probe0:umass-sim0:0:0:0): Probe PROBE_FULL_INQUIRY to PROBE_SUPPORTED_VPD_LIST
(probe0:umass-sim0:0:0:0): Probe PROBE_SUPPORTED_VPD_LIST to PROBE_DEVICE_ID
(probe0:umass-sim0:0:0:0): Probe PROBE_DEVICE_ID to PROBE_SERIAL_NUM
(probe0:umass-sim0:0:0:0): Probe PROBE_SERIAL_NUM to PROBE_TUR_FOR_NEGOTIATION
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 00 00 00 00 00 00 
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(probe0:umass-sim0:0:0:0): Error 6, Unretryable error
(probe0:umass-sim0:0:0:0): Probe PROBE_TUR_FOR_NEGOTIATION to PROBE_DONE
(probe0:umass-sim0:0:0:0): Probe completed
(probe0:umass-sim0:0:0:0): Periph invalidated
(probe0:umass-sim0:0:0:0): Periph destroyed
(noperiph:umass-sim0:0:0:0): xpt_async(AC_FOUND_DEVICE)
(cd0:umass-sim0:0:0:0): Periph created
(pass2:umass-sim0:0:0:0): Periph created
pass2 at umass-sim0 bus 0 scbus9 target 0 lun 0
pass2: <Novatel Mass Storage 1.00> Removable CD-ROM SCSI-2 device 
pass2: Serial Number 091166643730000
pass2: 1.000MB/s transfers
GEOM: new disk cd0
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
cd0 at umass-sim0 bus 0 scbus9 target 0 lun 0
cd0: <Novatel Mass Storage 1.00> Removable CD-ROM SCSI-2 device 
cd0: Serial Number 091166643730000
cd0: 1.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd0: quirks=0x10<10_BYTE_ONLY>
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 00 00 00 00 00 00 00 00 00 
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(cd0:umass-sim0:0:0:0): Error 6, Unretryable error
(cd0:umass-sim0:0:0:0): cdclose
(pass2:umass-sim0:0:0:0): TEST UNIT READY. CDB: 00 00 00 00 00 00 
(pass2:umass-sim0:0:0:0): CAM status: SCSI Status Error
(pass2:umass-sim0:0:0:0): SCSI status: Check Condition
(pass2:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(pass2:umass-sim0:0:0:0): Error 6, Unretryable error
(pass2:umass-sim0:0:0:0): GET EVENT STATUS NOTIFICATION. CDB: 4a 01 00 00 10 00 
00 00 08 00 
(pass2:umass-sim0:0:0:0): CAM status: SCSI Status Error
(pass2:umass-sim0:0:0:0): SCSI status: Check Condition
(pass2:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(pass2:umass-sim0:0:0:0): Error 6, Unretryable error
(pass2:umass-sim0:0:0:0): TEST UNIT READY. CDB: 00 00 00 00 00 00 
(pass2:umass-sim0:0:0:0): CAM status: SCSI Status Error
(pass2:umass-sim0:0:0:0): SCSI status: Check Condition
(pass2:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(pass2:umass-sim0:0:0:0): Error 6, Unretryable error
(pass2:umass-sim0:0:0:0): GET EVENT STATUS NOTIFICATION. CDB: 4a 01 00 00 10 00 
00 00 08 00 
(pass2:umass-sim0:0:0:0): CAM status: SCSI Status Error
(pass2:umass-sim0:0:0:0): SCSI status: Check Condition
(pass2:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(pass2:umass-sim0:0:0:0): Error 6, Unretryable error
(pass2:umass-sim0:0:0:0): MODE SENSE(10). CDB: 5a 00 2a 00 00 00 00 00 22 00 
(pass2:umass-sim0:0:0:0): CAM status: SCSI Status Error
(pass2:umass-sim0:0:0:0): SCSI status: Check Condition
(pass2:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:ffffffff,ffffffff 
(Reserved ASC/ASCQ pair)
(pass2:umass-sim0:0:0:0): Error 6, Unretryable error
(noperiph:umass-sim0:0:0:0): xpt_async(AC_UNIT_ATTENTION)
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): cdclose
(cd0:umass-sim0:0:0:0): cdopen
(cd0:umass-sim0:0:0:0): cdclose
(noperiph:umass-sim0:0:0:0): debugging flags now 69
(pass2:umass-sim0:0:0:0): TEST UNIT READY. CDB: 00 00 00 00 00 00 
(pass2:umass-sim0:0:0:0): GET EVENT STATUS NOTIFICATION. CDB: 4a 01 00 00 10 00 
00 00 08 00 
(cd0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 00 00 00 00 00 00 
(pass2:umass-sim0:0:0:0): TEST UNIT READY. CDB: 00 00 00 00 00 00 
(pass2:umass-sim0:0:0:0): GET EVENT STATUS NOTIFICATION. CDB: 4a 01 00 00 10 00 
00 00 08 00 
[...]



_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to