Re: Multiple errors with DVD drive

J.J. Berkhout
2022-08-05T10:35:21Z

[-- Attachment #1.1: Type: text/plain, Size: 2265 bytes --]

Hello,

This morning I tried the 5.19 kernel from
https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D

The result regarding the problem with my optical drive still exists.

With kind regards,

Jaap Berkhout.

On 27-05-2022 12:32, J.J. Berkhout wrote:
> Hello,
>
> On 27-05-2022 01:36, Damien Le Moal wrote:
>> On 2022/05/26 21:38, J.J. Berkhout wrote:
> .
> .
>>> 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.
>
> OK, I installed kernel 5.18.0 with 'mainline' (Ubuntu Mainline Kernel
> Installer).
> Kernel installed was 5.18.0-051800.202205222030.
> Same problem existed.
> I reverted to the ubuntu 5.13.0-30 kernel.
> A copy of the dmesg output is attached.
>
> With kind regards,
>
> Jaap Berkhout.