latest kernel update breaks sata hotplug on z690

Bug #2053194 reported by Matthew Eaton
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-signed-hwe-6.5 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

SATA hotplug is not working on these kernels:
linux-image-6.5.0-17-generic
linux-image-5.15.0-94-generic

SATA hotplug is working on these kernels:
linux-image-6.5.0-15-generic
linux-image-5.15.0-92-generic

Affected platform:
Gigabyte Z690 AORUS PRO
BIOS Version: F28

Note that I can only repro this on Z690. I also tried Z390 and Z370 platforms and SATA hotplug it is working there.

Steps to repro:
1. Enable SATA hotplug in BIOS
2. Boot to affected kernel
3. Hotplug a SATA drive while monitoring kernel messages

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-6.5.0-17-generic 6.5.0-17.17~22.04.1
ProcVersionSignature: Ubuntu 6.5.0-17.17~22.04.1-generic 6.5.8
Uname: Linux 6.5.0-17-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Feb 14 13:20:34 2024
InstallationDate: Installed on 2024-01-26 (18 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-signed-hwe-6.5
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.default.apport:
 # set this to 0 to disable apport, or to 1 to enable it
 # you can temporarily override this with
 # sudo service apport start force_start=1
 enabled=0
mtime.conffile..etc.default.apport: 2024-01-26T15:01:36.495491

Revision history for this message
Matthew Eaton (meaton) wrote :
Revision history for this message
Tex (texorange) wrote :

I have a ASUSTeK COMPUTER INC. TUF GAMING Z690-PLUS WIFI D4 Rev 1.xx, and I have the same problems on kernels 6.5.0-17+. On KDE Neon, when I boot into 6.5.0-15, hotplug works.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-signed-hwe-6.5 (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthew Eaton (meaton) wrote :

Thanks for confirming. I tested the 6.5.0-18 kernel and it is also not working.

Revision history for this message
Tex (texorange) wrote :

Same here, I confirmed it does not work on 6.5.0-18 & 6.5.0-21.

Revision history for this message
Matthew Eaton (meaton) wrote :

I can confirm sata hotplug is still not working as of kernel 6.5.0-26. It is working on 6.5.11-060511-generic mainline.

Revision history for this message
GuoqingJiang (guoqingjiang) wrote :

Could someone do git bisect to check which commit could cause the regression? My wild guess would be
the commit which add Intel Alder Lake-P AHCI controller to low power chipsets list or others in the following.

$ git log --oneline Ubuntu-5.15.0-92.102..Ubuntu-5.15.0-94.104 |grep "ata: ahci"
c553eda3bac6 ata: ahci: Add Intel Alder Lake-P AHCI controller to low power chipsets list
0e2b3a2aa29d ata: ahci: Add Elkhart Lake AHCI controller
6fd0f4242184 ata: ahci: Rename board_ahci_mobile
65ecbaa1fe47 ata: ahci: Add support for AMD A85 FCH (Hudson D4)
c21705b5ee4f ata: ahci: Drop pointless VPRINTK() calls and convert the remaining ones

$ git log --oneline Ubuntu-hwe-6.5-6.5.0-15.15_22.04.1..Ubuntu-hwe-6.5-6.5.0-17.17_22.04.1|grep "ata: ahci"
df508bb822f9 ata: ahci: Add Intel Alder Lake-P AHCI controller to low power chipsets list
2a4dad1ecdf3 ata: ahci: Add Elkhart Lake AHCI controller

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.