On Wed, Jul 05, 2017 at 10:44:47AM +0200, Johannes Thumshirn wrote:
> On Wed, Jul 05, 2017 at 08:57:54AM +0100, Chris Clayton wrote:
> > Thanks for the reply, Johannes.
> > The strace log for 4.12.0 is attached.
>
> Thanks Chris.
>
> Can I have a known good version as well? The counterpart to this snippet would
> be great:
>
> open("/dev/sg0", O_RDWR) = 6
> ioctl(6, SG_SET_RESERVED_SIZE, [131072]) = 0
> ioctl(6, SG_SET_TIMEOUT, [10800000]) = 0
> write(6,
> "\0\0\0\0H\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 42) =
> -1 EINVAL (Invalid argument)
And please activate the SG debug prints. Should be via
'scsi_logging_level -T 4'.
Thanks.
--
Johannes Thumshirn Storage
[email protected] +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850