From nobody Fri Jan 10 05:19:12 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 4YTqhZ5dWpz5kmYy; Fri, 10 Jan 2025 05:19:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 4YTqhZ3vtFz4gTP; Fri, 10 Jan 2025 05:19:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-54252789365so2022143e87.0; Thu, 09 Jan 2025 21:19:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736486365; x=1737091165; 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=MIwfdUwGkxk8CJ+hFBLwW91W+u3xdUdWRIUqGWIz+Z8=; b=YtSPYXMMnTkmCKa3qH8WqPWfmhil4wvtUwdha+HWv1NlgJH6n/loCTQxtb7aph1SAx PSXx0o0IfQjdxnq0F6NvMzqxAx9D/8ivgH4Of0EBVKB/Eoj/1Qv9/yah3Pk6P1022T8h Fs11/9pYMZtSAgv3Us+kSRkSE1JiixZgA4HsofZinPFeQH7+JSwBBCeP4/8o6aPiUDaH LbVM9o+2WoXz/Fzr6BjFQMWqfhJu6129obNxKzv6XFfUSi6WpNLPvvSqT5Cdl2TuyQGo SGIz3+2KjO4nBELMU4B+8fRRWnIn+h7bBxdtjpaYiclKzyewkW13zfCkX1/pf+ytuTi6 FgmQ== X-Forwarded-Encrypted: i=1; AJvYcCWzeaMvdJoZRtlvoPbWwNpR8z6cAVV8LBdDD4ZbNJdMisoGrSRMpD8aq0VeiDY2yDG1gL1Rpg44lL8z2gUIBnlS@freebsd.org X-Gm-Message-State: AOJu0Yzx+NMqysxrCzB6SgfDeWaASrRh/d+Zv92lwugT1kNOCDUjhQ+b 8jpU3YVaJtWn4qlhbbhFuciC3NIBcFvhJ4jWKUiLDnMggPBHHC29DGbLYY4PNcoIkewosjBH5b8 dwUo3h8a8osEhIgIk3WcMEbSE03BDwA== X-Gm-Gg: ASbGncu2aOHr8RnQTukprOrVfHN9yC0HcYiTi6gmAmb6fPhp5G3uL71qF+/q30GOhO/ T6xD8OggRBzBzTYlJCYbKEtJlhQ2Jhfw+X+2gs88= X-Google-Smtp-Source: AGHT+IEnHwHtRF2UXUAJiFiamFNXjcG8IyID+l735xAHRlI196NRqkex4YKNviQtaFyJqWz6A9aCo3H1FR69FKg27pI= X-Received: by 2002:a05:6512:3ba1:b0:540:5b5b:4289 with SMTP id 2adb3069b0e04-5428482013fmr3184228e87.47.1736486364393; Thu, 09 Jan 2025 21:19:24 -0800 (PST) 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: In-Reply-To: From: Adrian Chadd Date: Thu, 9 Jan 2025 21:19:12 -0800 X-Gm-Features: AbW1kvZDMOjTchkHlU8SPkDQ97HrgGbx0-tqI5RXegmZBux41zYjOkQQMDS7leg Message-ID: Subject: Re: OS resume occasionally troublesome, again, since main-n274579-50c1e179b584 (2025-01-05) To: Graham Perrin Cc: FreeBSD-CURRENT , FreeBSD wireless Content-Type: multipart/alternative; boundary="000000000000e83925062b533ce6" X-Rspamd-Queue-Id: 4YTqhZ3vtFz4gTP X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] --000000000000e83925062b533ce6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable it /looks/ like there was an ACPICA import about 6 days ago? If you're having suspend/resume issues then it could be that? Maybe look at the changelog and try building / booting / testing a kernel from before the import. -adrian On Thu, 9 Jan 2025 at 21:14, Graham Perrin wrote: > 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=3D1: > > - 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: > > =E2=80=A6 > Jan 6 20:28:52 mowa219-gjp4-zbook-freebsd acpi[55201]: suspend at > 20250106 20:28:52 > =E2=80=A6 > Jan 7 03:56:10 mowa219-gjp4-zbook-freebsd kernel: ---<>--- > =E2=80=A6 > > =E2=80=93 with no reboot between the suspend and the BOOT. That was proba= bly 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) > > > --000000000000e83925062b533ce6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
it /looks/ like there was an ACPICA import about 6 days ag= o? If you're having suspend/resume issues then it could be that?
Maybe look at the changelog and try building / booting / testi= ng a kernel from before the import.


-adrian


On Thu, 9 Jan 2025 at 21= :14, Graham Perrin <grahamperr= in@gmail.com> wrote:
=20 =20 =20

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.=C2=A0

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=3D1:=C2=A0

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

From recent archives of /var/log/messages:=C2=A0

=E2=80=A6
Jan=C2=A0 6 20:28:52 mowa219-gjp4-zbook-freebsd acpi[55201]: suspen= d at 20250106 20:28:52
=E2=80=A6
Jan=C2=A0 7 03:56:10 mowa219-gjp4-zbook-free= bsd kernel: ---<<BOOT>>---
=E2=80=A6

=E2=80=93 with no reboot between the suspen= d 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 o= ne or two displays on DisplayPort.


The script that (a) takes three L2ARC devices offline, and (b) exports a pool 'Transcend' that= 9;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
=C2=A0=C2=A0 zpool export Transcend
=C2=A0=C2=A0 sleep 5
done

grahamperrin:~ %


/etc/rc.suspend includes this line:

/usr/local/sbin/suspend.sh


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

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

--000000000000e83925062b533ce6--