Linux MultiMedia Card development
 help / color / mirror / Atom feed
From: "Philipp Jonas" <pjjonas@web.de>
To: "Thorsten Leemhuis" <regressions@leemhuis.info>,
	"Philipp" <pjjonas@web.de>, <linux-mmc@vger.kernel.org>
Cc: <regressions@lists.linux.dev>,
	"Sean Rhodes" <sean@starlabs.systems>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Ulf Hansson" <ulfh@kernel.org>
Subject: Re: [REGRESSION] rtsx_usb_sdmmc: RTS5129 (0bda:0129) no longer detects SD card
Date: Sat, 14 Nov 2026 21:53:41 +0100	[thread overview]
Message-ID: <DMV8DI3F257U.DPLVLW2DZC3Z@web.de> (raw)
In-Reply-To: <eb52777b-8607-427b-a709-cf1ab76ef672@leemhuis.info>

On Wed Nov 11, 2026 at 10:06 AM CET, Thorsten Leemhuis wrote:
> On 11/8/26 19:51, Philipp wrote:
>> 
>> the SD card in the internal Realtek RTS5129 USB card reader
>> (0bda:0129) of my Lenovo V110-15IKB is no longer detected.
>> 
>> Works:  6.12.116, 7.2.x
>> Broken: 6.18.x, 7.3.3
>> 
>> On broken kernels rtsx_usb and rtsx_usb_sdmmc load and the platform
>> devices rtsx_usb_sdmmc.0.auto / rtsx_usb_ms.1.auto exist, but no
>> mmc host/card appears (no mmc0, no mmcblk0) and there are no errors
>> in dmesg. Reloading rtsx_usb / rtsx_usb_sdmmc, re-inserting the card
>> and disabling USB autosuspend (power/control=on) do not help.
>> 
>> Since 7.2.x worked but 6.18.x does not, I suspect a change that was
>> backported to stable.
>
> Might, but might not -- and I wonder if you have two bugs, some race, or
> if some .config setting is disturbing something. Overall this situations
> is somewhat puzzling. The best way to bring some light into this is afaics:
>
> Check if 7.2 is working; if it is, bisect between that and 7.3.3; of
> not, bisect between 7.2 and 7.2.x to find what fixes things. And ensure
> to use the same .config as a base during the bisection, as explained here:
> https://docs.kernel.org/admin-guide/verify-bugs-and-bisect-regressions.html
>
> dmesg outputs from a working and a not-that-different version that is
> broken (say 7.2 and 7.3.3) would be helpful, too.
>
> Ciao, Thorsten

I found the culprit:

  7185b6d33b17 ("mmc: rtsx_usb_sdmmc: suppress false CD after init timeout")

Reverting just that commit on top of 7.3.4 fixes it. Same kernel
version and config, the revert being the only difference:

  7.3.4:           card not detected
  7.3.4 + revert:  card detected again

dmesg with the revert:

[    4.133620] usbcore: registered new interface driver rtsx_usb
[    5.582812] mmc0: new high speed SD card at address b368
[    5.638774] mmcblk0: mmc0:b368 SD 1.90 GiB

Without the revert, nothing card related shows up after the
rtsx_usb line.

Hardware: Lenovo V110-15IKB, internal Realtek RTS5129 (0bda:0129),
no tray, plain SD slot. The card is permanently inserted and holds
a LUKS key, so it has to be detected during boot.

Judging from the commit message, I assume an init command times out
before the card is attached, suppress_cd gets set, and as the card
is never removed, raw SD_CD never drops and the suppression is never
cleared. Note that physically removing and re-inserting the card on
7.3.3 did not bring it back either, so the clearing path does not
seem to work here as intended.

Sean, Greg, Ulf: CCing you as author/acker/committer.
Happy to test patches.

#regzbot introduced: 7185b6d33b17

Philipp

      parent reply	other threads:[~2026-11-14 20:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-08 18:51 [REGRESSION] rtsx_usb_sdmmc: RTS5129 (0bda:0129) no longer detects SD card Philipp
2026-11-11  9:06 ` Thorsten Leemhuis
2026-11-14 19:25   ` Philipp Jonas
2026-11-14 19:43   ` Philipp Jonas
2026-11-14 20:53   ` Philipp Jonas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DMV8DI3F257U.DPLVLW2DZC3Z@web.de \
    --to=pjjonas@web.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    --cc=sean@starlabs.systems \
    --cc=ulfh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox