Re: Multiple errors with DVD drive

Niklas Cassel
2022-09-21T18:32:55Z

On Wed, Sep 21, 2022 at 02:38:51PM +0200, J.J. Berkhout wrote:
> On 21-09-2022 13:58, Niklas Cassel wrote:
> > Another way do disable lpm is to do:
> > $ sudo sh -c "echo max_performance > /sys/class/scsi_host/host13/link_power_management_policy"
>
> Yes, this worked and did the trick! Reading without any errors. I did
> not yet try to write, but will do so today.
> When booting with libata.force=nolpm the link_power_management_policy
> was still med_power_with_dipm and I got the dmesg:
>
> [ 0.291452] ata: failed to parse force parameter "nolpm" (unknown value)
>
> so the ineffectiveness of this boot parameter seems to be explained.
> Might there be some other syntax for this parameter?

Apparently this was introduced quite recently, in
commit 2c33bbdac28c ("ata: libata-core: Allow forcing most horkage flags")
which was first included in kernel v5.19.

>
> Nevertheless, my problem now has a work-around and I am very happy.
> Thanks, Niklas.

Great news!

Then I believe that
+ { "PIONEER BD-RW BDR-207M", NULL, ATA_HORKAGE_NOLPM },
should be the proper quirk for your device.

If you could test it when you have time (again, no rush),
then we could send out a proper fix for this.

Kind regards,
Niklas