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> References: <d723d912-c02b-4852-867b-c6f4cac8070a@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <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=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: ---<<BOOT>>--- > =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 > <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) > > > --000000000000e83925062b533ce6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">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?<div><b= r></div><div>Maybe look at the changelog and try building / booting / testi= ng a kernel from before the import.</div><div><br></div><div><br></div><div= >-adrian</div><div><br></div></div><br><div class=3D"gmail_quote gmail_quot= e_container"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, 9 Jan 2025 at 21= :14, Graham Perrin <<a href=3D"mailto:grahamperrin@gmail.com">grahamperr= in@gmail.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" styl= e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin= g-left:1ex"><u></u> =20 =20 =20 <div style=3D"padding-bottom:1px"> <p><font face=3D"monospace">FreeBSD 15.0-CURRENT using pkgbase, not built from source.</font></p> <p><font face=3D"monospace">Beginning around the end of July 2024: wake from sleep was troublesome, for around three months.=C2=A0</fo= nt></p> <p><font face=3D"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=3D"monospace">----</font></p> <p><font face=3D"monospace">I suspect that troubles began again around 5th January 2025. A handful of failures. <br> </font></p> <p><font face=3D"monospace">With debug.acpi.resume_beep=3D1:=C2=A0</fon= t></p> <p><font face=3D"monospace">- when wake fails, there's darkness and= an endless beep, so <br> =C2=A0 I press and hold the power button to force off the computer.= <br> </font></p> <p><font face=3D"monospace">From recent archives of /var/log/messages:=C2=A0</font></p> <p><font face=3D"monospace">=E2=80=A6<br> Jan=C2=A0 6 20:28:52 mowa219-gjp4-zbook-freebsd acpi[55201]: suspen= d at 20250106 20:28:52<br> </font><font face=3D"monospace">=E2=80=A6</font><br> <font face=3D"monospace">Jan=C2=A0 7 03:56:10 mowa219-gjp4-zbook-free= bsd kernel: ---<<BOOT>>---<br> </font><font face=3D"monospace">=E2=80=A6</font></p> <p><font face=3D"monospace">=E2=80=93 with no reboot between the suspen= d and the BOOT. That was probably the first of the recent handful of failures. <br> </font></p> <p><font face=3D"monospace">nvidia-driver-470, if that's relevant. = </font><font face=3D"monospace">HP ZBook 17 G2, nearly always docked with o= ne or two displays on DisplayPort.<br> </font></p> <p><font face=3D"monospace"><br> </font></p> <p><font face=3D"monospace">The script that (a) takes three L2ARC devices offline, and (b) exports a pool 'Transcend' that= 9;s on a mobile hard disk drive: <br> </font></p> <p><font face=3D"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> =C2=A0=C2=A0 zpool export Transcend<br> =C2=A0=C2=A0 sleep 5<br> done<br> <br> grahamperrin:~ % <br> </font></p> <p><font face=3D"monospace"><br> </font></p> <p><font face=3D"monospace">/etc/rc.suspend includes this line: <br> </font></p> <p><font face=3D"monospace">/usr/local/sbin/suspend.sh<br> </font></p> <p><font face=3D"monospace"><br> </font></p> <p><font face=3D"monospace">See also: today's <a href=3D"https://lists.freebsd.org/archives/freebsd-wireless/2025-January= /002709.html" target=3D"_blank"><https://lists.freebsd.org/archives/free= bsd-wireless/2025-January/002709.html></a>, <br> </font></p> <p><font face=3D"monospace"> </font></p><blockquote type=3D"cite"><font face=3D"monospace"><font= face=3D"monospace">iwm(4) occasionally troublesome since main-n274579-50c1e179b584 (2025-01-05)</font></font></blockquote><font face=3D"monospace"= > <br> </font><p></p> </div> <u></u><u></u> </blockquote></div> --000000000000e83925062b533ce6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomBhGhXhh4ESAjcyE%2BqwdJkK9DOdy5s9%2BUyANL5ZkSSGA>