Monday, November 03, 2025

Re: ZZZ takes too long to shutdown

Hibernation saves the memory content to disk.
In your case, that means writing 32GB.
One minute is not too long for that.


On Nov 03 11:34:40, wai@roquesor.com wrote:
> On this machine hibernation works. When it's turnend on again, the
> image saved is restored perfectly. However, after running ZZZ, it takes
> too long to shutdown. Depending on the applications running it can take
> a minute or a minute and a half. I can't find any significative in the
> logs. This is what /var/log/messages tell me rigth before ZZZ:
>
> Nov 3 08:19:20 chancha apmd: system hibernating
> Nov 3 08:19:20 chancha apmd: battery status: absent. external power status: not known. estimated battery life 0%
> Nov 3 08:19:21 chancha /bsd: upd0 detached
> Nov 3 08:19:21 chancha /bsd: uhid0 detached
> Nov 3 08:19:21 chancha /bsd: uhid1 detached
> Nov 3 08:19:21 chancha /bsd: uhid2 detached
> Nov 3 08:19:21 chancha /bsd: uhid3 detached
> Nov 3 08:19:21 chancha /bsd: uhid4 detached
> Nov 3 08:19:21 chancha /bsd: uhid5 detached
> Nov 3 08:19:21 chancha /bsd: uhid6 detached
> Nov 3 08:19:21 chancha /bsd: uhid7 detached
> Nov 3 08:19:21 chancha /bsd: uhid8 detached
> Nov 3 08:19:21 chancha /bsd: uhid9 detached
> Nov 3 08:19:21 chancha /bsd: uhid10 detached
> Nov 3 08:19:21 chancha /bsd: uhid11 detached
> Nov 3 08:19:21 chancha /bsd: uhid12 detached
> Nov 3 08:19:21 chancha /bsd: uhid13 detached
> Nov 3 08:19:21 chancha /bsd: uhid14 detached
> Nov 3 08:19:21 chancha /bsd: uhid15 detached
> Nov 3 08:19:21 chancha /bsd: uhid16 detached
> Nov 3 08:19:21 chancha /bsd: uhid17 detached
> Nov 3 08:19:21 chancha /bsd: uhid18 detached
> Nov 3 08:19:21 chancha /bsd: uhid19 detached
> Nov 3 08:19:21 chancha /bsd: uhid20 detached
> Nov 3 08:19:21 chancha /bsd: uhid21 detached
> Nov 3 08:19:21 chancha /bsd: uhidev0 detached
> Nov 3 08:19:22 chancha /bsd: ugen0 detached
>
>
> Does anyone have any idea what it could be?
>
>
>
> dmesg:
> OpenBSD 7.8-current (GENERIC.MP) #81: Sat Nov 1 11:07:45 MDT 2025
> deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 34072223744 (32493MB)
> avail mem = 33012432896 (31483MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.4 @ 0x75d25000 (40 entries)
> bios0: vendor American Megatrends Inc. version "D500TD.336" date 04/10/2025
> bios0: ASUSTeK COMPUTER INC. ASUS D500TD_S501MD
> efi0 at bios0: UEFI 2.8
> efi0: American Megatrends rev 0x50017
> acpi0 at bios0: ACPI 6.4
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP MCFG SSDT FIDT WSMT SSDT SSDT SSDT SSDT HPET APIC MCFG SSDT NHLT LPIT SSDT SSDT DBGP DBG2 SSDT DMAR FPDT SSDT SSDT SSDT SSDT TPM2 BGRT PHAT
> acpi0: wakeup devices PEG1(S4) PEGP(S4) PEGP(S4) PEGP(S4) PEG0(S4) PEGP(S4) PS2K(S4) PS2M(S4) RP09(S4) PXSX(S4) RP10(S4) PXSX(S4) RP11(S4) PXSX(S4) RP12(S4) PXSX(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xc0000000, bus 0-255
> acpihpet0 at acpi0: 19200000 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: 12th Gen Intel(R) Core(TM) i3-12100, 3292.92 MHz, 06-97-05, patch 0000003a
> cpu0: cpuid 1 edx=bfebfbff<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> ecx=77fafbbf<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND>
> cpu0: cpuid 6 eax=df8ff7<SENSOR,ARAT,PTS> ecx=409<EFFFREQ>
> cpu0: cpuid 7.0 ebx=239c27eb<FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA> ecx=98c007ac<UMIP,PKU,WAITPKG,PKS> edx=fc184410<MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD>
> cpu0: cpuid a vers=5, gp=8, gpwidth=48, ff=4, ffwidth=48
> cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES>
> cpu0: cpuid 80000001 edx=2c100800<NXE,PAGE1GB,RDTSCP,LONG> ecx=121<LAHF,ABM,3DNOWP>
> cpu0: cpuid 80000007 edx=100<ITSC>
> cpu0: msr 10a=cc8fd6b<IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,TAA_NO,MISC_PKG_CT,ENERGY_FILT,DOITM,SBDR_SSDP_N,FBSDP_NO,PSDP_NO,RRSBA,OVERCLOCK,GDS_NO,RFDS_NO>
> cpu0: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 10-way L2 cache, 12MB 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 38MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.0.1.0.1.0.1, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: 12th Gen Intel(R) Core(TM) i3-12100, 3292.92 MHz, 06-97-05, patch 0000003a
> cpu1: smt 1, core 0, package 0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: 12th Gen Intel(R) Core(TM) i3-12100, 3292.85 MHz, 06-97-05, patch 0000003a
> cpu2: smt 0, core 1, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: 12th Gen Intel(R) Core(TM) i3-12100, 3292.85 MHz, 06-97-05, patch 0000003a
> cpu3: smt 1, core 1, package 0
> cpu4 at mainbus0: apid 4 (application processor)
> cpu4: 12th Gen Intel(R) Core(TM) i3-12100, 3292.93 MHz, 06-97-05, patch 0000003a
> cpu4: smt 0, core 2, package 0
> cpu5 at mainbus0: apid 5 (application processor)
> cpu5: 12th Gen Intel(R) Core(TM) i3-12100, 3292.93 MHz, 06-97-05, patch 0000003a
> cpu5: smt 1, core 2, package 0
> cpu6 at mainbus0: apid 6 (application processor)
> cpu6: 12th Gen Intel(R) Core(TM) i3-12100, 3292.87 MHz, 06-97-05, patch 0000003a
> cpu6: smt 0, core 3, package 0
> cpu7 at mainbus0: apid 7 (application processor)
> cpu7: 12th Gen Intel(R) Core(TM) i3-12100, 3292.87 MHz, 06-97-05, patch 0000003a
> cpu7: smt 1, core 3, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
> acpimcfg1 at acpi0
> acpimcfg1: addr 0xc0000000, bus 0-255
> acpiprt0 at acpi0: bus 0 (PC00)
> acpiprt1 at acpi0: bus -1 (PEG1)
> acpiprt2 at acpi0: bus 1 (PEG0)
> acpiprt3 at acpi0: bus -1 (RP09)
> acpiprt4 at acpi0: bus -1 (RP10)
> acpiprt5 at acpi0: bus -1 (RP11)
> acpiprt6 at acpi0: bus -1 (RP12)
> acpiprt7 at acpi0: bus -1 (RP13)
> acpiprt8 at acpi0: bus -1 (RP14)
> acpiprt9 at acpi0: bus -1 (RP15)
> acpiprt10 at acpi0: bus -1 (RP16)
> acpiprt11 at acpi0: bus 3 (RP01)
> acpiprt12 at acpi0: bus -1 (RP02)
> acpiprt13 at acpi0: bus -1 (RP03)
> acpiprt14 at acpi0: bus -1 (RP04)
> acpiprt15 at acpi0: bus -1 (RP05)
> acpiprt16 at acpi0: bus -1 (RP06)
> acpiprt17 at acpi0: bus -1 (RP07)
> acpiprt18 at acpi0: bus -1 (RP08)
> acpiprt19 at acpi0: bus -1 (RP17)
> acpiprt20 at acpi0: bus -1 (RP18)
> acpiprt21 at acpi0: bus -1 (RP19)
> acpiprt22 at acpi0: bus -1 (RP20)
> acpiprt23 at acpi0: bus -1 (RP21)
> acpiprt24 at acpi0: bus -1 (RP22)
> acpiprt25 at acpi0: bus -1 (RP23)
> acpiprt26 at acpi0: bus -1 (RP24)
> acpiprt27 at acpi0: bus 2 (RP25)
> acpiprt28 at acpi0: bus -1 (RP26)
> acpiprt29 at acpi0: bus -1 (RP27)
> acpiprt30 at acpi0: bus -1 (RP28)
> acpiec0 at acpi0: not present
> acpipci0 at acpi0 PC00: 0x00000000 0x00000011 0x00000001
> com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
> com1 at acpi0 UAR2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo
> "PNP0303" at acpi0 not configured
> "PNP0F03" at acpi0 not configured
> "ACPI000E" at acpi0 not configured
> pchgpio0 at acpi0 GPI0 addr 0xe06e0000/0x10000 0xe06d0000/0x10000 0xe06b0000/0x10000 0xe06a0000/0x10000 0xe0690000/0x10000 irq 14, 480 pins
> acpibtn0 at acpi0: SLPB
> acpicpu0 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x20), C1(1000@1 mwait.1), PSS
> acpicpu1 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x20), C1(1000@1 mwait.1), PSS
> acpicpu2 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x20), C1(1000@1 mwait.1), PSS
> acpicpu3 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x20), C1(1000@1 mwait.1), PSS
> acpicpu4 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x20), C1(1000@1 mwait.1), PSS
> acpicpu5 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x20), C1(1000@1 mwait.1), PSS
> acpicpu6 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x20), C1(1000@1 mwait.1), PSS
> acpicpu7 at acpi0: C3(200@1048 mwait.1@0x60), C2(350@127 mwait.1@0x20), C1(1000@1 mwait.1), PSS
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> intelpmc0 at acpi0: PEPD
> state 0: 0x7f:1:2:0x00:0x0000000000000060
> counter: 0x7f:64:0:0x00:0x0000000000000632
> frequency: 0
> state 1: 0x7f:1:2:0x00:0x0000000000000060
> counter: 0x00:32:0:0x03:0x00000000fe001098
> frequency: 32768
> acpibtn1 at acpi0: PWRB
> tpm0 at acpi0 TPM_ 2.0 (CRB) addr 0xfed40000/0x5000, device 0x00000000 rev 0x0
> "PNP0C14" at acpi0 not configured
> "ASUS2018" at acpi0 not configured
> "INTC1041" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> acpipwrres0 at acpi0: DRP1, resource for UAR1
> acpipwrres1 at acpi0: DRP2, resource for UAR2
> acpipwrres2 at acpi0: BTRT
> acpipwrres3 at acpi0: WRST
> acpipwrres4 at acpi0: FN00, resource for FAN0
> acpipwrres5 at acpi0: FN01, resource for FAN1
> acpipwrres6 at acpi0: FN02, resource for FAN2
> acpipwrres7 at acpi0: FN03, resource for FAN3
> acpipwrres8 at acpi0: FN04, resource for FAN4
> acpitz0 at acpi0
> acpitz0: critical temperature is 105 degC
> acpipwrres9 at acpi0: PIN_
> acpivideo0 at acpi0: GFX0
> acpivout0 at acpivideo0: DD1F
> acpivout1 at acpivideo0: DD2F
> cpu0: Enhanced SpeedStep 3292 MHz: speeds: 3301, 3300, 3100, 2900, 2800, 2600, 2400, 2200, 2000, 1900, 1700, 1500, 1300, 1200, 1000, 800 MHz
> pci0 at mainbus0 bus 0
> 0:31:5: mem address conflict 0xfe010000/0x1000
> pchb0 at pci0 dev 0 function 0 "Intel Core 12G Host" rev 0x05
> inteldrm0 at pci0 dev 2 function 0 "Intel UHD Graphics 730" rev 0x0c
> drm0 at inteldrm0
> inteldrm0: msi, ALDERLAKE_S, gen 12
> "Intel Core 12G DTT" rev 0x05 at pci0 dev 4 function 0 not configured
> ppb0 at pci0 dev 6 function 0 "Intel Core 12G PCIE" rev 0x05: msi
> pci1 at ppb0 bus 1
> nvme0 at pci1 dev 0 function 0 vendor "Intel", unknown product 0xf1aa rev 0x03: msix, NVMe 1.4
> nvme0: INTEL SSDPEKNU512GZ, firmware 002C, serial BTKA2196267J512A
> scsibus1 at nvme0: 2 targets, initiator 0
> sd0 at scsibus1 targ 1 lun 0: <NVMe, INTEL SSDPEKNU51, 002C>
> sd0: 488386MB, 512 bytes/sector, 1000215216 sectors
> "Intel Core 12G GNA" rev 0x05 at pci0 dev 8 function 0 not configured
> "Intel Core 12G CL" rev 0x01 at pci0 dev 10 function 0 not configured
> xhci0 at pci0 dev 20 function 0 "Intel 600 Series xHCI" rev 0x11: msi, xHCI 1.20
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
> "Intel 600 Series Shared SRAM" rev 0x11 at pci0 dev 20 function 2 not configured
> iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX211" rev 0x11, msix
> dwiic0 at pci0 dev 21 function 0 "Intel 600 Series I2C" rev 0x11: apic 2 int 27
> iic0 at dwiic0
> "Intel 600 Series HECI" rev 0x11 at pci0 dev 22 function 0 not configured
> ahci0 at pci0 dev 23 function 0 "Intel 600 Series AHCI" rev 0x11: msi, AHCI 1.3.1
> ahci0: port 4: 6.0Gb/s
> ahci0: PHY offline on port 5
> ahci0: PHY offline on port 6
> ahci0: PHY offline on port 7
> scsibus2 at ahci0: 32 targets
> sd1 at scsibus2 targ 4 lun 0: <ATA, WDC WD10EZEX-08M, 01.0> naa.50014ee25faacc35
> sd1: 953869MB, 512 bytes/sector, 1953525168 sectors
> ppb1 at pci0 dev 26 function 0 "Intel 600 Series PCIE" rev 0x11: msi
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 28 function 0 "Intel 600 Series PCIE" rev 0x11: msi
> pci3 at ppb2 bus 3
> pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x7a86 rev 0x11
> azalia0 at pci0 dev 31 function 3 "Intel 600 Series HD Audio" rev 0x11: msi
> azalia0: codecs: Realtek ALC897, Intel/0x2815, using Realtek ALC897
> audio0 at azalia0
> ichiic0 at pci0 dev 31 function 4 "Intel 600 Series SMBus" rev 0x11: apic 2 int 18
> iic1 at ichiic0
> iic1: addr 0x20 0b=33 0c=33 0d=ee 0e=ee 0f=44 10=44 11=44 12=44 14=ab 15=0b 16=31 17=01 19=8a 1a=51 1b=68 1c=33 1d=0f 1e=0c 20=40 21=40 22=46 2a=02 2d=33 2e=ee 2f=44 32=ab 37=8a 38=51 39=0f 3a=0c 3b=46 43=25 44=23 48=01 4a=ff 4c=ff 52=64 55=01 57=01 59=55 5a=3f 5b=01 b2=50 words 00=00ff 01=00ff 02=00ff 03=00ff 04=00ff 05=00ff 06=00ff 07=00ff
> spdmem0 at iic1 addr 0x51: 16GB DDR4 SDRAM PC4-25600
> spdmem1 at iic1 addr 0x53: 16GB DDR4 SDRAM PC4-25600
> "Intel 600 Series SPI" rev 0x11 at pci0 dev 31 function 5 not configured
> em0 at pci0 dev 31 function 6 "Intel I219-V" rev 0x11: msi, address c8:7f:54:18:87:82
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard
> pms0 at pckbc0 (aux slot)
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt0 at isa0 port 0x378/4 irq 7
> lm0 at isa0 port 0x290/8: W83627DHG
> vmm0 at mainbus0: VMX/EPT
> efifb at mainbus0 not configured
> uhidev0 at uhub0 port 1 configuration 1 interface 0 "EATON Eaton 3S" rev 1.10/1.00 addr 2
> uhidev0: iclass 3/0, 34 report ids
> upd0 at uhidev0
> uhid0 at uhidev0 reportid 2: input=2, output=0, feature=2
> uhid1 at uhidev0 reportid 3: input=4, output=0, feature=4
> uhid2 at uhidev0 reportid 6: input=4, output=0, feature=4
> uhid3 at uhidev0 reportid 7: input=0, output=0, feature=7
> uhid4 at uhidev0 reportid 8: input=0, output=0, feature=1
> uhid5 at uhidev0 reportid 9: input=0, output=0, feature=4
> uhid6 at uhidev0 reportid 10: input=0, output=0, feature=4
> uhid7 at uhidev0 reportid 11: input=0, output=0, feature=10
> uhid8 at uhidev0 reportid 12: input=0, output=0, feature=7
> uhid9 at uhidev0 reportid 13: input=0, output=0, feature=3
> uhid10 at uhidev0 reportid 14: input=0, output=0, feature=2
> uhid11 at uhidev0 reportid 16: input=0, output=0, feature=1
> uhid12 at uhidev0 reportid 18: input=0, output=0, feature=1
> uhid13 at uhidev0 reportid 19: input=0, output=0, feature=2
> uhid14 at uhidev0 reportid 20: input=0, output=0, feature=1
> uhid15 at uhidev0 reportid 21: input=0, output=0, feature=1
> uhid16 at uhidev0 reportid 23: input=0, output=0, feature=5
> uhid17 at uhidev0 reportid 24: input=0, output=0, feature=10
> uhid18 at uhidev0 reportid 25: input=0, output=0, feature=1
> uhid19 at uhidev0 reportid 31: input=0, output=0, feature=1
> uhid20 at uhidev0 reportid 32: input=0, output=0, feature=1
> uhid21 at uhidev0 reportid 34: input=0, output=0, feature=1
> ugen0 at uhub0 port 14 "Intel Bluetooth" rev 2.01/0.02 addr 3
> vscsi0 at root
> scsibus3 at vscsi0: 256 targets
> softraid0 at root
> scsibus4 at softraid0: 256 targets
> root on sd0a (dcefd659817695b7.a) swap on sd0b dump on sd0b
> inteldrm0: 1920x1080, 32bpp
> wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> iwx0: hw rev 0x430, fw 77.f92b5fed.0, address b0:3c:dc:cf:e7:48
>
> usbdevs:
> Controller /dev/usb0:
> addr 01: 8086:0000 Intel, xHCI root hub
> super speed, self powered, config 1, rev 1.00
> driver: uhub0
> addr 02: 0463:ffff EATON, Eaton 3S
> full speed, power 20 mA, config 1, rev 1.00, iSerial Blank
> driver: uhidev0
> addr 03: 8087:0026 Intel, Bluetooth
> full speed, self powered, config 1, rev 0.02
> driver: ugen0
>
>
> --
> Walter
>
>

No comments:

Post a Comment