From owner-freebsd-stable@freebsd.org Thu Apr 1 15:58:09 2021 Return-Path: Delivered-To: freebsd-stable@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 68CF457CFE5 for ; Thu, 1 Apr 2021 15:58:09 +0000 (UTC) (envelope-from uspensky@x-art.ru) Received: from x-art.ru (charibdis.x-art.ru [80.70.228.55]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB7BS2s7fz4T5Q for ; Thu, 1 Apr 2021 15:58:08 +0000 (UTC) (envelope-from uspensky@x-art.ru) Received: from gw-old.x-art.ru (gw-old.x-art.ru [192.168.172.252]) by mta.x-art.ru (Postfix) with ESMTP id 1FB321BF33A for ; Thu, 1 Apr 2021 18:58:01 +0300 (MSK) Date: Thu, 1 Apr 2021 18:58:01 +0300 (MSK) From: Antony Uspensky X-X-Sender: aiu@gw-old.x-art.ru To: freebsd-stable@freebsd.org Subject: ACPI poweroff is not working on 13.0 In-Reply-To: <20210329224240.GR92054@FreeBSD.org> Message-ID: References: <20210329224240.GR92054@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4FB7BS2s7fz4T5Q X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of uspensky@x-art.ru has no SPF policy when checking 80.70.228.55) smtp.mailfrom=uspensky@x-art.ru X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[80.70.228.55:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; 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-stable@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[80.70.228.55:from:127.0.2.255]; DMARC_NA(0.00)[x-art.ru]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20807, ipnet:80.70.224.0/20, country:RU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-stable] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2021 15:58:09 -0000 Sorry, subject is too loud, but... My MB is ASUS M5A97R2.0. On FreeBSD v10, 11 and 12 ACPI poweroff (shutdown -p, halt -p, short click on power button) works as expected. After upgrade to 13.0 it does not power the system off anymore. The process comes to "re0: link state changed to DOWN" as usuall (terminating daemons, syncing FS, spinning down disks, disconnecting and shutting down devices), but then "re0: link state changed to UP" appears in 2 seconds and the system stays powered forever. With verbose kernel logging I see also up to 30 lines like "hdac0: wake_prep disabled wake for \_SB_.PCI0.SBAZ (S5)" after "re0: ... UP". Seems, instead of final power off the system tries to wake up. Does anyone see this behavior? How can I debug this? Some ACPI quirks? Thanks! A.