From nobody Fri Jan 10 05:14:38 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 4YTqb64hKkz5klxv; Fri, 10 Jan 2025 05:14:42 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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 4YTqb56pxbz4fW5; Fri, 10 Jan 2025 05:14:41 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=WI6vkSk7; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::333 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4361b6f9faeso10485005e9.1; Thu, 09 Jan 2025 21:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736486080; x=1737090880; darn=freebsd.org; h=cc:autocrypt:subject:content-language:from:to:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=e6mrDCQDvmi88a4k/uHjCQvzfpyZBxVg8mI+1EhOyJA=; b=WI6vkSk7PEcxBSuZOtl4yjtBlURRksNZACSJV/pvRMtVbkIO2Se/NNhxubIWyyGv19 c8RQYuwe1M9oam2I7uNxH07eWEeQ2dV9Fv7RCGjFr5W0IH9hTQGD76wcAX+ruAPB75pR ep+BU24JN4viRt6/O6SfpnQHymoHLADyxRUx0v/i/RQmlPjEpUGqN6/LP2GK3yAB7vHO MBGH/P07cROi5tdicH+1T9uEA8nEV3L0sHhIjD01NOmQDEGsPxBLmKw0A/RSDphquQFP 9IqPSkd7T1xsyB6SIxdMSOE6clERrzPMIHuxGqGu1My4dS0TFFnbuUmkWCg4uIUZir/H dsmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736486080; x=1737090880; h=cc:autocrypt:subject:content-language:from:to:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=e6mrDCQDvmi88a4k/uHjCQvzfpyZBxVg8mI+1EhOyJA=; b=MOMmANUftPN+kOzYVO4hhObrTmajsokjdkPuUVxVTSlq0mI8H4ac8DqT7Cy/PE8YB+ JALtlaGJbsa/rFDHkH9iLWPJKZ94tM7mOn4pULKGruoEjTErT9la2rMiIqROILThYlwL pFG/nm/Ij/NROWxgyaI8NhK2nCKigWu0ae+JgNGl59GC+Hky+HHeSfN84gfCcEy7bHYy y+e/OPPVSJUENRq5LlsW5UQoCaUgXCUlyv62pzCsfryIzv0t/sf0VTRKVg37aTDIlEzy wQpjILm+s9Yw9RXUP2sPnirv3HCO8aoDF2LR6SVDFqImxikbwlufrUSpD6/ETMC8T15b Qi/Q== X-Gm-Message-State: AOJu0Ywis3iXJ5Mr8u6Tjzm0YbK1SKYaDTkoarXn+OGNeqMmIq0jX9pB 2f+/P2K7xhASbMt8tlyJ4sZ3pNIkejHJ3lFifiwKlomDym5WqTc54IjTYQ== X-Gm-Gg: ASbGncuoAHNvf3yBDOSzAio7t+krp0kVZY+GOCinUVjsyGkErIjWRPzDG66GHtAn6Ef uCetF6PLLmMqjJVRFnKoyodbRu/+LN3FZwRdVYX5s2rm8DI7xFoiyzNx1sEi6Jj7IV5ApFnpL8O jb1GbfNGbt8JInLyfCEIsbKqIlGbemZufV9emgZKve7DsUU0ASRTZeTZP7H7uVNRpaowiIHyOMj b/enbbk6LYDUTcuqnW56gOUTR2CAStJrjGD9PoKpOeslbIuHyfhfXVO9bgFarkvESOe4ulHztll EF2rfAtOWduf/w== X-Google-Smtp-Source: AGHT+IGCico4bbLfXb8uW+u0PooC1ZcmwL6c8lZjAc9reZKWNYy7lb/8FEe2u0+KiGegpSIvAknvLw== X-Received: by 2002:a05:600c:1c9b:b0:434:ffb2:f9cf with SMTP id 5b1f17b1804b1-436e9d80fc4mr41313145e9.14.1736486079358; Thu, 09 Jan 2025 21:14:39 -0800 (PST) Received: from [192.168.1.10] (host-83-67-217-90.as13285.net. [83.67.217.90]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e9dd1de9sm40508135e9.15.2025.01.09.21.14.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jan 2025 21:14:38 -0800 (PST) Content-Type: multipart/alternative; boundary="------------5ftMzaOHfQsGZG9yQ30f3iY5" Message-ID: Date: Fri, 10 Jan 2025 05:14:38 +0000 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 User-Agent: Mozilla Thunderbird To: FreeBSD-CURRENT From: Graham Perrin Content-Language: en-GB Subject: OS resume occasionally troublesome, again, since main-n274579-50c1e179b584 (2025-01-05) Autocrypt: addr=grahamperrin@gmail.com; keydata= xsFNBGKYt7ABEAClu83dJ3ZKfVgPOk9YKRv0Z+dl2b88+k9R4vwAmElgguYdKE7yhnQNhhWM v9vi6AFrBMc2oJdVHJ2OrXfwpELBFIgiSMEWNsC4e+Z3HtSajcl+pFZsP7ciiSoycj/w3wIV kAZoVGbhyIbNG7fbCEJ8q81TbfsGypV3bRmbZVvGNecBguYiooBtz2Qht1p3itXMkIA6P9pS YDl+6QddZLyUUAjAnFv2QDoYSHLnaDUWw4oONZsB0SKVu8jMIBh4uJZo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hHMzlKGpAc/l0iAM+8twIyg44Yo5+DcfFXr OMTbTw9T9jDsWOkOBksxy29iYhgpqpWdDBnhXvrJp/FNAiX8CfzrIOZeFPydDoEiKBEXAxfe a9o5J/JeVnZiUeoiFe7i68nZGsb4JxhPczNfqW12t0Ll5/ibjszg5BgjXiLao0KqbWNh4bS5 CVwH90Or+5qqWgzWPeBiuz+rN2QXE/V/fL44GEj1YKASCqmaiYRgjoRFubz1aq1wCXMXY3Iq d4525rscUgS7HBxbblnyTodUPaamN/2nSzcmE/Pkx8MApDSgZCIhs0RTAg+/AoX4HULV1rSE TQwMrBEQt84Tw5W5rHsvXKr4ZEsJUpbPLWYTISsp23nHR+vZtL/Ug+OWCmHC7X7D21xk/xVJ 4sA1RLJBKdCHtnyA4Unv/kNS1KVGxHnITVyw1a71QJADu4qsdtM5u6CyYUhqhM1oseWtV6j+ Qi8KC/G4C3AgZf06fe2fVl42z2grTabL4bC6FQXMwTX2dsm5NakWjUCmUL8uwsQE7ZA4zKxo EYI1YV9q1birpzncYRupr1qnMoggMUHWq0IBYshFQrEO8PeVUZBw7/GfAeh3argdw2Qu748T Cyw= Cc: FreeBSD wireless X-Rspamd-Queue-Id: 4YTqb56pxbz4fW5 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org,freebsd-wireless@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::333:from] This is a multi-part message in MIME format. --------------5ftMzaOHfQsGZG9yQ30f3iY5 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit FreeBSD 15.0-CURRENT using pkgbase, not built from source. Beginning around the end of July 2024: wake from sleep was troublesome, for around three months. Then good, close to 99% reliable, for around two months. (At the end of October: someone helped me to correct a script that was intended to take offline, before sleep, ZFS L2ARC devices (USB memory sticks). I assumed that the previously poor script, which I had used since long before troubles began in July/August, was an aggravating factor.) ---- I suspect that troubles began again around 5th January 2025. A handful of failures. With debug.acpi.resume_beep=1: - when wake fails, there's darkness and an endless beep, so   I press and hold the power button to force off the computer. From recent archives of /var/log/messages: … Jan  6 20:28:52 mowa219-gjp4-zbook-freebsd acpi[55201]: suspend at 20250106 20:28:52 … Jan  7 03:56:10 mowa219-gjp4-zbook-freebsd kernel: ---<>--- … – with no reboot between the suspend and the BOOT. That was probably the first of the recent handful of failures. nvidia-driver-470, if that's relevant. HP ZBook 17 G2, nearly always docked with one or two displays on DisplayPort. The script that (a) takes three L2ARC devices offline, and (b) exports a pool 'Transcend' that's on a mobile hard disk drive: grahamperrin:~ % head -n 1 /usr/local/sbin/suspend.sh ; grep -v \# /usr/local/sbin/suspend.sh | uniq #!/bin/sh zpool offline -t august gpt/cache1-august & zpool offline -t august gpt/cache2-august & zpool offline -t august gpt/cache3-august & while mount | grep -q Transcend ; do    zpool export Transcend    sleep 5 done grahamperrin:~ % /etc/rc.suspend includes this line: /usr/local/sbin/suspend.sh See also: today's , > iwm(4) occasionally troublesome since main-n274579-50c1e179b584 > (2025-01-05) --------------5ftMzaOHfQsGZG9yQ30f3iY5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

FreeBSD 15.0-CURRENT using pkgbase, not built from source.

Beginning around the end of July 2024: wake from sleep was troublesome, for around three months. 

Then good, close to 99% reliable, for around two months. (At the end of October: someone helped me to correct a script that was intended to take offline, before sleep, ZFS L2ARC devices (USB memory sticks). I assumed that the previously poor script, which I had used since long before troubles began in July/August, was an aggravating factor.)

----

I suspect that troubles began again around 5th January 2025. A handful of failures.

With debug.acpi.resume_beep=1: 

- when wake fails, there's darkness and an endless beep, so
  I press and hold the power button to force off the computer.

From recent archives of /var/log/messages: 


Jan  6 20:28:52 mowa219-gjp4-zbook-freebsd acpi[55201]: suspend at 20250106 20:28:52

Jan  7 03:56:10 mowa219-gjp4-zbook-freebsd kernel: ---<<BOOT>>---

– with no reboot between the suspend and the BOOT. That was probably the first of the recent handful of failures.

nvidia-driver-470, if that's relevant. HP ZBook 17 G2, nearly always docked with one or two displays on DisplayPort.


The script that (a) takes three L2ARC devices offline, and (b) exports a pool 'Transcend' that's on a mobile hard disk drive:

grahamperrin:~ % head -n 1 /usr/local/sbin/suspend.sh ; grep -v \# /usr/local/sbin/suspend.sh | uniq
#!/bin/sh

zpool offline -t august gpt/cache1-august &
zpool offline -t august gpt/cache2-august &
zpool offline -t august gpt/cache3-august &

while mount | grep -q Transcend ; do
   zpool export Transcend
   sleep 5
done

grahamperrin:~ %


/etc/rc.suspend includes this line:

/usr/local/sbin/suspend.sh


See also: today's <https://lists.freebsd.org/archives/freebsd-wireless/2025-January/002709.html>,

iwm(4) occasionally troublesome since main-n274579-50c1e179b584 (2025-01-05)

--------------5ftMzaOHfQsGZG9yQ30f3iY5--