Ubuntu 17.04: Kernel Page Fault when swapping (swapfile)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I just had Firefox froze over, with these entries in the journal:
Svi 22 11:23:03 erebus kernel: ------------[ cut here ]------------
Svi 22 11:23:03 erebus kernel: kernel BUG at /build/
Svi 22 11:23:03 erebus kernel: invalid opcode: 0000 [#1] SMP
Svi 22 11:23:03 erebus kernel: Modules linked in: binfmt_misc zfs(PO) zunicode(PO) zavl(PO) zcommon(PO) znvpair(PO) spl(O) snd_hda_codec_hdmi eeepc_wmi asus_wmi sparse_keymap nvidia_uvm(POE) intel_rapl snd_seq_m
Svi 22 11:23:03 erebus kernel: sysfillrect aes_x86_64 sysimgblt crypto_simd glue_helper fb_sys_fops cryptd r8169 ahci libahci drm mii fjes video
Svi 22 11:23:03 erebus kernel: CPU: 2 PID: 3087 Comm: JS Helper Tainted: P OE 4.10.0-21-generic #23-Ubuntu
Svi 22 11:23:03 erebus kernel: Hardware name: ASUS All Series/H81M-R, BIOS 0504 06/04/2015
Svi 22 11:23:03 erebus kernel: task: ffff89188a7c4380 task.stack: ffff99a103664000
Svi 22 11:23:03 erebus kernel: RIP: 0010:__
Svi 22 11:23:03 erebus kernel: RSP: 0000:ffff99a103
Svi 22 11:23:03 erebus kernel: RAX: 0017ffffc0048078 RBX: fffff39c071e9ab0 RCX: fffff39c071e9ab0
Svi 22 11:23:03 erebus kernel: RDX: 0000000000000001 RSI: ffff891847a6a800 RDI: fffff39c04fec000
Svi 22 11:23:03 erebus kernel: RBP: ffff99a103667d80 R08: ffff89189120f440 R09: ffff89189120f440
Svi 22 11:23:03 erebus kernel: R10: 00007f8d8dc00119 R11: 0000000000000206 R12: fffff39c04fec000
Svi 22 11:23:03 erebus kernel: R13: 3e0000000013fb00 R14: ffff99a103667e30 R15: ffff891888fa8190
Svi 22 11:23:03 erebus kernel: FS: 00007f8d71afb70
Svi 22 11:23:03 erebus kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Svi 22 11:23:03 erebus kernel: CR2: 00007f8d59500018 CR3: 00000001c7970000 CR4: 00000000001406e0
Svi 22 11:23:03 erebus kernel: Call Trace:
Svi 22 11:23:03 erebus kernel: migration_
Svi 22 11:23:03 erebus kernel: do_swap_
Svi 22 11:23:03 erebus kernel: handle_
Svi 22 11:23:03 erebus kernel: __do_page_
Svi 22 11:23:03 erebus kernel: do_page_
Svi 22 11:23:03 erebus kernel: page_fault+
Svi 22 11:23:03 erebus kernel: RIP: 0033:0x56141e78d2b4
Svi 22 11:23:03 erebus kernel: RSP: 002b:00007f8d71
Svi 22 11:23:03 erebus kernel: RAX: 0000000000000000 RBX: 00007f8d8dc00040 RCX: 00007f8d8de53137
Svi 22 11:23:03 erebus kernel: RDX: 0000000000000008 RSI: 0000000000002000 RDI: 00007f8d595d0000
Svi 22 11:23:03 erebus kernel: RBP: 00007f8d59500000 R08: 0000000000002000 R09: 00007f8d27a00000
Svi 22 11:23:03 erebus kernel: R10: 00007f8d8dc00119 R11: 0000000000000206 R12: 0000000000000080
Svi 22 11:23:03 erebus kernel: R13: 00007f8d8dc000c8 R14: 00000000000000cf R15: 0000000000000002
Svi 22 11:23:03 erebus kernel: Code: ff ff ff 4c 89 e7 e8 b6 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 2c fb f9 ff eb b8 4c 8d 6
Svi 22 11:23:03 erebus kernel: RIP: __migration_
Svi 22 11:23:03 erebus kernel: ---[ end trace ec7b4c0f2b200f3d ]---
Therefore I'm assuming the problem is with swapping (using swapfile, default 17.04 installation). The process was locked, was unable to kill -9 it. I tried to reboot to get rid of it, but the system just hung, had to power-cycle it.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: linux-image-generic 4.10.0.21.23
ProcVersionSign
Uname: Linux 4.10.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: Unity:Unity7
CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted
Date: Mon May 22 11:57:23 2017
InstallationDate: Installed on 2017-05-20 (1 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
IwConfig:
lo no wireless extensions.
enp3s0 no wireless extensions.
MachineType: ASUS All Series
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.164.1
RfKill:
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/04/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0504
dmi.board.
dmi.board.name: H81M-R
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: All Series
dmi.product.
dmi.sys.vendor: ASUS
A few notes, reading the attached files:
1. I have ZFS module installed, but the swapfile is on root which is ext4 over LUKS encrypted partition (SSD)
2. The journal attached is post-reboot, contains no previous errors
3. Firefox, whose pages got caught swapping and this happened, runs with an enforced AppArmor profile, but there were no denials logged when that happened.
4. The swapfile was almost empty, 1MB used of 1.4GB