You are not logged in.

#1 2015-10-15 05:55:31

vitiral
Member
Registered: 2015-09-16
Posts: 10

Computer not sleeping correctly with new kernel

I've been using Arch for a few months now and hit my first serious bug -- my laptop doesn't go to sleep

I imagine this is due to being on the bleeding edge.

Anyway, thanks to the great documentation I think I have isolated the problem:

```
# journalctl -p 0..3 -xn
-- Logs begin at Tue 2015-08-25 11:42:43 MDT, end at Wed 2015-10-14 23:51:23 MDT. --
Oct 14 23:20:14 localhost systemd-logind[315]: Failed to abandon session scope: Transport endpoint is no
Oct 14 23:20:15 localhost kernel: watchdog watchdog0: watchdog did not stop!
-- Reboot --
Oct 14 23:29:47 localhost kernel: pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 [usbcore] returns -16
Oct 14 23:29:47 localhost kernel: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -16
Oct 14 23:29:47 localhost kernel: PM: Device 0000:00:14.0 failed to suspend async: error -16
Oct 14 23:29:47 localhost kernel: PM: Some devices failed to suspend, or early wake event detected
Oct 14 23:34:56 localhost kernel: pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 [usbcore] returns -16
Oct 14 23:34:56 localhost kernel: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -16
Oct 14 23:34:56 localhost kernel: PM: Device 0000:00:14.0 failed to suspend async: error -16
Oct 14 23:34:56 localhost kernel: PM: Some devices failed to suspend, or early wake event detected
```
It sure looks to be a kernel issue to me! But when I try to downgrade the kernel:

```
# cd /var/cache/pacman/pkg
# sudo pacman pacman -U linux-4.1.6-1-x86_64.pkg.tar.xz
loading packages...
error: 'pacman': could not find or read package
warning: downgrading package linux (4.2.3-1 => 4.1.6-1)
```

It doesn't look like I can downgrade. The [wiki on downgrading](https://wiki.archlinux.org/index.php/Do … g_packages) suggests using the installer "If you are unable to boot after a kernel update," -- but I'm not that desperate smile

Is there something I am doing wrong?

Some notes:
#  ls *linux*
archlinux-keyring-20150605-1-any.pkg.tar.xz  linux-api-headers-4.1.4-1-x86_64.pkg.tar.xz
libutil-linux-2.26.2-1-x86_64.pkg.tar.xz     linux-firmware-20150722.e10097a-1-any.pkg.tar.xz
libutil-linux-2.27-2-x86_64.pkg.tar.xz       linux-firmware-20150904.6ebf5d5-1-any.pkg.tar.xz
libutil-linux-2.27-5-x86_64.pkg.tar.xz       util-linux-2.26.2-1-x86_64.pkg.tar.xz
libutil-linux-2.27-6-x86_64.pkg.tar.xz       util-linux-2.27-2-x86_64.pkg.tar.xz
linux-4.1.6-1-x86_64.pkg.tar.xz              util-linux-2.27-5-x86_64.pkg.tar.xz
linux-4.2.2-1-x86_64.pkg.tar.xz              util-linux-2.27-6-x86_64.pkg.tar.xz
linux-4.2.3-1-x86_64.pkg.tar.xz

Offline

#2 2015-10-15 10:09:34

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: Computer not sleeping correctly with new kernel

# sudo pacman pacman -U linux-4.1.6-1-x86_64.pkg.tar.xz

You typed pacman twice.

Last edited by TheChickenMan (2015-10-15 10:12:04)


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#3 2015-10-15 14:50:49

vitiral
Member
Registered: 2015-09-16
Posts: 10

Re: Computer not sleeping correctly with new kernel

Oh my god, I can't believe I did that haha. That was all I needed to do! Thanks smile

How do I mark this as closed?

Edit: submitted a bug to the linux kernel here: https://bugzilla.kernel.org/show_bug.cgi?id=105991

Last edited by vitiral (2015-10-15 15:26:57)

Offline

Board footer

Powered by FluxBB