Like this one: Alcor Micro AU6625 PCI-E Flash card reader controller.
This hardware does not appear to be supported by the fedora kernel.
You can use lspci
(or lsusb
) with various options to identify the chipset used on that device then search for drivers available that support that device on fedora.
You’re right, there is driver.
But my device is still not working, and here is the dmesg log.
[ 1277.027503] pcieport 0000:00:1b.0: PCIe Bus Error: severity=Correctable, type=Data Link Layer, (Transmitter ID)
[ 1277.027506] pcieport 0000:00:1b.0: device [8086:a343] error status/mask=00001100/00002000
[ 1277.027509] pcieport 0000:00:1b.0: [ 8] Rollover
[ 1277.027512] pcieport 0000:00:1b.0: [12] Timeout
[ 1287.265270] alcor_sdmmc alcor_sdmmc.0: Timeout waiting for hardware interrupt.
[ 1287.266913] pcieport 0000:00:1b.0: AER: Correctable error message received from 0000:00:1b.0
[ 1287.266944] pcieport 0000:00:1b.0: PCIe Bus Error: severity=Correctable, type=Data Link Layer, (Transmitter ID)
[ 1287.266952] pcieport 0000:00:1b.0: device [8086:a343] error status/mask=00001000/00002000
[ 1287.266961] pcieport 0000:00:1b.0: [12] Timeout
[ 1287.269835] pcieport 0000:00:1b.0: AER: Multiple Correctable error message received from 0000:00:1b.0
[ 1287.271190] pcieport 0000:00:1b.0: PCIe Bus Error: severity=Correctable, type=Data Link Layer, (Transmitter ID)
[ 1287.271192] pcieport 0000:00:1b.0: device [8086:a343] error status/mask=00001000/00002000
[ 1287.271194] pcieport 0000:00:1b.0: [12] Timeout
[ 1287.271202] pcieport 0000:00:1b.0: AER: Correctable error message received from 0000:00:1b.0
[ 1287.272523] pcieport 0000:00:1b.0: AER: found no error details for 0000:00:1b.0
[ 1297.505598] alcor_sdmmc alcor_sdmmc.0: Timeout waiting for hardware interrupt.
[ 1297.507256] pcieport 0000:00:1b.0: AER: Correctable error message received from 0000:00:1b.0
[ 1297.507290] pcieport 0000:00:1b.0: PCIe Bus Error: severity=Correctable, type=Data Link Layer, (Transmitter ID)
[ 1297.507298] pcieport 0000:00:1b.0: device [8086:a343] error status/mask=00001000/00002000
[ 1297.507307] pcieport 0000:00:1b.0: [12] Timeout
See PCIe Bus Error Status 00001100 for an in-depth discussion of this common error. Note that the instructions to change the kernel command-line are outdated. After editing /etc/default/grub
, sudo grub2-mkconfig -o /boot/grub2/grub.cfg
is needed to apply the change.
But this doesn’t solve the problem that the sd card reader is unusable.
It still reports an error: alcor_sdmmc alcor_sdmmc.0: Timeout waiting for hardware interrupt.
Please show us cat /proc/cmdline
to verify that there are no typos. Do you still get the same device [8086:a343] error status/mask=00001100/00002000
messages.
No, there is no such message.
But the error remains: alcor_sdmmc alcor_sdmmc.0: Timeout waiting for hardware interrupt.
.
What card do you have? Is it listed in Working/Non-working SD cards.
Memory Card Errors has a list of things to try when memory card has problems (assumes you have access to Windows).
I’m not using them on my raspberry pie. In addition, these sd cards can boot into the system on raspberry pie, so there is no problem with the cards themselves.
And there is no problem with the card reader because it works on Windows.
Also, yes, at least one of the sd cards is on the list, but I’ve tried every one of them.
lsmod
command can provide insight into which drivers are currently loaded into the kernel.
If you don’t see alcor_sdmmc
in the list, it suggests that the driver for your Alcor Micro AU6625 PCI-E flash card reader controller is not loaded, You can manually load the driver module, with the modprobe
command followed by the module name. For example:
sudo modprobe alcor_sdmmc
try that and tell us what you have.
Also, you have not given us any other information as to your hardware. I see a previous post that mentions you have a RaspberryPi ?
Module alcor_sdmmc not found in directory /lib/modules/6.8.5-301.fc40.x86_64
The device driver should be alcor_pci
. And it’s already loaded.
This card reader is built into the computer.
As for the raspberry pie, it has nothing to do with it. I just use it to show that there is nothing wrong with the sd card itself.
Many card readers have a *_pci
or *_usb
module that connects to a *_sdmmc
module. Alcor MMC module indicates that alcor_sdmmc
is available in recent kernels, but here on 6.8.6-200.fc39.x86_64 I have alcor_pci
but no alcor_sdmmc
. Can you show us modinfo for both those modules?
Which two modules? I don’t have this sdmmc module.
It does appear in an error message:
The same message appears at Stack Exchange, also for Fedora 39.
Here:
% xz -dc /lib/modules/6.8.6-200.fc39.x86_64/kernel/drivers/misc/cardreader/alcor_pci.ko.xz |strings | grep sdmmc
alcor_sdmmc
So what am I supposed to do? Because it is built-in to the equipment, it can’t be said to “change it”.
We need to figure out why your system doesn’t load the required alcor
module, aka alcor_sdmmc
:
Here (now on F40):
~% modinfo alcor
filename: /lib/modules/6.8.7-300.fc40.x86_64/kernel/drivers/mmc/host/alcor.ko.xz
license: GPL
description: PCI driver for Alcor Micro AU6601 Secure Digital Host Controller Interface
author: Oleksij Rempel <linux@rempel-privat.de>
rhelversion: 9.99
alias: platform:alcor_sdmmc
depends: mmc_core,alcor_pci
retpoline: Y
intree: Y
name: alcor
vermagic: 6.8.7-300.fc40.x86_64 SMP preempt mod_unload
sig_id: PKCS#7
signer: Fedora kernel signing key
sig_key: 59:E3:24:69:AD:C4:17:C9:57:2A:67:D2:DA:F3:83:01:EF:78:BE:7A
sig_hashalgo: sha256
signature: 5B:2E:60:F8:48:18:55:D1:2C:81:8D:D1:0E:A0:D8:C7:5E:94:4A:4B:
[...]
70:F5:B6:28:88:1C:AD:A7:50:2F:A8:01
Try the following search:
% grep alcor /lib/modules/$(uname -r)/modules.alias
alias pci:v00001AEAd00006625sv*sd*bc*sc*i* alcor_pci
alias pci:v00001AEAd00006621sv*sd*bc*sc*i* alcor_pci
alias pci:v00001AEAd00006601sv*sd*bc*sc*i* alcor_pci
alias platform:alcor_sdmmc alcor
I’m not familiar with the platform:
notation, but dogs are lobbying for their morning walk, so further research will have to wait.
[edit] fix typos and shorten the preformatted test block for readability.
They’re creatures of habit.
My search results are the same as yours.
Try: modprobe -n -v platform:alcor_sdmmc
. Here:
% modprobe -n -v platform:alcor_sdmmc
insmod /lib/modules/6.8.7-300.fc40.x86_64/kernel/drivers/mmc/core/mmc_core.ko.xz
insmod /lib/modules/6.8.7-300.fc40.x86_64/kernel/drivers/misc/cardreader/alcor_pci.ko.xz
insmod /lib/modules/6.8.7-300.fc40.x86_64/kernel/drivers/mmc/host/alcor.ko.xz
It didn’t get anything.