* Re: raid 5 creation fails on usb3 connected drives kernel 4.4.x, 4.5
[not found] ` <5708D6F2.7000608-ncau/BB9MAPvnOemgxGiVw@public.gmane.org>
@ 2016-04-16 16:08 ` Greg KH
2016-04-16 16:25 ` James Bottomley
0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2016-04-16 16:08 UTC (permalink / raw)
To: Brian Chadwick, Christoph Hellwig, Jens Axboe, Hannes Reinecke,
James Bottomley
Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-scsi-u79uwXL29TY76Z2rM5mHXA
On Sat, Apr 09, 2016 at 08:18:26PM +1000, Brian Chadwick wrote:
> On 09/04/16 00:24, Greg KH wrote:
> > On Fri, Apr 08, 2016 at 07:37:12PM +1000, Brian Chadwick wrote:
> > > On 08/04/16 01:59, Greg KH wrote:
> > > > On Fri, Apr 08, 2016 at 01:34:51AM +1000, Brian Chadwick wrote:
> > > > > On 08/04/16 00:44, Greg KH wrote:
> > > > > > On Thu, Apr 07, 2016 at 03:04:55PM +1000, Brian Chadwick wrote:
> > > > > > > On 06/04/16 19:53, Greg KH wrote:
> > > > > > > > On Tue, Apr 05, 2016 at 06:42:51PM +1000, Brian Chadwick wrote:
> > > > > > > > > SETUP:
> > > > > > > > >
> > > > > > > > > i7 16GB Computer.
> > > > > > > > >
> > > > > > > > > 1 x PCI-x USB3 adaptor card (i think uses xhci-hcd)04:00.0 USB controller:
> > > > > > > > > Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
> > > > > > > > > Kernel driver in use: xhci_hcd
> > > > > > > > >
> > > > > > > > > 2 x USB3 to dual SATA HDD docks. uses JMicron JMS56x Series controllers,
> > > > > > > > > uses uas.ko kernel module
> > > > > > > > > Bus 004 Device 002: ID 152d:9561 JMicron Technology Corp. / JMicron USA
> > > > > > > > > Technology Corp.
> > > > > > > > > Bus 004 Device 003: ID 152d:9561 JMicron Technology Corp. / JMicron USA
> > > > > > > > > Technology Corp.
> > > > > > > > >
> > > > > > > > > 3 x Western Digital 320GB 3.5" SATA drives
> > > > > > > > >
> > > > > > > > > USE:
> > > > > > > > >
> > > > > > > > > RAID 5
> > > > > > > > >
> > > > > > > > > KERNEL:
> > > > > > > > > 4.3.5
> > > > > > > > >
> > > > > > > > > System works perfectly as expected.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Change to kernel 4.4.x or 4.5 and RAID 5 doesnt work. I am not sure whether
> > > > > > > > > its actually RAID 5 at fault or if its the USB Attached SCSI driver uas.ko,
> > > > > > > > > or maybe the host driver xhci-hcd.
> > > > > > > > Can you run 'git bisect' to try to track down the offending commit?
<instructions about git-bisect snipped>
> Hi, well to my surprise git bisect has come up with a commit about which I
> had no inkling. I may have to go to another mailing list it doesnt look like
> a usb problem.
>
> This is the final output of 'git bisect view' :
>
>
> commit 64d513ac31bd02a3c9b69ef04444f36c196f9a9d
> Author: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org>
> Date: Thu Oct 8 09:28:04 2015 +0100
>
> scsi: use host wide tags by default
>
> This patch changes the !blk-mq path to the same defaults as the blk-mq
> I/O path by always enabling block tagging, and always using host wide
> tags. We've had blk-mq available for a few releases so bugs with
> this mode should have been ironed out, and this ensures we get better
> coverage of over tagging setup over different configs.
>
> Signed-off-by: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org>
> Acked-by: Jens Axboe <axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org>
> Reviewed-by: Hannes Reinecke <hare-l3A5Bk7waGM@public.gmane.org>
> Signed-off-by: James Bottomley <JBottomley-O3H1v1f1dlM@public.gmane.org>
>
>
>
> Thank you for your help in narrowing this down, and in educating me about
> git bisect (its a neat tool) ... I await your advice as how to proceed from
> here.
Sorry for the delay, nice work tracking down the problem.
Christoph, any ideas? This patch is breaking this user's system as
described above. Is there a more recent fix for this, or did something
forget to get changed in the large patch you did here?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: raid 5 creation fails on usb3 connected drives kernel 4.4.x, 4.5
2016-04-16 16:08 ` raid 5 creation fails on usb3 connected drives kernel 4.4.x, 4.5 Greg KH
@ 2016-04-16 16:25 ` James Bottomley
2016-04-16 16:46 ` Greg KH
0 siblings, 1 reply; 5+ messages in thread
From: James Bottomley @ 2016-04-16 16:25 UTC (permalink / raw)
To: Greg KH, Brian Chadwick, Christoph Hellwig, Jens Axboe,
Hannes Reinecke, James Bottomley
Cc: linux-usb, linux-scsi
On Sat, 2016-04-16 at 09:08 -0700, Greg KH wrote:
> On Sat, Apr 09, 2016 at 08:18:26PM +1000, Brian Chadwick wrote:
> > On 09/04/16 00:24, Greg KH wrote:
> > > On Fri, Apr 08, 2016 at 07:37:12PM +1000, Brian Chadwick wrote:
> > > > On 08/04/16 01:59, Greg KH wrote:
> > > > > On Fri, Apr 08, 2016 at 01:34:51AM +1000, Brian Chadwick
> > > > > wrote:
> > > > > > On 08/04/16 00:44, Greg KH wrote:
> > > > > > > On Thu, Apr 07, 2016 at 03:04:55PM +1000, Brian Chadwick
> > > > > > > wrote:
> > > > > > > > On 06/04/16 19:53, Greg KH wrote:
> > > > > > > > > On Tue, Apr 05, 2016 at 06:42:51PM +1000, Brian
> > > > > > > > > Chadwick wrote:
> > > > > > > > > > SETUP:
> > > > > > > > > >
> > > > > > > > > > i7 16GB Computer.
> > > > > > > > > >
> > > > > > > > > > 1 x PCI-x USB3 adaptor card (i think uses xhci
> > > > > > > > > > -hcd)04:00.0 USB controller:
> > > > > > > > > > Renesas Technology Corp. uPD720202 USB 3.0 Host
> > > > > > > > > > Controller (rev 02)
> > > > > > > > > > Kernel driver in use: xhci_hcd
> > > > > > > > > >
> > > > > > > > > > 2 x USB3 to dual SATA HDD docks. uses JMicron
> > > > > > > > > > JMS56x Series controllers,
> > > > > > > > > > uses uas.ko kernel module
> > > > > > > > > > Bus 004 Device 002: ID 152d:9561 JMicron Technology
> > > > > > > > > > Corp. / JMicron USA
> > > > > > > > > > Technology Corp.
> > > > > > > > > > Bus 004 Device 003: ID 152d:9561 JMicron Technology
> > > > > > > > > > Corp. / JMicron USA
> > > > > > > > > > Technology Corp.
> > > > > > > > > >
> > > > > > > > > > 3 x Western Digital 320GB 3.5" SATA drives
> > > > > > > > > >
> > > > > > > > > > USE:
> > > > > > > > > >
> > > > > > > > > > RAID 5
> > > > > > > > > >
> > > > > > > > > > KERNEL:
> > > > > > > > > > 4.3.5
> > > > > > > > > >
> > > > > > > > > > System works perfectly as expected.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Change to kernel 4.4.x or 4.5 and RAID 5 doesnt
> > > > > > > > > > work. I am not sure whether
> > > > > > > > > > its actually RAID 5 at fault or if its the USB
> > > > > > > > > > Attached SCSI driver uas.ko,
> > > > > > > > > > or maybe the host driver xhci-hcd.
> > > > > > > > > Can you run 'git bisect' to try to track down the
> > > > > > > > > offending commit?
>
> <instructions about git-bisect snipped>
>
> > Hi, well to my surprise git bisect has come up with a commit about
> > which I
> > had no inkling. I may have to go to another mailing list it doesnt
> > look like
> > a usb problem.
> >
> > This is the final output of 'git bisect view' :
> >
> >
> > commit 64d513ac31bd02a3c9b69ef04444f36c196f9a9d
> > Author: Christoph Hellwig <hch@lst.de>
> > Date: Thu Oct 8 09:28:04 2015 +0100
> >
> > scsi: use host wide tags by default
> >
> > This patch changes the !blk-mq path to the same defaults as the
> > blk-mq
> > I/O path by always enabling block tagging, and always using
> > host wide
> > tags. We've had blk-mq available for a few releases so bugs
> > with
> > this mode should have been ironed out, and this ensures we get
> > better
> > coverage of over tagging setup over different configs.
> >
> > Signed-off-by: Christoph Hellwig <hch@lst.de>
> > Acked-by: Jens Axboe <axboe@kernel.dk>
> > Reviewed-by: Hannes Reinecke <hare@suse.de>
> > Signed-off-by: James Bottomley <JBottomley@Odin.com>
> >
> >
> >
> > Thank you for your help in narrowing this down, and in educating me
> > about
> > git bisect (its a neat tool) ... I await your advice as how to
> > proceed from
> > here.
>
> Sorry for the delay, nice work tracking down the problem.
>
> Christoph, any ideas? This patch is breaking this user's system as
> described above. Is there a more recent fix for this, or did
> something
> forget to get changed in the large patch you did here?
If this is UAS connected devices, then this is likely the fix:
http://marc.info/?l=linux-scsi&m=146045685829613
James
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: raid 5 creation fails on usb3 connected drives kernel 4.4.x, 4.5
2016-04-16 16:25 ` James Bottomley
@ 2016-04-16 16:46 ` Greg KH
[not found] ` <20160416164623.GA3104-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2016-04-16 16:46 UTC (permalink / raw)
To: James Bottomley
Cc: Brian Chadwick, Christoph Hellwig, Jens Axboe, Hannes Reinecke,
James Bottomley, linux-usb, linux-scsi
On Sat, Apr 16, 2016 at 09:25:13AM -0700, James Bottomley wrote:
> On Sat, 2016-04-16 at 09:08 -0700, Greg KH wrote:
> > On Sat, Apr 09, 2016 at 08:18:26PM +1000, Brian Chadwick wrote:
> > > On 09/04/16 00:24, Greg KH wrote:
> > > > On Fri, Apr 08, 2016 at 07:37:12PM +1000, Brian Chadwick wrote:
> > > > > On 08/04/16 01:59, Greg KH wrote:
> > > > > > On Fri, Apr 08, 2016 at 01:34:51AM +1000, Brian Chadwick
> > > > > > wrote:
> > > > > > > On 08/04/16 00:44, Greg KH wrote:
> > > > > > > > On Thu, Apr 07, 2016 at 03:04:55PM +1000, Brian Chadwick
> > > > > > > > wrote:
> > > > > > > > > On 06/04/16 19:53, Greg KH wrote:
> > > > > > > > > > On Tue, Apr 05, 2016 at 06:42:51PM +1000, Brian
> > > > > > > > > > Chadwick wrote:
> > > > > > > > > > > SETUP:
> > > > > > > > > > >
> > > > > > > > > > > i7 16GB Computer.
> > > > > > > > > > >
> > > > > > > > > > > 1 x PCI-x USB3 adaptor card (i think uses xhci
> > > > > > > > > > > -hcd)04:00.0 USB controller:
> > > > > > > > > > > Renesas Technology Corp. uPD720202 USB 3.0 Host
> > > > > > > > > > > Controller (rev 02)
> > > > > > > > > > > Kernel driver in use: xhci_hcd
> > > > > > > > > > >
> > > > > > > > > > > 2 x USB3 to dual SATA HDD docks. uses JMicron
> > > > > > > > > > > JMS56x Series controllers,
> > > > > > > > > > > uses uas.ko kernel module
> > > > > > > > > > > Bus 004 Device 002: ID 152d:9561 JMicron Technology
> > > > > > > > > > > Corp. / JMicron USA
> > > > > > > > > > > Technology Corp.
> > > > > > > > > > > Bus 004 Device 003: ID 152d:9561 JMicron Technology
> > > > > > > > > > > Corp. / JMicron USA
> > > > > > > > > > > Technology Corp.
> > > > > > > > > > >
> > > > > > > > > > > 3 x Western Digital 320GB 3.5" SATA drives
> > > > > > > > > > >
> > > > > > > > > > > USE:
> > > > > > > > > > >
> > > > > > > > > > > RAID 5
> > > > > > > > > > >
> > > > > > > > > > > KERNEL:
> > > > > > > > > > > 4.3.5
> > > > > > > > > > >
> > > > > > > > > > > System works perfectly as expected.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Change to kernel 4.4.x or 4.5 and RAID 5 doesnt
> > > > > > > > > > > work. I am not sure whether
> > > > > > > > > > > its actually RAID 5 at fault or if its the USB
> > > > > > > > > > > Attached SCSI driver uas.ko,
> > > > > > > > > > > or maybe the host driver xhci-hcd.
> > > > > > > > > > Can you run 'git bisect' to try to track down the
> > > > > > > > > > offending commit?
> >
> > <instructions about git-bisect snipped>
> >
> > > Hi, well to my surprise git bisect has come up with a commit about
> > > which I
> > > had no inkling. I may have to go to another mailing list it doesnt
> > > look like
> > > a usb problem.
> > >
> > > This is the final output of 'git bisect view' :
> > >
> > >
> > > commit 64d513ac31bd02a3c9b69ef04444f36c196f9a9d
> > > Author: Christoph Hellwig <hch@lst.de>
> > > Date: Thu Oct 8 09:28:04 2015 +0100
> > >
> > > scsi: use host wide tags by default
> > >
> > > This patch changes the !blk-mq path to the same defaults as the
> > > blk-mq
> > > I/O path by always enabling block tagging, and always using
> > > host wide
> > > tags. We've had blk-mq available for a few releases so bugs
> > > with
> > > this mode should have been ironed out, and this ensures we get
> > > better
> > > coverage of over tagging setup over different configs.
> > >
> > > Signed-off-by: Christoph Hellwig <hch@lst.de>
> > > Acked-by: Jens Axboe <axboe@kernel.dk>
> > > Reviewed-by: Hannes Reinecke <hare@suse.de>
> > > Signed-off-by: James Bottomley <JBottomley@Odin.com>
> > >
> > >
> > >
> > > Thank you for your help in narrowing this down, and in educating me
> > > about
> > > git bisect (its a neat tool) ... I await your advice as how to
> > > proceed from
> > > here.
> >
> > Sorry for the delay, nice work tracking down the problem.
> >
> > Christoph, any ideas? This patch is breaking this user's system as
> > described above. Is there a more recent fix for this, or did
> > something
> > forget to get changed in the large patch you did here?
>
> If this is UAS connected devices, then this is likely the fix:
>
> http://marc.info/?l=linux-scsi&m=146045685829613
Ah, nice, it's planned to go to Linus later today...
Brian, can you test that patch out to see if it resolves your issue or
not?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: raid 5 creation fails on usb3 connected drives kernel 4.4.x, 4.5
[not found] ` <20160416164623.GA3104-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
@ 2016-04-17 4:41 ` Brian Chadwick
2016-04-17 4:53 ` Greg KH
0 siblings, 1 reply; 5+ messages in thread
From: Brian Chadwick @ 2016-04-17 4:41 UTC (permalink / raw)
To: Greg KH, James Bottomley
Cc: Christoph Hellwig, Jens Axboe, Hannes Reinecke, James Bottomley,
linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-scsi-u79uwXL29TY76Z2rM5mHXA
On 17/04/16 02:46, Greg KH wrote:
> On Sat, Apr 16, 2016 at 09:25:13AM -0700, James Bottomley wrote:
>> On Sat, 2016-04-16 at 09:08 -0700, Greg KH wrote:
>>> On Sat, Apr 09, 2016 at 08:18:26PM +1000, Brian Chadwick wrote:
>>>> On 09/04/16 00:24, Greg KH wrote:
>>>>> On Fri, Apr 08, 2016 at 07:37:12PM +1000, Brian Chadwick wrote:
>>>>>> On 08/04/16 01:59, Greg KH wrote:
>>>>>>> On Fri, Apr 08, 2016 at 01:34:51AM +1000, Brian Chadwick
>>>>>>> wrote:
>>>>>>>> On 08/04/16 00:44, Greg KH wrote:
>>>>>>>>> On Thu, Apr 07, 2016 at 03:04:55PM +1000, Brian Chadwick
>>>>>>>>> wrote:
>>>>>>>>>> On 06/04/16 19:53, Greg KH wrote:
>>>>>>>>>>> On Tue, Apr 05, 2016 at 06:42:51PM +1000, Brian
>>>>>>>>>>> Chadwick wrote:
>>>>>>>>>>>> SETUP:
>>>>>>>>>>>>
>>>>>>>>>>>> i7 16GB Computer.
>>>>>>>>>>>>
>>>>>>>>>>>> 1 x PCI-x USB3 adaptor card (i think uses xhci
>>>>>>>>>>>> -hcd)04:00.0 USB controller:
>>>>>>>>>>>> Renesas Technology Corp. uPD720202 USB 3.0 Host
>>>>>>>>>>>> Controller (rev 02)
>>>>>>>>>>>> Kernel driver in use: xhci_hcd
>>>>>>>>>>>>
>>>>>>>>>>>> 2 x USB3 to dual SATA HDD docks. uses JMicron
>>>>>>>>>>>> JMS56x Series controllers,
>>>>>>>>>>>> uses uas.ko kernel module
>>>>>>>>>>>> Bus 004 Device 002: ID 152d:9561 JMicron Technology
>>>>>>>>>>>> Corp. / JMicron USA
>>>>>>>>>>>> Technology Corp.
>>>>>>>>>>>> Bus 004 Device 003: ID 152d:9561 JMicron Technology
>>>>>>>>>>>> Corp. / JMicron USA
>>>>>>>>>>>> Technology Corp.
>>>>>>>>>>>>
>>>>>>>>>>>> 3 x Western Digital 320GB 3.5" SATA drives
>>>>>>>>>>>>
>>>>>>>>>>>> USE:
>>>>>>>>>>>>
>>>>>>>>>>>> RAID 5
>>>>>>>>>>>>
>>>>>>>>>>>> KERNEL:
>>>>>>>>>>>> 4.3.5
>>>>>>>>>>>>
>>>>>>>>>>>> System works perfectly as expected.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Change to kernel 4.4.x or 4.5 and RAID 5 doesnt
>>>>>>>>>>>> work. I am not sure whether
>>>>>>>>>>>> its actually RAID 5 at fault or if its the USB
>>>>>>>>>>>> Attached SCSI driver uas.ko,
>>>>>>>>>>>> or maybe the host driver xhci-hcd.
>>>>>>>>>>> Can you run 'git bisect' to try to track down the
>>>>>>>>>>> offending commit?
>>> <instructions about git-bisect snipped>
>>>
>>>> Hi, well to my surprise git bisect has come up with a commit about
>>>> which I
>>>> had no inkling. I may have to go to another mailing list it doesnt
>>>> look like
>>>> a usb problem.
>>>>
>>>> This is the final output of 'git bisect view' :
>>>>
>>>>
>>>> commit 64d513ac31bd02a3c9b69ef04444f36c196f9a9d
>>>> Author: Christoph Hellwig<hch-jcswGhMUV9g@public.gmane.org>
>>>> Date: Thu Oct 8 09:28:04 2015 +0100
>>>>
>>>> scsi: use host wide tags by default
>>>>
>>>> This patch changes the !blk-mq path to the same defaults as the
>>>> blk-mq
>>>> I/O path by always enabling block tagging, and always using
>>>> host wide
>>>> tags. We've had blk-mq available for a few releases so bugs
>>>> with
>>>> this mode should have been ironed out, and this ensures we get
>>>> better
>>>> coverage of over tagging setup over different configs.
>>>>
>>>> Signed-off-by: Christoph Hellwig<hch-jcswGhMUV9g@public.gmane.org>
>>>> Acked-by: Jens Axboe<axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org>
>>>> Reviewed-by: Hannes Reinecke<hare-l3A5Bk7waGM@public.gmane.org>
>>>> Signed-off-by: James Bottomley<JBottomley-O3H1v1f1dlM@public.gmane.org>
>>>>
>>>>
>>>>
>>>> Thank you for your help in narrowing this down, and in educating me
>>>> about
>>>> git bisect (its a neat tool) ... I await your advice as how to
>>>> proceed from
>>>> here.
>>> Sorry for the delay, nice work tracking down the problem.
>>>
>>> Christoph, any ideas? This patch is breaking this user's system as
>>> described above. Is there a more recent fix for this, or did
>>> something
>>> forget to get changed in the large patch you did here?
>> If this is UAS connected devices, then this is likely the fix:
>>
>> http://marc.info/?l=linux-scsi&m=146045685829613
> Ah, nice, it's planned to go to Linus later today...
>
> Brian, can you test that patch out to see if it resolves your issue or
> not?
>
> thanks,
>
> greg k-h
>
Hi Greg, that patch has resolved the issue; I tested in 4.4.7 and 4.5.1.
I am not sure how to test in the git tree so I'll just wait for git pull
to get the change.
Many thanks to you and any others for your help and education.
Cheers
Brian C.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: raid 5 creation fails on usb3 connected drives kernel 4.4.x, 4.5
2016-04-17 4:41 ` Brian Chadwick
@ 2016-04-17 4:53 ` Greg KH
0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2016-04-17 4:53 UTC (permalink / raw)
To: Brian Chadwick
Cc: James Bottomley, Christoph Hellwig, Jens Axboe, Hannes Reinecke,
James Bottomley, linux-usb, linux-scsi
On Sun, Apr 17, 2016 at 02:41:51PM +1000, Brian Chadwick wrote:
> On 17/04/16 02:46, Greg KH wrote:
> > On Sat, Apr 16, 2016 at 09:25:13AM -0700, James Bottomley wrote:
> > > On Sat, 2016-04-16 at 09:08 -0700, Greg KH wrote:
> > > > On Sat, Apr 09, 2016 at 08:18:26PM +1000, Brian Chadwick wrote:
> > > > > On 09/04/16 00:24, Greg KH wrote:
> > > > > > On Fri, Apr 08, 2016 at 07:37:12PM +1000, Brian Chadwick wrote:
> > > > > > > On 08/04/16 01:59, Greg KH wrote:
> > > > > > > > On Fri, Apr 08, 2016 at 01:34:51AM +1000, Brian Chadwick
> > > > > > > > wrote:
> > > > > > > > > On 08/04/16 00:44, Greg KH wrote:
> > > > > > > > > > On Thu, Apr 07, 2016 at 03:04:55PM +1000, Brian Chadwick
> > > > > > > > > > wrote:
> > > > > > > > > > > On 06/04/16 19:53, Greg KH wrote:
> > > > > > > > > > > > On Tue, Apr 05, 2016 at 06:42:51PM +1000, Brian
> > > > > > > > > > > > Chadwick wrote:
> > > > > > > > > > > > > SETUP:
> > > > > > > > > > > > >
> > > > > > > > > > > > > i7 16GB Computer.
> > > > > > > > > > > > >
> > > > > > > > > > > > > 1 x PCI-x USB3 adaptor card (i think uses xhci
> > > > > > > > > > > > > -hcd)04:00.0 USB controller:
> > > > > > > > > > > > > Renesas Technology Corp. uPD720202 USB 3.0 Host
> > > > > > > > > > > > > Controller (rev 02)
> > > > > > > > > > > > > Kernel driver in use: xhci_hcd
> > > > > > > > > > > > >
> > > > > > > > > > > > > 2 x USB3 to dual SATA HDD docks. uses JMicron
> > > > > > > > > > > > > JMS56x Series controllers,
> > > > > > > > > > > > > uses uas.ko kernel module
> > > > > > > > > > > > > Bus 004 Device 002: ID 152d:9561 JMicron Technology
> > > > > > > > > > > > > Corp. / JMicron USA
> > > > > > > > > > > > > Technology Corp.
> > > > > > > > > > > > > Bus 004 Device 003: ID 152d:9561 JMicron Technology
> > > > > > > > > > > > > Corp. / JMicron USA
> > > > > > > > > > > > > Technology Corp.
> > > > > > > > > > > > >
> > > > > > > > > > > > > 3 x Western Digital 320GB 3.5" SATA drives
> > > > > > > > > > > > >
> > > > > > > > > > > > > USE:
> > > > > > > > > > > > >
> > > > > > > > > > > > > RAID 5
> > > > > > > > > > > > >
> > > > > > > > > > > > > KERNEL:
> > > > > > > > > > > > > 4.3.5
> > > > > > > > > > > > >
> > > > > > > > > > > > > System works perfectly as expected.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Change to kernel 4.4.x or 4.5 and RAID 5 doesnt
> > > > > > > > > > > > > work. I am not sure whether
> > > > > > > > > > > > > its actually RAID 5 at fault or if its the USB
> > > > > > > > > > > > > Attached SCSI driver uas.ko,
> > > > > > > > > > > > > or maybe the host driver xhci-hcd.
> > > > > > > > > > > > Can you run 'git bisect' to try to track down the
> > > > > > > > > > > > offending commit?
> > > > <instructions about git-bisect snipped>
> > > >
> > > > > Hi, well to my surprise git bisect has come up with a commit about
> > > > > which I
> > > > > had no inkling. I may have to go to another mailing list it doesnt
> > > > > look like
> > > > > a usb problem.
> > > > >
> > > > > This is the final output of 'git bisect view' :
> > > > >
> > > > >
> > > > > commit 64d513ac31bd02a3c9b69ef04444f36c196f9a9d
> > > > > Author: Christoph Hellwig<hch@lst.de>
> > > > > Date: Thu Oct 8 09:28:04 2015 +0100
> > > > >
> > > > > scsi: use host wide tags by default
> > > > >
> > > > > This patch changes the !blk-mq path to the same defaults as the
> > > > > blk-mq
> > > > > I/O path by always enabling block tagging, and always using
> > > > > host wide
> > > > > tags. We've had blk-mq available for a few releases so bugs
> > > > > with
> > > > > this mode should have been ironed out, and this ensures we get
> > > > > better
> > > > > coverage of over tagging setup over different configs.
> > > > >
> > > > > Signed-off-by: Christoph Hellwig<hch@lst.de>
> > > > > Acked-by: Jens Axboe<axboe@kernel.dk>
> > > > > Reviewed-by: Hannes Reinecke<hare@suse.de>
> > > > > Signed-off-by: James Bottomley<JBottomley@Odin.com>
> > > > >
> > > > >
> > > > >
> > > > > Thank you for your help in narrowing this down, and in educating me
> > > > > about
> > > > > git bisect (its a neat tool) ... I await your advice as how to
> > > > > proceed from
> > > > > here.
> > > > Sorry for the delay, nice work tracking down the problem.
> > > >
> > > > Christoph, any ideas? This patch is breaking this user's system as
> > > > described above. Is there a more recent fix for this, or did
> > > > something
> > > > forget to get changed in the large patch you did here?
> > > If this is UAS connected devices, then this is likely the fix:
> > >
> > > http://marc.info/?l=linux-scsi&m=146045685829613
> > Ah, nice, it's planned to go to Linus later today...
> >
> > Brian, can you test that patch out to see if it resolves your issue or
> > not?
> >
> > thanks,
> >
> > greg k-h
> >
> Hi Greg, that patch has resolved the issue; I tested in 4.4.7 and 4.5.1. I
> am not sure how to test in the git tree so I'll just wait for git pull to
> get the change.
This patch is in Linus's tree now and I'll suck it into the next release
of the 4.4 and 4.5-stable trees soon.
thanks for testing and letting me know it works,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-04-17 4:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <57037A8B.4010305@westnet.com.au>
[not found] ` <20160406095308.GA31167@kroah.com>
[not found] ` <5705EA77.7050408@westnet.com.au>
[not found] ` <20160407144413.GD10853@kroah.com>
[not found] ` <57067E1B.60706@westnet.com.au>
[not found] ` <20160407155908.GA8655@kroah.com>
[not found] ` <57077BC8.7010300@westnet.com.au>
[not found] ` <20160408142435.GA4793@kroah.com>
[not found] ` <5708D6F2.7000608@westnet.com.au>
[not found] ` <5708D6F2.7000608-ncau/BB9MAPvnOemgxGiVw@public.gmane.org>
2016-04-16 16:08 ` raid 5 creation fails on usb3 connected drives kernel 4.4.x, 4.5 Greg KH
2016-04-16 16:25 ` James Bottomley
2016-04-16 16:46 ` Greg KH
[not found] ` <20160416164623.GA3104-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2016-04-17 4:41 ` Brian Chadwick
2016-04-17 4:53 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox