Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
On Sun, Dec 25, 2022 at 11:57:24PM -0600, Abel Abraham Camarillo Ojeda wrote: > # apmd -d > battery status: high. external power status: not connected. estimated > battery life 97% (223 minutes life time estimate) > can't disable driver messages, error: Inappropriate ioctl for device > apmevent index 0 > > (press zzz in another xterm) > system suspending > battery status: high. external power status: not connected. estimated > battery life 97% (223 minutes life time estimate) > do_etc_file(): cannot access file /etc/apm/suspend > > (press ZZZ in another xterm) > system hibernating > battery status: high. external power status: not connected. estimated > battery life 97% (223 minutes life time estimate) > do_etc_file(): cannot access file /etc/apm/hibernate > > = > > Notice also that battery life gets stuck and never updates again (not even > notices when I plug/unplug from charger) > > > acpi thread likely stuck, as kettenis surmised.
Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
On Mon, Dec 26, 2022 at 12:51:05AM -0600, Abel Abraham Camarillo Ojeda wrote: > On Mon, Dec 26, 2022 at 12:08 AM Mike Larkin wrote: > > > On Sun, Dec 25, 2022 at 11:39:29PM -0600, Abel Abraham Camarillo Ojeda > > wrote: > > > On Sun, Dec 25, 2022 at 9:46 PM Mike Larkin wrote: > > > > > > > On Fri, Dec 23, 2022 at 03:13:53PM -0600, Abel Abraham Camarillo Ojeda > > > > wrote: > > > > > On Fri, Dec 23, 2022 at 2:46 PM Abel Abraham Camarillo Ojeda < > > > > > acam...@verlet.org> wrote: > > > > > > > > > > > Forgot to mention I don't think this is a regression, just started > > to > > > > use > > > > > > hibernate/unhibernate more often lately. > > > > > > But I think I can reproduce this at least since 6.8 (the first > > that I > > > > > > installed to this machine) > > > > > > > > > > > >> > > > > > >> > > > > > >> But still this apply https://www.openbsd.org/report.html (point > > 2) > > > > > >> > > > > > > > > > > > > By doesn't work I mean: > > > > > > > > > > > > $ zzz > > > > > > Suspending system... > > > > > > $ (nothing happened) > > > > > > > > > > > > > real mem = 17021566976 (16233MB) > > > > > >> > avail mem = 16488275968 (15724MB) > > > > > >> > random: good seed from bootblocks > > > > > >> > mpath0 at root > > > > > >> > scsibus0 at mpath0: 256 targets > > > > > >> > mainbus0 at root > > > > > >> > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xb9908000 (58 entries) > > > > > >> > bios0: vendor LENOVO version "R0GET56W (1.56 )" date 08/31/2017 > > > > > >> > > > > > >> You should try > > > > > >> > > > > > > https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-l-series-laptops/thinkpad-l470/downloads/ds120327 > > > > > >> and see if problem is still present (of course good to have backup > > > > :-)) > > > > > >> > > > > > > > > > > > > yes, forgot about that. Will update bios and retry > > > > > > > > > > > > > > > > machine now with bios updated, can reproduce issue after 1 > > unhibernate, > > > > > dmesg right now at "zzz does nothing stage": > > > > > > > > > > > > > 1. acpi thread might be stuck as kettenis points out. to verify this, > > > > try a suspend (lowercase zzz) instead of a hibernate (capital ZZZ) when > > > > it gets stuck. If you can zzz but not ZZZ, then it's not the acpi > > > > thread. > > > > > > > > Both zzz and ZZZ wont work, they only say 'Suspending/Hibernating...' > > and > > > nothing happens (don't have the exact message right now) > > > > > > any way to confirm the acpi thread is stuck? > > > > > > 2. more likely, IMO, is not being able to find a consecutive region in > > > > free memory to store the hibernate data structures. If memory gets > > > > fragmented, ZZZ will fail. It should print something to dmesg though, > > > > so check that. This matches your symptoms of "always works the first > > > > time but sometimes not on subsequent tries". > > > > > > > > > > notice also screen dimming via F5/F6 won't work (pressing F5 or F6 and > > > nothing happens) > > > > probably something like kettenis suggested then. make sure the bios is > > updated. > > > > Bios is at last version bios0: vendor LENOVO version "R0GET79W (1.79 )" > date 07/28/2022 > (issue was present also with the previous 2019-ish one) > > Any idea what else to try to gather more info? This is pretty reproducible vmstat -zi after resuming the first time? are you getting tons of acpi0 interrupts?
Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
On Mon, Dec 26, 2022 at 12:08 AM Mike Larkin wrote: > On Sun, Dec 25, 2022 at 11:39:29PM -0600, Abel Abraham Camarillo Ojeda > wrote: > > On Sun, Dec 25, 2022 at 9:46 PM Mike Larkin wrote: > > > > > On Fri, Dec 23, 2022 at 03:13:53PM -0600, Abel Abraham Camarillo Ojeda > > > wrote: > > > > On Fri, Dec 23, 2022 at 2:46 PM Abel Abraham Camarillo Ojeda < > > > > acam...@verlet.org> wrote: > > > > > > > > > Forgot to mention I don't think this is a regression, just started > to > > > use > > > > > hibernate/unhibernate more often lately. > > > > > But I think I can reproduce this at least since 6.8 (the first > that I > > > > > installed to this machine) > > > > > > > > > >> > > > > >> > > > > >> But still this apply https://www.openbsd.org/report.html (point > 2) > > > > >> > > > > > > > > > > By doesn't work I mean: > > > > > > > > > > $ zzz > > > > > Suspending system... > > > > > $ (nothing happened) > > > > > > > > > > > real mem = 17021566976 (16233MB) > > > > >> > avail mem = 16488275968 (15724MB) > > > > >> > random: good seed from bootblocks > > > > >> > mpath0 at root > > > > >> > scsibus0 at mpath0: 256 targets > > > > >> > mainbus0 at root > > > > >> > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xb9908000 (58 entries) > > > > >> > bios0: vendor LENOVO version "R0GET56W (1.56 )" date 08/31/2017 > > > > >> > > > > >> You should try > > > > >> > > > > https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-l-series-laptops/thinkpad-l470/downloads/ds120327 > > > > >> and see if problem is still present (of course good to have backup > > > :-)) > > > > >> > > > > > > > > > > yes, forgot about that. Will update bios and retry > > > > > > > > > > > > > machine now with bios updated, can reproduce issue after 1 > unhibernate, > > > > dmesg right now at "zzz does nothing stage": > > > > > > > > > > 1. acpi thread might be stuck as kettenis points out. to verify this, > > > try a suspend (lowercase zzz) instead of a hibernate (capital ZZZ) when > > > it gets stuck. If you can zzz but not ZZZ, then it's not the acpi > > > thread. > > > > > > Both zzz and ZZZ wont work, they only say 'Suspending/Hibernating...' > and > > nothing happens (don't have the exact message right now) > > > > any way to confirm the acpi thread is stuck? > > > > 2. more likely, IMO, is not being able to find a consecutive region in > > > free memory to store the hibernate data structures. If memory gets > > > fragmented, ZZZ will fail. It should print something to dmesg though, > > > so check that. This matches your symptoms of "always works the first > > > time but sometimes not on subsequent tries". > > > > > > > notice also screen dimming via F5/F6 won't work (pressing F5 or F6 and > > nothing happens) > > probably something like kettenis suggested then. make sure the bios is > updated. > Bios is at last version bios0: vendor LENOVO version "R0GET79W (1.79 )" date 07/28/2022 (issue was present also with the previous 2019-ish one) Any idea what else to try to gather more info? This is pretty reproducible
Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
On Sun, Dec 25, 2022 at 11:39:29PM -0600, Abel Abraham Camarillo Ojeda wrote: > On Sun, Dec 25, 2022 at 9:46 PM Mike Larkin wrote: > > > On Fri, Dec 23, 2022 at 03:13:53PM -0600, Abel Abraham Camarillo Ojeda > > wrote: > > > On Fri, Dec 23, 2022 at 2:46 PM Abel Abraham Camarillo Ojeda < > > > acam...@verlet.org> wrote: > > > > > > > Forgot to mention I don't think this is a regression, just started to > > use > > > > hibernate/unhibernate more often lately. > > > > But I think I can reproduce this at least since 6.8 (the first that I > > > > installed to this machine) > > > > > > > >> > > > >> > > > >> But still this apply https://www.openbsd.org/report.html (point 2) > > > >> > > > > > > > > By doesn't work I mean: > > > > > > > > $ zzz > > > > Suspending system... > > > > $ (nothing happened) > > > > > > > > > real mem = 17021566976 (16233MB) > > > >> > avail mem = 16488275968 (15724MB) > > > >> > random: good seed from bootblocks > > > >> > mpath0 at root > > > >> > scsibus0 at mpath0: 256 targets > > > >> > mainbus0 at root > > > >> > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xb9908000 (58 entries) > > > >> > bios0: vendor LENOVO version "R0GET56W (1.56 )" date 08/31/2017 > > > >> > > > >> You should try > > > >> > > https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-l-series-laptops/thinkpad-l470/downloads/ds120327 > > > >> and see if problem is still present (of course good to have backup > > :-)) > > > >> > > > > > > > > yes, forgot about that. Will update bios and retry > > > > > > > > > > machine now with bios updated, can reproduce issue after 1 unhibernate, > > > dmesg right now at "zzz does nothing stage": > > > > > > > 1. acpi thread might be stuck as kettenis points out. to verify this, > > try a suspend (lowercase zzz) instead of a hibernate (capital ZZZ) when > > it gets stuck. If you can zzz but not ZZZ, then it's not the acpi > > thread. > > > > Both zzz and ZZZ wont work, they only say 'Suspending/Hibernating...' and > nothing happens (don't have the exact message right now) > > any way to confirm the acpi thread is stuck? > > 2. more likely, IMO, is not being able to find a consecutive region in > > free memory to store the hibernate data structures. If memory gets > > fragmented, ZZZ will fail. It should print something to dmesg though, > > so check that. This matches your symptoms of "always works the first > > time but sometimes not on subsequent tries". > > > > notice also screen dimming via F5/F6 won't work (pressing F5 or F6 and > nothing happens) probably something like kettenis suggested then. make sure the bios is updated.
Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
# apmd -d battery status: high. external power status: not connected. estimated battery life 97% (223 minutes life time estimate) can't disable driver messages, error: Inappropriate ioctl for device apmevent index 0 (press zzz in another xterm) system suspending battery status: high. external power status: not connected. estimated battery life 97% (223 minutes life time estimate) do_etc_file(): cannot access file /etc/apm/suspend (press ZZZ in another xterm) system hibernating battery status: high. external power status: not connected. estimated battery life 97% (223 minutes life time estimate) do_etc_file(): cannot access file /etc/apm/hibernate = Notice also that battery life gets stuck and never updates again (not even notices when I plug/unplug from charger) >
Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
On Sun, Dec 25, 2022 at 9:46 PM Mike Larkin wrote: > On Fri, Dec 23, 2022 at 03:13:53PM -0600, Abel Abraham Camarillo Ojeda > wrote: > > On Fri, Dec 23, 2022 at 2:46 PM Abel Abraham Camarillo Ojeda < > > acam...@verlet.org> wrote: > > > > > Forgot to mention I don't think this is a regression, just started to > use > > > hibernate/unhibernate more often lately. > > > But I think I can reproduce this at least since 6.8 (the first that I > > > installed to this machine) > > > > > >> > > >> > > >> But still this apply https://www.openbsd.org/report.html (point 2) > > >> > > > > > > By doesn't work I mean: > > > > > > $ zzz > > > Suspending system... > > > $ (nothing happened) > > > > > > > real mem = 17021566976 (16233MB) > > >> > avail mem = 16488275968 (15724MB) > > >> > random: good seed from bootblocks > > >> > mpath0 at root > > >> > scsibus0 at mpath0: 256 targets > > >> > mainbus0 at root > > >> > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xb9908000 (58 entries) > > >> > bios0: vendor LENOVO version "R0GET56W (1.56 )" date 08/31/2017 > > >> > > >> You should try > > >> > https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-l-series-laptops/thinkpad-l470/downloads/ds120327 > > >> and see if problem is still present (of course good to have backup > :-)) > > >> > > > > > > yes, forgot about that. Will update bios and retry > > > > > > > machine now with bios updated, can reproduce issue after 1 unhibernate, > > dmesg right now at "zzz does nothing stage": > > > > 1. acpi thread might be stuck as kettenis points out. to verify this, > try a suspend (lowercase zzz) instead of a hibernate (capital ZZZ) when > it gets stuck. If you can zzz but not ZZZ, then it's not the acpi > thread. > > Both zzz and ZZZ wont work, they only say 'Suspending/Hibernating...' and nothing happens (don't have the exact message right now) any way to confirm the acpi thread is stuck? 2. more likely, IMO, is not being able to find a consecutive region in > free memory to store the hibernate data structures. If memory gets > fragmented, ZZZ will fail. It should print something to dmesg though, > so check that. This matches your symptoms of "always works the first > time but sometimes not on subsequent tries". > notice also screen dimming via F5/F6 won't work (pressing F5 or F6 and nothing happens)
Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
On Fri, Dec 23, 2022 at 03:13:53PM -0600, Abel Abraham Camarillo Ojeda wrote: > On Fri, Dec 23, 2022 at 2:46 PM Abel Abraham Camarillo Ojeda < > acam...@verlet.org> wrote: > > > Forgot to mention I don't think this is a regression, just started to use > > hibernate/unhibernate more often lately. > > But I think I can reproduce this at least since 6.8 (the first that I > > installed to this machine) > > > >> > >> > >> But still this apply https://www.openbsd.org/report.html (point 2) > >> > > > > By doesn't work I mean: > > > > $ zzz > > Suspending system... > > $ (nothing happened) > > > > > real mem = 17021566976 (16233MB) > >> > avail mem = 16488275968 (15724MB) > >> > random: good seed from bootblocks > >> > mpath0 at root > >> > scsibus0 at mpath0: 256 targets > >> > mainbus0 at root > >> > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xb9908000 (58 entries) > >> > bios0: vendor LENOVO version "R0GET56W (1.56 )" date 08/31/2017 > >> > >> You should try > >> https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-l-series-laptops/thinkpad-l470/downloads/ds120327 > >> and see if problem is still present (of course good to have backup :-)) > >> > > > > yes, forgot about that. Will update bios and retry > > > > machine now with bios updated, can reproduce issue after 1 unhibernate, > dmesg right now at "zzz does nothing stage": > 1. acpi thread might be stuck as kettenis points out. to verify this, try a suspend (lowercase zzz) instead of a hibernate (capital ZZZ) when it gets stuck. If you can zzz but not ZZZ, then it's not the acpi thread. 2. more likely, IMO, is not being able to find a consecutive region in free memory to store the hibernate data structures. If memory gets fragmented, ZZZ will fail. It should print something to dmesg though, so check that. This matches your symptoms of "always works the first time but sometimes not on subsequent tries".
Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
> From: Abel Abraham Camarillo Ojeda > Date: Sat, 24 Dec 2022 04:09:42 -0600 > > Notice it only fails *sometimes*, sometimes after the first unhibernate I > cannot get to hibernate/suspend again. > Sometimes I can get several hibernate/unhibernate cycles where everything > works... > > Will try to reproduce and check apmd debug. > > I know almost nothing about unhibernate, one should expect different > dmesgs from it than from cold boot? > will try to compare them, in case its useful Probably the acpi thread gets stuck.
Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
Notice it only fails *sometimes*, sometimes after the first unhibernate I cannot get to hibernate/suspend again. Sometimes I can get several hibernate/unhibernate cycles where everything works... Will try to reproduce and check apmd debug. I know almost nothing about unhibernate, one should expect different dmesgs from it than from cold boot? will try to compare them, in case its useful Thanks
Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
On Fri Dec 23, 2022 at 10:13 PM CET, Abel Abraham Camarillo Ojeda wrote: > On Fri, Dec 23, 2022 at 2:46 PM Abel Abraham Camarillo Ojeda < > acam...@verlet.org> wrote: > > > Forgot to mention I don't think this is a regression, just started to use > > hibernate/unhibernate more often lately. > > But I think I can reproduce this at least since 6.8 (the first that I > > installed to this machine) > > > >> > >> > >> But still this apply https://www.openbsd.org/report.html (point 2) > >> > > > > By doesn't work I mean: > > > > $ zzz > > Suspending system... > > $ (nothing happened) > > > > > real mem = 17021566976 (16233MB) > >> > avail mem = 16488275968 (15724MB) > >> > random: good seed from bootblocks > >> > mpath0 at root > >> > scsibus0 at mpath0: 256 targets > >> > mainbus0 at root > >> > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xb9908000 (58 entries) > >> > bios0: vendor LENOVO version "R0GET56W (1.56 )" date 08/31/2017 > >> > >> You should try > >> https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-l-series-laptops/thinkpad-l470/downloads/ds120327 > >> and see if problem is still present (of course good to have backup :-)) > >> > > > > yes, forgot about that. Will update bios and retry > > > > machine now with bios updated, can reproduce issue after 1 unhibernate, > dmesg right now at "zzz does nothing stage": > Did you try with apmd in debug mode (-d) to see if anything is received over socket? > OpenBSD 7.2-current (GENERIC.MP) #840: Thu Nov 17 08:21:23 MST 2022 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 17021566976 (16233MB) > avail mem = 16488275968 (15724MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xb9908000 (58 entries) > bios0: vendor LENOVO version "R0GET79W (1.79 )" date 07/28/2022 > bios0: LENOVO 20JVS17D00 > efi0 at bios0: UEFI 2.5 > efi0: Lenovo rev 0x1790 > acpi0 at bios0: ACPI 5.0 > acpi0: sleep states S0 S3 S4 S5 S3 state which is sleep is here > acpi0: tables DSDT FACP UEFI SSDT SSDT HPET APIC MCFG ECDT SSDT BOOT BATB > SLIC SSDT SSDT WSMT SSDT SSDT DBGP DBG2 MSDM DMAR ASF! FPDT UEFI > acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4) RP02(S4) but wake up is supported only from XHC_ (not sure if that is USB-C which is not supported on OpenBSD yet if I am correct. Regular xhci(4) would be here as XHCI(S3)) > RP04(S4) RP05(S4) RP06(S4) RP07(S4) RP08(S4) RP09(S4) RP10(S4) RP11(S4) > RP12(S4) RP13(S4) [...] > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpihpet0 at acpi0: 2399 Hz > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2959.28 MHz, 06-4e-03 > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 24MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2860.64 MHz, 06-4e-03 > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 1 (application processor) > cpu2: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2860.64 MHz, 06-4e-03 > cpu2: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM
Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
On Fri, Dec 23, 2022 at 2:46 PM Abel Abraham Camarillo Ojeda < acam...@verlet.org> wrote: > Forgot to mention I don't think this is a regression, just started to use > hibernate/unhibernate more often lately. > But I think I can reproduce this at least since 6.8 (the first that I > installed to this machine) > >> >> >> But still this apply https://www.openbsd.org/report.html (point 2) >> > > By doesn't work I mean: > > $ zzz > Suspending system... > $ (nothing happened) > > > real mem = 17021566976 (16233MB) >> > avail mem = 16488275968 (15724MB) >> > random: good seed from bootblocks >> > mpath0 at root >> > scsibus0 at mpath0: 256 targets >> > mainbus0 at root >> > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xb9908000 (58 entries) >> > bios0: vendor LENOVO version "R0GET56W (1.56 )" date 08/31/2017 >> >> You should try >> https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-l-series-laptops/thinkpad-l470/downloads/ds120327 >> and see if problem is still present (of course good to have backup :-)) >> > > yes, forgot about that. Will update bios and retry > machine now with bios updated, can reproduce issue after 1 unhibernate, dmesg right now at "zzz does nothing stage": OpenBSD 7.2-current (GENERIC.MP) #840: Thu Nov 17 08:21:23 MST 2022 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17021566976 (16233MB) avail mem = 16488275968 (15724MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xb9908000 (58 entries) bios0: vendor LENOVO version "R0GET79W (1.79 )" date 07/28/2022 bios0: LENOVO 20JVS17D00 efi0 at bios0: UEFI 2.5 efi0: Lenovo rev 0x1790 acpi0 at bios0: ACPI 5.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI SSDT SSDT HPET APIC MCFG ECDT SSDT BOOT BATB SLIC SSDT SSDT WSMT SSDT SSDT DBGP DBG2 MSDM DMAR ASF! FPDT UEFI acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4) RP02(S4) RP04(S4) RP05(S4) RP06(S4) RP07(S4) RP08(S4) RP09(S4) RP10(S4) RP11(S4) RP12(S4) RP13(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 2399 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2959.28 MHz, 06-4e-03 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 24MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2860.64 MHz, 06-4e-03 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2860.64 MHz, 06-4e-03 cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2860.64 MHz, 06-4e-03 cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,
Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
On Fri, Dec 23, 2022 at 1:41 PM Bodie wrote: > On Fri Dec 23, 2022 at 8:19 PM CET, Abel Abraham Camarillo Ojeda wrote: > > Hi to all, > > > > Sometimes my lenovo L470 won't dim the screen via F5/F6 or be able to > > suspend/hibernate again after resuming from unhibernation. Also `apm` > will > > show the values from before the hibernate and won't update again, > specially > > battery info. > > > > Any ideas how can I gather more info when I get in the situation? > > > > it fixes by itself if I # reboot; > > > > I think I can reproduce by having around 5-6 hibernate/unhibernate cycles > > > > thanks > > > > dmesg from fresh boot: > > OpenBSD 7.2-current (GENERIC.MP) #840: Thu Nov 17 08:21:23 MST 2022 > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > There's not much changes during last ~1 month, > > https://cvsweb.openbsd.org/src/sys/dev/acpi/ Forgot to mention I don't think this is a regression, just started to use hibernate/unhibernate more often lately. But I think I can reproduce this at least since 6.8 (the first that I installed to this machine) > > > But still this apply https://www.openbsd.org/report.html (point 2) > By doesn't work I mean: $ zzz Suspending system... $ (nothing happened) > > > real mem = 17021566976 (16233MB) > > avail mem = 16488275968 (15724MB) > > random: good seed from bootblocks > > mpath0 at root > > scsibus0 at mpath0: 256 targets > > mainbus0 at root > > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xb9908000 (58 entries) > > bios0: vendor LENOVO version "R0GET56W (1.56 )" date 08/31/2017 > > You should try > https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-l-series-laptops/thinkpad-l470/downloads/ds120327 > and see if problem is still present (of course good to have backup :-)) > yes, forgot about that. Will update bios and retry > > > bios0: LENOVO 20JVS17D00 > > efi0 at bios0: UEFI 2.5 > > efi0: Lenovo rev 0x1560 > > acpi0 at bios0: ACPI 5.0 > > acpi0: sleep states S0 S3 S4 S5 > > acpi0: tables DSDT FACP UEFI SSDT SSDT HPET APIC MCFG ECDT SSDT BOOT BATB > > SLIC SSDT SSDT WSMT SSDT SSDT DBGP DBG2 MSDM DMAR ASF! FPDT UEFI > > acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4) > RP02(S4) > > RP04(S4) RP05(S4) RP06(S4) RP07(S4) RP08(S4) RP09(S4) RP10(S4) RP11(S4) > > RP12(S4) RP13(S4) [...] > > acpitimer0 at acpi0: 3579545 Hz, 24 bits > > acpihpet0 at acpi0: 2399 Hz > > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > > cpu0 at mainbus0: apid 0 (boot processor) > > cpu0: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 1278.24 MHz, 06-4e-03 > > cpu0: > > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > > 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache > > cpu0: smt 0, core 0, package 0 > > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > > cpu0: apic clock running at 24MHz > > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE > > cpu1 at mainbus0: apid 2 (application processor) > > cpu1: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 1050.23 MHz, 06-4e-03 > > cpu1: > > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > > cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > > 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache > > cpu1: smt 0, core 1, package 0 > > cpu2 at mainbus0: apid 1 (application processor) > > cpu2: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 986.43 MHz, 06-4e-03 > > cpu2: > > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > > cpu2: 32KB 64b/line 8-
Re: Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
On Fri Dec 23, 2022 at 8:19 PM CET, Abel Abraham Camarillo Ojeda wrote: > Hi to all, > > Sometimes my lenovo L470 won't dim the screen via F5/F6 or be able to > suspend/hibernate again after resuming from unhibernation. Also `apm` will > show the values from before the hibernate and won't update again, specially > battery info. > > Any ideas how can I gather more info when I get in the situation? > > it fixes by itself if I # reboot; > > I think I can reproduce by having around 5-6 hibernate/unhibernate cycles > > thanks > > dmesg from fresh boot: > OpenBSD 7.2-current (GENERIC.MP) #840: Thu Nov 17 08:21:23 MST 2022 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP There's not much changes during last ~1 month, https://cvsweb.openbsd.org/src/sys/dev/acpi/ But still this apply https://www.openbsd.org/report.html (point 2) > real mem = 17021566976 (16233MB) > avail mem = 16488275968 (15724MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xb9908000 (58 entries) > bios0: vendor LENOVO version "R0GET56W (1.56 )" date 08/31/2017 You should try https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-l-series-laptops/thinkpad-l470/downloads/ds120327 and see if problem is still present (of course good to have backup :-)) > bios0: LENOVO 20JVS17D00 > efi0 at bios0: UEFI 2.5 > efi0: Lenovo rev 0x1560 > acpi0 at bios0: ACPI 5.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP UEFI SSDT SSDT HPET APIC MCFG ECDT SSDT BOOT BATB > SLIC SSDT SSDT WSMT SSDT SSDT DBGP DBG2 MSDM DMAR ASF! FPDT UEFI > acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4) RP02(S4) > RP04(S4) RP05(S4) RP06(S4) RP07(S4) RP08(S4) RP09(S4) RP10(S4) RP11(S4) > RP12(S4) RP13(S4) [...] > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpihpet0 at acpi0: 2399 Hz > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 1278.24 MHz, 06-4e-03 > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 24MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 1050.23 MHz, 06-4e-03 > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 1 (application processor) > cpu2: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 986.43 MHz, 06-4e-03 > cpu2: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN > cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB > 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache > cpu2: smt 1, core 0, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 986.43 MHz, 06-4e-03 > cpu3: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1G
Machine after unhibernate *sometimes* won't suspend/hibernate again or dim screen
Hi to all, Sometimes my lenovo L470 won't dim the screen via F5/F6 or be able to suspend/hibernate again after resuming from unhibernation. Also `apm` will show the values from before the hibernate and won't update again, specially battery info. Any ideas how can I gather more info when I get in the situation? it fixes by itself if I # reboot; I think I can reproduce by having around 5-6 hibernate/unhibernate cycles thanks dmesg from fresh boot: OpenBSD 7.2-current (GENERIC.MP) #840: Thu Nov 17 08:21:23 MST 2022 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17021566976 (16233MB) avail mem = 16488275968 (15724MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xb9908000 (58 entries) bios0: vendor LENOVO version "R0GET56W (1.56 )" date 08/31/2017 bios0: LENOVO 20JVS17D00 efi0 at bios0: UEFI 2.5 efi0: Lenovo rev 0x1560 acpi0 at bios0: ACPI 5.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP UEFI SSDT SSDT HPET APIC MCFG ECDT SSDT BOOT BATB SLIC SSDT SSDT WSMT SSDT SSDT DBGP DBG2 MSDM DMAR ASF! FPDT UEFI acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4) RP02(S4) RP04(S4) RP05(S4) RP06(S4) RP07(S4) RP08(S4) RP09(S4) RP10(S4) RP11(S4) RP12(S4) RP13(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 2399 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 1278.24 MHz, 06-4e-03 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 24MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 1050.23 MHz, 06-4e-03 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 986.43 MHz, 06-4e-03 cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 986.43 MHz, 06-4e-03 cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN cpu3: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 120 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xf800, bus 0-63 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 a