Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664880 - recent kernels since 4.17 do not recognize the reader of MMC/SD cards in my laptop
Summary: recent kernels since 4.17 do not recognize the reader of MMC/SD cards in my l...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-30 13:03 UTC by Jiri Pittner
Modified: 2021-08-23 22:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.gz (config.gz,33.34 KB, application/gzip)
2018-08-30 13:03 UTC, Jiri Pittner
Details
new config.gz (config.gz,33.36 KB, application/gzip)
2018-08-31 13:52 UTC, Jiri Pittner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Pittner 2018-08-30 13:03:17 UTC
Created attachment 545504 [details]
config.gz

The last kernel which provided /dev/mmcblk0 was 4.16.11. The newer ones,
4.17.x up to 4.18.5 seem not to recognize the hardware. Excerpt from dmesg:
dmesg|grep -i mmc
[    0.033293] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.033743] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
[    4.542457] wbsd: Winbond W83L51xD SD/MMC card interface driver
[    5.011354] sr 1:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray

When updating kernels, I always used 'make oldconfig'. Is perhaps some other
kernel config parameter needed now?

emerge --info
Portage 2.3.48 (python 3.4.8-final-0, default/linux/amd64/17.0, gcc-8.2.0, glibc-2.26-r7, 4.18.5-gentoo x86_64)
=================================================================
System uname: Linux-4.18.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-4810MQ_CPU_@_2.80GHz-with-gentoo-2.4.1
KiB Mem:    16334936 total,   2038488 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Thu, 30 Aug 2018 12:00:01 +0000
Head commit of repository gentoo: 3e0b076575212a2feba8cb81232fbd9bb8a04007
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo, 2.30-r2::gentoo
sys-devel/gcc:            4.5.4::gentoo, 4.8.5::gentoo, 4.9.3::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0-r3::gentoo, 7.2.0-r1::gentoo, 7.3.0-r4::gentoo, 8.2.0-r2::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 1

crossdev
    location: /opt/portage
    masters: gentoo science
    priority: 2

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -fno-omit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb /var/lib/i2pd/certificates"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -fno-omit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.supp.name/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://147.251.48.205/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://86.49.49.49/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://141.76.119.131/pub/mirrors/gentoo ftp://ftp.sh.cvut.cz/MIRRORS/gentoo ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.supp.name/ rsync://gentoo.mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/scratch/tmp"
USE="X acl aes alsa amd64 berkdb bzip2 cli crypt cxx dri fortran gcj gdbm hal iconv ipv6 lapack latex libtirpc linguas_cs linguas_de linguas_en linguas_nl linguas_sk mbox mmx modules multilib multislot ncurses nls nptl openmp pam pcre readline seccomp sse sse2 sse3 sse4 ssl static-libs systemtap tcpd tetex unicode xattr zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau vesa nv fbdev v4l vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jiri Pittner 2018-08-30 13:58:12 UTC
Older kernels where the sd cards worked reported this:


[    0.032047] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.033006] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
[    4.561314] wbsd: Winbond W83L51xD SD/MMC card interface driver
[    5.035380] sr 1:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[   43.100605] mmc0: cannot verify signal voltage switch
[   43.207420] mmc0: new ultra high speed SDR50 SDHC card at address 0001
[   43.207532] mmcblk0: mmc0:0001 00000 29.8 GiB 
[   43.216928]  mmcblk0: p1
Comment 2 Tomáš Mózes 2018-08-30 15:11:05 UTC
What hardware is that please? Maybe try to check https://bugzilla.kernel.org if you find it reported already.
Comment 3 Tomáš Mózes 2018-08-30 15:12:00 UTC
Did you try the latest stable vanilla kernel as well?
Comment 4 Mike Pagano gentoo-dev 2018-08-30 15:48:17 UTC
Can you attach the output of lspci -v without compressing the file?
Comment 5 Jiri Pittner 2018-08-31 10:48:55 UTC
The hardware is HP Z-book 15, about 3 years old model.

I did not try sys-kernel/vanilla-sources, can test it over weekend.

lspci -v:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
        Subsystem: Hewlett-Packard Company Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel modules: ie31200_edac

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 24
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00005000-00005fff [size=4K]
        Memory behind bridge: d1000000-d20fffff [size=17M]
        Prefetchable memory behind bridge: 0000000070000000-0000000081ffffff [size=288M]
        Capabilities: [88] Subsystem: Hewlett-Packard Company Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [a0] Express Root Port (Slot+), MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [140] Root Complex Link
        Capabilities: [d94] #19
        Kernel driver in use: pcieport

00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04) (prog-if 30 [XHCI])
        Subsystem: Hewlett-Packard Company 8 Series/C220 Series Chipset Family USB xHCI
        Flags: medium devsel, IRQ 16
        Memory at d2120000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [70] Power Management version 2
        Capabilities: [80] MSI: Enable- Count=1/8 Maskable- 64bit+

00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
        Subsystem: Hewlett-Packard Company 8 Series/C220 Series Chipset Family MEI Controller
        Flags: bus master, fast devsel, latency 0, IRQ 32
        Memory at d2138000 (64-bit, non-prefetchable) [size=16]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
        Subsystem: Hewlett-Packard Company Ethernet Connection I217-LM
        Flags: bus master, fast devsel, latency 0, IRQ 31
        Memory at d2100000 (32-bit, non-prefetchable) [size=128K]
        Memory at d213a000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 6040 [size=32]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [e0] PCI Advanced Features
        Kernel driver in use: e1000e

00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04) (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company 8 Series/C220 Series Chipset Family USB EHCI
        Flags: bus master, medium devsel, latency 0, IRQ 16
        Memory at d2136000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
        Subsystem: Hewlett-Packard Company 8 Series/C220 Series Chipset High Definition Audio Controller
        Flags: bus master, fast devsel, latency 0, IRQ 34
        Memory at d2130000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 25
        Bus: primary=00, secondary=02, subordinate=3a, sec-latency=0
        I/O behind bridge: 00002000-00002fff [size=4K]
        Memory behind bridge: b4000000-ca0fffff [size=353M]
        Prefetchable memory behind bridge: 0000000090000000-00000000b1ffffff [size=544M]
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Hewlett-Packard Company 8 Series/C220 Series Chipset Family PCI Express Root Port
        Capabilities: [a0] Power Management version 3
        Kernel driver in use: pcieport

00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 26
        Bus: primary=00, secondary=3b, subordinate=5f, sec-latency=0
        I/O behind bridge: 00003000-00004fff [size=8K]
        Memory behind bridge: cc000000-d01fffff [size=66M]
        Prefetchable memory behind bridge: 0000000060100000-00000000606fffff [size=6M]
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Hewlett-Packard Company 8 Series/C220 Series Chipset Family PCI Express Root Port
        Capabilities: [a0] Power Management version 3
        Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04) (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company 8 Series/C220 Series Chipset Family USB EHCI
        Flags: bus master, medium devsel, latency 0, IRQ 17
        Memory at d2135000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation QM87 Express LPC Controller (rev 04)
        Subsystem: Hewlett-Packard Company QM87 Express LPC Controller
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
        Subsystem: Hewlett-Packard Company 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 30
        I/O ports at 6068 [size=8]
        I/O ports at 6074 [size=4]
        I/O ports at 6060 [size=8]
        I/O ports at 6070 [size=4]
        I/O ports at 6020 [size=32]
        Memory at d2134000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
        Subsystem: Hewlett-Packard Company 8 Series/C220 Series Chipset Family SMBus Controller
        Flags: medium devsel, IRQ 18
        Memory at d2137000 (64-bit, non-prefetchable) [size=256]
        I/O ports at ef80 [size=32]
        Kernel driver in use: i801_smbus

01:00.0 VGA compatible controller: NVIDIA Corporation GK106GLM [Quadro K2100M] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company GK106GLM [Quadro K2100M]
        Flags: bus master, fast devsel, latency 0, IRQ 35
        Memory at d1000000 (32-bit, non-prefetchable) [size=16M]
        Memory at 70000000 (64-bit, prefetchable) [size=256M]
        Memory at 80000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 5000 [size=128]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900] #19
        Kernel driver in use: nvidia
        Kernel modules: nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation GK106 HDMI Audio Controller (rev a1)
        Subsystem: Hewlett-Packard Company GK106 HDMI Audio Controller
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at d2000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

3b:00.0 PCI bridge: Pericom Semiconductor Device 2404 (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=3b, secondary=3c, subordinate=5f, sec-latency=0
        I/O behind bridge: 00003000-00004fff [size=8K]
        Memory behind bridge: cc000000-d01fffff [size=66M]
        Prefetchable memory behind bridge: 0000000060100000-00000000606fffff [size=6M]
        Capabilities: [40] Power Management version 3
        Capabilities: [5c] Vital Product Data
        Capabilities: [64] Vendor Specific Information: Len=34 <?>
        Capabilities: [b0] Subsystem: Pericom Semiconductor Device 2404
        Capabilities: [c0] Express Upstream Port, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [20c] Power Budgeting <?>
        Capabilities: [230] Latency Tolerance Reporting

3c:01.0 PCI bridge: Pericom Semiconductor Device 2404 (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 27
        Bus: primary=3c, secondary=3d, subordinate=3d, sec-latency=0
        I/O behind bridge: None
        Memory behind bridge: d0100000-d01fffff [size=1M]
        Prefetchable memory behind bridge: None
        Capabilities: [40] Power Management version 3
        Capabilities: [4c] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [64] Vendor Specific Information: Len=34 <?>
        Capabilities: [b0] Subsystem: Pericom Semiconductor Device 2404
        Capabilities: [c0] Express Downstream Port (Slot-), MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [20c] Power Budgeting <?>
        Capabilities: [220] Access Control Services
        Kernel driver in use: pcieport

3c:02.0 PCI bridge: Pericom Semiconductor Device 2404 (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 28
        Bus: primary=3c, secondary=3e, subordinate=5e, sec-latency=0
        I/O behind bridge: 00003000-00004fff [size=8K]
        Memory behind bridge: cc000000-cfffffff [size=64M]
        Prefetchable memory behind bridge: 0000000060100000-00000000602fffff [size=2M]
        Capabilities: [40] Power Management version 3
        Capabilities: [4c] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [64] Vendor Specific Information: Len=34 <?>
        Capabilities: [b0] Subsystem: Pericom Semiconductor Device 2404
        Capabilities: [c0] Express Downstream Port (Slot+), MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [20c] Power Budgeting <?>
        Capabilities: [220] Access Control Services
        Kernel driver in use: pcieport

3c:03.0 PCI bridge: Pericom Semiconductor Device 2404 (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 29
        Bus: primary=3c, secondary=5f, subordinate=5f, sec-latency=0
        I/O behind bridge: None
        Memory behind bridge: d0000000-d00fffff [size=1M]
        Prefetchable memory behind bridge: 0000000060300000-00000000604fffff [size=2M]
        Capabilities: [40] Power Management version 3
        Capabilities: [4c] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [64] Vendor Specific Information: Len=34 <?>
        Capabilities: [b0] Subsystem: Pericom Semiconductor Device 2404
        Capabilities: [c0] Express Downstream Port (Slot+), MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [20c] Power Budgeting <?>
        Capabilities: [220] Access Control Services
        Kernel driver in use: pcieport

3d:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
        Subsystem: Intel Corporation Dual Band Wireless-N 7260
        Flags: bus master, fast devsel, latency 0, IRQ 33
        Memory at d0100000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number a4-c4-94-ff-ff-97-f6-99
        Capabilities: [14c] Latency Tolerance Reporting
        Capabilities: [154] Vendor Specific Information: ID=cafe Rev=1 Len=014 <?>
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

5f:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader (rev 01)
        Subsystem: Hewlett-Packard Company RTS5249 PCI Express Card Reader
        Physical Slot: 0-2
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at d0000000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Device Serial Number 00-00-00-01-00-4c-e0-00
        Capabilities: [158] Latency Tolerance Reporting
        Capabilities: [160] L1 PM Substates
Comment 6 Mike Pagano gentoo-dev 2018-08-31 13:39:50 UTC
Let's first try a few things before we decide we need to go upstream with this.

Jiri, can you enable the config option "CONFIG_MISC_RTSX_PCI" recompile, boot and tell me if that makes a difference?
Comment 7 Jiri Pittner 2018-08-31 13:52:40 UTC
Created attachment 545598 [details]
new config.gz

Rebooting to 4.18.5-gentoo with CONFIG_MISC_RTSX_PCI=y
(and Y or M on subsequent questions) did not solve it.

[    0.029758] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.030008] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
[    4.541601] wbsd: Winbond W83L51xD SD/MMC card interface driver
[    5.010342] sr 1:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
Comment 8 Mike Pagano gentoo-dev 2018-08-31 14:56:27 UTC
I've seen reports, and they don't make sense to me, but you can leave that setting and add : CONFIG_MISC_RTSX_USB
Comment 9 Jiri Pittner 2018-10-01 16:56:12 UTC
In the meantime I upgraded to 4.18.11 - bug is still present both in
gentoo and vanilla versions. 

CONFIG_MISC_RTSX_USB did not help either.
Comment 10 Francesco Turco 2019-11-03 13:03:04 UTC
@Jiri Pittner: can you still reproduce this issue with a recent kernel?
Comment 11 Jiri Pittner 2019-11-05 16:22:24 UTC
Yes, still I have no /dev/mmc* device with 5.3.8-gentoo 
Jiri
Comment 12 Mike Pagano gentoo-dev 2020-07-21 22:27:06 UTC
Have you tried a live cd, maybe a rescue cd, or another distribution's live cd to see if it works?
Comment 13 Jiri Pittner 2020-08-24 15:11:34 UTC
I tried now freshly downloaded gentoo install live image
and it does not recognize the device either. I can try other distros too.
Comment 14 Jiri Pittner 2020-08-24 15:31:31 UTC
Just tried Knoppix 8.6.1. It also displays the message
wbsd: Winbond W83L51xD SD/MMC card interface driver
on kernel log, but does not create any /dev/mmc* files either.
Comment 15 Mike Pagano gentoo-dev 2021-08-23 22:31:10 UTC
If this is still an issue, can you file a bug upstream and then paste the URL here. Upstream is still listing this as maintained, you should have better luck there.