kernel hung, bug in swapops.h,

Bug #1677057 reported by Colin Ian King
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
High
Unassigned
Zesty
Triaged
High
Unassigned

Bug Description

Machine locked up while reading mail with thunderbird. I was able to catch the following error before the machine finally locked up:

[ 3652.739499] ------------[ cut here ]------------
[ 3652.739543] kernel BUG at /build/linux-7LGLH_/linux-4.10.0/include/linux/swapops.h:129!
[ 3652.739569] invalid opcode: 0000 [#1] SMP
[ 3652.739582] Modules linked in: xt_conntrack ipt_REJECT nf_reject_ipv4 ebtable_filter ebtables ip6table_filter ip6_tables xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c xt_tcpudp bridge stp llc iptable_filter binfmt_misc zfs(PO) dm_crypt zunicode(PO) zavl(PO) zcommon(PO) znvpair(PO) spl(O) intel_rapl x86_pkg_temp_thermal intel_powerclamp arc4 coretemp rtl8192ce kvm_intel kvm rtl_pci irqbypass crct10dif_pclmul snd_hda_codec_hdmi rtl8192c_common crc32_pclmul ghash_clmulni_intel rtlwifi snd_hda_codec_realtek pcbc aesni_intel mac80211 aes_x86_64 crypto_simd glue_helper snd_hda_codec_generic cryptd intel_cstate intel_rapl_perf cfg80211 snd_hda_intel uvcvideo snd_hda_codec snd_hda_core videobuf2_vmalloc
[ 3652.739797] videobuf2_memops snd_hwdep videobuf2_v4l2 videobuf2_core videodev media shpchp snd_seq_midi snd_pcm snd_seq_midi_event input_leds joydev serio_raw thinkpad_acpi snd_rawmidi nvram lpc_ich mei_me mei snd_seq snd_seq_device snd_timer snd soundcore mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor raid6_pq hid_generic usbhid hid i915 psmouse ahci i2c_algo_bit drm_kms_helper sdhci_pci libahci e1000e sdhci syscopyarea sysfillrect sysimgblt ptp fb_sys_fops pps_core drm wmi fjes video
[ 3652.739941] CPU: 0 PID: 7826 Comm: thunderbird Tainted: P O 4.10.0-14-generic #16-Ubuntu
[ 3652.739968] Hardware name: LENOVO 2320CTO/2320CTO, BIOS G2ET31WW (1.11 ) 05/24/2012
[ 3652.739992] task: ffff8d420b004380 task.stack: ffffa277cca0c000
[ 3652.740014] RIP: 0010:__migration_entry_wait+0x16a/0x180
[ 3652.740030] RSP: 0000:ffffa277cca0fd68 EFLAGS: 00010246
[ 3652.740047] RAX: 0017ffffc0048078 RBX: fffff1044ed42370 RCX: fffff1044ed42370
[ 3652.740069] RDX: 0000000000000001 RSI: ffff8d41f508d800 RDI: fffff1044c8dc000
[ 3652.740090] RBP: ffffa277cca0fd80 R08: ffff8d41e378ec80 R09: ffff8d41e378ec80
[ 3652.740112] R10: 00007fc2f1d000c8 R11: 0000000000000206 R12: fffff1044c8dc000
[ 3652.740134] R13: 3e00000000323700 R14: ffffa277cca0fe30 R15: ffff8d417b8d1e10
[ 3652.740156] FS: 00007fc2f3161740(0000) GS:ffff8d425e200000(0000) knlGS:0000000000000000
[ 3652.740180] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3652.740198] CR2: 00007fc2b9500018 CR3: 000000039ac5e000 CR4: 00000000001406f0
[ 3652.740219] Call Trace:
[ 3652.740231] migration_entry_wait+0x74/0x80
[ 3652.740247] do_swap_page+0x5b3/0x770
[ 3652.740261] handle_mm_fault+0x873/0x1360
[ 3652.740276] __do_page_fault+0x23e/0x4e0
[ 3652.740290] do_page_fault+0x22/0x30
[ 3652.740304] page_fault+0x28/0x30
[ 3652.740316] RIP: 0033:0x565503cc606c
[ 3652.740328] RSP: 002b:00007fff81758970 EFLAGS: 00010207
[ 3652.740345] RAX: 0000000000000000 RBX: 00007fc2f1d00040 RCX: 00007fc2f1fd60b7
[ 3652.740366] RDX: 0000000000000008 RSI: 0000000000002000 RDI: 00007fc2b95cb000
[ 3652.740388] RBP: 00007fc2b9500000 R08: 00007fc2f1d000c8 R09: 0000000000000000
[ 3652.740409] R10: 00007fc2f1d000c8 R11: 0000000000000206 R12: 0000000000000200
[ 3652.740431] R13: 00007fc2f1d000c8 R14: 00000000000000ca R15: 0000000000000002
[ 3652.740453] Code: ff ff ff 4c 89 e7 e8 86 a2 f8 ff e9 3c ff ff ff 85 d2 0f 84 2a ff ff ff 8d 4a 01 89 d0 f0 41 0f b1 4d 00 39 d0 74 81 89 c2 eb e5 <0f> 0b 4c 89 e7 e8 1c fb f9 ff eb b8 4c 8d 60 ff 4c 8d 68 1b eb
[ 3652.740525] RIP: __migration_entry_wait+0x16a/0x180 RSP: ffffa277cca0fd68
[ 3652.744504] ---[ end trace 0f3e466d2ae6c0fb ]---

Changed in linux (Ubuntu):
importance: Undecided → High
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 1677057

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
Changed in linux (Ubuntu):
status: Incomplete → Triaged
tags: added: kernel-da-key zesty
Revision history for this message
Gilles Seguin (ghem) wrote :
Download full text (4.3 KiB)

Also ran into this bug on XUbuntu 17.04 beta 2 while browsing on Firefox
Computer is AMD R7 1700 / Asus Prime B350 / NVidia GTX 560 Ti

Apr 10 20:48:38 R7-1700 kernel: [ 1914.026456] ------------[ cut here ]------------
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026459] kernel BUG at /build/linux-7LGLH_/linux-4.10.0/include/linux/swapops.h:129!
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026461] invalid opcode: 0000 [#1] SMP
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026462] Modules linked in: snd_hda_codec_hdmi nvidia_uvm(POE) nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) snd_hda_intel snd_hda_codec snd_oxygen snd_hda_core snd_oxygen_lib snd_hwdep snd_mpu401_uart snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd joydev input_leds soundcore drm_kms_helper drm eeepc_wmi asus_wmi fb_sys_fops syscopyarea sparse_keymap sysfillrect sysimgblt eeprom video ccp shpchp i2c_piix4 edac_mce_amd edac_core kvm wmi irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd mac_hid 8250_dw i2c_designware_platform i2c_designware_core it87(OE) hwmon_vid parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid hid r8169 ahci mii libahci fjes gpio_amdpt gpio_generic
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026482] CPU: 2 PID: 2069 Comm: JS Helper Tainted: P OE 4.10.0-14-generic #16-Ubuntu
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026483] Hardware name: System manufacturer System Product Name/PRIME B350-PLUS, BIOS 0513 03/20/2017
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026484] task: ffff9422136c0000 task.stack: ffffa7bbc903c000
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026488] RIP: 0010:__migration_entry_wait+0x16a/0x180
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026489] RSP: 0000:ffffa7bbc903fd68 EFLAGS: 00010246
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026490] RAX: 0017ffffc0048078 RBX: ffffd7055f58d0f0 RCX: ffffd7055f58d0f0
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026490] RDX: 0000000000000001 RSI: ffff942216343800 RDI: ffffd7055c804000
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026491] RBP: ffffa7bbc903fd80 R08: ffff942236c79f00 R09: ffff942236c79f00
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026492] R10: 00007f4f4d5000c8 R11: 0000000000000206 R12: ffffd7055c804000
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026492] R13: 3e00000000720100 R14: ffffa7bbc903fe30 R15: ffff942213e35130
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026494] FS: 00007f4f367ef700(0000) GS:ffff94225ec80000(0000) knlGS:0000000000000000
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026494] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026495] CR2: 00007f4f19700018 CR3: 00000007f3318000 CR4: 00000000003406e0
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026496] Call Trace:
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026499] migration_entry_wait+0x74/0x80
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026500] do_swap_page+0x5b3/0x770
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026502] handle_mm_fault+0x873/0x1360
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026504] __do_page_fault+0x23e/0x4e0
Apr 10 20:48:38 R7-1700 kernel: [ 1914.026505] do_page_fault+0x22/0x30
Apr 10 20:48:38 R7-1700 kernel: [ 1914...

Read more...

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.