[Lenovo Ubuntu 22.04 Bug]SATA disk couldn't be recognized by "lsblk" after hot add

Bug #1997213 reported by xiaochun Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

 Description:
 After installing Ubuntu 22.04 and boot to OS, we try to hot add a SATA disk to the Onboard AHCI controller in our system by plugging a SATA disk into the SATA slot, However, the OS can not recognize the added disks, both running command "lsblk" and "lsscsi", even "ll /sys/class/block/" couldn't find these disks we added before, and there isn't any log show up in /var/log/syslog after adding this SATA disks.

 Produce Steps:
  1. Install Ubunut 22.04 (kernel 5.15.0-25.25-generic)
  2. Boot into OS
  3. Hot plug a SATA disk into SATA slot in the front bay
  4. wait and observe whether the disks are show up by command "lsblk"

 Configuration:
 Systems:Lenovo SR655, AMD GENOA platform
 OS:ubuntu-22.04-live-server-amd64.iso

 CPU:AMD EPYC 9654 96-Core Processor *1
 Memory:Hynix 32GB 2RX8 DDR5-4800 16Gbit RDIMM M-Die *12

 storage:
7MM Drive 0-1:7.68TB 7MM NVMe SSD(PN:MTFDKCB7T6TFR,FW:E2MU110)
Drive 0:240GB SATA SSD (PN:SSS7B07725 ,FW:MQ31)
Drive 1-2:1.92TB NVMe SSD(PN:SSDPF2KX019T1O,FW:9CV10320)
Drive 3-4:400GB NVMe SSD(PN:SSDPF21Q400GB,FW:L0310600)
Drive 5-8:12.0TB SATA HDD(PN:01GV193,FW:LEGNK9R5)
Drive 9:240GB SATA SSD(PN:SSS7B07725,FW:MQ31)
Drive 10-11:960GB SATA SSD(PN:SSS7A43198,FW:MP33)

 Expected results:
 OS can recognize the SATA disks we hot added in.

 Actual results:
 OS cannot recognize SATA disks we hot added in.

 Additional info:
  1. Hot add more SATA disks to different slot, "lsblk" couldn't show up the added disks as well.
  2. Other OS like RHEL9.0 can recognize this hot added disks.
---
ProblemType: Bug
AlsaDevices:
 total 0
 crw-rw----+ 1 root audio 116, 1 Nov 14 17:16 seq
 crw-rw----+ 1 root audio 116, 33 Nov 14 17:16 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
CasperMD5CheckResult: pass
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-11-14 (0 days ago)
InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220421)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: Lenovo ThinkSystem SR645 V3 MB,Genoa,DDR5,Oahu,1U
Package: linux (not installed)
PciMultimedia:

ProcFB: 0 astdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-25-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-25-generic N/A
 linux-backports-modules-5.15.0-25-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu1
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
Tags: jammy uec-images
Uname: Linux 5.15.0-25-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 11/14/2022
dmi.bios.release: 1.20
dmi.bios.vendor: Lenovo
dmi.bios.version: KAE105D-1.20
dmi.board.asset.tag: None
dmi.board.name: SB27B31174
dmi.board.vendor: Lenovo
dmi.board.version: 04
dmi.chassis.asset.tag: None
dmi.chassis.type: 23
dmi.chassis.vendor: Lenovo
dmi.chassis.version: None
dmi.ec.firmware.release: 1.20
dmi.modalias: dmi:bvnLenovo:bvrKAE105D-1.20:bd11/14/2022:br1.20:efr1.20:svnLenovo:pnThinkSystemSR645V3MB,Genoa,DDR5,Oahu,1U:pvr04:rvnLenovo:rnSB27B31174:rvr04:cvnLenovo:ct23:cvrNone:sku7D9DRCZ000:
dmi.product.family: ThinkSystem
dmi.product.name: ThinkSystem SR645 V3 MB,Genoa,DDR5,Oahu,1U
dmi.product.sku: 7D9DRCZ000
dmi.product.version: 04
dmi.sys.vendor: Lenovo

Revision history for this message
xiaochun Lee (xavier-lee) wrote :
Revision history for this message
xiaochun Lee (xavier-lee) wrote :

We'll update two actions listed as following
1. Update to latest kernel and have a try.
2. upload file that generated by command "sosreport"

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1997213

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
xiaochun Lee (xavier-lee) wrote :

The command apport-collect couldn't run successfully on our system, we upload the file generate by sosreport command for your reference.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
xiaochun Lee (xavier-lee) wrote :

This sosreport file comes from another system that has the same symptom-the hot add disk in the slots belongs to Onboard SATA controller couldn't be recognized by Ubuntu kernel.

Revision history for this message
xiaochun Lee (xavier-lee) wrote :

We've updated to the latest kernel version 5.15.0-53, the symptoms still there.

Revision history for this message
xiaochun Lee (xavier-lee) wrote :

Hi, Ubuntu
Is there any update?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Possible to use apport-collect?

Revision history for this message
xiaochun Lee (xavier-lee) wrote :

hi, Kai-Heng Feng
Unfortunately, systems in our lab don't allow access the external network, so we couldn't run apport-collect.
I had uploaded two sosreport files in comment#4 and #5, if you need other logs, please feel free to reach out to me! Thanks!

Revision history for this message
xiaochun Lee (xavier-lee) wrote :

Update about apport-collect.
apport-collect will start a browser, but as you know, Ubuntu server OS just install the CLI not GUI, so command apport-collect couldn't launch the local browser. Could you please tell me other commands If you need more logs than sosreport. Thanks!

Revision history for this message
xiaochun Lee (xavier-lee) wrote :

Hello,Ubuntu
Is there any updates? Thanks!

Revision history for this message
Jeff Lane  (bladernr) wrote :

apport-collect only launches the browser to authorize collection via Launchpad. You can copy and paste, or type the URL into any browser on a different machine and authorize it.

Revision history for this message
xiaochun Lee (xavier-lee) wrote : CurrentDmesg.txt

apport information

tags: added: apport-collected jammy uec-images
description: updated
Revision history for this message
xiaochun Lee (xavier-lee) wrote : Lspci.txt

apport information

Revision history for this message
xiaochun Lee (xavier-lee) wrote : Lspci-vt.txt

apport information

Revision history for this message
xiaochun Lee (xavier-lee) wrote : Lsusb.txt

apport information

Revision history for this message
xiaochun Lee (xavier-lee) wrote : Lsusb-t.txt

apport information

Revision history for this message
xiaochun Lee (xavier-lee) wrote : Lsusb-v.txt

apport information

Revision history for this message
xiaochun Lee (xavier-lee) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
xiaochun Lee (xavier-lee) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
xiaochun Lee (xavier-lee) wrote : ProcEnviron.txt

apport information

Revision history for this message
xiaochun Lee (xavier-lee) wrote : ProcInterrupts.txt

apport information

Revision history for this message
xiaochun Lee (xavier-lee) wrote : ProcModules.txt

apport information

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

The AHCI controller LPM policy was default to low power, which doesn't support hotplug.
Please change "/sys/class/scsi_host/hostX/link_power_management_policy" to max_performance [1] to support hotplug.

https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-scsi_host

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.