[Kernel-packages] [Bug 1509903] Re: After sleeping or hibernating via the K Menu options, the computer suddenly powers on again by itself, some seconds later, in Kubuntu 15.10

2015-10-29 Thread Martin Pitt
> Could this failure be related to bug report #1509868

I'm afraid I don't know enough about the kernel and graphics drivers to
tell.

Thanks for eliminating the pm-utils suspend quirks as a possible cause.
If "sudo systemctl suspend" by itself works, then we need to find out
what the K menu does differently. I suppose what it does is to enable
the screen lock, thus some graphical actions, before it requests
suspend. As your system suffers from these long hangs in the graphics
driver in these cases, it's plausible that the suspend attempt gets
aborted by the kernel due to that. But I'm afraid this needs the
expercise of  the kernel/DRI/Xorg developers.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1509903

Title:
  After sleeping or hibernating via the K Menu options, the computer
  suddenly powers on again by itself, some seconds later, in Kubuntu
  15.10

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I recently upgraded from Kubuntu 15.04 to Kubuntu 15.10 and I've
  noticed this failure: when going through the graphical K Menu > Logout
  > Sleep or K Menu > Logout > Hibernate, the computer seems to do the
  corresponding operation fine, but some seconds later the computer
  powers on by itself, undoing the previous order to sleep or hibernate.
  A sample of the corresponding log messages stored in the file
  /var/log/syslog is this:

  Oct 25 18:47:16 hostname NetworkManager[663]:   sleep requested 
(sleeping: no  enabled: yes)
  Oct 25 18:47:16 hostname NetworkManager[663]:   sleeping...
  Oct 25 18:47:16 hostname NetworkManager[663]:   NetworkManager state is 
now ASLEEP
  Oct 25 18:47:16 hostname whoopsie[653]: [18:47:16] offline
  Oct 25 18:47:17 hostname systemd[1]: Reached target Sleep.
  Oct 25 18:47:17 hostname systemd[1]: Starting Suspend...
  Oct 25 18:47:18 hostname systemd-sleep[4848]: Suspending system...
  Oct 25 18:47:21 hostname kernel: [13031.018587] PM: Syncing filesystems ... 
done.
  Oct 25 18:47:21 hostname kernel: [13031.280695] PM: Preparing system for 
sleep (mem)
  Oct 25 18:47:21 hostname kernel: [13031.281033] Freezing user space processes 
... (elapsed 0.075 seconds) done.
  Oct 25 18:47:21 hostname kernel: [13031.357037] Freezing remaining freezable 
tasks ... (elapsed 0.001 seconds) done.
  Oct 25 18:47:21 hostname kernel: [13031.358480] PM: Suspending system (mem)
  Oct 25 18:47:21 hostname kernel: [13031.358604] Suspending console(s) (use 
no_console_suspend to debug)
  Oct 25 18:47:21 hostname kernel: [13031.359627] sd 3:0:0:0: [sda] 
Synchronizing SCSI cache
  Oct 25 18:47:21 hostname kernel: [13031.368742] serial 00:05: disabled
  Oct 25 18:47:21 hostname kernel: [13031.368751] serial 00:05: System wakeup 
disabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.368785] i8042 aux 00:04: System 
wakeup disabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.368858] parport_hostname 00:03: 
disabled
  Oct 25 18:47:21 hostname kernel: [13031.493405] sd 3:0:0:0: [sda] Stopping 
disk
  Oct 25 18:47:21 hostname kernel: [13031.880050] PM: suspend of devices 
complete after 521.067 msecs
  Oct 25 18:47:21 hostname kernel: [13031.896046] PM: late suspend of devices 
complete after 15.988 msecs
  Oct 25 18:47:21 hostname kernel: [13031.896488] pcieport :00:1c.1: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896660] ehci-pci :00:1d.7: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896690] uhci_hcd :00:1d.3: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896723] uhci_hcd :00:1d.2: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896747] uhci_hcd :00:1d.1: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896776] uhci_hcd :00:1d.0: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.912105] PM: noirq suspend of devices 
complete after 16.053 msecs
  Oct 25 18:47:21 hostname kernel: [13031.912287] ACPI: Preparing to enter 
system sleep state S3
  Oct 25 18:47:21 hostname kernel: [13031.935217] PM: Saving platform NVS memory
  Oct 25 18:47:21 hostname kernel: [13031.936928] Disabling non-boot CPUs ...
  Oct 25 18:47:21 hostname kernel: [13031.938236] smpboot: CPU 1 is now offline
  Oct 25 18:47:21 hostname kernel: [13031.952279] ACPI: Low-level resume 
complete
  Oct 25 18:47:21 hostname kernel: [13031.952279] PM: Restoring platform NVS 
memory
  Oct 25 18:47:21 hostname kernel: [13031.952279] microcode: CPU0 microcode 
updated early to revision 0xa4, date = 2010-10-02
  Oct 25 18:47:21 hostname kernel: [13031.952279] Enabling non-boot CPUs ...
  Oct 25 18:47:21 hostname kernel: [13031.952279] x86: Booting SMP 
configuration:
  Oct 25 18:47:21 hostname kernel: [13031.952279] smpboot: Booting Node 0 
Processor 1 APIC 0x1
  Oct 25 18:47:21 hostname kernel: [13031.938225] microcode: 

[Kernel-packages] [Bug 1509903] Re: After sleeping or hibernating via the K Menu options, the computer suddenly powers on again by itself, some seconds later, in Kubuntu 15.10

2015-10-29 Thread Mishal
I recently created a bug report in the FreeDesktop website related to
DRI component. It's available at
https://bugs.freedesktop.org/show_bug.cgi?id=92716

** Bug watch added: freedesktop.org Bugzilla #92716
   https://bugs.freedesktop.org/show_bug.cgi?id=92716

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1509903

Title:
  After sleeping or hibernating via the K Menu options, the computer
  suddenly powers on again by itself, some seconds later, in Kubuntu
  15.10

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I recently upgraded from Kubuntu 15.04 to Kubuntu 15.10 and I've
  noticed this failure: when going through the graphical K Menu > Logout
  > Sleep or K Menu > Logout > Hibernate, the computer seems to do the
  corresponding operation fine, but some seconds later the computer
  powers on by itself, undoing the previous order to sleep or hibernate.
  A sample of the corresponding log messages stored in the file
  /var/log/syslog is this:

  Oct 25 18:47:16 hostname NetworkManager[663]:   sleep requested 
(sleeping: no  enabled: yes)
  Oct 25 18:47:16 hostname NetworkManager[663]:   sleeping...
  Oct 25 18:47:16 hostname NetworkManager[663]:   NetworkManager state is 
now ASLEEP
  Oct 25 18:47:16 hostname whoopsie[653]: [18:47:16] offline
  Oct 25 18:47:17 hostname systemd[1]: Reached target Sleep.
  Oct 25 18:47:17 hostname systemd[1]: Starting Suspend...
  Oct 25 18:47:18 hostname systemd-sleep[4848]: Suspending system...
  Oct 25 18:47:21 hostname kernel: [13031.018587] PM: Syncing filesystems ... 
done.
  Oct 25 18:47:21 hostname kernel: [13031.280695] PM: Preparing system for 
sleep (mem)
  Oct 25 18:47:21 hostname kernel: [13031.281033] Freezing user space processes 
... (elapsed 0.075 seconds) done.
  Oct 25 18:47:21 hostname kernel: [13031.357037] Freezing remaining freezable 
tasks ... (elapsed 0.001 seconds) done.
  Oct 25 18:47:21 hostname kernel: [13031.358480] PM: Suspending system (mem)
  Oct 25 18:47:21 hostname kernel: [13031.358604] Suspending console(s) (use 
no_console_suspend to debug)
  Oct 25 18:47:21 hostname kernel: [13031.359627] sd 3:0:0:0: [sda] 
Synchronizing SCSI cache
  Oct 25 18:47:21 hostname kernel: [13031.368742] serial 00:05: disabled
  Oct 25 18:47:21 hostname kernel: [13031.368751] serial 00:05: System wakeup 
disabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.368785] i8042 aux 00:04: System 
wakeup disabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.368858] parport_hostname 00:03: 
disabled
  Oct 25 18:47:21 hostname kernel: [13031.493405] sd 3:0:0:0: [sda] Stopping 
disk
  Oct 25 18:47:21 hostname kernel: [13031.880050] PM: suspend of devices 
complete after 521.067 msecs
  Oct 25 18:47:21 hostname kernel: [13031.896046] PM: late suspend of devices 
complete after 15.988 msecs
  Oct 25 18:47:21 hostname kernel: [13031.896488] pcieport :00:1c.1: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896660] ehci-pci :00:1d.7: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896690] uhci_hcd :00:1d.3: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896723] uhci_hcd :00:1d.2: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896747] uhci_hcd :00:1d.1: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896776] uhci_hcd :00:1d.0: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.912105] PM: noirq suspend of devices 
complete after 16.053 msecs
  Oct 25 18:47:21 hostname kernel: [13031.912287] ACPI: Preparing to enter 
system sleep state S3
  Oct 25 18:47:21 hostname kernel: [13031.935217] PM: Saving platform NVS memory
  Oct 25 18:47:21 hostname kernel: [13031.936928] Disabling non-boot CPUs ...
  Oct 25 18:47:21 hostname kernel: [13031.938236] smpboot: CPU 1 is now offline
  Oct 25 18:47:21 hostname kernel: [13031.952279] ACPI: Low-level resume 
complete
  Oct 25 18:47:21 hostname kernel: [13031.952279] PM: Restoring platform NVS 
memory
  Oct 25 18:47:21 hostname kernel: [13031.952279] microcode: CPU0 microcode 
updated early to revision 0xa4, date = 2010-10-02
  Oct 25 18:47:21 hostname kernel: [13031.952279] Enabling non-boot CPUs ...
  Oct 25 18:47:21 hostname kernel: [13031.952279] x86: Booting SMP 
configuration:
  Oct 25 18:47:21 hostname kernel: [13031.952279] smpboot: Booting Node 0 
Processor 1 APIC 0x1
  Oct 25 18:47:21 hostname kernel: [13031.938225] microcode: CPU1 microcode 
updated early to revision 0xa4, date = 2010-10-02
  Oct 25 18:47:21 hostname kernel: [13031.964405]  cache: parent cpu1 should 
not be sleeping
  Oct 25 18:47:21 hostname kernel: [13031.964682] CPU1 is up
  Oct 25 18:47:21 hostname kernel: [13031.966074] ACPI: Waking up from system 
sleep state S3
  Oct 25 18:47:21 hostname kernel: [13031.966634] uhci_hcd :00:1d.0: System 

[Kernel-packages] [Bug 1509903] Re: After sleeping or hibernating via the K Menu options, the computer suddenly powers on again by itself, some seconds later, in Kubuntu 15.10

2015-10-28 Thread Mishal
Could this failure be related to bug report #1509868 that I also filed?
Please see https://bugs.launchpad.net/ubuntu/+source/intel-vaapi-
driver/+bug/1509868 for more details.

About an hour ago I tried to hibernate using the menu option inside the
K main menu, which failed. Please notice that the "drm/i915" stuff is
involved in a failure before I tried to hibernate. The hibernating
process seemed to began about 14:32:52, some seconds later the computer
hibernated apparently fine and I saw with my eyes it effectively powered
off, but for only a few seconds, because it then powered on by itself.
Here are the related entries in the /var/log/syslog file:

Oct 28 14:11:56 hostname org.kde.kuiserver[1397]: kuiserver: adding job contact 
for address:  ":1.25"  objectPath:  "/DataEngine/applicationjobs/JobView_2"
Oct 28 14:11:59 hostname thermald[666]: Read set point 0
Oct 28 14:12:40 hostname org.kde.kuiserver[1397]: kuiserver: making async call 
of terminate for:  "/DataEngine/applicationjobs/JobView_2"
Oct 28 14:12:40 hostname org.kde.kuiserver[1397]: kuiserver: removing jobview 
from list, it finished
Oct 28 14:13:27 hostname thermald[666]: Read set point 0
Oct 28 14:13:43 hostname thermald[666]: Read set point 0
Oct 28 14:14:26 hostname org.kde.kuiserver[1397]: kuiserver: adding job contact 
for address:  ":1.25"  objectPath:  "/DataEngine/applicationjobs/JobView_3"
Oct 28 14:14:26 hostname org.kde.kuiserver[1397]: kuiserver: making async call 
of terminate for:  "/DataEngine/applicationjobs/JobView_3"
Oct 28 14:14:26 hostname org.kde.kuiserver[1397]: kuiserver: removing jobview 
from list, it finished
Oct 28 14:15:07 hostname thermald[666]: Read set point 0
Oct 28 14:16:59 hostname thermald[666]: message repeated 2 times: [ Read set 
point 0]
Oct 28 14:17:01 hostname CRON[2328]: (root) CMD (   cd / && run-parts --report 
/etc/cron.hourly)
Oct 28 14:17:07 hostname thermald[666]: Read set point 0
Oct 28 14:23:07 hostname thermald[666]: message repeated 5 times: [ Read set 
point 0]
Oct 28 14:23:12 hostname dhclient: DHCPREQUEST of 192.168.1.105 on eth0 to 
192.168.1.1 port 67 (xid=0x26a39d9e)
Oct 28 14:23:12 hostname dhclient: DHCPACK of 192.168.1.105 from 192.168.1.1
Oct 28 14:23:12 hostname NetworkManager[686]: address 192.168.1.105
Oct 28 14:23:12 hostname NetworkManager[686]: plen 24 (255.255.255.0)
Oct 28 14:23:12 hostname NetworkManager[686]: gateway 192.168.1.1
Oct 28 14:23:12 hostname NetworkManager[686]: server identifier 
192.168.1.1
Oct 28 14:23:12 hostname NetworkManager[686]: lease time 7200
Oct 28 14:23:12 hostname NetworkManager[686]: nameserver '192.168.1.1'
Oct 28 14:23:12 hostname NetworkManager[686]:   (eth0): DHCPv4 state 
changed bound -> bound
Oct 28 14:23:12 hostname dbus[694]: [system] Activating via systemd: service 
name='org.freedesktop.nm_dispatcher' 
unit='dbus-org.freedesktop.nm-dispatcher.service'
Oct 28 14:23:12 hostname systemd[1]: Starting Network Manager Script Dispatcher 
Service...
Oct 28 14:23:12 hostname dbus[694]: [system] Successfully activated service 
'org.freedesktop.nm_dispatcher'
Oct 28 14:23:12 hostname systemd[1]: Started Network Manager Script Dispatcher 
Service.
Oct 28 14:23:12 hostname nm-dispatcher: Dispatching action 'dhcp4-change' for 
eth0
Oct 28 14:23:12 hostname dhclient: bound to 192.168.1.105 -- renewal in 2808 
seconds.
Oct 28 14:26:12 hostname kernel: [ 3246.808052] [drm] stuck on render ring
Oct 28 14:26:12 hostname kernel: [ 3246.808775] [drm] GPU HANG: ecode 
3:0:0x40c1, in Xorg [], reason: Ring hung, action: reset
Oct 28 14:26:12 hostname kernel: [ 3246.808778] [drm] GPU hangs can indicate a 
bug anywhere in the entire gfx stack, including userspace.
Oct 28 14:26:12 hostname kernel: [ 3246.808780] [drm] Please file a _new_ bug 
report on bugs.freedesktop.org against DRI -> DRM/Intel
Oct 28 14:26:12 hostname kernel: [ 3246.808782] [drm] drm/i915 developers can 
then reassign to the right component if it's not a kernel issue.
Oct 28 14:26:12 hostname kernel: [ 3246.808784] [drm] The gpu crash dump is 
required to analyze gpu hangs, so please always attach it.
Oct 28 14:26:12 hostname kernel: [ 3246.808786] [drm] GPU crash dump saved to 
/sys/class/drm/card0/error
Oct 28 14:26:12 hostname kernel: [ 3246.808863] [ cut here 
]
Oct 28 14:26:12 hostname kernel: [ 3246.808915] WARNING: CPU: 0 PID: 2243 at 
/build/linux-AxjFAn/linux-4.2.0/drivers/gpu/drm/i915/intel_display.c:3294 
intel_crtc_wait_for_pending_flips+0x192/0x230 [i915]()
Oct 28 14:26:12 hostname kernel: [ 3246.808918] WARN_ON(ret)
Oct 28 14:26:12 hostname kernel: [ 3246.808920] Modules linked in: pci_stub 
vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) snd_hda_codec_realtek 
snd_hda_codec_generic input_leds joydev snd_hda_intel snd_hda_codec 
snd_hda_core snd_hwdep gpio_ich snd_pcm snd_seq_midi snd_seq_midi_event 
snd_rawmidi snd_seq snd_seq_device snd_timer serio_raw coretemp snd lpc_ich 
soundcore shpchp 8250_fintek mac_hid 

[Kernel-packages] [Bug 1509903] Re: After sleeping or hibernating via the K Menu options, the computer suddenly powers on again by itself, some seconds later, in Kubuntu 15.10

2015-10-27 Thread Martin Pitt
Thanks. Can you verify that "sudo systemctl suspend" exhibits the same
problem? If not, then it's indeed not a matter of pm-utils and its
quirks.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1509903

Title:
  After sleeping or hibernating via the K Menu options, the computer
  suddenly powers on again by itself, some seconds later, in Kubuntu
  15.10

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I recently upgraded from Kubuntu 15.04 to Kubuntu 15.10 and I've
  noticed this failure: when going through the graphical K Menu > Logout
  > Sleep or K Menu > Logout > Hibernate, the computer seems to do the
  corresponding operation fine, but some seconds later the computer
  powers on by itself, undoing the previous order to sleep or hibernate.
  A sample of the corresponding log messages stored in the file
  /var/log/syslog is this:

  Oct 25 18:47:16 hostname NetworkManager[663]:   sleep requested 
(sleeping: no  enabled: yes)
  Oct 25 18:47:16 hostname NetworkManager[663]:   sleeping...
  Oct 25 18:47:16 hostname NetworkManager[663]:   NetworkManager state is 
now ASLEEP
  Oct 25 18:47:16 hostname whoopsie[653]: [18:47:16] offline
  Oct 25 18:47:17 hostname systemd[1]: Reached target Sleep.
  Oct 25 18:47:17 hostname systemd[1]: Starting Suspend...
  Oct 25 18:47:18 hostname systemd-sleep[4848]: Suspending system...
  Oct 25 18:47:21 hostname kernel: [13031.018587] PM: Syncing filesystems ... 
done.
  Oct 25 18:47:21 hostname kernel: [13031.280695] PM: Preparing system for 
sleep (mem)
  Oct 25 18:47:21 hostname kernel: [13031.281033] Freezing user space processes 
... (elapsed 0.075 seconds) done.
  Oct 25 18:47:21 hostname kernel: [13031.357037] Freezing remaining freezable 
tasks ... (elapsed 0.001 seconds) done.
  Oct 25 18:47:21 hostname kernel: [13031.358480] PM: Suspending system (mem)
  Oct 25 18:47:21 hostname kernel: [13031.358604] Suspending console(s) (use 
no_console_suspend to debug)
  Oct 25 18:47:21 hostname kernel: [13031.359627] sd 3:0:0:0: [sda] 
Synchronizing SCSI cache
  Oct 25 18:47:21 hostname kernel: [13031.368742] serial 00:05: disabled
  Oct 25 18:47:21 hostname kernel: [13031.368751] serial 00:05: System wakeup 
disabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.368785] i8042 aux 00:04: System 
wakeup disabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.368858] parport_hostname 00:03: 
disabled
  Oct 25 18:47:21 hostname kernel: [13031.493405] sd 3:0:0:0: [sda] Stopping 
disk
  Oct 25 18:47:21 hostname kernel: [13031.880050] PM: suspend of devices 
complete after 521.067 msecs
  Oct 25 18:47:21 hostname kernel: [13031.896046] PM: late suspend of devices 
complete after 15.988 msecs
  Oct 25 18:47:21 hostname kernel: [13031.896488] pcieport :00:1c.1: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896660] ehci-pci :00:1d.7: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896690] uhci_hcd :00:1d.3: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896723] uhci_hcd :00:1d.2: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896747] uhci_hcd :00:1d.1: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896776] uhci_hcd :00:1d.0: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.912105] PM: noirq suspend of devices 
complete after 16.053 msecs
  Oct 25 18:47:21 hostname kernel: [13031.912287] ACPI: Preparing to enter 
system sleep state S3
  Oct 25 18:47:21 hostname kernel: [13031.935217] PM: Saving platform NVS memory
  Oct 25 18:47:21 hostname kernel: [13031.936928] Disabling non-boot CPUs ...
  Oct 25 18:47:21 hostname kernel: [13031.938236] smpboot: CPU 1 is now offline
  Oct 25 18:47:21 hostname kernel: [13031.952279] ACPI: Low-level resume 
complete
  Oct 25 18:47:21 hostname kernel: [13031.952279] PM: Restoring platform NVS 
memory
  Oct 25 18:47:21 hostname kernel: [13031.952279] microcode: CPU0 microcode 
updated early to revision 0xa4, date = 2010-10-02
  Oct 25 18:47:21 hostname kernel: [13031.952279] Enabling non-boot CPUs ...
  Oct 25 18:47:21 hostname kernel: [13031.952279] x86: Booting SMP 
configuration:
  Oct 25 18:47:21 hostname kernel: [13031.952279] smpboot: Booting Node 0 
Processor 1 APIC 0x1
  Oct 25 18:47:21 hostname kernel: [13031.938225] microcode: CPU1 microcode 
updated early to revision 0xa4, date = 2010-10-02
  Oct 25 18:47:21 hostname kernel: [13031.964405]  cache: parent cpu1 should 
not be sleeping
  Oct 25 18:47:21 hostname kernel: [13031.964682] CPU1 is up
  Oct 25 18:47:21 hostname kernel: [13031.966074] ACPI: Waking up from system 
sleep state S3
  Oct 25 18:47:21 hostname kernel: [13031.966634] uhci_hcd :00:1d.0: System 
wakeup disabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.966700] uhci_hcd :00:1d.1: System 
wakeup 

[Kernel-packages] [Bug 1509903] Re: After sleeping or hibernating via the K Menu options, the computer suddenly powers on again by itself, some seconds later, in Kubuntu 15.10

2015-10-27 Thread Mishal
You're welcome.

I restored all of the files to the /usr/lib/pm-utils/sleep.d directory
(I had a backup of them) after I followed given in comment #2. Later, I
run the command "sudo systemctl suspend" and it's working fine: it
suspends the computer, which stays suspended till I manually powered it
on.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1509903

Title:
  After sleeping or hibernating via the K Menu options, the computer
  suddenly powers on again by itself, some seconds later, in Kubuntu
  15.10

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I recently upgraded from Kubuntu 15.04 to Kubuntu 15.10 and I've
  noticed this failure: when going through the graphical K Menu > Logout
  > Sleep or K Menu > Logout > Hibernate, the computer seems to do the
  corresponding operation fine, but some seconds later the computer
  powers on by itself, undoing the previous order to sleep or hibernate.
  A sample of the corresponding log messages stored in the file
  /var/log/syslog is this:

  Oct 25 18:47:16 hostname NetworkManager[663]:   sleep requested 
(sleeping: no  enabled: yes)
  Oct 25 18:47:16 hostname NetworkManager[663]:   sleeping...
  Oct 25 18:47:16 hostname NetworkManager[663]:   NetworkManager state is 
now ASLEEP
  Oct 25 18:47:16 hostname whoopsie[653]: [18:47:16] offline
  Oct 25 18:47:17 hostname systemd[1]: Reached target Sleep.
  Oct 25 18:47:17 hostname systemd[1]: Starting Suspend...
  Oct 25 18:47:18 hostname systemd-sleep[4848]: Suspending system...
  Oct 25 18:47:21 hostname kernel: [13031.018587] PM: Syncing filesystems ... 
done.
  Oct 25 18:47:21 hostname kernel: [13031.280695] PM: Preparing system for 
sleep (mem)
  Oct 25 18:47:21 hostname kernel: [13031.281033] Freezing user space processes 
... (elapsed 0.075 seconds) done.
  Oct 25 18:47:21 hostname kernel: [13031.357037] Freezing remaining freezable 
tasks ... (elapsed 0.001 seconds) done.
  Oct 25 18:47:21 hostname kernel: [13031.358480] PM: Suspending system (mem)
  Oct 25 18:47:21 hostname kernel: [13031.358604] Suspending console(s) (use 
no_console_suspend to debug)
  Oct 25 18:47:21 hostname kernel: [13031.359627] sd 3:0:0:0: [sda] 
Synchronizing SCSI cache
  Oct 25 18:47:21 hostname kernel: [13031.368742] serial 00:05: disabled
  Oct 25 18:47:21 hostname kernel: [13031.368751] serial 00:05: System wakeup 
disabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.368785] i8042 aux 00:04: System 
wakeup disabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.368858] parport_hostname 00:03: 
disabled
  Oct 25 18:47:21 hostname kernel: [13031.493405] sd 3:0:0:0: [sda] Stopping 
disk
  Oct 25 18:47:21 hostname kernel: [13031.880050] PM: suspend of devices 
complete after 521.067 msecs
  Oct 25 18:47:21 hostname kernel: [13031.896046] PM: late suspend of devices 
complete after 15.988 msecs
  Oct 25 18:47:21 hostname kernel: [13031.896488] pcieport :00:1c.1: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896660] ehci-pci :00:1d.7: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896690] uhci_hcd :00:1d.3: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896723] uhci_hcd :00:1d.2: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896747] uhci_hcd :00:1d.1: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896776] uhci_hcd :00:1d.0: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.912105] PM: noirq suspend of devices 
complete after 16.053 msecs
  Oct 25 18:47:21 hostname kernel: [13031.912287] ACPI: Preparing to enter 
system sleep state S3
  Oct 25 18:47:21 hostname kernel: [13031.935217] PM: Saving platform NVS memory
  Oct 25 18:47:21 hostname kernel: [13031.936928] Disabling non-boot CPUs ...
  Oct 25 18:47:21 hostname kernel: [13031.938236] smpboot: CPU 1 is now offline
  Oct 25 18:47:21 hostname kernel: [13031.952279] ACPI: Low-level resume 
complete
  Oct 25 18:47:21 hostname kernel: [13031.952279] PM: Restoring platform NVS 
memory
  Oct 25 18:47:21 hostname kernel: [13031.952279] microcode: CPU0 microcode 
updated early to revision 0xa4, date = 2010-10-02
  Oct 25 18:47:21 hostname kernel: [13031.952279] Enabling non-boot CPUs ...
  Oct 25 18:47:21 hostname kernel: [13031.952279] x86: Booting SMP 
configuration:
  Oct 25 18:47:21 hostname kernel: [13031.952279] smpboot: Booting Node 0 
Processor 1 APIC 0x1
  Oct 25 18:47:21 hostname kernel: [13031.938225] microcode: CPU1 microcode 
updated early to revision 0xa4, date = 2010-10-02
  Oct 25 18:47:21 hostname kernel: [13031.964405]  cache: parent cpu1 should 
not be sleeping
  Oct 25 18:47:21 hostname kernel: [13031.964682] CPU1 is up
  Oct 25 18:47:21 hostname kernel: [13031.966074] ACPI: Waking up from system 
sleep state S3
  Oct 25 18:47:21 hostname kernel: 

[Kernel-packages] [Bug 1509903] Re: After sleeping or hibernating via the K Menu options, the computer suddenly powers on again by itself, some seconds later, in Kubuntu 15.10

2015-10-26 Thread Mishal
These are the files present in the /usr/lib/pm-utils/sleep.d directory:

├── 000kernel-change
├── 000record-status
├── 00logging
├── 00powersave
├── 50unload_alx
├── 60_wpa_supplicant
├── 75modules
├── 90clock
├── 94cpufreq
├── 95anacron
├── 95hdparm-apm -> ../power.d/95hdparm-apm
├── 95led
├── 98video-quirk-db-handler
└── 99video

I followed the steps you asked for, removing one by one, in sequential
order starting with 000kernel-change and ending with 99 video. At each
step, I run the command "sudo pm-suspend" and it worked fine always; by
working fine I mean that the computer in fact went to sleep and stayed
at that state for at least 20 seconds, until I manually powered it on
again.

So, according to the tests that I did in my computer following the given
procedure, none of those "quirk" files seemed to be the culprit.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1509903

Title:
  After sleeping or hibernating via the K Menu options, the computer
  suddenly powers on again by itself, some seconds later, in Kubuntu
  15.10

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I recently upgraded from Kubuntu 15.04 to Kubuntu 15.10 and I've
  noticed this failure: when going through the graphical K Menu > Logout
  > Sleep or K Menu > Logout > Hibernate, the computer seems to do the
  corresponding operation fine, but some seconds later the computer
  powers on by itself, undoing the previous order to sleep or hibernate.
  A sample of the corresponding log messages stored in the file
  /var/log/syslog is this:

  Oct 25 18:47:16 hostname NetworkManager[663]:   sleep requested 
(sleeping: no  enabled: yes)
  Oct 25 18:47:16 hostname NetworkManager[663]:   sleeping...
  Oct 25 18:47:16 hostname NetworkManager[663]:   NetworkManager state is 
now ASLEEP
  Oct 25 18:47:16 hostname whoopsie[653]: [18:47:16] offline
  Oct 25 18:47:17 hostname systemd[1]: Reached target Sleep.
  Oct 25 18:47:17 hostname systemd[1]: Starting Suspend...
  Oct 25 18:47:18 hostname systemd-sleep[4848]: Suspending system...
  Oct 25 18:47:21 hostname kernel: [13031.018587] PM: Syncing filesystems ... 
done.
  Oct 25 18:47:21 hostname kernel: [13031.280695] PM: Preparing system for 
sleep (mem)
  Oct 25 18:47:21 hostname kernel: [13031.281033] Freezing user space processes 
... (elapsed 0.075 seconds) done.
  Oct 25 18:47:21 hostname kernel: [13031.357037] Freezing remaining freezable 
tasks ... (elapsed 0.001 seconds) done.
  Oct 25 18:47:21 hostname kernel: [13031.358480] PM: Suspending system (mem)
  Oct 25 18:47:21 hostname kernel: [13031.358604] Suspending console(s) (use 
no_console_suspend to debug)
  Oct 25 18:47:21 hostname kernel: [13031.359627] sd 3:0:0:0: [sda] 
Synchronizing SCSI cache
  Oct 25 18:47:21 hostname kernel: [13031.368742] serial 00:05: disabled
  Oct 25 18:47:21 hostname kernel: [13031.368751] serial 00:05: System wakeup 
disabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.368785] i8042 aux 00:04: System 
wakeup disabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.368858] parport_hostname 00:03: 
disabled
  Oct 25 18:47:21 hostname kernel: [13031.493405] sd 3:0:0:0: [sda] Stopping 
disk
  Oct 25 18:47:21 hostname kernel: [13031.880050] PM: suspend of devices 
complete after 521.067 msecs
  Oct 25 18:47:21 hostname kernel: [13031.896046] PM: late suspend of devices 
complete after 15.988 msecs
  Oct 25 18:47:21 hostname kernel: [13031.896488] pcieport :00:1c.1: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896660] ehci-pci :00:1d.7: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896690] uhci_hcd :00:1d.3: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896723] uhci_hcd :00:1d.2: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896747] uhci_hcd :00:1d.1: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896776] uhci_hcd :00:1d.0: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.912105] PM: noirq suspend of devices 
complete after 16.053 msecs
  Oct 25 18:47:21 hostname kernel: [13031.912287] ACPI: Preparing to enter 
system sleep state S3
  Oct 25 18:47:21 hostname kernel: [13031.935217] PM: Saving platform NVS memory
  Oct 25 18:47:21 hostname kernel: [13031.936928] Disabling non-boot CPUs ...
  Oct 25 18:47:21 hostname kernel: [13031.938236] smpboot: CPU 1 is now offline
  Oct 25 18:47:21 hostname kernel: [13031.952279] ACPI: Low-level resume 
complete
  Oct 25 18:47:21 hostname kernel: [13031.952279] PM: Restoring platform NVS 
memory
  Oct 25 18:47:21 hostname kernel: [13031.952279] microcode: CPU0 microcode 
updated early to revision 0xa4, date = 2010-10-02
  Oct 25 18:47:21 hostname kernel: [13031.952279] Enabling non-boot CPUs ...
  Oct 25 18:47:21 hostname kernel: [13031.952279] x86: Booting SMP 

[Kernel-packages] [Bug 1509903] Re: After sleeping or hibernating via the K Menu options, the computer suddenly powers on again by itself, some seconds later, in Kubuntu 15.10

2015-10-26 Thread Martin Pitt
Wrt. suspend there is no structural change between 15.04 and 15.10, in
both cases you were already using a direct kernel sleep without pm-utils
when you use the "K" menu.

This sounds like some kernel/driver bug which one of the pm-utils quirks
is working around. Can you please "cd /usr/lib/pm-utils/sleep.d" and do
the following:

  1. Remove one of the quirks, with e. g. "sudo rm 99video".
  2. Run "sudo pm-suspend" works; if it still works, go to the next quirk and 
repeat step 1.
  3. If pm-suspend starts to fail, you have identified the quirk.

Please respond here with the quirk you have identified, then we can
further drill down into the details. Thanks!

** Package changed: systemd (Ubuntu) => linux (Ubuntu)

** Changed in: linux (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1509903

Title:
  After sleeping or hibernating via the K Menu options, the computer
  suddenly powers on again by itself, some seconds later, in Kubuntu
  15.10

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I recently upgraded from Kubuntu 15.04 to Kubuntu 15.10 and I've
  noticed this failure: when going through the graphical K Menu > Logout
  > Sleep or K Menu > Logout > Hibernate, the computer seems to do the
  corresponding operation fine, but some seconds later the computer
  powers on by itself, undoing the previous order to sleep or hibernate.
  A sample of the corresponding log messages stored in the file
  /var/log/syslog is this:

  Oct 25 18:47:16 hostname NetworkManager[663]:   sleep requested 
(sleeping: no  enabled: yes)
  Oct 25 18:47:16 hostname NetworkManager[663]:   sleeping...
  Oct 25 18:47:16 hostname NetworkManager[663]:   NetworkManager state is 
now ASLEEP
  Oct 25 18:47:16 hostname whoopsie[653]: [18:47:16] offline
  Oct 25 18:47:17 hostname systemd[1]: Reached target Sleep.
  Oct 25 18:47:17 hostname systemd[1]: Starting Suspend...
  Oct 25 18:47:18 hostname systemd-sleep[4848]: Suspending system...
  Oct 25 18:47:21 hostname kernel: [13031.018587] PM: Syncing filesystems ... 
done.
  Oct 25 18:47:21 hostname kernel: [13031.280695] PM: Preparing system for 
sleep (mem)
  Oct 25 18:47:21 hostname kernel: [13031.281033] Freezing user space processes 
... (elapsed 0.075 seconds) done.
  Oct 25 18:47:21 hostname kernel: [13031.357037] Freezing remaining freezable 
tasks ... (elapsed 0.001 seconds) done.
  Oct 25 18:47:21 hostname kernel: [13031.358480] PM: Suspending system (mem)
  Oct 25 18:47:21 hostname kernel: [13031.358604] Suspending console(s) (use 
no_console_suspend to debug)
  Oct 25 18:47:21 hostname kernel: [13031.359627] sd 3:0:0:0: [sda] 
Synchronizing SCSI cache
  Oct 25 18:47:21 hostname kernel: [13031.368742] serial 00:05: disabled
  Oct 25 18:47:21 hostname kernel: [13031.368751] serial 00:05: System wakeup 
disabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.368785] i8042 aux 00:04: System 
wakeup disabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.368858] parport_hostname 00:03: 
disabled
  Oct 25 18:47:21 hostname kernel: [13031.493405] sd 3:0:0:0: [sda] Stopping 
disk
  Oct 25 18:47:21 hostname kernel: [13031.880050] PM: suspend of devices 
complete after 521.067 msecs
  Oct 25 18:47:21 hostname kernel: [13031.896046] PM: late suspend of devices 
complete after 15.988 msecs
  Oct 25 18:47:21 hostname kernel: [13031.896488] pcieport :00:1c.1: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896660] ehci-pci :00:1d.7: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896690] uhci_hcd :00:1d.3: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896723] uhci_hcd :00:1d.2: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896747] uhci_hcd :00:1d.1: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.896776] uhci_hcd :00:1d.0: System 
wakeup enabled by ACPI
  Oct 25 18:47:21 hostname kernel: [13031.912105] PM: noirq suspend of devices 
complete after 16.053 msecs
  Oct 25 18:47:21 hostname kernel: [13031.912287] ACPI: Preparing to enter 
system sleep state S3
  Oct 25 18:47:21 hostname kernel: [13031.935217] PM: Saving platform NVS memory
  Oct 25 18:47:21 hostname kernel: [13031.936928] Disabling non-boot CPUs ...
  Oct 25 18:47:21 hostname kernel: [13031.938236] smpboot: CPU 1 is now offline
  Oct 25 18:47:21 hostname kernel: [13031.952279] ACPI: Low-level resume 
complete
  Oct 25 18:47:21 hostname kernel: [13031.952279] PM: Restoring platform NVS 
memory
  Oct 25 18:47:21 hostname kernel: [13031.952279] microcode: CPU0 microcode 
updated early to revision 0xa4, date = 2010-10-02
  Oct 25 18:47:21 hostname kernel: [13031.952279] Enabling non-boot CPUs ...
  Oct 25 18:47:21 hostname kernel: [13031.952279] x86: Booting SMP 
configuration:
  Oct 25 18:47:21 hostname