Bug 238570 - FreeBSD 12 does not work with sd card reader
Summary: FreeBSD 12 does not work with sd card reader
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.0-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-15 01:13 UTC by Slava
Modified: 2019-06-19 09:48 UTC (History)
0 users

See Also:


Attachments
dmesg (119.52 KB, text/plain)
2019-06-15 01:13 UTC, Slava
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Slava 2019-06-15 01:13:20 UTC
Created attachment 205066 [details]
dmesg

Good afternoon, dear FreeBSD technical support!

I have the following problem: my small computer with FreeBSD 12 installed on it cannot work with the built-in card reader. Help, please solve this problem!


Error messages:

/var/log/messages
Jun 14 16:00:00 dc newsyslog[3194]: logfile turned over due to size>1000K
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD24 arg 0x71d2e flags 0x35 data 512
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6814e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x68b280 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a550 flags 0x35 data 4096
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD24 arg 0x71d2f flags 0x35 data 512
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6814e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a9a8 flags 0x35 data 8192
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a9a8 flags 0x35 data 8192
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 

...
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a9a8 flags 0x35 data 16384
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x6815e8 flags 0x35 data 32768
Jun 14 16:00:00 dc kernel: mmc1: REQUEST: CMD25 arg 0x69a9a8 flags 0x35 data 
...

Jun 14 19:04:18 dc kernel: usb_alloc_device: set address 3 failed (USB_ERR_TIMEOUT, ignored)
Jun 14 19:04:18 dc kernel: usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT
Jun 14 19:04:18 dc kernel: usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored)
Jun 14 19:04:18 dc kernel: usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT
Jun 14 19:04:18 dc kernel: usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored)
Jun 14 19:04:18 dc kernel: usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT
Jun 14 19:04:18 dc kernel: usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored)
Jun 14 19:04:18 dc kernel: usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Controller timeout
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: ============== REGISTER DUMP ==============
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Sys addr: 0x00000000 | Version:  0x00001002
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Present:  0x01fa0001 | Host ctl: 0x00000001
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Power:    0x0000000e | Blk gap:  0x00000080
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Wake-up:  0x00000000 | Clock:    0x0000fa07
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Caps:     0x7568c881 | Caps2:    0x00002807
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: ===========================================
Jun 14 19:04:18 dc kernel: usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_TIMEOUT, ignored)
Jun 14 19:04:18 dc kernel: usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_TIMEOUT
Jun 14 19:04:18 dc kernel: ugen0.3: <Unknown > at usbus0 (disconnected)
Jun 14 19:04:18 dc kernel: uhub_reattach_port: could not allocate new device
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Controller timeout
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: ============== REGISTER DUMP ==============
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Sys addr: 0x00000000 | Version:  0x00001002
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Present:  0x01fa0001 | Host ctl: 0x00000001
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Power:    0x0000000e | Blk gap:  0x00000080
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Wake-up:  0x00000000 | Clock:    0x0000fa07
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Caps:     0x7568c881 | Caps2:    0x00002807
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: ===========================================
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Controller timeout
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: ============== REGISTER DUMP ==============
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Sys addr: 0x00000000 | Version:  0x00001002
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Present:  0x01fa0001 | Host ctl: 0x00000001
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Power:    0x0000000e | Blk gap:  0x00000080
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Wake-up:  0x00000000 | Clock:    0x0000fa07
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Caps:     0x7568c881 | Caps2:    0x00002807
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
Jun 14 19:04:18 dc kernel: sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
Comment 1 Slava 2019-06-19 09:48:47 UTC
Good afternoon, dear FreeBSD technical support! 

More information:

pciconf -lv

hostb0@pci0:0:0:0:   class=0x060000 card=0x72708086 chip=0x5af08086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge'
    class      = bridge
    subclass   = HOST-PCI
none0@pci0:0:0:1:   class=0x118000 card=0x00000000 chip=0x5a8c8086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = dasp
vgapci0@pci0:0:2:0:   class=0x030000 card=0x22128086 chip=0x5a858086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = display
    subclass   = VGA
none1@pci0:0:3:0:   class=0x048000 card=0x00000000 chip=0x5a888086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series Imaging Unit'
    class      = multimedia
hdac0@pci0:0:14:0:   class=0x040300 card=0x10fc10ec chip=0x5a988086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster'
    class      = multimedia
    subclass   = HDA
none2@pci0:0:15:0:   class=0x078000 card=0x72708086 chip=0x5a9a8086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution Engine'
    class      = simple comms
ahci0@pci0:0:18:0:   class=0x010601 card=0x72708086 chip=0x5ae38086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller'
    class      = mass storage
    subclass   = SATA
pcib1@pci0:0:19:0:   class=0x060400 card=0x00000000 chip=0x5ad88086 rev=0xf0 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:20:0:   class=0x060400 card=0x00000000 chip=0x5ad78086 rev=0xf0 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port B'
    class      = bridge
    subclass   = PCI-PCI
xhci0@pci0:0:21:0:   class=0x0c0330 card=0x72708086 chip=0x5aa88086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI'
    class      = serial bus
    subclass   = USB
none3@pci0:0:26:0:   class=0x0c8000 card=0x72708086 chip=0x5ac88086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series PWM Pin Controller'
    class      = serial bus
sdhci_pci0@pci0:0:27:0:   class=0x080501 card=0x72708086 chip=0x5aca8086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series SDXC/MMC Host Controller'
    class      = base peripheral
    subclass   = SD host controller
sdhci_pci1@pci0:0:28:0:   class=0x080501 card=0x72708086 chip=0x5acc8086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series eMMC Controller'
    class      = base peripheral
    subclass   = SD host controller
sdhci_pci2@pci0:0:30:0:   class=0x080501 card=0x72708086 chip=0x5ad08086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series SDIO Controller'
    class      = base peripheral
    subclass   = SD host controller
isab0@pci0:0:31:0:   class=0x060100 card=0x72708086 chip=0x5ae88086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface'
    class      = bridge
    subclass   = PCI-ISA
none4@pci0:0:31:1:   class=0x0c0500 card=0x72708086 chip=0x5ad48086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller'
    class      = serial bus
    subclass   = SMBus
re0@pci0:1:0:0:   class=0x020000 card=0x012310ec chip=0x816810ec rev=0x15 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet
iwm0@pci0:2:0:0:   class=0x028000 card=0x80108086 chip=0x31658086 rev=0x81 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Wireless 3165'
    class      = network