Date: Thu, 9 Jan 2025 21:19:12 -0800 From: Adrian Chadd <adrian@freebsd.org> To: Graham Perrin <grahamperrin@gmail.com> Cc: FreeBSD-CURRENT <freebsd-current@freebsd.org>, FreeBSD wireless <freebsd-wireless@freebsd.org> Subject: Re: OS resume occasionally troublesome, again, since main-n274579-50c1e179b584 (2025-01-05) Message-ID: <CAJ-VmomBhGhXhh4ESAjcyE%2BqwdJkK9DOdy5s9%2BUyANL5ZkSSGA@mail.gmail.com> In-Reply-To: <d723d912-c02b-4852-867b-c6f4cac8070a@gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 <grahamperrin@gmail.com> 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=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> > <https://lists.freebsd.org/archives/freebsd-wireless/2025-January/002709.html>, > > > iwm(4) occasionally troublesome since main-n274579-50c1e179b584 > (2025-01-05) > > > [-- Attachment #2 --] <div dir="ltr">it /looks/ like there was an ACPICA import about 6 days ago? If you're having suspend/resume issues then it could be that?<div><br></div><div>Maybe look at the changelog and try building / booting / testing a kernel from before the import.</div><div><br></div><div><br></div><div>-adrian</div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, 9 Jan 2025 at 21:14, Graham Perrin <<a href="mailto:grahamperrin@gmail.com">grahamperrin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u> <div style="padding-bottom:1px"> <p><font face="monospace">FreeBSD 15.0-CURRENT using pkgbase, not built from source.</font></p> <p><font face="monospace">Beginning around the end of July 2024: wake from sleep was troublesome, for around three months. </font></p> <p><font face="monospace">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.)<br> </font></p> <p><font face="monospace">----</font></p> <p><font face="monospace">I suspect that troubles began again around 5th January 2025. A handful of failures. <br> </font></p> <p><font face="monospace">With debug.acpi.resume_beep=1: </font></p> <p><font face="monospace">- when wake fails, there's darkness and an endless beep, so <br> I press and hold the power button to force off the computer.<br> </font></p> <p><font face="monospace">From recent archives of /var/log/messages: </font></p> <p><font face="monospace">…<br> Jan 6 20:28:52 mowa219-gjp4-zbook-freebsd acpi[55201]: suspend at 20250106 20:28:52<br> </font><font face="monospace">…</font><br> <font face="monospace">Jan 7 03:56:10 mowa219-gjp4-zbook-freebsd kernel: ---<<BOOT>>---<br> </font><font face="monospace">…</font></p> <p><font face="monospace">– with no reboot between the suspend and the BOOT. That was probably the first of the recent handful of failures. <br> </font></p> <p><font face="monospace">nvidia-driver-470, if that's relevant. </font><font face="monospace">HP ZBook 17 G2, nearly always docked with one or two displays on DisplayPort.<br> </font></p> <p><font face="monospace"><br> </font></p> <p><font face="monospace">The script that (a) takes three L2ARC devices offline, and (b) exports a pool 'Transcend' that's on a mobile hard disk drive: <br> </font></p> <p><font face="monospace">grahamperrin:~ % head -n 1 /usr/local/sbin/suspend.sh ; grep -v \# /usr/local/sbin/suspend.sh | uniq<br> #!/bin/sh<br> <br> zpool offline -t august gpt/cache1-august &<br> zpool offline -t august gpt/cache2-august &<br> zpool offline -t august gpt/cache3-august &<br> <br> while mount | grep -q Transcend ; do<br> zpool export Transcend<br> sleep 5<br> done<br> <br> grahamperrin:~ % <br> </font></p> <p><font face="monospace"><br> </font></p> <p><font face="monospace">/etc/rc.suspend includes this line: <br> </font></p> <p><font face="monospace">/usr/local/sbin/suspend.sh<br> </font></p> <p><font face="monospace"><br> </font></p> <p><font face="monospace">See also: today's <a href="https://lists.freebsd.org/archives/freebsd-wireless/2025-January/002709.html" target="_blank"><https://lists.freebsd.org/archives/freebsd-wireless/2025-January/002709.html></a>, <br> </font></p> <p><font face="monospace"> </font></p><blockquote type="cite"><font face="monospace"><font face="monospace">iwm(4) occasionally troublesome since main-n274579-50c1e179b584 (2025-01-05)</font></font></blockquote><font face="monospace"> <br> </font><p></p> </div> <u></u><u></u> </blockquote></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomBhGhXhh4ESAjcyE%2BqwdJkK9DOdy5s9%2BUyANL5ZkSSGA>
