Re: scsi-sd fails with error "Invalid field in cdb" for SATA-to-USB adapter JMicron

2015-11-19 Thread Alan Stern
On Thu, 19 Nov 2015, Dmitry Katsubo wrote: > On 2015-11-17 19:18, Alan Stern wrote: > > That line is completely inappropriate for uas; it applies only to > > usb-storage. Don't add it. > > I got it. My first thought was like you have said (every module uses its > own structure), but I blindly t

Re: scsi-sd fails with error "Invalid field in cdb" for SATA-to-USB adapter JMicron

2015-11-19 Thread Dmitry Katsubo
On 2015-11-17 19:18, Alan Stern wrote: > That line is completely inappropriate for uas; it applies only to > usb-storage. Don't add it. I got it. My first thought was like you have said (every module uses its own structure), but I blindly tried to guess. > Here you need to test devinfo->flags &

Re: scsi-sd fails with error "Invalid field in cdb" for SATA-to-USB adapter JMicron

2015-11-17 Thread Alan Stern
On Tue, 17 Nov 2015, Dmitry Katsubo wrote: > Alan, I have difficulties with making it working. The patch that was > supposed to be trivial, does not work. The problem is that given USB > adapter is detected as "uas" device (so, driven by uas.ko module). It > took me few days to understand that, be

Re: scsi-sd fails with error "Invalid field in cdb" for SATA-to-USB adapter JMicron

2015-11-17 Thread Dmitry Katsubo
On 2015-11-12 13:09, Dmitry Katsubo wrote: > On 2015-11-11 16:16, Alan Stern wrote: >>> Bus 001 Device 007: ID 152d:0567 JMicron Technology Corp. / JMicron USA >>> Technology Corp. >>> Device Descriptor: >>>bLength18 >>>bDescriptorType 1 >>>bcdUSB

Re: scsi-sd fails with error "Invalid field in cdb" for SATA-to-USB adapter JMicron

2015-11-12 Thread Alan Stern
On Thu, 12 Nov 2015, Dmitry Katsubo wrote: > On 2015-11-11 16:16, Alan Stern wrote: > >> Bus 001 Device 007: ID 152d:0567 JMicron Technology Corp. / JMicron USA > >> Technology Corp. > >> Device Descriptor: > >>bLength18 > >>bDescriptorType 1 > >>bcdUSB

Re: scsi-sd fails with error "Invalid field in cdb" for SATA-to-USB adapter JMicron

2015-11-12 Thread Dmitry Katsubo
On 2015-11-11 16:16, Alan Stern wrote: >> Bus 001 Device 007: ID 152d:0567 JMicron Technology Corp. / JMicron USA >> Technology Corp. >> Device Descriptor: >>bLength18 >>bDescriptorType 1 >>bcdUSB 2.10 >>bDeviceClass0 (Defined at In

Re: scsi-sd fails with error "Invalid field in cdb" for SATA-to-USB adapter JMicron

2015-11-11 Thread Alan Stern
On Tue, 10 Nov 2015, Dmitry Katsubo wrote: > On 10/11/2015 16:00, Alan Stern wrote: > > On Tue, 10 Nov 2015, Dmitry Katsubo wrote: > > > >> Hello everyone, > >> > >> Sorry for cross-posting from linux-s...@vger.kernel.org > >> > >> In continuation to the issue described in [1] and [2]: > >> > >> U

Re: scsi-sd fails with error "Invalid field in cdb" for SATA-to-USB adapter JMicron

2015-11-10 Thread Dmitry Katsubo
On 10/11/2015 16:00, Alan Stern wrote: On Tue, 10 Nov 2015, Dmitry Katsubo wrote: Hello everyone, Sorry for cross-posting from linux-s...@vger.kernel.org In continuation to the issue described in [1] and [2]: Unfortunately, I still suffer from the same problem on Linux kernel v4.2.3. The pro

Re: scsi-sd fails with error "Invalid field in cdb" for SATA-to-USB adapter JMicron

2015-11-10 Thread Alan Stern
On Tue, 10 Nov 2015, Dmitry Katsubo wrote: > Hello everyone, > > Sorry for cross-posting from linux-s...@vger.kernel.org > > In continuation to the issue described in [1] and [2]: > > Unfortunately, I still suffer from the same problem on Linux kernel > v4.2.3. The problem is in detailed descri

scsi-sd fails with error "Invalid field in cdb" for SATA-to-USB adapter JMicron

2015-11-09 Thread Dmitry Katsubo
Hello everyone, Sorry for cross-posting from linux-s...@vger.kernel.org In continuation to the issue described in [1] and [2]: Unfortunately, I still suffer from the same problem on Linux kernel v4.2.3. The problem is in detailed described in [3], in particular I see the following in dmesg: sd