Bug 196375
Summary: | MTX load commands fail | ||
---|---|---|---|
Product: | Tools | Reporter: | evan |
Component: | Other | Assignee: | Tools.Other (tools_other) |
Status: | CLOSED CODE_FIX | ||
Severity: | high | CC: | evan, j, rdunlap |
Priority: | P1 | ||
Hardware: | Intel | ||
OS: | Linux | ||
Kernel Version: | 4.12rc0 and up | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | Patch fixing this issue |
Description
evan
2017-07-14 23:22:16 UTC
Fedora bug report is https://bugzilla.redhat.com/show_bug.cgi?id=1471302 I believe I've bisected this down to the following, but I've pretty much come to the end of my comprehension. commit 28676d869bbb5257b5f14c0c95ad3af3a7019dd5 Author: Johannes Thumshirn <jthumshirn@suse.de> Date: Fri Apr 7 09:34:15 2017 +0200 scsi: sg: check for valid direction before starting the request Check for a valid direction before starting the request, otherwise we risk running into an assertion in the scsi midlayer checking for valid requests. [mkp: fixed typo] Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Link: http://www.spinics.net/lists/linux-scsi/msg104400.html Reported-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Hannes Reinecke <hare@suse.com> Tested-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> I've confirmed that reverting just that patch fixes the problem. Created attachment 257725 [details]
Patch fixing this issue
The attached patch was committed to the scsi-fixes tree so it should hopefully be in 4.13 soon. This was also sent to the stable tree so with luck it will appear in a 4.12 point release.
Fixed by commit ID f930c7043663188429cd9b254e9d761edfc101ce in July, 2017. |