Created attachment 297943 [details] kernel-log Hello, after suspend the cd-rom tray opens. This is new with 5.13.2, does not happen with 5.12.11. System boot ata5: SATA max UDMA/133 abar m2048@0xf7e1a000 port 0xf7e1a300 irq 32 ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out ata5.00: ATAPI: TEAC DV-W524GSC, RT11, max UDMA/100 ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out ata5.00: configured for UDMA/100 scsi 4:0:0:0: CD-ROM TEAC DV-W524GSC RT11 PQ: 0 ANSI: 5 sr 4:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray cdrom: Uniform CD-ROM driver Revision: 3.20 sr 4:0:0:0: Attached scsi CD-ROM sr0 sr 4:0:0:0: Attached scsi generic sg4 type 5 After suspend ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out ata5.00: configured for UDMA/100 After suspend ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out ata5.00: configured for UDMA/100
Problem still exists in 5.13.6
The problem seems to start with 5.12.15. Still exists in 5.13.7
This happens to me too on kernel 5.10.52, the tray opens after resuming from suspend. I've traced the issue to this commit: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7dd753ca59d6c8cc09aa1ed24f7657524803c7f3 Reverting it solves the problem for me.
v5.13-rc7 appears to be the first version affected and the fix was backported to various stable branches.
Sorry, I meant that the regressing change was backported to the various stable branches, so it appears to be present in them too.
This patch solves this problem. https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=5.14/scsi-fixes&id=5c04243a56a7977185b00400e59ca7e108004faf