[Bug 1570484] Re: Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably
I am having similar kernel message in a HP XW9400 workstation. I have no machine freezes and until now I can still use the machine. [159882.429604] [ cut here ] [159882.429623] WARNING: CPU: 6 PID: 22042 at /build/linux-0XAgc4/linux-4.4.0/mm/rmap.c:231 unlink_anon_vmas+0x1da/0x1f0() [159882.429625] Modules linked in: veth ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip6table_filter ip6_tables xt_CHECKSUM iptable_mangle xt_comment xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables unix_diag tcp_diag inet_diag nvram video msr binfmt_misc input_leds snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device hp_wmi nvidia_uvm(POE) sparse_keymap snd_timer snd amd64_edac_mod kvm_amd edac_mce_amd edac_core kvm wmi shpchp soundcore 8250_fintek i2c_nforce2 k10temp serio_raw irqbypass mac_hid [159882.429674] ppdev lp parport autofs4 btrfs xor raid6_pq hid_generic usbhid hid nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) drm_kms_helper syscopyarea sysfillrect mptsas sysimgblt mptscsih fb_sys_fops mptbase drm psmouse pata_acpi scsi_transport_sas firewire_ohci firewire_core forcedeth crc_itu_t sata_nv pata_amd fjes [last unloaded: cpuid] [159882.429700] CPU: 6 PID: 22042 Comm: git-svn Tainted: P OE 4.4.0-78-generic #99-Ubuntu [159882.429703] Hardware name: Hewlett-Packard HP xw9400 Workstation/0A1Ch, BIOS 786D6 v04.02 04/21/2009 [159882.429706] 0286 acc8e888 88076ca03ba8 813f8dd3 [159882.429709] 81cd3a70 88076ca03be0 81081302 [159882.429711] 88069e8c3300 880042755d70 8800cb21ee78 8800cb21ee88 [159882.429714] Call Trace: [159882.429723] [] dump_stack+0x63/0x90 [159882.429728] [] warn_slowpath_common+0x82/0xc0 [159882.429731] [] warn_slowpath_null+0x1a/0x20 [159882.429734] [] unlink_anon_vmas+0x1da/0x1f0 [159882.429739] [] free_pgtables+0xa1/0x120 [159882.429742] [] exit_mmap+0xc1/0x170 [159882.429745] [] mmput+0x57/0x130 [159882.429750] [] flush_old_exec+0x614/0x8d0 [159882.429755] [] load_elf_binary+0x359/0x1170 [159882.429762] [] ? load_misc_binary+0x64/0x3f0 [binfmt_misc] [159882.429765] [] ? get_acl+0x17/0x60 [159882.429769] [] search_binary_handler+0x9e/0x1d0 [159882.429772] [] do_execveat_common.isra.33+0x554/0x740 [159882.429775] [] SyS_execve+0x3a/0x50 [159882.429780] [] stub_execve+0x5/0x5 [159882.429783] [] ? entry_SYSCALL_64_fastpath+0x16/0x71 [159882.429786] ---[ end trace e9e562cba7ac90a1 ]--- [159882.714222] [ cut here ] [159882.714234] kernel BUG at /build/linux-0XAgc4/linux-4.4.0/mm/rmap.c:411! [159882.714238] invalid opcode: [#2] SMP [159882.714242] Modules linked in: veth ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip6table_filter ip6_tables xt_CHECKSUM iptable_mangle xt_comment xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables unix_diag tcp_diag inet_diag nvram video msr binfmt_misc input_leds snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device hp_wmi nvidia_uvm(POE) sparse_keymap snd_timer snd amd64_edac_mod kvm_amd edac_mce_amd edac_core kvm wmi shpchp soundcore 8250_fintek i2c_nforce2 k10temp serio_raw irqbypass mac_hid [159882.714300] ppdev lp parport autofs4 btrfs xor raid6_pq hid_generic usbhid hid nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) drm_kms_helper syscopyarea sysfillrect mptsas sysimgblt mptscsih fb_sys_fops mptbase drm psmouse pata_acpi scsi_transport_sas firewire_ohci firewire_core forcedeth crc_itu_t sata_nv pata_amd fjes [last unloaded: cpuid] [159882.714331] CPU: 6 PID: 22150 Comm: git-filter-bran Tainted: P D W OE 4.4.0-78-generic #99-Ubuntu [159882.714335] Hardware name: Hewlett-Packard HP xw9400 Workstation/0A1Ch, BIOS 786D6 v04.02 04/21/2009 [159882.714339] task: 8807b0a91980 ti: 88002bd74000 task.ti: 88002bd74000 [159882.714342] RIP: 0010:[] [] unlink_anon_vmas+0x17f/0x1f0 [159882.714354] RSP: 0018:88002bd77d50 EFLAGS: 00010202 [159882.714357] RAX: 880714e0d590 RBX: 880714e0d580 RCX: 0001 [159882.714359] RDX: 0001 RSI: 0001a080 RDI: 8808092cecd0 [159882.714362] RBP: 88002bd77d88 R08: 0001 R09: 00018040003f [159882.714365] R10: R11: 880714e0d7a0 R12: 88068a626f40 [159882.714367] R13: 88068a626f40 R14: 88068a626f50 R15:
[Bug 1570484] Re: Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably
I also encounter random failures resuming from suspend on 14.04 ("4.4.0-64-generic #85~14.04.1-Ubuntu SMP Mon Feb 20 12:10:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux"). Latitude E5570, fresh install (as of a week ago). No blinking caps lock, though. I just cycled through suspend-resume several times and it worked well, so it's intermittent. I tried to switch to the first virtual terminal (--F1) and restart (--) assuming it was just the screen, but nothing happened, suggesting that it's not screen- related. Haven't checked dmesg yet, though, but I will next time it happens. I also registered one "Unclaimed register detected after reading register" event in /var/log/kern.log, but I don't believe it's related as my machine froze a number of times this week, yet this event is present in kern.log only once, 5 days ago. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570484 Title: Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1570484/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570484] Re: Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably
I tested with: 4.6.0-040600rc4-generic #201604172330 SMP Mon Apr 18 03:32:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux I can confirm that this one does not hang during resume after trying about ten times. Two times out of 10 I got this in dmesg: [ 77.422675] [ cut here ] [ 77.422733] WARNING: CPU: 0 PID: 2141 at /home/kernel/COD/linux/drivers/gpu/drm/i915/intel_uncore.c:649 __unclaimed_reg_debug+0x80/0x90 [i915] [ 77.422735] Unclaimed register detected after reading register 0x65f10 [ 77.422789] Modules linked in: drbg ansi_cprng ctr ccm msr bnep binfmt_misc dm_crypt arc4 intel_rapl x86_pkg_temp_thermal snd_soc_skl acer_wmi intel_powerclamp sparse_keymap coretemp kvm_intel snd_soc_skl_ipc snd_soc_sst_ipc kvm snd_soc_sst_dsp irqbypass snd_hda_codec_hdmi snd_hda_ext_core snd_soc_sst_match crct10dif_pclmul snd_soc_core crc32_pclmul ghash_clmulni_intel iwlmvm snd_hda_codec_conexant aesni_intel snd_hda_codec_generic mac80211 snd_compress ac97_bus aes_x86_64 lrw gf128mul glue_helper snd_pcm_dmaengine ablk_helper dw_dmac_core cryptd snd_hda_intel iwlwifi snd_hda_codec input_leds joydev snd_hda_core snd_hwdep serio_raw uvcvideo cdc_mbim cdc_wdm videobuf2_vmalloc videobuf2_memops qcserial cdc_ncm snd_pcm videobuf2_v4l2 usbnet usb_wwan videobuf2_core mii videodev usbserial rtsx_pci_ms [ 77.422824] cfg80211 media memstick btusb btrtl btbcm btintel bluetooth thinkpad_acpi nvram snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq mei_me mei shpchp snd_seq_device intel_pch_thermal snd_timer snd soundcore mac_hid parport_pc ppdev lp parport autofs4 i915 i2c_algo_bit drm_kms_helper rtsx_pci_sdmmc e1000e syscopyarea sysfillrect ptp sysimgblt psmouse fb_sys_fops pps_core ahci rtsx_pci drm libahci wmi video fjes [ 77.422828] CPU: 0 PID: 2141 Comm: kworker/u16:6 Not tainted 4.6.0-040600rc4-generic #201604172330 [ 77.422830] Hardware name: LENOVO 20FB003PMS/20FB003PMS, BIOS N1FET37W (1.11 ) 03/15/2016 [ 77.422839] Workqueue: events_unbound async_run_entry_fn [ 77.422844] 0086 3e1632fd 880089e47a58 813eee03 [ 77.422848] 880089e47aa8 880089e47a98 810827cb [ 77.422851] 028989e47a78 0001 00065f10 [ 77.422852] Call Trace: [ 77.422862] [] dump_stack+0x63/0x90 [ 77.422867] [] __warn+0xcb/0xf0 [ 77.422871] [] warn_slowpath_fmt+0x5f/0x80 [ 77.422915] [] __unclaimed_reg_debug+0x80/0x90 [i915] [ 77.422953] [] gen9_read32+0x35b/0x390 [i915] [ 77.422996] [] i915_audio_component_codec_wake_override+0x39/0xb0 [i915] [ 77.423008] [] snd_hdac_set_codec_wakeup+0x3f/0xa0 [snd_hda_core] [ 77.423014] [] azx_runtime_resume+0x184/0x1a0 [snd_hda_intel] [ 77.423019] [] pci_pm_runtime_resume+0x7b/0xa0 [ 77.423025] [] __rpm_callback+0x33/0x70 [ 77.423029] [] ? pci_restore_standard_config+0x40/0x40 [ 77.423033] [] rpm_callback+0x24/0x80 [ 77.423037] [] ? pci_restore_standard_config+0x40/0x40 [ 77.423040] [] rpm_resume+0x491/0x690 [ 77.423046] [] ? check_preempt_curr+0x80/0x90 [ 77.423050] [] __pm_runtime_resume+0x4e/0x70 [ 77.423054] [] pci_pm_suspend+0x5c/0x140 [ 77.423059] [] ? pci_pm_freeze+0xe0/0xe0 [ 77.423064] [] dpm_run_callback+0x4e/0x130 [ 77.423069] [] __device_suspend+0x148/0x370 [ 77.423073] [] async_suspend+0x1f/0xa0 [ 77.423078] [] async_run_entry_fn+0x48/0x150 [ 77.423083] [] process_one_work+0x165/0x480 [ 77.423088] [] worker_thread+0x4b/0x500 [ 77.423093] [] ? process_one_work+0x480/0x480 [ 77.423097] [] ? process_one_work+0x480/0x480 [ 77.423100] [] kthread+0xd8/0xf0 [ 77.423105] [] ret_from_fork+0x22/0x40 [ 77.423109] [] ? kthread_create_on_node+0x1a0/0x1a0 [ 77.423111] ---[ end trace 16296147ce748c35 ]--- But everything seems to work as far as I can tell. ** Tags added: kernel-fixed-upstream ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570484 Title: Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1570484/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570484] Re: Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably
I just bought the machine a couple of days ago and installed Xenial straight away so I havent' had a working kernel on this. I was thinking about installing a mainline build earlier but did not get to it. Then I discovered that the battery life on this thing is pretty amazing. I can use it through the whole day without charging even with suspend disabled. But I'll test the mainline build and report back. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570484 Title: Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1570484/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570484] Re: Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably
Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem? Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.6 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'. 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/v4.6-rc4-wily/ ** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570484 Title: Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1570484/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570484] Re: Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably
** Tags added: kernel-bug resume suspend -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570484 Title: Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1570484/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1570484] Re: Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably
** Summary changed: - Resuming from suspend on Lenovo X1 Carbon 4th gen does not work reliably + Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570484 Title: Resuming from suspend on Lenovo ThinkPad X1 Carbon 4th gen does not work reliably To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1570484/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs