Thanks Zhanglei. Great. We have identified the problem patch, which is
this one:

380cd49e207ba4  ata: ahci: Add Green Sardine vendor ID as
board_ahci_mobile


But I am not really sure why this patch is causing a problem.

The patch only adds one new line as you can see here:
https://pastebin.ubuntu.com/p/TDXdRttc4M/plain

Looks like it is altering the behaviour of "PCI device ID 1022:7901"
which is supposed to be AMD "Green Sardine". From what I found online,
"Green Sardine" is an AMD APU (CPU + GPU) but I believe you are using an
AMD EPYC server, so I don't understand why you would be affected at all.

Looking at the SOS report you provided, I see the device ID for the SATA
controller is 1022:7901 even though you are using EPYC. Again, not
really sure why.

I don't understand why there is a conflict in device IDs like this.

I will see if I can find out more information.

Do you know if the problem happens with any disk you hotplug, or just
this one?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1971576

Title:
  SATA device hot plug regression on AMD EPYC (Asus) server

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  SATA disk hot plug can't work on Ubuntu 20.04 ga-kernel of "Linux
  version 5.4.0-109-generic", but it works on earlier version of " Linux
  version 5.4.0-42-generic"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1971576/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to