Re: [PATCH v3 13/22] compat_ioctl: scsi: move ioctl handling into drivers

From: Arnd Bergmann
Date: Wed Feb 12 2020 - 16:50:09 EST


On Wed, Feb 12, 2020 at 10:15 PM Johannes Hirte
<johannes.hirte@xxxxxxxxxxxxx> wrote:
>
> On 2020 Jan 02, Arnd Bergmann wrote:

>
> Error in getting drive hardware properties
> Error in getting drive reading properties
> Error in getting drive writing properties
> __________________________________
>
> Disc mode is listed as: CD-DA
> ++ WARN: error in ioctl CDROMREADTOCHDR: Bad address
>
> cd-info: Can't get first track number. I give up.

Right, there was also a report about breaking the Fedora installer,
see https://bugzilla.redhat.com/show_bug.cgi?id=1801353

There is a preliminary patch that should fix this, I'll post a
version with more references tomorrow:
https://www.happyassassin.net/temp/0001-Replace-.ioctl-with-.compat_ioctl-in-three-appropria.patch

Arnd