You are not logged in.

#1 2024-07-14 02:49:55

Anony324
Member
Registered: 2023-07-11
Posts: 17

SD Card Reader not detecting

I have a HP Pavilion Gaming Laptop-dk1xxx running Kernel: 6.6.38-1-lts

My laptop does recognize my card reader:
08:00.0 Unassigned class [ff00]: Alcor Micro AU6625 PCI-E Flash card reader controller [1aea:6625]
    Subsystem: Hewlett-Packard Company Device [103c:8742]
    Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 18
    Region 0: Memory at 95200000 (64-bit, non-prefetchable) [disabled] [size=4K]
    Capabilities: <access denied>
    Kernel driver in use: alcor_pci
    Kernel modules: alcor_pci


This is the dmesg
[  156.787144] alcor_sdmmc alcor_sdmmc.0: Timeout waiting for hardware interrupt.
[  166.814474] alcor_sdmmc alcor_sdmmc.0: Timeout waiting for hardware interrupt.
[  176.841630] alcor_sdmmc alcor_sdmmc.0: Timeout waiting for hardware interrupt.
[  186.868986] alcor_sdmmc alcor_sdmmc.0: Timeout waiting for hardware interrupt.
[  196.896187] alcor_sdmmc alcor_sdmmc.0: Timeout waiting for hardware interrupt.
[  206.923480] alcor_sdmmc alcor_sdmmc.0: Timeout waiting for hardware interrupt.


and it does not get detected in my lsblk and fdisk

Offline

#2 2024-07-14 05:10:35

cryptearth
Member
Registered: 2024-02-03
Posts: 2,167

Re: SD Card Reader not detecting

Offline

#3 2024-07-14 05:35:28

Anony324
Member
Registered: 2023-07-11
Posts: 17

Re: SD Card Reader not detecting

@cryptearth its another issue both are different

Offline

#4 2024-07-14 11:38:55

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,065

Re: SD Card Reader not detecting

Anony324, please make clear that this is a different issue .

One way to do that is to insert a working sd-card of a standard type and well-known brand.
Then post the output of lsblk -f, fdisk and dmesg -T | tail -n 200 .
(run the last 2 as root)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2024-07-17 09:11:34

Anony324
Member
Registered: 2023-07-11
Posts: 17

Re: SD Card Reader not detecting

Lone_Wolf
sudo dmesg -T | tail -n 200

http://0x0.st/X9mQ.txt


This is my full dmesg http://0x0.st/X9mj.txt



└─[$] <> lsblk -f

NAME        FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                               
├─sda1      ntfs         DATA  0A06BA3E06BA2B19                                   
├─sda2      ext4   1.0         aa46300f-7566-4829-b907-ca7b97028787               
├─sda3      ext4   1.0   Win   461e86b6-37c1-48ff-ac89-a19cef69a262               
├─sda4      ext4   1.0   Virt  44d3a77c-30e7-45c9-aed5-fceabd94116f               
└─sda5      ext4   1.0         88035348-c9d9-4e1e-b50c-0232e3aa014b               
zram0                                                                              [SWAP]
nvme0n1                                                                           
├─nvme0n1p1 vfat   FAT32       9C61-F9C6                             767.7M    25% /boot
└─nvme0n1p2 btrfs              76527ae0-fc0b-4fdb-80f6-803d183081d7  171.4G    27% /var/log
                                                                                   /home
                                                                                   /var/cache/pacman/pkg
                                                                                   /.snapshots
                                                                                   /


└─[$] <> sudo fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPSX-60A
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 7B54245D-D29D-4598-870D-3273855A7960

Device          Start        End   Sectors   Size Type
/dev/sda1        2048  724723711 724721664 345.6G Microsoft basic data
/dev/sda2   724723712 1134323711 409600000 195.3G Linux filesystem
/dev/sda3  1134323712 1543923711 409600000 195.3G Linux filesystem
/dev/sda4  1543923712 1750405119 206481408  98.5G Linux filesystem
/dev/sda5  1750405120 1953523711 203118592  96.9G Linux filesystem


Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SK hynix PC601 HFS256GD9TNG-L2A0A       
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 71EC4516-F9E0-4848-992E-BCE2CDC51453

Device           Start       End   Sectors   Size Type
/dev/nvme0n1p1    2048   2099199   2097152     1G EFI System
/dev/nvme0n1p2 2099200 500116143 498016944 237.5G Linux filesystem


Disk /dev/zram0: 3.71 GiB, 3981443072 bytes, 972032 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Offline

#6 2024-07-17 12:44:25

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,065

Re: SD Card Reader not detecting

Please edit your post to use code-tags , https://bbs.archlinux.org/help.php#bbcode

[    2.980034] alcor_pci 0000:08:00.0: enabling device (0000 -> 0002)

[    2.981572] alcor_pci 0000:08:00.0: can't disable ASPM; OS doesn't have ASPM control

[  145.797335] alcor_sdmmc alcor_sdmmc.0: Timeout waiting for hardware interrupt.
[  145.801315] pcieport 0000:00:1d.6: AER: Corrected error message received from 0000:00:1d.6
[  145.801344] pcieport 0000:00:1d.6: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[  145.801349] pcieport 0000:00:1d.6:   device [8086:06b6] error status/mask=00001000/00002000
[  145.801356] pcieport 0000:00:1d.6:    [12] Timeout               
[  155.823132] alcor_sdmmc alcor_sdmmc.0: Timeout waiting for hardware interrupt.

In theory AER corrected errors should not have bad results, and the address is not that of the alcor device.
In practice however AER data link layer errors  very often indicate low level communinication problems .

Try appending  this kernel parameter   pcie_aspm=off to your bootcommand line .
(how to do that depends on your chosen bootloader )


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2024-07-17 13:47:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,837

Re: SD Card Reader not detecting

[    0.092919] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.192298] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]
[    0.194433] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration
[    2.981572] alcor_pci 0000:08:00.0: can't disable ASPM; OS doesn't have ASPM control
[    5.701133] r8169 0000:07:00.0: can't disable ASPM; OS doesn't have ASPM control

https://linux-hardware.org/?probe=412bc51f72
https://unix.stackexchange.com/question … oesnt-work
https://linux-hardware.org/?probe=412bc51f72

Have you already tried the non-lts kernel?

Online

#8 2024-07-18 01:30:11

Anony324
Member
Registered: 2023-07-11
Posts: 17

Re: SD Card Reader not detecting

Even after changing to pcie_aspm=off, my SD card reader is not detecting.

This is my output from cat /proc/cmdline:

BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=76527ae0-fc0b-4fdb-80f6-803d183081d7 rw rootflags=subvol=@ zswap.enabled=0 rootfstype=btrfs loglevel=3 quiet nvidia-drm.modeset=1 pcie_aspm=off

This is my dmesg:
http://0x0.st/X9_8.txt

Offline

#9 2024-07-18 06:20:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,837

Re: SD Card Reader not detecting

As pointed out in #7, your system doesn't support aspm anyway and the error/problem is/was somewhat common w/ that hardware.
Did you try the non-lts kernel?

Online

#10 2024-07-18 08:02:03

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,065

Re: SD Card Reader not detecting

There heve been enough examples where disabling pcie_aspm explicitly has a different (better) effect then acpi trying to auto-disable it.
In my opnion it was worth a try.

Added:

Anony324, are you using latest firmware for the laptop ?

Last edited by Lone_Wolf (2024-07-18 08:05:30)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#11 2024-07-19 08:23:42

Anony324
Member
Registered: 2023-07-11
Posts: 17

Re: SD Card Reader not detecting

Kernel Versions

Here are the kernel versions along with their respective dmesg:

Version 6.9.9-arch1-1

uname -r
6.9.9-arch1-1

dmesg

Version 6.6.40-1-lts

uname -r
6.6.40-1-lts

dmesg

Offline

#12 2024-07-19 09:44:05

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,065

Re: SD Card Reader not detecting

[    0.000000] DMI: HP HP Pavilion Gaming Laptop 15-dk1xxx/8742, BIOS F.43 12/16/2022

https://support.hp.com/gb-en/drivers/hp … s/32885566

You'll have to check against the exact model of your laptop, but it does look like there's a later firmware.
Do you still have windows installed ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#13 2024-07-20 05:38:10

Anony324
Member
Registered: 2023-07-11
Posts: 17

Re: SD Card Reader not detecting

I guess the latest version of the BIOS is F.47 Rev.A

This is my laptop - 15-dk1514TX

I don't have Windows installed right now.

Offline

#14 2024-07-20 07:00:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,837

Re: SD Card Reader not detecting

The driver wants to deactivate the APM but can't because it's not handed to the OS and it's waiting for interrupts that won't appear.

1. Lie. Maybe the firmeware is more gentle when it believes to run windows.

acpi_osi=! acpi_osi="Windows 2022"

https://learn.microsoft.com/en-us/windo … inacpi-osi

2. disable MSI

pci=nomsi pcie_pme=nomsi

3. Assuming this triggers a bad code path in the driver, you could try "pcie_aspm=force" - I'm not putting that in code tags because nb.

The kernel docs wrote:

WARNING: Forcing ASPM on may cause system lockups.

this is somewhat dicy and idk whether you could end up bricking the HW (resp. having to flash the BIOS in HW)

https://wiki.archlinux.org/title/Kernel_parameters

Online

#15 2024-08-05 13:32:26

Anony324
Member
Registered: 2023-07-11
Posts: 17

Re: SD Card Reader not detecting

Hey sorry for late reply had some health issue's

Tried doing this

acpi_osi=! acpi_osi="Windows 2022"

No idea why my trackpad was not working had to use external mouse only

and disable of MSI also does not work

So should i do the pcie_aspm=force

Offline

Board footer

Powered by FluxBB