Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2020 11:00:50 +0100
From:      Frederic Chardon <chardon.frederic@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   sdhci timeout on wakeup
Message-ID:  <CAMODbk=bpUT0o3wL0Au6UkbOfHfbLQBd7WiLfP_d1c-80Mq8Qg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello

Any time I wake my laptop from sleep, I get these errors a dozen times
on the console.

sdhci_pci0-slot0: Controller timeout
sdhci_pci0-slot0: ============== REGISTER DUMP ==============
sdhci_pci0-slot0: Sys addr: 0x00000000 | Version:  0x0000c001
sdhci_pci0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_pci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_pci0-slot0: Present:  0x01f70000 | Host ctl: 0x00000001
sdhci_pci0-slot0: Power:    0x0000000f | Blk gap:  0x00000000
sdhci_pci0-slot0: Wake-up:  0x00000000 | Clock:    0x00004007
sdhci_pci0-slot0: Timeout:  0x00000000 | Int stat: 0x00000001
sdhci_pci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci_pci0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_pci0-slot0: Caps:     0x21fe32b2 | Caps2:    0x00000077
sdhci_pci0-slot0: Max curr: 0x00000064 | ADMA err: 0x00000000
sdhci_pci0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000001
sdhci_pci0-slot0: ===========================================

Eventually it stops and then everything is working without issues, the
annoying part is that it takes a few minutes to wake.

This is running current at r367762, however this issue lasts since
sleeping with drm started working for me a few months ago. The laptop
is a Latitude E5430 booting through UEFI. The sd slot is empty.

Anything I could do to prevent this from happening?

Thanks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMODbk=bpUT0o3wL0Au6UkbOfHfbLQBd7WiLfP_d1c-80Mq8Qg>