Re: plenty complains on microSD reader Kingston FCR-MRG2

2013-02-13 Thread Hans Petter Selasky
On Wednesday 13 February 2013 12:07:20 Zeus Panchenko wrote:
> Hans Petter Selasky  wrote:
> > Try to set the no synchronize quirk for your device first:
> first of what, sorry?
> first of pluging the reader?
> or first of noising here? :)
> 
> > usbconfig dump_quirk_names
> 
> yes, a lot of them
> 
> > usbconfig -d X.Y add_quirk UQ_MSC_NO_SYNC_CACHE
> 
> 1. plug reader in (the same ugen1.3)
> 2. > usbconfig -d 1.3 add_quirk UQ_MSC_NO_SYNC_CACHE;echo $?
>0
> 3. re-pluging reader and the complains are there, all the same :(

Hi,

The errors you get possibly mean your device does not support a specific SCSI 
command and crashes! This is not a USB fault, but more related to CAM/SCSI 
layers.

Try using:

usbdump -i usbusX -f Y -vvv -s 65536

And see if you get any ERR= which are not the same like ERR=0

31 byte transfer are wrapped SCSI commands.
13 byte transfers are SCSI status messages.

--HPS
___
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"


Re: plenty complains on microSD reader Kingston FCR-MRG2

2013-02-13 Thread Zeus Panchenko
Hans Petter Selasky  wrote:
> 
> Try to set the no synchronize quirk for your device first:
> 

first of what, sorry?
first of pluging the reader?
or first of noising here? :)

> usbconfig dump_quirk_names

yes, a lot of them

> usbconfig -d X.Y add_quirk UQ_MSC_NO_SYNC_CACHE

1. plug reader in (the same ugen1.3)
2. > usbconfig -d 1.3 add_quirk UQ_MSC_NO_SYNC_CACHE;echo $?
   0
3. re-pluging reader and the complains are there, all the same :(

-- 
Zeus V. Panchenko   jid:z...@im.ibs.dn.ua
IT Dpt., I.B.S. LLC   GMT+2 (EET)
___
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"


Re: plenty complains on microSD reader Kingston FCR-MRG2

2013-02-13 Thread Hans Petter Selasky
On Wednesday 13 February 2013 09:52:35 Zeus Panchenko wrote:
> hi,
> 
> on Kingston microSD reader FCR-MRG2 plug-in I receive a lot of conplains:
> 
> ugen1.3:  at usbus1
> umass1:  2.00/1.00, addr 3> on usbus1 da1 at umass-sim1 bus 1 scbus3 target 0 lun 0
> da1:  Removable Direct Access SCSI-0 device
> da1: 40.000MB/s transfers
> da1: 1876MB (3842048 512 byte sectors: 255H 63S/T 239C)
> (da1:umass-sim1:1:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0
> (da1:umass-sim1:1:0:0): CAM status: SCSI Status Error
> (da1:umass-sim1:1:0:0): SCSI status: Check Condition
> (da1:umass-sim1:1:0:0): SCSI sense: No sense data present
> (da1:umass-sim1:1:0:0): Retrying command (per sense data)
> ...
> cut 16 sections like above
> ...
> ugen1.3:  at usbus1 (disconnected)
> umass1: at uhub1, port 1, addr 3 (disconnected)
> (da1:umass-sim1:1:0:0): lost device - 0 outstanding, 1 refs
> (pass2:umass-sim1:1:(da1:0:umass-sim1:1:0): 0:passdevgonecb: devfs entry is
> gone 0): removing device entry
> 
> > uname
> 
> FreeBSD 9.1-STABLE #12 r246707: amd64
> 
> > usbconfig
> 
> ugen1.3:  at usbus1, cfg=0
> md=HOST spd=HIGH (480Mbps) pwr=ON
> 
> 
> is it expected behaviour?

Hi,

Try to set the no synchronize quirk for your device first:

usbconfig dump_quirk_names

usbconfig -d X.Y add_quirk UQ_MSC_NO_SYNC_CACHE

--HPS
___
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"


plenty complains on microSD reader Kingston FCR-MRG2

2013-02-13 Thread Zeus Panchenko
hi,

on Kingston microSD reader FCR-MRG2 plug-in I receive a lot of conplains:

ugen1.3:  at usbus1
umass1:  on usbus1
da1 at umass-sim1 bus 1 scbus3 target 0 lun 0
da1:  Removable Direct Access SCSI-0 device 
da1: 40.000MB/s transfers
da1: 1876MB (3842048 512 byte sectors: 255H 63S/T 239C)
(da1:umass-sim1:1:0:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 1 0 
(da1:umass-sim1:1:0:0): CAM status: SCSI Status Error
(da1:umass-sim1:1:0:0): SCSI status: Check Condition
(da1:umass-sim1:1:0:0): SCSI sense: No sense data present
(da1:umass-sim1:1:0:0): Retrying command (per sense data)
...
cut 16 sections like above
...
ugen1.3:  at usbus1 (disconnected)
umass1: at uhub1, port 1, addr 3 (disconnected)
(da1:umass-sim1:1:0:0): lost device - 0 outstanding, 1 refs
(pass2:umass-sim1:1:(da1:0:umass-sim1:1:0): 0:passdevgonecb: devfs entry is gone
0): removing device entry


> uname 
FreeBSD 9.1-STABLE #12 r246707: amd64

> usbconfig
ugen1.3:  at usbus1, cfg=0 md=HOST 
spd=HIGH (480Mbps) pwr=ON


is it expected behaviour?

-- 
Zeus V. Panchenko   jid:z...@im.ibs.dn.ua
IT Dpt., I.B.S. LLC   GMT+2 (EET)
___
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"