

I notice you have a ton of soft lockup complaints that seem to be related to the nouveau driver. If 07:00.0 still exists after removal, I would guess the reinsertion problem is in sdhci, not in the PCI core. Does an "lspci" after removing the card still show the 07:00.0 device? Can you change config space values, e.g., the PCI_COMMAND register? I expect that an "lspci" before inserting the card will not show the 07:00.0 sdhci device. Perhaps it remains active as a PCI device. I don't know what the expected behavior of the sdhci device is after removal. Even after updating the BIOS and reinstalling card driver. 13-1 Card Readers will sometimes hang with the Green LED illumunated when a memory card is removed, especially if the Card Reader is still reading. I used it yesterday only to test a newly corrupted Sandisk Ultra 64GB MicroSDXC card (about 2 years old) from my cell phone. I have never had a need to use the card reader so far. There's no PCI hot-remove event, and there's no re-insertion event from sdhci. My (purchased new) has been working great since I bought it last year. FAT-fs (mmcblk0p1): Volume was not properly unmounted. I assume the "bad" log was collected after a removal and reinsertion. sdhci-pci 0000:07:00.0: SDHCI controller found The "good" log shows shows a hot-add of 0000:07:00.0 (as well as functions 2, 3, and 4), and successful detection of a new card by sdhci: If I understand correctly, the logs in comment #12 and comment #13 are from a single boot.

The original report was that "inserting a sd card into the internal card reader is not recognized by the system." In attachment 72808 (original dmesg without "rescan" workaround), there is no mention of sdhci or any devices on PCI bus 0000:07.
