Issue on resume

Bug #1403507 reported by Christophe H
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Hello

Each time I suspend my laptop and I resume I need to logout my session or reboot otherwise I can not click or use the keyboard or anything
uname -a
Linux Chris-Linux 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Last line of the pm-suspend.log

Tue Dec 16 21:55:21 CET 2014: performing suspend
Wed Dec 17 09:03:05 CET 2014: Awake.
Wed Dec 17 09:03:05 CET 2014: Running hooks for resume
Running hook /etc/pm/sleep.d/novatel_3g_suspend resume suspend:
/etc/pm/sleep.d/novatel_3g_suspend resume suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:
/usr/lib/pm-utils/sleep.d/99video resume suspend: success.

output of
lspci -nnk | grep -iA2 net
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
        Subsystem: Fujitsu Limited. Device [10cf:161b]
        Kernel driver in use: e1000e
--
02:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] [8086:0082] (rev 34)
        Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN [8086:1301]
        Kernel driver in use: iwlwifi

Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:
/usr/lib/pm-utils/sleep.d/95led resume suspend: not applicable.

Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm resume suspend:

/dev/sda:
 setting Advanced Power Management level to 0x80 (128)
 APM_level = 128

/dev/sda:
 setting standby to 36 (3 minutes)
/usr/lib/pm-utils/sleep.d/95hdparm-apm resume suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/95anacron resume suspend:
/usr/lib/pm-utils/sleep.d/95anacron resume suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:
/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:
/usr/lib/pm-utils/sleep.d/90clock resume suspend: not applicable.

Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
Reloaded unloaded modules.
/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant resume suspend:
Failed to connect to non-global ctrl_ifname: (null) error: No such file or directory
/usr/lib/pm-utils/sleep.d/60_wpa_supplicant resume suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/50unload_alx resume suspend:
/usr/lib/pm-utils/sleep.d/50unload_alx resume suspend: success.

Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend:
/etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend: success.

Running hook /etc/pm/sleep.d/10_grub-common resume suspend:
/etc/pm/sleep.d/10_grub-common resume suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:
/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:
/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/000record-status resume suspend:
/usr/lib/pm-utils/sleep.d/000record-status resume suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/000kernel-change resume suspend:
/usr/lib/pm-utils/sleep.d/000kernel-change resume suspend: success.

Wed Dec 17 09:03:05 CET 2014: Finished.

It has been bugging me since I migrated to 14.04 but now I have a bit time to investigate
---
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: christophe 3641 F.... pulseaudio
CurrentDesktop: KDE
DistroRelease: Ubuntu 14.10
HibernationDevice: RESUME=UUID=276895d3-4e33-4a2d-9544-98e24012842c
InstallationDate: Installed on 2012-04-27 (964 days ago)
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MachineType: FUJITSU LIFEBOOK S761
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-24-generic root=UUID=2e62d636-10a0-4d0b-923b-c2327bc37e95 ro
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-24-generic N/A
 linux-backports-modules-3.13.0-24-generic N/A
 linux-firmware 1.138
Tags: utopic
Uname: Linux 3.13.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom davfs2 dialout lpadmin plugdev sambashare
_MarkForUpload: True
dmi.bios.date: 04/27/2011
dmi.bios.vendor: FUJITSU // Phoenix Technologies Ltd.
dmi.bios.version: Version 1.14
dmi.board.name: FJNB225
dmi.board.vendor: FUJITSU
dmi.board.version: B1
dmi.chassis.type: 10
dmi.chassis.vendor: FUJITSU
dmi.chassis.version: LIFEBOOK S761
dmi.modalias: dmi:bvnFUJITSU//PhoenixTechnologiesLtd.:bvrVersion1.14:bd04/27/2011:svnFUJITSU:pnLIFEBOOKS761:pvr10601115935:rvnFUJITSU:rnFJNB225:rvrB1:cvnFUJITSU:ct10:cvrLIFEBOOKS761:
dmi.product.name: LIFEBOOK S761
dmi.product.version: 10601115935
dmi.sys.vendor: FUJITSU

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1403507

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: trusty
Revision history for this message
Christophe H (chrissc-humbert) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected utopic
description: updated
Revision history for this message
Christophe H (chrissc-humbert) wrote : BootDmesg.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : CRDA.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : IwConfig.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : Lspci.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : Lsusb.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : ProcEnviron.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : ProcModules.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : PulseList.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : RfKill.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : UdevDb.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : UdevLog.txt

apport information

Revision history for this message
Christophe H (chrissc-humbert) wrote : WifiSyslog.txt

apport information

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.18 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18-vivid/

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Christophe H (chrissc-humbert) wrote :
Download full text (16.4 KiB)

Hello Joseph

I tried to install the upstream kernel but I have the error message
Selecting previously unselected package linux-headers-3.18.0-999.
(Reading database ... 489847 files and directories currently installed.)
Preparing to unpack linux-headers-3.18.0-999_3.18.0-999.201412170840_all.deb ...
Unpacking linux-headers-3.18.0-999 (3.18.0-999.201412170840) ...
Selecting previously unselected package linux-headers-3.18.0-999-generic.
Preparing to unpack linux-headers-3.18.0-999-generic_3.18.0-999.201412170840_amd64.deb ...
Unpacking linux-headers-3.18.0-999-generic (3.18.0-999.201412170840) ...
Selecting previously unselected package linux-image-3.18.0-999-generic.
Preparing to unpack linux-image-3.18.0-999-generic_3.18.0-999.201412170840_amd64.deb ...
Done.
Unpacking linux-image-3.18.0-999-generic (3.18.0-999.201412170840) ...
Setting up linux-headers-3.18.0-999 (3.18.0-999.201412170840) ...
Setting up linux-headers-3.18.0-999-generic (3.18.0-999.201412170840) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.18.0-999-generic /boot/vmlinuz-3.18.0-999-generic
Error! Bad return status for module build on kernel: 3.18.0-999-generic (x86_64)
Consult /var/lib/dkms/i915-3.15-3.13/0.01/build/make.log for more information.
Setting up linux-image-3.18.0-999-generic (3.18.0-999.201412170840) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.18.0-999-generic /boot/vmlinuz-3.18.0-999-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.18.0-999-generic /boot/vmlinuz-3.18.0-999-generic
Error! Bad return status for module build on kernel: 3.18.0-999-generic (x86_64)
Consult /var/lib/dkms/i915-3.15-3.13/0.01/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.18.0-999-generic /boot/vmlinuz-3.18.0-999-generic
update-initramfs: Generating /boot/initrd.img-3.18.0-999-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.18.0-999-generic /boot/vmlinuz-3.18.0-999-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.18.0-999-generic /boot/vmlinuz-3.18.0-999-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.18.0-999-generic /boot/vmlinuz-3.18.0-999-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.18.0-999-generic
Found initrd image: /boot/initrd.img-3.18.0-999-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found linux image: /boot/vmlinuz-3.11.0-19-generic
Found initrd image: /boot/initrd.img-3.11.0-19-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
done

Find the make.log
DKMS make.log for i915-3.15-3.13-0.01 for kernel 3.18.0-999-generic (x86_64)
Thu Dec 18 16:49:48 CET 2014
GNU Make 4.0
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2013 Free Software Foundation, Inc.
Licence GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the ext...

Revision history for this message
penalvch (penalvch) wrote :

Christoph H, could you please test the latest upstream kernel available from the very top line at the top of the page (the release names are irrelevant for testing, and please do not test the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue.

If the test did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested exactly shown as:
kernel-fixed-upstream-3.19-rc1

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: latest-bios-1.14
Revision history for this message
Christophe H (chrissc-humbert) wrote :
Download full text (14.0 KiB)

Same Error

Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.19.0-031900rc1-generic /boot/vmlinuz-3.19.0-031900rc1-generic
Error! Bad return status for module build on kernel: 3.19.0-031900rc1-generic (x86_64)
Consult /var/lib/dkms/i915-3.15-3.13/0.01/build/make.log for more information.

DKMS make.log for i915-3.15-3.13-0.01 for kernel 3.19.0-031900rc1-generic (x86_64)
Mon Dec 29 19:49:27 CET 2014
GNU Make 4.0
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2013 Free Software Foundation, Inc.
Licence GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Reading makefile 'Makefile'...
make: Entering directory '/usr/src/linux-headers-3.19.0-031900rc1-generic'
Reading makefile 'scripts/Kbuild.include' (search path) (no ~ expansion)...
Reading makefile 'include/config/auto.conf' (search path) (don't care) (no ~ expansion)...
Reading makefile 'arch/x86/Makefile' (search path) (no ~ expansion)...
Reading makefile 'scripts/Makefile.extrawarn' (search path) (no ~ expansion)...
Updating makefiles....
 Considering target file 'scripts/Makefile.extrawarn'.
  Looking for an implicit rule for 'scripts/Makefile.extrawarn'.
  No implicit rule found for 'scripts/Makefile.extrawarn'.
  Finished prerequisites of target file 'scripts/Makefile.extrawarn'.
 No need to remake target 'scripts/Makefile.extrawarn'.
 Considering target file 'arch/x86/Makefile'.
  Looking for an implicit rule for 'arch/x86/Makefile'.
  No implicit rule found for 'arch/x86/Makefile'.
  Finished prerequisites of target file 'arch/x86/Makefile'.
 No need to remake target 'arch/x86/Makefile'.
 Considering target file 'include/config/auto.conf'.
  File 'include/config/auto.conf' does not exist.
  Finished prerequisites of target file 'include/config/auto.conf'.
 Must remake target 'include/config/auto.conf'.
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
Putting child 0x1e11ec0 (include/config/auto.conf) PID 21061 on the chain.
Live child 0x1e11ec0 (include/config/auto.conf) PID 21061
Reaping winning child 0x1e11ec0 PID 21061
Removing child 0x1e11ec0 PID 21061 from chain.
 Successfully remade target file 'include/config/auto.conf'.
 Considering target file 'scripts/Kbuild.include'.
  Finished prerequisites of target file 'scripts/Kbuild.include'.
 No need to remake target 'scripts/Kbuild.include'.
 Considering target file 'Makefile'.
  Finished prerequisites of target file 'Makefile'.
 No need to remake target 'Makefile'.
Updating goal targets....
Considering target file '_all'.
 File '_all' does not exist.
  Considering target file 'modules'.
   File 'modules' does not exist.
    Considering target file '_module_/var/lib/dkms/i915-3.15-3.13/0.01/build'.
     File '_module_/va...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.