Need permanent fix for suspend. Suspend doesn't work in Ubuntu 18.04
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I think I requested something less than suitable.
Anyhow, it's a Dell OptiPlex 990 from ~2011, yes?
You must get a hold of some relevant log data; the journalctl is only the first 50 lines, pointless here.
try
Code:
dmesg | grep -iC3 acpi
Or find what's in the journal and/or dmesg around the time suspend fails.
What exactly do the commands in post #1 do?
Do you have to execute them each time you want to suspend the machine?
The commands I listed in the first post are the ones I'm currently using. It works fine if I don't mind opening a terminal and entering the commands when I want my computer to hibernate. I leave it running for the day but have to open a terminal again after I've shut the computer off.
And yes, I have a Dell Optiplex 990. I bought it refurbished a couple of years ago and my OS is Ubuntu 18.04.04. Here are the terminal results from the commands you gave:
root@suzuki-OptiPlex-990:~# dmesg | grep -iC3 acpi
[ 0.000000] BIOS-e820: [mem 0x00000000ca9f8000-0x00000000caa3bfff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000caa3c000-0x00000000cadb6fff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000cadb7000-0x00000000cade6fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000cade7000-0x00000000cafe6fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000cafe7000-0x00000000caffefff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000cafff000-0x00000000caffffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000ffc00000-0x00000000ffc1ffff] reserved
--
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] reserving inaccessible SNB gfx pages
[ 0.000000] RAMDISK: [mem 0x330a9000-0x3584bfff]
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000000FE300 000024 (v02 DELL )
[ 0.000000] ACPI: XSDT 0x00000000CAFFDE18 000074 (v01 DELL CBX3 06222004 MSFT 00010013)
[ 0.000000] ACPI: FACP 0x00000000CAF87D98 0000F4 (v04 DELL CBX3 06222004 MSFT 00010013)
[ 0.000000] ACPI: DSDT 0x00000000CAF71018 007581 (v02 INT430 SYSFexxx 00001001 INTL 20090903)
[ 0.000000] ACPI: FACS 0x00000000CAFE4E40 000040
[ 0.000000] ACPI: FACS 0x00000000CAFE4D40 000040
[ 0.000000] ACPI: APIC 0x00000000CAFFCF18 0000CC (v02 DELL CBX3 06222004 MSFT 00010013)
[ 0.000000] ACPI: TCPA 0x00000000CAFE5D18 000032 (v02 00000000 00000000)
[ 0.000000] ACPI: SSDT 0x00000000CAF88A98 0002F9 (v01 DELLTP TPM 00003000 INTL 20090903)
[ 0.000000] ACPI: MCFG 0x00000000CAFE5C98 00003C (v01 DELL SNDYBRDG 06222004 MSFT 00000097)
[ 0.000000] ACPI: HPET 0x00000000CAFE5C18 000038 (v01 A M I PCHHPET 06222004 AMI. 00000003)
[ 0.000000] ACPI: BOOT 0x00000000CAFE5B98 000028 (v01 DELL CBX3 06222004 AMI 00010013)
[ 0.000000] ACPI: SSDT 0x00000000CAF7E818 0007C2 (v01 PmRef Cpu0Ist 00003000 INTL 20090903)
[ 0.000000] ACPI: SSDT 0x00000000CAF7D018 000996 (v01 PmRef CpuPm 00003000 INTL 20090903)
[ 0.000000] ACPI: SLIC 0x00000000CAF86C18 000176 (v03 DELL CBX3 06222004 MSFT 00010013)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000022dffffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x22dfd1000-0x22dffbfff]
--
[ 0.000000] Normal zone: 19328 pages used for memmap
[ 0.000000] Normal zone: 1236992 pages, LIFO batch:31
[ 0.000000] Reserving Intel graphics memory at 0x00000000cba00000-0x00000000cf9fffff
[ 0.000000] ACPI: PM-Timer IO Port: 0x408
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[ 0.000000] TSC deadline timer available
[ 0.000000] smpboot: Allowing 16 CPUs, 12 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
--
[ 0.000000] vt handoff: transparent VT on vt#1
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [tty0] enabled
[ 0.000000] ACPI: Core revision 20170831
[ 0.000000] ACPI: 4 ACPI AML tables successfully acquired and loaded
[ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
[ 0.000000] hpet clockevent registered
[ 0.000000] APIC: Switch to symmetric I/O mode setup
--
[ 0.038372] evm: security.apparmor
[ 0.038372] evm: security.ima
[ 0.038372] evm: security.capability
[ 0.038372] PM: Registering ACPI NVS region [mem 0xcade7000-0xcafe6fff] (2097152 bytes)
[ 0.038372] reboot: Dell OptiPlex 990 series board detected. Selecting PCI-method for reboots.
[ 0.038426] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.038426] futex hash table entries: 4096 (order: 6, 262144 bytes)
--
[ 0.038426] cpuidle: using governor ladder
[ 0.038426] cpuidle: using governor menu
[ 0.038426] Simple Boot Flag at 0xf3 set to 0x1
[ 0.038426] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[ 0.038426] ACPI: bus type PCI registered
[ 0.038426] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.038426] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[ 0.038426] PCI: not using MMCONFIG
[ 0.038426] PCI: Using configuration type 1 for base access
[ 0.040025] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT off
[ 0.041016] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.041016] ACPI: Added _OSI(Module Device)
[ 0.041016] ACPI: Added _OSI(Processor Device)
[ 0.041016] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.041016] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.041016] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.041016] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.041016] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[ 0.045078] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 0.048460] ACPI: Dynamic OEM Table Load:
[ 0.048466] ACPI: SSDT 0xFFFF8CAF63A06800 000727 (v01 PmRef Cpu0Cst 00003001 INTL 20090903)
[ 0.048875] ACPI: Dynamic OEM Table Load:
[ 0.048878] ACPI: SSDT 0xFFFF8CAF63434400 000303 (v01 PmRef ApIst 00003000 INTL 20090903)
[ 0.049166] ACPI: Dynamic OEM Table Load:
[ 0.049169] ACPI: SSDT 0xFFFF8CAF63B44A00 000119 (v01 PmRef ApCst 00003000 INTL 20090903)
[ 0.050004] ACPI: Interpreter enabled
[ 0.050020] ACPI: (supports S0 S3 S4 S5)
[ 0.050021] ACPI: Using IOAPIC for interrupt routing
[ 0.050045] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[ 0.050455] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in ACPI motherboard resources
[ 0.050463] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.050642] ACPI: Enabled 5 GPEs in block 00 to 3F
[ 0.057380] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])
[ 0.057384] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[ 0.057428] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[ 0.058004] PCI host bridge to bus 0000:00
[ 0.058007] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 0.058008] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
--
[ 0.060432] pci 0000:00:1e.0: bridge window [io 0x0d00-0xffff window] (subtractive decode)
[ 0.060433] pci 0000:00:1e.0: bridge window [mem 0x000a0000-0x000bffff window] (subtractive decode)
[ 0.060434] pci 0000:00:1e.0: bridge window [mem 0xcfa00000-0xfeafffff window] (subtractive decode)
[ 0.060962] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
[ 0.061026] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
[ 0.061088] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
[ 0.061148] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[ 0.061210] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 *5 6 7 10 12 14 15)
[ 0.061270] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[ 0.061331] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 *3 4 5 6 7 10 12 14 15)
[ 0.061391] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[ 0.061630] SCSI subsystem initialized
[ 0.061640] libata version 3.00 loaded.
[ 0.061640] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[ 0.061640] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 0.061640] pci 0000:00:02.0: vgaarb: bridge control possible
[ 0.061640] vgaarb: loaded
[ 0.061640] ACPI: bus type USB registered
[ 0.061640] usbcore: registered new interface driver usbfs
[ 0.061640] usbcore: registered new interface driver hub
[ 0.061640] usbcore: registered new device driver usb
[ 0.061640] EDAC MC: Ver: 3.0.0
[ 0.061640] PCI: Using ACPI for IRQ routing
[ 0.061640] PCI: pci_cache_line_size set to 64 bytes
[ 0.061640] e820: reserve RAM buffer [mem 0x0009ac00-0x0009ffff]
[ 0.061640] e820: reserve RAM buffer [mem 0xca9f8000-0xcbffffff]
--
[ 0.072624] VFS: Disk quotas dquot_6.6.0
[ 0.072644] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.072728] AppArmor: AppArmor Filesystem Enabled
[ 0.072753] pnp: PnP ACPI init
[ 0.072928] system 00:00: [io 0x0680-0x069f] has been reserved
[ 0.072929] system 00:00: [io 0xffff] has been reserved
[ 0.072930] system 00:00: [io 0xffff] has been reserved
--
[ 0.072933] system 00:00: [io 0x0458-0x047f] has been reserved
[ 0.072935] system 00:00: [io 0x0500-0x057f] has been reserved
[ 0.072936] system 00:00: [io 0x164e-0x164f] has been reserved
[ 0.072941] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.072963] pnp 00:01: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 0.073012] system 00:02: [io 0x0454-0x0457] has been reserved
[ 0.073015] system 00:02: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active)
[ 0.073329] pnp 00:03: Plug and Play ACPI device, IDs PNP0501 (active)
[ 0.073552] system 00:04: [mem 0xfed1c000-0xfed1ffff] has been reserved
[ 0.073553] system 00:04: [mem 0xfed10000-0xfed17fff] has been reserved
[ 0.073554] system 00:04: [mem 0xfed18000-0xfed18fff] has been reserved
--
[ 0.073560] system 00:04: [mem 0xfed45000-0xfed8ffff] has been reserved
[ 0.073561] system 00:04: [mem 0xff000000-0xffffffff] could not be reserved
[ 0.073562] system 00:04: [mem 0xfee00000-0xfeefffff] has been reserved
[ 0.073565] system 00:04: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.073605] system 00:05: [mem 0x20000000-0x201fffff] has been reserved
[ 0.073606] system 00:05: [mem 0x40000000-0x401fffff] has been reserved
[ 0.073609] system 00:05: Plug and Play ACPI device, IDs PNP0c01 (active)
[ 0.073731] pnp: PnP ACPI: found 6 devices
[ 0.079677] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.079712] pci 0000:00:1c.0: PCI bridge to [bus 01]
[ 0.079729] pci 0000:00:1c.2: PCI bridge to [bus 02]
[ 0.079732] pci 0000:00:1c.2: bridge window [io 0x2000-0x2fff]
--
[ 0.534060] intel_idle: v0.4.1 model 0x2A
[ 0.534161] intel_idle: lapic_timer_reliable_states 0xffffffff
[ 0.534234] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[ 0.534243] ACPI: Power Button [PWRB]
[ 0.534271] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[ 0.534294] ACPI: Power Button [PWRF]
[ 0.534629] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 0.555135] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 0.577020] 0000:00:16.3: ttyS4 at I/O 0x30e0 (irq = 17, base_baud = 115200) is a 16550A
--
[ 6.569057] parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
[ 6.704658] parport0: irq 7 detected
[ 6.800134] lp0: using parport0 (polling).
[ 17.612170] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20170831/utaddress-247)
[ 17.612174] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20170831/utaddress-247)
[ 17.612177] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 17.612180] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[ 17.612182] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[ 17.612184] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 17.612185] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[ 17.612187] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[ 17.612189] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 17.612190] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[ 17.612192] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[ 17.612194] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 17.612194] lpc_ich: Resource conflict(s) found affecting gpio_ich
[ 17.714012] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 163840 ms ovfl timer
[ 17.714014] RAPL PMU: hw unit of domain pp0-core 2^-16 Joules
--
[ 19.795166] Code: e9 46 fc ff ff 48 c7 c6 f7 1d 8e c0 48 c7 c7 4f 11 8e c0 e8 64 a7 e3 d2 0f 0b e9 73 fe ff ff 48 c7 c7 40 76 8f c0 e8 51 a7 e3 d2 <0f> 0b e9 4b fe ff ff 48 c7 c6 04 1e 8e c0 48 c7 c7 4f 11 8e c0
[ 19.795179] ---[ end trace 48014eb8766726c0 ]---
[ 19.797669] [drm] Initialized i915 1.6.0 20171023 for 0000:00:02.0 on minor 0
[ 19.798122] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 19.798386] acpi device:01: registered as cooling_device5
[ 19.798450] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9
[ 19.815379] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 19.860863] fbcon: inteldrmfb (fb0) is primary device
--
[ 1409.410405] e1000e: EEE TX LPI TIMER: 00000011
[ 1409.415114] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[ 1409.483939] sd 2:0:0:0: [sda] Stopping disk
[ 1409.723574] ACPI: Preparing to enter system sleep state S3
[ 1409.723925] PM: Saving platform NVS memory
[ 1409.723950] Disabling non-boot CPUs ...
[ 1409.739474] IRQ 27: no longer affine to CPU1
--
[ 1409.764478] smpboot: CPU 2 is now offline
[ 1409.787411] IRQ 16: no longer affine to CPU3
[ 1409.788429] smpboot: CPU 3 is now offline
[ 1409.789835] ACPI: Low-level resume complete
[ 1409.789882] PM: Restoring platform NVS memory
[ 1409.790926] Enabling non-boot CPUs ...
[ 1409.790985] x86: Booting SMP configuration:
--
[ 1409.797425] smpboot: Booting Node 0 Processor 3 APIC 0x6
[ 1409.800318] cache: parent cpu3 should not be sleeping
[ 1409.800632] CPU3 is up
[ 1409.803218] ACPI: Waking up from system sleep state S3
[ 1409.829330] serial 00:03: activated
[ 1409.835555] sd 2:0:0:0: [sda] Starting disk
[ 1410.040472] usb 2-1.1: reset high-speed USB device number 3 using ehci-pci
--
[ 6887.310375] e1000e: EEE TX LPI TIMER: 00000011
[ 6887.377917] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[ 6887.405536] sd 2:0:0:0: [sda] Stopping disk
[ 6887.657074] ACPI: Preparing to enter system sleep state S3
[ 6887.657392] PM: Saving platform NVS memory
[ 6887.657415] Disabling non-boot CPUs ...
[ 6887.673039] IRQ 27: no longer affine to CPU1
--
[ 6887.697039] IRQ 24: no longer affine to CPU2
[ 6887.698054] smpboot: CPU 2 is now offline
[ 6887.721996] smpboot: CPU 3 is now offline
[ 6887.723343] ACPI: Low-level resume complete
[ 6887.723390] PM: Restoring platform NVS memory
[ 6887.724446] Enabling non-boot CPUs ...
[ 6887.724492] x86: Booting SMP configuration:
--
[ 6887.730912] smpboot: Booting Node 0 Processor 3 APIC 0x6
[ 6887.733812] cache: parent cpu3 should not be sleeping
[ 6887.734141] CPU3 is up
[ 6887.736726] ACPI: Waking up from system sleep state S3
[ 6887.767096] serial 00:03: activated
[ 6887.769283] sd 2:0:0:0: [sda] Starting disk
[ 6887.978059] usb 2-1.1: reset high-speed USB device number 3 using ehci-pci
--
[ 9709.510863] e1000e: EEE TX LPI TIMER: 00000011
[ 9709.515316] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[ 9709.611020] sd 2:0:0:0: [sda] Stopping disk
[ 9709.851734] ACPI: Preparing to enter system sleep state S3
[ 9709.852098] PM: Saving platform NVS memory
[ 9709.852123] Disabling non-boot CPUs ...
[ 9709.867631] IRQ 27: no longer affine to CPU1
--
[ 9709.892657] smpboot: CPU 2 is now offline
[ 9709.915592] IRQ 16: no longer affine to CPU3
[ 9709.916611] smpboot: CPU 3 is now offline
[ 9709.917987] ACPI: Low-level resume complete
[ 9709.918032] PM: Restoring platform NVS memory
[ 9709.919088] Enabling non-boot CPUs ...
[ 9709.919154] x86: Booting SMP configuration:
--
[ 9709.925542] smpboot: Booting Node 0 Processor 3 APIC 0x6
[ 9709.928454] cache: parent cpu3 should not be sleeping
[ 9709.928774] CPU3 is up
[ 9709.931361] ACPI: Waking up from system sleep state S3
[ 9709.953686] serial 00:03: activated
[ 9709.959863] sd 2:0:0:0: [sda] Starting disk
[ 9710.164657] usb 2-1.1: reset high-speed USB device number 3 using ehci-pci
--
[11812.917276] e1000e: EEE TX LPI TIMER: 00000011
[11812.923496] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[11813.082138] sd 2:0:0:0: [sda] Stopping disk
[11813.335847] ACPI: Preparing to enter system sleep state S3
[11813.336193] PM: Saving platform NVS memory
[11813.336217] Disabling non-boot CPUs ...
[11813.351840] IRQ 27: no longer affine to CPU1
--
[11813.376802] smpboot: CPU 2 is now offline
[11813.399782] IRQ 16: no longer affine to CPU3
[11813.400793] smpboot: CPU 3 is now offline
[11813.402196] ACPI: Low-level resume complete
[11813.402242] PM: Restoring platform NVS memory
[11813.403350] Enabling non-boot CPUs ...
[11813.403417] x86: Booting SMP configuration:
--
[11813.409869] smpboot: Booting Node 0 Processor 3 APIC 0x6
[11813.412777] cache: parent cpu3 should not be sleeping
[11813.413101] CPU3 is up
[11813.415688] ACPI: Waking up from system sleep state S3
[11813.434223] sd 2:0:0:0: [sda] Starting disk
[11813.437846] serial 00:03: activated
[11813.648808] usb 2-1.1: reset high-speed USB device number 3 using ehci-pci
root@suzuki-OptiPlex-990:~#
The commands I listed in the first post are the ones I'm currently using. It works fine if I don't mind opening a terminal and entering the commands when I want my computer to hibernate. I leave it running for the day but have to open a terminal again after I've shut the computer off.
Still unclear; do you have to use these commands, both in sequence, only once, after booting the machine?
That wouldn't make sense btw because they overwrite the same file, i.e. the latter should be enough.
If that is so, it should be trivial to automate.
...Or try to find a real fix.
These lines seem relevant:
Code:
[ 0.045078] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
(...)
[ 0.057384] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[ 0.057428] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
(...)
(...)
[ 0.061148] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[ 0.061210] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 *5 6 7 10 12 14 15)
[ 0.061270] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[ 0.061331] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 *3 4 5 6 7 10 12 14 15)
[ 0.061391] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
(...)
[ 17.612170] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20170831/utaddress-247)
[ 17.612174] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20170831/utaddress-247)
[ 17.612177] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 17.612180] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[ 17.612182] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[ 17.612184] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 17.612185] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[ 17.612187] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[ 17.612189] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 17.612190] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[ 17.612192] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[ 17.612194] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
I have no clue what this is about, but if I were you I'd search some of these error messages, maybe someone has had this problem before you.
And btw please learn to wrap output in CODE tags here on LQ. See my signature.
Okay. I tried using just this command to hibernate and it worked:
echo EHC2 > /proc/acpi/wakeup
So can I embed this so I don't have to enter each time I boot the computer?
I'm swamped at work so I won't have time to troubleshoot all the error messages right now. If there's a quick fix for this I'd like to know what it is!
Okay. I tried using just this command to hibernate and it worked:
echo EHC2 > /proc/acpi/wakeup
So can I embed this so I don't have to enter each time I boot the computer?
I'm swamped at work so I won't have time to troubleshoot all the error messages right now. If there's a quick fix for this I'd like to know what it is!
Right after I boot my PC I open a terminal and enter these commands:
sudo -s
echo EHC2 > /proc/acpi/wakeup
I keep the program running for the day and when I want to hibernate, I click the power button, hold it until the pause icon shows, then click to hibernate.
At the end of the day I shut down as usual.
You had said in your previous post that if all I needed to do was the latter command that it would be easy to automate.
You had said in your previous post that if all I needed to do was the latter command that it would be easy to automate.
Do you know how to do that?
You can put it in as a systemd service to run after boot. That is executed with root privileges anyhow so you do not need the 'sudo -s'. https://duckduckgo.com/?q=systemd+ho...eate+a+service
You have to tell systemd to execute it after these files become available.
Not sure how, but I'm sure it's sufficient if you run it after the multi-user target is reached.
Example (not tested):
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.