On 06/27/12 11:07, Boris Samorodov wrote:
26.06.2012 20:19, Alexander Motin пишет:

I see no problems in this output. I would enable more debugging with
`camcontrol debug -IPp all` before plugging it in to see what's going on.

Here it is:
-----
sudo:     bsam : TTY=pts/5 ; PWD=/home/bsam ; USER=root ;
COMMAND=/sbin/camcontrol debug -IPp all
kernel: (xpt0:xpt0:0:-1:-1): debugging flags now 61
kernel: ugen7.2: <Kingston> at usbus7
kernel: umass0: <Kingston DT101 II, class 0/0, rev 2.00/1.00, addr 2> on
usbus7
kernel: umass0:  SCSI over Bulk-Only; quirks = 0x0100
kernel: (noperiph:umass-sim0:0:-1:-1): xpt_async(AC_PATH_REGISTERED)
kernel: umass0:11:0:-1: Attached to scbus11
kernel: (probe0:umass-sim0:0:0:0): Periph created
kernel: (probe0:umass-sim0:0:0:0): Probe started
kernel: (probe0:umass-sim0:0:0:0): Probe PROBE_INVALID to PROBE_INQUIRY
kernel: (probe0:umass-sim0:0:0:0): Probe PROBE_INQUIRY to
PROBE_SUPPORTED_VPD_LIST
kernel: (probe0:umass-sim0:0:0:0): Probe PROBE_SUPPORTED_VPD_LIST to
PROBE_DEVICE_ID
kernel: (probe0:umass-sim0:0:0:0): Probe PROBE_DEVICE_ID to
PROBE_SERIAL_NUM
kernel: (probe0:umass-sim0:0:0:0): Probe PROBE_SERIAL_NUM to
PROBE_TUR_FOR_NEGOTIATION
kernel: (probe0:umass-sim0:0:0:0): xpt_async(AC_FOUND_DEVICE)
kernel: (pass4:umass-sim0:0:0:0): Periph created
kernel: (da0:umass-sim0:0:0:0): Periph created
kernel: (probe0:umass-sim0:0:0:0): Probe PROBE_TUR_FOR_NEGOTIATION to
PROBE_DONE
kernel: (probe0:umass-sim0:0:0:0): Probe completed
kernel: (probe0:umass-sim0:0:0:0): Periph invalidated
kernel: (probe0:umass-sim0:0:0:0): Periph destroyed
kernel: da0 at umass-sim0 bus 0 scbus11 target 0 lun 0
kernel: da0: <Kingston DT101 II 1.00> Removable Direct Access SCSI-2 device
kernel: da0: 40.000MB/s transfers
kernel: da0: 7634MB (15636304 512 byte sectors: 255H 63S/T 973C)

Up to this point everything is fine, but here problems begin.

kernel: (da0:umass-sim0:0:0:0): daopen
kernel: (da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0
0 0 1 0
kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition
kernel: (da0:umass-sim0:0:0:0): SCSI sense: No sense data present
kernel: (da0:umass-sim0:0:0:0): Retrying command (per sense data)
kernel: (da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0
0 0 1 0
kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition
kernel: (da0:umass-sim0:0:0:0): SCSI sense: No sense data present
kernel: (da0:umass-sim0:0:0:0): Error 5, Retries exhausted
kernel: (da0:umass-sim0:0:0:0): daclose
kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0
0 0 0 0
kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition
kernel: (da0:umass-sim0:0:0:0): SCSI sense: No sense data present
kernel: (da0:umass-sim0:0:0:0): Retrying command (per sense data)
kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0
0 0 0 0
kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition
kernel: (da0:umass-sim0:0:0:0): SCSI sense: No sense data present
kernel: (da0:umass-sim0:0:0:0): Error 5, Retries exhausted
kernel: (da0:umass-sim0:0:0:0): daopen
kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0
0 0
kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition
kernel: (da0:umass-sim0:0:0:0): SCSI sense: No sense data present
kernel: (da0:umass-sim0:0:0:0): Retrying command (per sense data)
kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0
0 0
kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition
kernel: (da0:umass-sim0:0:0:0): SCSI sense: No sense data present
kernel: (da0:umass-sim0:0:0:0): Retrying command (per sense data)
kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0
0 0
kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition
kernel: (da0:umass-sim0:0:0:0): SCSI sense: No sense data present
kernel: (da0:umass-sim0:0:0:0): Retrying command (per sense data)
kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0
0 0
kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition
kernel: (da0:umass-sim0:0:0:0): SCSI sense: No sense data present
kernel: (da0:umass-sim0:0:0:0): Retrying command (per sense data)
kernel: (da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0
0 0
kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition
kernel: (da0:umass-sim0:0:0:0): SCSI sense: No sense data present
kernel: (da0:umass-sim0:0:0:0): Error 5, Retries exhausted
kernel: (da0:umass-sim0:0:0:0): got CAM status 0x8c
kernel: (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
kernel: (da0:umass-sim0:0:0:0): Periph invalidated
kernel: (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 4 refs
kernel: (da0:umass-sim0:0:0:0): removing device entry
kernel: (da0:umass-sim0:0:0:0): Periph destroyed

Something is wrong there. I think this should not happen:
kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition
kernel: (da0:umass-sim0:0:0:0): SCSI sense: No sense data present

Two questions: 1) what originally caused these errors and 2) why "No sense data present". I am not sure whether it is device problem or umass or both. I can't reproduce it with devices I have. Could you also show your old error messages (preferably verbose) to compare?

--
Alexander Motin
_______________________________________________
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