SD card initialization on insertion fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Chris Chiu | ||
Hirsute |
Fix Released
|
Medium
|
Chris Chiu | ||
Impish |
Fix Released
|
Medium
|
Chris Chiu |
Bug Description
[SRU Justification]
[Impact]
The memory card can be detected and mount correctly when the system starts with the card inserted. But it will fail to be detected at the subsequent re-plug. It only happens on particular Realtek older PCI interfaced card readers. The RTL8411B (10ec:5287) is reported problematic for this issue.
[Fix]
Found the commit 121e9c6b5c4c ("misc: rtsx: modify and fix init_hw function") in 5.11.0-rc1 introduces this regression. The fix from upstream use the old ASPM control for particular realtek card reader models: 8411 5209 5227 5229 5249 5250.
[Test]
Verified on the Realtek PCI interfaced card reader RTL8411B and verify whether the memory card can be detected for each re-plug.
[Where problem could occur]
The regression can be considered as low since the fix has specified separate ASPM control for particular Realtek Card Readers.
========== Original Bug Description ==========
If I boot my laptop with an SD card (actually SDXC) in the MMC slot the system sees it and I can mount and use it.
If I then unmount it, remove it then re-insert it I get this in the system ,og:
[ 194.673108] mmc0: card e624 removed
[ 205.462065] mmc0: cannot verify signal voltage switch
[ 205.567479] mmc0: error -84 whilst initialising SD card
and the card cannot then be used.
It was OK in groovy. It's failing in hirsute.
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: linux-image-generic 5.11.0.17.18
ProcVersionSign
Uname: Linux 5.11.0-17-generic x86_64
ApportVersion: 2.20.11-0ubuntu65
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CasperMD5CheckR
CurrentDesktop: KDE
Date: Mon May 24 17:36:49 2021
HibernationDevice: RESUME=
InstallationDate: Installed on 2020-08-13 (284 days ago)
InstallationMedia: Kubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: PC Specialist LTD N150CU
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.197
SourcePackage: linux
UpgradeStatus: Upgraded to hirsute on 2021-05-13 (11 days ago)
dmi.bios.date: 11/15/2019
dmi.bios.release: 7.7
dmi.bios.vendor: INSYDE Corp.
dmi.bios.version: 1.07.07TPCS2
dmi.board.
dmi.board.name: N151CU
dmi.board.vendor: CLEVO
dmi.board.version: Not Applicable
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Notebook
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnINSYDECo
dmi.product.family: Not Applicable
dmi.product.name: N150CU
dmi.product.sku: Not Applicable
dmi.product.
dmi.sys.vendor: PC Specialist LTD
CVE References
tags: | added: patch |
Changed in linux (Ubuntu Hirsute): | |
assignee: | nobody → Chris Chiu (mschiu77) |
Changed in linux (Ubuntu Impish): | |
assignee: | nobody → Chris Chiu (mschiu77) |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Hirsute): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in linux (Ubuntu Impish): | |
status: | New → Triaged |
description: | updated |
Changed in linux (Ubuntu Hirsute): | |
status: | Triaged → Fix Committed |
Changed in linux (Ubuntu Impish): | |
status: | Triaged → Fix Committed |
Changed in linux (Ubuntu Hirsute): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Impish): | |
status: | Fix Committed → Triaged |
tags: |
added: verification-done-hirsute removed: verification-needed-hirsute |
Changed in linux (Ubuntu Impish): | |
status: | Triaged → Fix Released |
Further information:
Booting the same laptop into MSWindows lets me insert SD cards whilst the system is running and it all works as expected. (So not a hardware problem).