Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #86559
| From | Bud Pennington <budpenn@shaw.ca> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1100746: linux-image-6.1.0-32-amd64: Fails to mount memory card on login |
| Date | 2025-03-23 00:20 +0100 |
| Message-ID | <Ktgid-7ZNl-3@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <KrxGx-6TNP-1@gated-at.bofh.it> <KrGTv-6ZGo-7@gated-at.bofh.it> <Kt1Cx-7Qw2-1@gated-at.bofh.it> <KrxGx-6TNP-1@gated-at.bofh.it> <Kt1Cx-7Qw2-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
Hi Salvatore
The patch worked. Thank you very much.
Bud
On 2025-03-22 00:27, Salvatore Bonaccorso wrote:
> Hi Bud,
>
> On Tue, Mar 18, 2025 at 08:06:39AM -0700, Bud Pennington wrote:
>> Hi
>>
>> I've attached the two files. Hopefully this is what you want. If not please
>> advise me how to get what you want. Incidentally this may be machine
>> specific. I tried a different card and it didn't work either but when I
>> tried them in a different laptop they appearedĀ when booted with 6.1.129-1.
> Thanks for providing the logs.
>
> While looking at those I noticed that a MCE is logged,
>
> mce: [Hardware Error]: Machine check events logged
> mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 4: a600000000020408
> mce: [Hardware Error]: TSC 0 ADDR fef4c9e0
> mce: [Hardware Error]: PROCESSOR 0:706a8 TIME 1742306754 SOCKET 0 APIC 0 microcode 24
>
> So I see the following difference, int the 6.128-1 log you have:
>
> [ 7.318288] mmc1: new ultra high speed SDR50 SDXC card at address 0001
> [ 7.320597] mmcblk1: mmc1:0001 00000 59.6 GiB
> [ 7.327986] mmcblk1: p1
> [...]
> [ 23.509687] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
>
> This does no appear in the 6.1.129 log.
>
> The card reader is mentioned as
>
> Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
>
> There is one change which is related and which is 6.1.129 applied:
>
> commit 93a56dbe12327e73c95ce8cd991c1335aebc8e1c
> Author: Sean Rhodes <sean@starlabs.systems>
> Date: Tue Nov 19 08:58:15 2024 +0000
>
> drivers/card_reader/rtsx_usb: Restore interrupt based detection
>
> commit 235b630eda072d7e7b102ab346d6b8a2c028a772 upstream.
>
> This commit reintroduces interrupt-based card detection previously
> used in the rts5139 driver. This functionality was removed in commit
> 00d8521dcd23 ("staging: remove rts5139 driver code").
>
> Reintroducing this mechanism fixes presence detection for certain card
> readers, which with the current driver, will taken approximately 20
> seconds to enter S3 as `mmc_rescan` has to be frozen.
>
> Fixes: 00d8521dcd23 ("staging: remove rts5139 driver code")
> Cc: stable@vger.kernel.org
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Sean Rhodes <sean@starlabs.systems>
> Link: https://lore.kernel.org/r/20241119085815.11769-1-sean@starlabs.systems
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>
> This commit was later reverted:
>
> commit 2397d61ee45cddb8f3bd3a3a9840ef0f0b5aa843
> Author: Christian Heusel <christian@heusel.eu>
> Date: Mon Feb 24 09:32:59 2025 +0100
>
> Revert "drivers/card_reader/rtsx_usb: Restore interrupt based detection"
>
> This reverts commit 235b630eda072d7e7b102ab346d6b8a2c028a772.
>
> This commit was found responsible for issues with SD card recognition,
> as users had to re-insert their cards in the readers and wait for a
> while. As for some people the SD card was involved in the boot process
> it also caused boot failures.
>
> Cc: stable@vger.kernel.org
> Link: https://bbs.archlinux.org/viewtopic.php?id=303321
> Fixes: 235b630eda07 ("drivers/card_reader/rtsx_usb: Restore interrupt based detection")
> Reported-by: qf <quintafeira@tutanota.com>
> Closes: https://lore.kernel.org/all/1de87dfa-1e81-45b7-8dcb-ad86c21d5352@heusel.eu
> Signed-off-by: Christian Heusel <christian@heusel.eu>
> Link: https://lore.kernel.org/r/20250224-revert-sdcard-patch-v1-1-d1a457fbb796@heusel.eu
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>
> The revert commit is in 6.14-rc6 and backported to 6.13.7, 6.12.19 *and*
> 6.1.131.
>
> So I believe it will be fixed with the next upload, but if you can I
> would appreciate if you would test a kernel build with the attached
> pach, to verify it fixes your issue. How you can do that with our
> simple-patching helper is documented at:
> https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#id-1.6.6.4
>
> Regards,
> Salvatore
Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#1100746: linux-image-6.1.0-32-amd64: Fails to mount memory card on login Bud Pennington <budpenn@shaw.ca> - 2025-03-18 06:30 +0100
Bug#1100746: linux-image-6.1.0-32-amd64: Fails to mount memory card on login Salvatore Bonaccorso <carnil@debian.org> - 2025-03-18 08:40 +0100
Processed: Re: Bug#1100746: linux-image-6.1.0-32-amd64: Fails to mount memory card on login "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-03-18 08:40 +0100
Bug#1100746: linux-image-6.1.0-32-amd64: Fails to mount memory card on login Salvatore Bonaccorso <carnil@debian.org> - 2025-03-22 08:40 +0100
Bug#1100746: linux-image-6.1.0-32-amd64: Fails to mount memory card on login Bud Pennington <budpenn@shaw.ca> - 2025-03-23 00:20 +0100
csiph-web