Kernel deadlock when using cachefiles.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Was using both a cifs share and a nfs share at the moment of the crash, both network filesystems get mounted by automount, seems that the bug happened at the cifs automatic umount. Machine froze and stopped responding pings from the network, not even sysrq keys worked, needed a hard power off. Kernel panic (at least what made to syslog) follows:
Mar 1 19:34:04 xps kernel: [ 5497.617469] ------------[ cut here ]------------
Mar 1 19:34:04 xps kernel: [ 5497.617472] kernel BUG at /build/
Mar 1 19:34:04 xps kernel: [ 5497.617474] invalid opcode: 0000 [#1] SMP
Mar 1 19:34:04 xps kernel: [ 5497.617475] Modules linked in: rpcsec_gss_krb5 nfsv4 nfs drbg ansi_cprng md4 nls_utf8 cifs ccm bnep pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(
OE) dm_cache_smq dm_cache dm_persistent_data dm_bio_prison zram dm_bufio lz4_compress libcrc32c uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 ath3k videobuf2_core btusb v4l2_com
mon btrtl videodev btbcm btintel snd_usb_audio joydev media input_leds bluetooth snd_usbmidi_lib snd_hda_codec_hdmi intel_rapl x86_pkg_
a_codec_realtek snd_hda_
d_hwdep gf128mul glue_helper snd_pcm ath9k_common ablk_helper ath9k_hw cryptd snd_seq_midi ath snd_seq_midi_event snd_rawmidi nvidia_uvm(POE) mac80211 snd_seq snd_seq_device snd_timer cfg802
11 serio_raw snd mei_me mei soundcore lpc_ich shpchp mac_hid binfmt_misc cachefiles nfsd fscache auth_rpcgss parport_pc nfs_acl lockd ppdev lp grace sunrpc parport autofs4 btrfs xor uas usb_
storage raid6_pq hid_generic usbhid hid nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) drm_kms_helper syscopyarea sysfillrect sysimgblt psmouse fb_sys_fops ahci r8169 drm libahci mii video
fjes
Mar 1 19:34:04 xps kernel: [ 5497.617515] CPU: 2 PID: 20454 Comm: umount Tainted: P OE 4.4.0-116-generic #140-Ubuntu
Mar 1 19:34:04 xps kernel: [ 5497.617516] Hardware name: Dell Inc. XPS 8700/0KWVT8, BIOS A08 04/16/2014
Mar 1 19:34:04 xps kernel: [ 5497.617517] task: ffff88034802c600 ti: ffff88029858c000 task.ti: ffff88029858c000
Mar 1 19:34:04 xps kernel: [ 5497.617518] RIP: 0010:[<
Mar 1 19:34:04 xps kernel: [ 5497.617525] RSP: 0018:ffff880298
Mar 1 19:34:04 xps kernel: [ 5497.617526] RAX: 0000000000000001 RBX: ffff8802e00244d0 RCX: 0000000000000034
Mar 1 19:34:04 xps kernel: [ 5497.617527] RDX: 0000000000000001 RSI: ffff8802e0024528 RDI: ffff8802e0024528
Mar 1 19:34:04 xps kernel: [ 5497.617528] RBP: ffff88029858fda0 R08: ffff88041ec972c0 R09: 0000000000000001
Mar 1 19:34:04 xps kernel: [ 5497.617528] R10: 0000000000000010 R11: 0000000000000000 R12: ffff8802dde8f000
Mar 1 19:34:04 xps kernel: [ 5497.617529] R13: 0000000000001f39 R14: 0000000000000000 R15: ffff88034802cca0
Mar 1 19:34:04 xps kernel: [ 5497.617531] FS: 00007f93632b584
Mar 1 19:34:04 xps kernel: [ 5497.617532] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 1 19:34:04 xps kernel: [ 5497.617533] CR2: 00002205d5e14000 CR3: 0000000293ff6000 CR4: 0000000000160670
Mar 1 19:34:04 xps kernel: [ 5497.617534] Stack:
Mar 1 19:34:04 xps kernel: [ 5497.617535] ffff8802e0024528 ffff88029858fdb8 ffffffffc10a6517 ffff880348d55800
Mar 1 19:34:04 xps kernel: [ 5497.617536] ffff88029858fdd0 ffffffffc1854232 ffff880348d55800 ffff88029858fdf8
Mar 1 19:34:04 xps kernel: [ 5497.617538] ffffffffc182d3e0 ffff8800a1c7ce40 ffff880348d55000 ffff880348d55008
Mar 1 19:34:04 xps kernel: [ 5497.617548] Call Trace:
Mar 1 19:34:04 xps kernel: [ 5497.617552] [<ffffffffc10a6
Mar 1 19:34:04 xps kernel: [ 5497.617572] [<ffffffffc1854
Mar 1 19:34:04 xps kernel: [ 5497.617580] [<ffffffffc182d
Mar 1 19:34:04 xps kernel: [ 5497.617587] [<ffffffffc182d
Mar 1 19:34:04 xps kernel: [ 5497.617595] [<ffffffffc182e
Mar 1 19:34:04 xps kernel: [ 5497.617602] [<ffffffffc181a
Mar 1 19:34:04 xps kernel: [ 5497.617605] [<ffffffff81216
Mar 1 19:34:04 xps kernel: [ 5497.617607] [<ffffffff81216
Mar 1 19:34:04 xps kernel: [ 5497.617609] [<ffffffff81234
Mar 1 19:34:04 xps kernel: [ 5497.617611] [<ffffffff81234
Mar 1 19:34:04 xps kernel: [ 5497.617613] [<ffffffff810a1
Mar 1 19:34:04 xps kernel: [ 5497.617616] [<ffffffff81003
Mar 1 19:34:04 xps kernel: [ 5497.617618] [<ffffffff81003
Mar 1 19:34:04 xps kernel: [ 5497.617621] [<ffffffff8184f
Mar 1 19:34:04 xps kernel: [ 5497.617622] Code: 7e 18 00 48 8b 5e 28 75 22 48 8b 3d 71 83 00 00 e8 4c cb 14 c0 48 85 db 74 0e 8b 03 85 c0 7e 0d 48 89 de f0 ff 0b 74 d6 5b 5d c3 <0f> 0b 0f 0b 66 90 0f 1f 44 00 00 55 48 85 f6 48 89 e5 41 57 41
Mar 1 19:34:04 xps kernel: [ 5497.617640] RIP [<ffffffffc10a6
Mar 1 19:34:04 xps kernel: [ 5497.617643] RSP <ffff88029858fd98>
Mar 1 19:34:04 xps kernel: [ 5497.617645] ---[ end trace 13ab4a22ef04578f ]---
Mar 1 19:34:04 xps kernel: [ 5497.617651] ------------[ cut here ]------------
Mar 1 19:34:04 xps kernel: [ 5497.617653] kernel BUG at /build/
Mar 1 19:34:04 xps kernel: [ 5497.617654] invalid opcode: 0000 [#2] SMP
Mar 1 19:34:04 xps kernel: [ 5497.617656] Modules linked in: rpcsec_gss_krb5 nfsv4 nfs drbg ansi_cprng md4 nls_utf8 cifs ccm bnep pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) dm_cache_smq dm_cache dm_persistent_data dm_bio_prison zram dm_bufio lz4_compress libcrc32c uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 ath3k videobuf2_core btusb v4l2_common btrtl videodev btbcm btintel snd_usb_audio joydev media input_leds bluetooth snd_usbmidi_lib snd_hda_codec_hdmi intel_rapl x86_pkg_
Mar 1 19:34:04 xps kernel: [ 5497.617698] CPU: 1 PID: 11898 Comm: kworker/u16:3 Tainted: P D OE 4.4.0-116-generic #140-Ubuntu
Mar 1 19:34:04 xps kernel: [ 5497.617699] Hardware name: Dell Inc. XPS 8700/0KWVT8, BIOS A08 04/16/2014
Mar 1 19:34:04 xps kernel: [ 5497.617703] Workqueue: fscache_object fscache_
Mar 1 19:34:04 xps kernel: [ 5497.617704] task: ffff88032ae16200 ti: ffff8802bd36c000 task.ti: ffff8802bd36c000
Mar 1 19:34:04 xps kernel: [ 5497.617705] RIP: 0010:[<
Mar 1 19:34:04 xps kernel: [ 5497.617709] RSP: 0018:ffff8802bd
Mar 1 19:34:04 xps kernel: [ 5497.617710] RAX: ffff8802e0024528 RBX: ffff8802e00fef00 RCX: 000000bc00000000
Mar 1 19:34:04 xps kernel: [ 5497.617711] RDX: 0000000000000000 RSI: ffff8802e00ff010 RDI: ffff8802e00fef00
Mar 1 19:34:04 xps kernel: [ 5497.617712] RBP: ffff8802bd36fdd8 R08: ffff8802e00ca728 R09: 0000000000000000
Mar 1 19:34:04 xps kernel: [ 5497.617713] R10: ffff8802e00ce5a8 R11: 0000000000000000 R12: ffff880405ddf200
Mar 1 19:34:04 xps kernel: [ 5497.617714] R13: ffff8802e00fef90 R14: ffffffffc10ab6a0 R15: ffff8802e00fef90
Mar 1 19:34:04 xps kernel: [ 5497.617715] FS: 000000000000000
Mar 1 19:34:04 xps kernel: [ 5497.617717] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 1 19:34:04 xps kernel: [ 5497.617718] CR2: 00007ff648225000 CR3: 0000000002e0a000 CR4: 0000000000160670
Mar 1 19:34:04 xps kernel: [ 5497.617719] Stack:
Mar 1 19:34:04 xps kernel: [ 5497.617719] ffffffffc111fea2 ffff8802e00fef00 000000000000006d ffff8802bd36fde8
Mar 1 19:34:04 xps kernel: [ 5497.617721] ffffffffc10a6a00 ffff8802bd36fe18 ffffffffc10a7521 ffff8802fa79a3c0
Mar 1 19:34:04 xps kernel: [ 5497.617723] ffff88040e19b400 ffff880034de3700 0000000000000200 ffff8802bd36fe58
Mar 1 19:34:04 xps kernel: [ 5497.617725] Call Trace:
Mar 1 19:34:04 xps kernel: [ 5497.617728] [<ffffffffc111f
Mar 1 19:34:04 xps kernel: [ 5497.617731] [<ffffffffc10a6
Mar 1 19:34:04 xps kernel: [ 5497.617734] [<ffffffffc10a7
Mar 1 19:34:04 xps kernel: [ 5497.617737] [<ffffffff8109c
Mar 1 19:34:04 xps kernel: [ 5497.617739] [<ffffffff8109c
Mar 1 19:34:04 xps kernel: [ 5497.617740] [<ffffffff8109c
Mar 1 19:34:04 xps kernel: [ 5497.617742] [<ffffffff810a3
Mar 1 19:34:04 xps kernel: [ 5497.617744] [<ffffffff810a3
Mar 1 19:34:04 xps kernel: [ 5497.617746] [<ffffffff8184f
Mar 1 19:34:04 xps kernel: [ 5497.617747] [<ffffffff810a3
Mar 1 19:34:04 xps kernel: [ 5497.617748] Code: 89 fb f0 ff 08 74 0e 48 c7 83 80 00 00 00 00 00 00 00 5b 5d c3 48 89 c7 e8 6b f6 ff ff 48 c7 83 80 00 00 00 00 00 00 00 5b 5d c3 <0f> 0b 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89
Mar 1 19:34:04 xps kernel: [ 5497.617767] RIP [<ffffffffc10a6
Mar 1 19:34:04 xps kernel: [ 5497.617770] RSP <ffff8802bd36fdc0>
Mar 1 19:34:04 xps kernel: [ 5497.617771] ---[ end trace 13ab4a22ef045790 ]---
Mar 1 19:34:04 xps kernel: [ 5497.617783] BUG: unable to handle kernel paging request at ffffffffffffffd8
Mar 1 19:34:04 xps kernel: [ 5497.617785] IP: [<ffffffff810a3
Mar 1 19:34:04 xps kernel: [ 5497.617787] PGD 2e0f067 PUD 2e11067 PMD 0
Mar 1 19:34:04 xps kernel: [ 5497.617788] Oops: 0000 [#3] SMP
Mar 1 19:34:04 xps kernel: [ 5497.617789] Modules linked in: rpcsec_gss_krb5 nfsv4 nfs drbg ansi_cprng md4 nls_utf8 cifs ccm bnep pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) dm_cache_smq dm_cache dm_persistent_data dm_bio_prison zram dm_bufio lz4_compress libcrc32c uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 ath3k videobuf2_core btusb v4l2_common btrtl videodev btbcm btintel snd_usb_audio joydev media input_leds bluetooth snd_usbmidi_lib snd_hda_codec_hdmi intel_rapl x86_pkg_
Mar 1 19:34:04 xps kernel: [ 5497.617831] CPU: 1 PID: 11898 Comm: kworker/u16:3 Tainted: P D OE 4.4.0-116-generic #140-Ubuntu
Mar 1 19:34:04 xps kernel: [ 5497.617831] Hardware name: Dell Inc. XPS 8700/0KWVT8, BIOS A08 04/16/2014
Mar 1 19:34:04 xps kernel: [ 5497.617838] task: ffff88032ae16200 ti: ffff8802bd36c000 task.ti: ffff8802bd36c000
Mar 1 19:34:04 xps kernel: [ 5497.617839] RIP: 0010:[<
Mar 1 19:34:04 xps kernel: [ 5497.617841] RSP: 0018:ffff8802bd
Mar 1 19:34:04 xps kernel: [ 5497.617842] RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff82112e80
Mar 1 19:34:04 xps kernel: [ 5497.617843] RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff88032ae16200
Mar 1 19:34:04 xps kernel: [ 5497.617844] RBP: ffff8802bd36fa98 R08: 00000000ffffffff R09: 0000000000000000
Mar 1 19:34:04 xps kernel: [ 5497.617845] R10: ffff88032ae16260 R11: 0000000000059800 R12: 0000000000000000
Mar 1 19:34:04 xps kernel: [ 5497.617846] R13: 00000000000172c0 R14: ffff88032ae16200 R15: ffff88041ec572c0
Mar 1 19:34:04 xps kernel: [ 5497.617847] FS: 000000000000000
Mar 1 19:34:04 xps kernel: [ 5497.617848] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 1 19:34:04 xps kernel: [ 5497.617849] CR2: 0000000000000028 CR3: 0000000002e0a000 CR4: 0000000000160670
Mar 1 19:34:04 xps kernel: [ 5497.617850] Stack:
Mar 1 19:34:04 xps kernel: [ 5497.617851] ffff8802bd36fab0 ffffffff8109de11 ffff88041ec572c0 ffff8802bd36fb00
Mar 1 19:34:04 xps kernel: [ 5497.617852] ffffffff8184ab8e ffff88040510f148 ffff880200000001 ffff88032ae16200
Mar 1 19:34:04 xps kernel: [ 5497.617854] ffff8802bd370000 ffff88032ae168d0 ffff8802bd36f6b0 0000000000000000
Mar 1 19:34:04 xps kernel: [ 5497.617856] Call Trace:
Mar 1 19:34:04 xps kernel: [ 5497.617858] [<ffffffff8109d
Mar 1 19:34:04 xps kernel: [ 5497.617860] [<ffffffff8184a
Mar 1 19:34:04 xps kernel: [ 5497.617862] [<ffffffff8184a
Mar 1 19:34:04 xps kernel: [ 5497.617865] [<ffffffff81086
Mar 1 19:34:04 xps kernel: [ 5497.617869] [<ffffffff81031
Mar 1 19:34:04 xps kernel: [ 5497.617871] [<ffffffff81032
Mar 1 19:34:04 xps kernel: [ 5497.617872] [<ffffffff8102f
Mar 1 19:34:04 xps kernel: [ 5497.617874] [<ffffffff8102f
Mar 1 19:34:04 xps kernel: [ 5497.617877] [<ffffffffc10a6
Mar 1 19:34:04 xps kernel: [ 5497.617880] [<ffffffff810c0
Mar 1 19:34:04 xps kernel: [ 5497.617882] [<ffffffff8102f
Mar 1 19:34:04 xps kernel: [ 5497.617884] [<ffffffff81851
Mar 1 19:34:04 xps kernel: [ 5497.617887] [<ffffffffc10a6
Mar 1 19:34:04 xps kernel: [ 5497.617889] [<ffffffffc111f
Mar 1 19:34:04 xps kernel: [ 5497.617892] [<ffffffffc10a6
Mar 1 19:34:04 xps kernel: [ 5497.617894] [<ffffffffc10a7
Mar 1 19:34:04 xps kernel: [ 5497.617896] [<ffffffff8109c
Mar 1 19:34:04 xps kernel: [ 5497.617898] [<ffffffff8109c
Mar 1 19:34:04 xps kernel: [ 5497.617900] [<ffffffff8109c
Mar 1 19:34:04 xps kernel: [ 5497.617901] [<ffffffff810a3
Mar 1 19:34:04 xps kernel: [ 5497.617903] [<ffffffff810a3
Mar 1 19:34:04 xps kernel: [ 5497.617904] [<ffffffff8184f
Mar 1 19:34:04 xps kernel: [ 5497.617906] [<ffffffff810a3
Mar 1 19:34:04 xps kernel: [ 5497.617907] Code: c7 10 d8 cb 81 e8 91 fa fd ff e9 a0 fe ff ff 66 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 8b 87 18 05 00 00 55 48 89 e5 <48> 8b 40 d8 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00
Mar 1 19:34:04 xps kernel: [ 5497.617925] RIP [<ffffffff810a3
Mar 1 19:34:04 xps kernel: [ 5497.617927] RSP <ffff8802bd36fa98>
Mar 1 19:34:04 xps kernel: [ 5497.617928] CR2: ffffffffffffffd8
Mar 1 19:34:04 xps kernel: [ 5497.617929] ---[ end trace 13ab4a22ef045791 ]---
Mar 1 19:34:04 xps kernel: [ 5497.617929] Fixing recursive fault but reboot is needed!
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.4.0-116-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/
CurrentDesktop: Unity
Date: Thu Mar 1 20:03:25 2018
EcryptfsInUse: Yes
HibernationDevice: RESUME=
InstallationDate: Installed on 2016-06-08 (631 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: Dell Inc. XPS 8700
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.157.16
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/16/2014
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A08
dmi.board.name: 0KWVT8
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: XPS 8700
dmi.sys.vendor: Dell Inc.
cachefilesd.conf: u:system_ r:cachefiles_ kernel_ t:s0
dir /cache/fscache
tag mycache
brun 10%
bcull 7%
bstop 3%
frun 10%
fcull 7%
fstop 3%
secctx system_
/cache is a separate ext4 partition, currently only cachefiles using it.
the cifs mount was using the following options: vers=1. 0,cache= none,username= wyrm,domain= HTPC,uid= 0,noforceuid, gid=0,noforcegi d,addr= 192.168. 1.5,unix, posixpaths, serverino, acl,fsc, noperm, rsize=65536, wsize=65536, echo_interval= 60,actimeo= 1,user= wyrm)
//htpc/rootfs/ on /smb/htpc type cifs (rw,relatime,