Nero 4 Linux applications broken in 4.12

2017-07-05 Thread Chris Clayton
Hi. I use the applications from Nero 4 Linux to write to blu-ray media, principally, but not exclusively, as part of my back-up regime. Those applications have stopped working with Linux 4.12 because they fail to detect my drives (one built in to my laptop and the other attached via USB). The ap

Re: Nero 4 Linux applications broken in 4.12

2017-07-05 Thread Chris Clayton
On 05/07/17 08:39, Johannes Thumshirn wrote: > On Wed, Jul 05, 2017 at 08:06:17AM +0100, Chris Clayton wrote: >> I can provide the full traces or any other diagnostics, if they would help. > > Yes this would definitively help. An strace log would be great so I > can make

Re: Nero 4 Linux applications broken in 4.12

2017-07-05 Thread Chris Clayton
On 05/07/17 09:48, Johannes Thumshirn wrote: > 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. >>

Re: Nero 4 Linux applications broken in 4.12

2017-07-05 Thread Chris Clayton
On 05/07/17 12:52, Johannes Thumshirn wrote: > On Wed, Jul 05, 2017 at 10:06:49AM +0100, Chris Clayton wrote: >> I'll do this and send dmesg(?) output as soon as I've got >> scsi_logging_level installed. > > Hi Chris, > > does this reproducer work (i.e.

Re: Nero 4 Linux applications broken in 4.12

2017-07-05 Thread Chris Clayton
On 05/07/17 13:09, Johannes Thumshirn wrote: > On Wed, Jul 05, 2017 at 01:05:46PM +0100, Chris Clayton wrote: >> Yes, I get: >> >> [chris:~/rpm/build]$ su -c "./nerotest /dev/sg0" >> Password: >> write: Invalid argument >> FAIL > >

Re: Nero 4 Linux applications broken in 4.12

2017-07-05 Thread Chris Clayton
On 05/07/17 13:42, Johannes Thumshirn wrote: > On Wed, Jul 05, 2017 at 01:19:09PM +0100, Chris Clayton wrote: >> I'm happy to test any patches you may propose. > > Can you verify this fix? Preferedably with using Nero. It passes my small > reproducer: > Thanks

Re: [PATCH v2] scsi: sg: fix SG_DXFER_FROM_DEV transfers

2017-07-07 Thread Chris Clayton
si: sg: check for valid direction before starting the request") > I've tested this new patch and the Nero applications can still find the optical drives on my laptop. Tested-by: Chris Clayton > Signed-off-by: Johannes Thumshirn > Fixes: 28676d869bbb ("scsi: sg: chec