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

-- 
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/1692482

Title:
  Ubuntu 17.04: Kernel Page Fault when swapping (swapfile)

Status in linux package in Ubuntu:
  New

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/linux-lz1RHE/linux-4.10.0/include/linux/swapops.h:129!
  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:__migration_entry_wait+0x16a/0x180
  Svi 22 11:23:03 erebus kernel: RSP: 0000:ffff99a103667d68 EFLAGS: 00010246
  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:  00007f8d71afb700(0000) 
GS:ffff89189ed00000(0000) knlGS:0000000000000000
  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_entry_wait+0x74/0x80
  Svi 22 11:23:03 erebus kernel:  do_swap_page+0x5b3/0x770
  Svi 22 11:23:03 erebus kernel:  handle_mm_fault+0x873/0x1360
  Svi 22 11:23:03 erebus kernel:  __do_page_fault+0x23e/0x4e0
  Svi 22 11:23:03 erebus kernel:  do_page_fault+0x22/0x30
  Svi 22 11:23:03 erebus kernel:  page_fault+0x28/0x30
  Svi 22 11:23:03 erebus kernel: RIP: 0033:0x56141e78d2b4
  Svi 22 11:23:03 erebus kernel: RSP: 002b:00007f8d71afac40 EFLAGS: 00010217
  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_entry_wait+0x16a/0x180 RSP: 
ffff99a103667d68
  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
  ProcVersionSignature: Ubuntu 4.10.0-21.23-generic 4.10.11
  Uname: Linux 4.10.0-21-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl zcommon znvpair nvidia_uvm nvidia_drm 
nvidia_modeset nvidia
  ApportVersion: 2.20.4-0ubuntu4
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  vlad       2697 F.... pulseaudio
   /dev/snd/controlC0:  vlad       2697 F.... pulseaudio
  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=/vmlinuz-4.10.0-21-generic 
root=UUID=27e6d38d-dc78-4528-85ce-afcd4a1c8849 ro
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-21-generic N/A
   linux-backports-modules-4.10.0-21-generic  N/A
   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.asset.tag: To be filled by O.E.M.
  dmi.board.name: H81M-R
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0504:bd06/04/2015:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnH81M-R:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: All Series
  dmi.product.version: System Version
  dmi.sys.vendor: ASUS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1692482/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to