My hp laptop can’t sleep or hibernate. I used hibernator script – failed.
I’ve installed the oldest kernel — also failed.
It’s running manjaro xfce updated.
Hello,
There are multiple models of HP Pavilion dv6 …
A small arch wiki exists for dv6018 here:
https://wiki.archlinux.org/index.php/HP_Pavilion_dv6018
That doesn’t add the resume
to the /etc/mkinitcpio.conf on the HOOKS
line, nor does add the resume=UUID
to /etc/default/grub on the GRUB_CMDLINE_LINUX_DEFAULT
line …
Do you have all of those?
I think I have those
Please post the output to:
inxi --admin --verbosity=7 --filter --no-host
grep --ignore-case resume /etc/mkinitcpio.conf
so we can check for you because:
doesn’t sound very reassuring…
Also, when providing code/output, please copy-paste it in-between 3 backticks at the beginning and end of the code/text ``` so that the output looks like this:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
instead of like this:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
(as that makes our life much easier so you get helped more quickly and efficiently)
inxi --admin --verbosity=7 --filter --no-host
System:
Kernel: 5.6.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.6-x86_64
root=UUID=82ee26ac-c6d3-4c36-8763-4b279fe5ac2e rw quiet
apparmor=1 security=apparmor
resume=UUID=82cf7862-bc70-47ec-94c2-83a933292a96
udev.log_priority=3
Desktop: GNOME 3.36.6 tk: GTK 3.24.23 wm: gnome-shell
dm: GDM 3.36.3 Distro: Manjaro Linux
Machine:
Type: Laptop System: Hewlett-Packard
product: HP Pavilion dv6 Notebook PC v: F.02 serial: <filter>
Chassis: Quanta type: 10 serial: <filter>
Mobo: Quanta model: 3627 v: 18.0B serial: <filter>
BIOS: Hewlett-Packard v: F.02 date: 11/14/2008
Battery:
ID-1: BAT0 charge: 30.4 Wh condition: 36.6/47.5 Wh (77%)
volts: 11.6/10.8 model: Hewlett-Packard Primary type: Li-ion
serial: N/A status: Discharging
Memory:
RAM: total: 3.78 GiB used: 1.52 GiB (40.3%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Topology: Dual Core model: Intel Core2 Duo T6400 bits: 64
type: MCP arch: Penryn family: 6 model-id: 17 (23)
stepping: A (10) microcode: A0B L2 cache: 2048 KiB bogomips: 7982
Speed: 1457 MHz min/max: 1200/2000 MHz Core speeds (MHz): 1: 1197
2: 1197
Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov
constant_tsc cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts est fpu
fxsr ht lahf_lm lm mca mce mmx monitor msr mtrr nopl nx pae pat
pbe pdcm pebs pge pni pse pse36 pti rep_good sep sse sse2 sse4_1
ssse3 syscall tm tm2 tsc vme xsave xtpr
Vulnerabilities: Type: itlb_multihit status: KVM: Vulnerable
Type: l1tf mitigation: PTE Inversion
Type: mds status: Vulnerable: Clear CPU buffers attempted, no
microcode; SMT disabled
Type: meltdown mitigation: PTI
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user
pointer sanitization
Type: spectre_v2
mitigation: Full generic retpoline, STIBP: disabled, RSB filling
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel Mobile 4 Series Integrated Graphics
vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0
chip ID: 8086:2a42
Device-2: Chicony CNF8010 type: USB driver: uvcvideo
bus ID: 2-4:2 chip ID: 04f2:b087 serial: <filter>
Display: x11 server: X.org 1.20.8 compositor: gnome-shell
driver: intel unloaded: modesetting alternate: fbdev,vesa
resolution: <xdpyinfo missing>
OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express (CTG)
v: 2.1 Mesa 20.1.7 direct render: Yes
Audio:
Device-1: Intel 82801I HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 00:1b.0
chip ID: 8086:293e
Sound Server: ALSA v: k5.6.15-1-MANJARO
Network:
Device-1: Broadcom and subsidiaries BCM4312 802.11b/g LP-PHY
vendor: Hewlett-Packard driver: wl v: kernel modules: ssb
port: 7000 bus ID: 02:00.0 chip ID: 14e4:4315
IF: wlp2s0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
Device-2: Realtek RTL810xE PCI Express Fast Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel port: 5000
bus ID: 03:00.0 chip ID: 10ec:8136
IF: enp3s0 state: down mac: <filter>
WAN IP: <filter>
Drives:
Local Storage: total: 232.89 GiB used: 10.52 GiB (4.5%)
SMART Message: Required tool smartctl not installed. Check
--recommends
ID-1: /dev/sda vendor: Toshiba model: MK2555GSX size: 232.89 GiB
block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
rotation: 5400 rpm serial: <filter> rev: 2C scheme: MBR
Optical-1: /dev/sr0 vendor: TSSTcorp model: CDDVDW TS-L633M
rev: 0200 dev-links: cdrom
Features: speed: 24 multisession: yes audio: yes dvd: yes
rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
RAID:
Message: No RAID data was found.
Partition:
ID-1: / raw size: 224.57 GiB size: 220.05 GiB (97.98%)
used: 10.52 GiB (4.8%) fs: ext4 dev: /dev/sda1 label: N/A
uuid: 82ee26ac-c6d3-4c36-8763-4b279fe5ac2e
Swap:
Kernel: swappiness: 60 (default) cache pressure: 100 (default)
ID-1: swap-1 type: partition size: 8.31 GiB used: 1.8 MiB (0.0%)
priority: -2 dev: /dev/sda2 label: N/A
uuid: 82cf7862-bc70-47ec-94c2-83a933292a96
Unmounted:
Message: No unmounted partitions found.
USB:
Hub: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
speed: 480 Mb/s chip ID: 1d6b:0002
Device-1: 1-1:2 info: Realtek USB 2.0 multicard reader
type: Mass Storage driver: ums-realtek interfaces: 1 rev: 2.0
speed: 480 Mb/s chip ID: 0bda:0158 serial: <filter>
Hub: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 2.0
speed: 480 Mb/s chip ID: 1d6b:0002
Device-1: 2-4:2 info: Chicony CNF8010 type: Video
driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s
chip ID: 04f2:b087 serial: <filter>
Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1
speed: 12 Mb/s chip ID: 1d6b:0001
Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1
speed: 12 Mb/s chip ID: 1d6b:0001
Device-1: 4-2:2 info: Areson Corp 2.4G Receiver
type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 2
rev: 1.1 speed: 12 Mb/s chip ID: 25a7:fa23
Hub: 5-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1
speed: 12 Mb/s chip ID: 1d6b:0001
Hub: 6-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1
speed: 12 Mb/s chip ID: 1d6b:0001
Hub: 7-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1
speed: 12 Mb/s chip ID: 1d6b:0001
Hub: 8-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1
speed: 12 Mb/s chip ID: 1d6b:0001
Sensors:
System Temperatures: cpu: 60.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 231 Uptime: 14m Init: systemd v: 246 Compilers:
gcc: 10.2.0 Packages: pacman: 1192 lib: 336 flatpak: 0 Shell: Zsh
v: 5.8 running in: gnome-terminal inxi: 3.1.05
grep --ignore-case resume /etc/mkinitcpio.conf
HOOKS="base udev autodetect modconf block keyboard keymap resume filesystems"
again thanks @Fabby
So resume
in both mkinitcpio
and grub
and that’s good.
As I don’t have your hardware, I can’t help you any further except referring you back to the Arch documentation mentioned by Bogdan and the hibernation debugging documentation from the Linux Kernel team:
https://www.kernel.org/doc/html/latest/power/basic-pm-debugging.html
P.S. If you do find a solution for your hardware, please post about it!
- you don’t: that’s for another OS (OpenSUSE)
- Please read this:
(You violated rule#1 of posting screenshots)
-
type:
systemctl suspend
-
If that did something and you did not have to reboot your computer, please do the following:
journalctl --system --boot=0 | grep "suspend entry" journalctl --system --boot=0 | grep "suspend exit"
then have a look at the begin and end time and post the output of:
journalctl --system --boot=0 --since "YYYY-MM-DD HH:MM:SS" --until "YYYY-MM-DD HH:MM:SS"
where obviously
--since
is the datetime of suspend entry and--until
is the datetime of suspension exit. -
If you did have to reboot your computer, use
boot=-1
instead ofboot=0
.
oops I’m sorry
step 3 did something but failed to suspend. i did not need to reboot.
journalctl --system --boot=0 | grep "suspend entry"
journalctl --system --boot=0 | grep "suspend exit"
Oct 18 06:51:46 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend entry (deep)
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend entry (s2idle)
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend exit
Oct 18 06:51:55 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend exit
and so the next step :
journalctl --system --boot=0 --since "2020-10-18 06:51:46" --until "2020-10-18 06:51:55"
-- Logs begin at Thu 2020-09-17 16:07:52 +06, end at Sun 2020-10-18 07>
Oct 18 06:51:42 alnayeef1-hppaviliondv6notebookpc NetworkManager[673]:>
Oct 18 06:51:42 alnayeef1-hppaviliondv6notebookpc NetworkManager[673]:>
Oct 18 06:51:43 alnayeef1-hppaviliondv6notebookpc systemd-logind[679]:>
Oct 18 06:51:43 alnayeef1-hppaviliondv6notebookpc systemd[1]: Reached >
Oct 18 06:51:43 alnayeef1-hppaviliondv6notebookpc systemd[1]: Starting>
Oct 18 06:51:43 alnayeef1-hppaviliondv6notebookpc NetworkManager[673]:>
Oct 18 06:51:43 alnayeef1-hppaviliondv6notebookpc NetworkManager[673]:>
Oct 18 06:51:46 alnayeef1-hppaviliondv6notebookpc systemd-sleep[4690]:>
Oct 18 06:51:46 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend >
Oct 18 06:51:48 alnayeef1-hppaviliondv6notebookpc /usr/lib/gdm-x-sessi>
Oct 18 06:51:48 alnayeef1-hppaviliondv6notebookpc /usr/lib/gdm-x-sessi>
Oct 18 06:51:48 alnayeef1-hppaviliondv6notebookpc gsd-sharing[1087]: F>
Oct 18 06:51:48 alnayeef1-hppaviliondv6notebookpc gsd-sharing[1087]: F>
Oct 18 06:51:48 alnayeef1-hppaviliondv6notebookpc gsd-sharing[1087]: F>
Oct 18 06:51:51 alnayeef1-hppaviliondv6notebookpc kernel: PM: Syncing >
Oct 18 06:51:51 alnayeef1-hppaviliondv6notebookpc kernel: Freezing use>
Oct 18 06:51:51 alnayeef1-hppaviliondv6notebookpc kernel: OOM killer d>
Oct 18 06:51:51 alnayeef1-hppaviliondv6notebookpc kernel: Freezing rem>
Oct 18 06:51:51 alnayeef1-hppaviliondv6notebookpc kernel: Suspending c>
Oct 18 06:51:51 alnayeef1-hppaviliondv6notebookpc kernel: sd 0:0:0:0: >
Oct 18 06:51:51 alnayeef1-hppaviliondv6notebookpc kernel: sd 0:0:0:0: >
Oct 18 06:51:51 alnayeef1-hppaviliondv6notebookpc kernel: ahci 0000:00>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: pci_pm_suspe>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: dpm_run_call>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: PM: Device 0>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: PM: Some dev>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: ACPI: button>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: usb usb3: ro>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: usb usb4: ro>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: usb usb5: ro>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: usb usb6: ro>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: usb usb7: ro>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: usb usb8: ro>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: ERROR @wl_wo>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: Unable to ge>
Oct 18 06:51:53 alnayeef1-hppaviliondv6notebookpc kernel: sd 0:0:0:0: >
lines 1-37
Sorry for the late answer. Been travelling all day.
the multiple >
at the end of the line mean you’re missing output on that line. Please maximise the window before copying or redirect to a file before posting the last output…
oh ho. I am doing it again.
journalctl --system --boot=0 | grep "suspend entry"
journalctl --system --boot=0 | grep "suspend exit"
Oct 19 07:31:37 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend entry (deep)
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend entry (s2idle)
Oct 19 07:42:03 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend entry (deep)
Oct 19 07:42:05 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend entry (s2idle)
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend exit
Oct 19 07:31:41 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend exit
Oct 19 07:42:05 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend exit
Oct 19 07:42:08 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend exit
~ >>> journalctl --system --boot=0 --since "2020-10-19 07:31:37" --until "2020-10-19 07:42:08"
-- Logs begin at Fri 2020-09-18 09:23:55 +06, end at Mon 2020-10-19 07:42:43 +06. --
Oct 19 07:31:37 alnayeef1-hppaviliondv6notebookpc systemd-sleep[1300]: Suspending system...
Oct 19 07:31:37 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend entry (deep)
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: PM: Syncing filesystems ... done.
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: Freezing user space processes ... (elapsed 0.002 seconds) done.
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: OOM killer disabled.
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: Suspending console(s) (use no_console_suspend to debug)
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: sd 0:0:0:0: [sda] Stopping disk
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: ahci 0000:00:1f.2: BIOS update required for suspend/resume
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: pci_pm_suspend(): ahci_pci_device_suspend+0x0/0x50 [ahci] returns -5
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: dpm_run_callback(): pci_pm_suspend+0x0/0x110 returns -5
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: PM: Device 0000:00:1f.2 failed to suspend async: error -5
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: PM: Some devices failed to suspend, or early wake event detected
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: ACPI: button: The lid device is not compliant to SW_LID.
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: usb usb3: root hub lost power or was reset
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: usb usb4: root hub lost power or was reset
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: usb usb5: root hub lost power or was reset
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: usb usb6: root hub lost power or was reset
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: usb usb7: root hub lost power or was reset
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: usb usb8: root hub lost power or was reset
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: r8169 0000:03:00.0 enp3s0: link down
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: ERROR @wl_wowl_ind_wake_reason :
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: Unable to get wake reason, err = -95
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: sd 0:0:0:0: [sda] Starting disk
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: usb 4-2: reset full-speed USB device number 2 using uhci_hcd
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: ata5: SATA link down (SStatus 0 SControl 300)
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: ata6: SATA link down (SStatus 0 SControl 300)
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: ata1.00: configured for UDMA/100
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: OOM killer enabled.
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: Restarting tasks ... done.
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: video LNXVIDEO:00: Restoring backlight state
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend exit
Oct 19 07:31:38 alnayeef1-hppaviliondv6notebookpc kernel: PM: suspend entry (s2idle)
lines 1-37
Here’s your issue:
So:
- Update your BIOS.
- Try again.
is it possible to update laptop’s BIOS?
“sleep was working on the previous OS”
I have vastly different hardware than you. Please consult your manufacturer’s documentation / web site / Forum.
Then install the previous OS
I don’t want to install the previous os(W). I’m loving the current os.
Please to this then.
HP support is saying that my laptop is more than 10 years old and they don’t give support for older models. So there’s no BIOS update on their website. I don’t want to go back to windoze because I don’t like it that much.
In my other computer; after installing NVIDIA graphics driver, sleep or suspend is working. But my laptop is not with NVIDIA graphics card. So I don’t know what to do.
That’s a completely different problem…
It working on Windows just means that HP programmed around the BIOS bug with a specific Windows driver.
If you cannot update the BIOS as specified by the kernel ¹, your only course of actions are:
- don’t use suspend/resume on the old clunker,
- find an HP Linux driver for suspend (unlikely)
Note 1: People much smarter than me (I.E. Linus Torvalds) is telling you to upgrade your BIOS, so you should. Ask on the HP community forum if someone still has the old BIOS upgrades and is willing to share them with you if HP does not provide them any more…
Note 2: There is something called TuxOnIce, but as that patches the kernel, it’s potentially dangerous.
As I haven’t used that in the last 5 years or so, you’re on your own so before reading the docs there, make a cold system backup as you might end up with an an bootable system.