Re: Multiple errors with DVD drive

Damien Le Moal
2022-05-26T23:36:58Z

On 2022/05/26 21:38, J.J. Berkhout wrote:
> Firstly, if this is not the right place for this message, I apologize.
> In this case, disregard.
>
> I have a problem which I suspect is a bug in libata, but of course I
> could be wrong.
>
> The problem is:
> After going from Linux Mint 19.3 Cinnamon kernel 5.4.0-97 to Linux Mint
> 20.3 Cinnamon kernel 5.4.0-107 I discovered that I could not (reliably)
> access my optical drive anymore.
> It produces errors like:
> ata1.00: exception Emask 0x10 SAct 0x0 SErr 0x40d0000 action 0xe frozen
> ata1: SError: { PHYRdyChg CommWake 10B8B DevExch }
> ata1.00: cmd a0/00:00:00:00:fc/00:00:00:00:00/a0 tag 0 pio 131072 in
> Read(10) 28 00 00 00 05 61 00 00 40 00res
> 50/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x10 (ATA bus error)
> blk_update_request: I/O error, dev sr0, sector 5508 op 0x0:(READ) flags
> 0x80700 phys_seg 19 prio class 0
> ata1.00: failed to set xfermode (err_mask=0x1)
>
> The system was Linux Mint 20.3 Cinnamon with kernel 5.4.0-107-generic,
> mobo ASRock model X570 Taichi.
> After some tests I found out:
> Kernel 5.4.0-99 works OK;
> Kernel 5.4.0-100 has the problem;
> Kernel 5.13.0-30 works OK;
> Kernel 5.13.0-35 has the problem.

It looks like your distro is backporting patches so the patch causing the
problem could be found by bisecting. While 5.4 kernel is an LTS kernel, the
latest release is 5.4.196... 5.4.0-100 is the distro version number which does
not tell me what set of patches it got on top of 5.4.0. These are not
stable/vanilla kernels.

To get help from this list, you will need to try with a vanilla kernel, ideally
from git. You could try the latest mainline 5.18 first to see if the problem is
there or not.

Also, what AHCI adapter is this machine using (lspci) ?

>
> The problem is described more fully in
> https://forums.linuxmint.com/viewtopic.php?f=47&t=371251
>
> I reported the bug to the Launchpad Ubuntu site under number #1968155:
> https://bugs.launchpad.net/bugs/1968155
>
> One other person (as far as I know) has the same problem.
>
> I froze my kernel at 5.13.0-30, so for the moment I can use my system.
> I realize that there are probably not many users with an ASRock X570
> mobo, and in that group only a few would be using a BD reader/burner.
> However, it would be nice if I could again keep my kernel current.
>
> With kind regards,
>
> Jaap Berkhout

--
Damien Le Moal
Western Digital Research