Re: [usb-storage] Re: External USB3 disk fails with "Invalid field in cdb"

2014-06-30 Thread Michael Büsch
On Fri, 27 Jun 2014 21:52:35 +0200 Michael Büsch wrote: > On Fri, 27 Jun 2014 15:23:42 -0400 (EDT) > Alan Stern wrote: > > Does the patch below do what you and James want? > > Yes, this does work. Thanks! > > You can add my > Tested-by: Michael Büsch Doe

Re: [usb-storage] Re: External USB3 disk fails with "Invalid field in cdb"

2014-06-27 Thread Michael Büsch
ice uses free energy or some other perpetual motion power source, it seems that it actually is bus-powered. So the self-powered from the descriptor is a lie, too. > Does the patch below do what you and James want? Yes, this does work. Thanks! You can add my Tested-by: Michael Büsch --

Re: External USB3 disk fails with "Invalid field in cdb"

2014-06-27 Thread Michael Büsch
On Fri, 27 Jun 2014 14:42:01 -0400 (EDT) Alan Stern wrote: > Michael, can you post the "lsusb -v" output for this device? I see it > is made by JMicron; they are notorious for buggy USB-ATA bridges. Of course. Here you go: Bus 004 Device 009: ID 152d:0567 JMicron Technology Corp. / JMicron US

Re: External USB3 disk fails with "Invalid field in cdb"

2014-06-27 Thread Michael Büsch
On Fri, 27 Jun 2014 08:48:01 -0700 James Bottomley wrote: > On Fri, 2014-06-27 at 17:34 +0200, Michael Büsch wrote: > > I tried the following patch: > > > > Index: linux/drivers/scsi/sd.c > > === >

Re: External USB3 disk fails with "Invalid field in cdb"

2014-06-27 Thread Michael Büsch
I tried the following patch: Index: linux/drivers/scsi/sd.c === --- linux.orig/drivers/scsi/sd.c2014-06-26 18:40:39.214696552 +0200 +++ linux/drivers/scsi/sd.c 2014-06-27 15:52:30.776159456 +0200 @@ -2440,7 +2440,7 @@ sd_r

Re: External USB3 disk fails with "Invalid field in cdb"

2014-06-27 Thread Michael Büsch
Thanks for your analysis. On Fri, 27 Jun 2014 11:15:41 +0100 "Bryn M. Reeves" wrote: > On Thu, Jun 26, 2014 at 08:55:19PM +0200, Michael Büsch wrote: > > Jun 26 20:47:14 wiggum kernel: [156019.870310] sd 22:0:0:0: [sdb] 976773168 > > 512-byte logical blocks: (500 GB/

External USB3 disk fails with "Invalid field in cdb"

2014-06-26 Thread Michael Büsch
Hi, I got a new USB3->SATA adapter that throws the following errors when trying to mount the ext4 file system on the attached disk. Jun 26 20:47:11 wiggum kernel: [156016.840175] usb 4-2: new SuperSpeed USB device number 8 using xhci_hcd Jun 26 20:47:11 wiggum kernel: [156016.856962] usb 4-2: Ne