From nobody Wed Sep 24 16:01:08 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cX1mg6L0yz6848j for ; Wed, 24 Sep 2025 16:01:23 +0000 (UTC) (envelope-from obiwac@gmail.com) Received: from mail-oa1-f49.google.com (mail-oa1-f49.google.com [209.85.160.49]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cX1mg0JFXz3tTd for ; Wed, 24 Sep 2025 16:01:23 +0000 (UTC) (envelope-from obiwac@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of obiwac@gmail.com designates 209.85.160.49 as permitted sender) smtp.mailfrom=obiwac@gmail.com Received: by mail-oa1-f49.google.com with SMTP id 586e51a60fabf-30cce50dfb4so5294829fac.0 for ; Wed, 24 Sep 2025 09:01:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758729681; x=1759334481; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=i5LkovfNpjpNOIRjSJXmpTEjKaWNwXHqZqewzG0RfNQ=; b=suqquewCecy/hssjLA3f/nXI+6c2FGk4q6o/u135VLf/Cmcoo7+c/mvspCmj0Cc0Iv EGfm/wtMOJ4TO4PCStBs6eWFMQQw2b9zk0P3K0e8rk8wj+nWA9ORfKC35qbWgG3nxyJY DC0tnB4nyStmxysBeLFJAIgcLl9xG5HUSV863bzslGAUL96WkRQJB5TueFEMlXDkIhER wxIWiCn826pdqC5dGW4G6vVTHv0GXzN/Ile30zlSB2Db0KCKmz/+Qu+gTeKAWbzKvLFq +c+YIVzwFUqpn0ocKeGnTD6+HcKCKqPEIs5KUocZIIaqmjrRoEDX+0tv3I+/dpdumHcU EqwQ== X-Forwarded-Encrypted: i=1; AJvYcCUx22On9meMHMhYaOrbX8+YUQEor9GQAoUdRL73Emz9TAtWtI8uOuk1SWoVTLl/AhDfIzgOQn+KadISbAwQ5e4=@freebsd.org X-Gm-Message-State: AOJu0Yzyss8PO96EW25vpaJYcVZQiCRCn7KuoMim/aWD5YRGgLtzQwZZ itCfHjnsShQ5uEIywOVRvNM56Y0tyr4E1dtvPyAZuEZE0G1/3X0HhZCTUGj45Z/LsSDpNQ== X-Gm-Gg: ASbGnct74a/2W2WTnRORlNhnnnM3IP84LfUttYZ9m2pNWrDLybW3wHFDYTusnM/uynF aYuvgXC7VL/UGb7h+yFUF4HqpvgZPp3jpn/nCNWEaSK/ndvUbQNSX+0rTAseCeziIC8gnw+dWWd zHx0HXWzKWHHlwxzokQXRiSXz2V+PX8sKYiob8EgAQEmdY3KV4qida+J73XlmZkqIerEi6vx2MY 6vRA746BUfkyvuwpqJo+AkN2KiVlaMfJoN356lS+84qPdQWQ4SpDmMfRlMot1WOwpfPdtFLTHCU OcrwU1i0Do3/JzfCswwg1MQxucw8eQ2kAupa2qBAOn7z7nf8oBFYXz986iR3Lq35G9pfyXwrtYI SH2khogg767deEkNmLSCnPCnQbPvIX/oOVC340JUFRI5CECnMxnzD989kPm4/VTJnzaCJ X-Google-Smtp-Source: AGHT+IHUDyh29rI8zJyNTv/VZXheMgj3amfN0airqufQiq6Fp51NLq9akWSaxp7rYIqyJDBRyIRpXw== X-Received: by 2002:a05:6871:4b13:b0:315:914b:8e3f with SMTP id 586e51a60fabf-35eeb3e9a01mr48257fac.43.1758729681123; Wed, 24 Sep 2025 09:01:21 -0700 (PDT) Received: from mail-oo1-f43.google.com (mail-oo1-f43.google.com. [209.85.161.43]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-769f4572890sm7787910a34.14.2025.09.24.09.01.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Sep 2025 09:01:20 -0700 (PDT) Received: by mail-oo1-f43.google.com with SMTP id 006d021491bc7-621a3c43df3so2926126eaf.0 for ; Wed, 24 Sep 2025 09:01:20 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWVXEacVcKmUqDcaDT2uY/7KqY6MXu8gqE0MsNKv6mNV9xD1Gdh344IJMTjDkUHIEvefJKvZYkDzHlXMujbTzE=@freebsd.org X-Received: by 2002:a05:6808:1644:b0:433:fe80:5404 with SMTP id 5614622812f47-43f4cbb4b2fmr280513b6e.5.1758729680664; Wed, 24 Sep 2025 09:01:20 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <202509230918.58N9IrBq011875@critter.freebsd.dk> <202509241512.58OFC4NH004779@critter.freebsd.dk> In-Reply-To: From: obiwac Date: Wed, 24 Sep 2025 18:01:08 +0200 X-Gmail-Original-Message-ID: X-Gm-Features: AS18NWA3nyrBTPXcl20OYOBZ0cAEhD6aJiEPTZC34yWXpatfmwxJCPrXw6qeqZM Message-ID: Subject: Re: September 2025 stabilization week To: Poul-Henning Kamp Cc: Gleb Smirnoff , freebsd-current@freebsd.org, src-committers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: / X-Spamd-Result: default: False [0.63 / 15.00]; NEURAL_HAM_SHORT(-0.95)[-0.950]; NEURAL_SPAM_MEDIUM(0.81)[0.810]; NEURAL_SPAM_LONG(0.77)[0.767]; FORGED_SENDER(0.30)[obiwac@freebsd.org,obiwac@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; RWL_MAILSPIKE_GOOD(-0.10)[209.85.160.49:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; FREEFALL_USER(0.00)[obiwac]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.49:from,209.85.161.43:received]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FROM_NEQ_ENVFROM(0.00)[obiwac@freebsd.org,obiwac@gmail.com]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4cX1mg0JFXz3tTd > Is there any additional info I can collect that he wants ? Yes! Can you send me your dmesg after doing a suspend-resume and also the result of: acpidump -s Also would help me if you could apply this patch: diff --git a/sys/dev/acpica/acpi_powerres.c b/sys/dev/acpica/acpi_powerres.c index 0a8b67a5fa84..c0c0c9c758c9 100644 --- a/sys/dev/acpica/acpi_powerres.c +++ b/sys/dev/acpica/acpi_powerres.c @@ -741,13 +741,14 @@ acpi_pwr_switch_consumer(ACPI_HANDLE consumer, int state) * before we were checking D-states. */ if (ACPI_FAILURE(acpi_pwr_get_state_locked(consumer, &new_state))) { - printf("%s: failed to get new D-state\n", __func__); + printf("%s: failed to get new D-state (device %s)\n", __func__, + acpi_name(consumer)); pc->ac_state = state; } else { if (new_state != state) - printf("%s: new power state %s is not the one requested %s\n", + printf("%s: new power state %s is not the one requested %s (%s)\n", __func__, acpi_d_state_to_str(new_state), - acpi_d_state_to_str(state)); + acpi_d_state_to_str(state), acpi_name(consumer)); pc->ac_state = new_state; } On Wed, 24 Sept 2025 at 17:59, Aymeric Wibo wrote: > > > Is there any additional info I can collect that he wants ? > > Yes! Can you send me your dmesg after doing a suspend-resume and also > the result of: > > acpidump -s > > Also would help me if you could apply this patch: > > diff --git a/sys/dev/acpica/acpi_powerres.c b/sys/dev/acpica/acpi_powerres.c > index 0a8b67a5fa84..c0c0c9c758c9 100644 > --- a/sys/dev/acpica/acpi_powerres.c > +++ b/sys/dev/acpica/acpi_powerres.c > @@ -741,13 +741,14 @@ acpi_pwr_switch_consumer(ACPI_HANDLE consumer, int state) > * before we were checking D-states. > */ > if (ACPI_FAILURE(acpi_pwr_get_state_locked(consumer, &new_state))) { > - printf("%s: failed to get new D-state\n", __func__); > + printf("%s: failed to get new D-state (device %s)\n", __func__, > + acpi_name(consumer)); > pc->ac_state = state; > } else { > if (new_state != state) > - printf("%s: new power state %s is not the one requested %s\n", > + printf("%s: new power state %s is not the one requested %s (%s)\n", > __func__, acpi_d_state_to_str(new_state), > - acpi_d_state_to_str(state)); > + acpi_d_state_to_str(state), acpi_name(consumer)); > pc->ac_state = new_state; > } > > > > On Wed, 24 Sept 2025 at 17:12, Poul-Henning Kamp wrote: > > > > -------- > > Gleb Smirnoff writes: > > > > > On Tue, Sep 23, 2025 at 09:18:53AM +0000, Poul-Henning Kamp wrote: > > > P> > started with FreeBSD/main at main-n280533-f72908c94df9, which was tagged as > > > P> > main-stabweek-2025-Sep. > > > P> > > > P> Works on my T14s gen 2. > > > P> > > > P> The right hand USB-A port is still dead after suspend-resume (this started > > > P> within the last approx 8 weeks). > > > > > > I bisected my Thinkpad X1 Carbon 7th Gen down to 02a8fadd2c4dc4b78d6d93d9d8b70e9348a6de6d. > > > > > Can you try reverting this revision, too? > > > > I've added that to the TODO list, may get to it tonight. > > > > > Note: to reproduce the dead USBs I need not only suspend-resume > > > cycle, but also pull out power cord. > > > > I dont need to do that, but I'm powering through a dock, so that may > > make some kind of difference. > > > > > Good news: Aymeric is here at EuroBSDCon and in next two days > > > he is close to my laptop and we are going to debug this. > > > > Great! > > > > Is there any additional info I can collect that he wants ? > > > > -- > > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > > phk@FreeBSD.ORG | TCP/IP since RFC 956 > > FreeBSD committer | BSD since 4.3-tahoe > > Never attribute to malice what can adequately be explained by incompetence.