From owner-freebsd-current@freebsd.org Wed Nov 18 10:01:05 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4B54E2EA085 for ; Wed, 18 Nov 2020 10:01:05 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbdcJ1ChSz4vq5 for ; Wed, 18 Nov 2020 10:01:03 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: by mail-pj1-x1035.google.com with SMTP id gv24so786192pjb.3 for ; Wed, 18 Nov 2020 02:01:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=oK57fjYQHY/fjBRhHX3MYCv5cITjCnL5Eb6pZuQv6J0=; b=JGHA2Fvv38Pu1PKKRqHLFNRNwrlptgczgs5UrwyuwYzb0wU/GORkhzBPWJahT0WyYj uyzMFEzP+4KPeG0oqoI9TJIQTFN5usSmnLUKvfV5JSXtD3QKFlthPBPbRI2474gr5Xua POd7S4ILMDOZxna6ZIYbVIx26dP8qtC/qaCipKT8Y+20I8NYGLG6zHIb3+s2yEKyNvna x4HB8utUUGFxy1iSPtMDQacnNuQEo2lfky6jkFp6h02rqhq5oiNDuq6aUPUdu+g+YDm9 QEYISf/4HvACLKefQ1hwWkNkO01vpIHkDV6n6cLY/JPCfSMzrjVA2ton87y+u932qf5D piAg== X-Gm-Message-State: AOAM531vdAW8/91UDgsKSynS+/A3U00vv1qmamTRTLKDcrZHsI0yGGft 9JgzDnU+7MBJ8vyr7oQS3MoqvjZnf2hyfL1yxPlZNiUdLjSC9w== X-Google-Smtp-Source: ABdhPJxP4jQvFASN8EhQWWIR0j7fiMp0ENf31NSC3l94uC/PlbCJ/f7yvzfddfwX3lYCIHy8ZazTLnRvNSqlDt5W2Ls= X-Received: by 2002:a17:902:fe0f:b029:d6:9fa1:eee0 with SMTP id g15-20020a170902fe0fb02900d69fa1eee0mr3740092plj.24.1605693662340; Wed, 18 Nov 2020 02:01:02 -0800 (PST) MIME-Version: 1.0 From: Frederic Chardon Date: Wed, 18 Nov 2020 11:00:50 +0100 Message-ID: Subject: sdhci timeout on wakeup To: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4CbdcJ1ChSz4vq5 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::1035:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::1035:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1035:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2020 10:01:05 -0000 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