← Back to team overview

kernel-packages team mailing list archive

[Bug 1532145] Re: Kernel Panic wrt btrfs while sbuild/schroot

 

I tried with the upstream v4.4-wily kernel.

kick@kick-gs60:~/work/merges/freeipmi$ uname -a
Linux kick-gs60 4.4.0-040400-generic #201601101930 SMP Mon Jan 11 00:32:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

I couldn't re-use my previous schroot (couldn't mount with overlayfs).
I've created a new one with --type=btrfs-snapshot.

My latop didn't freeze, but I still got traces in the syslog:

[  458.091294] BUG: unable to handle kernel NULL pointer dereference at 0000000000000334
[  458.091320] IP: [<ffffffffc0346fac>] btrfs_sync_file+0xcc/0x350 [btrfs]
[  458.091363] PGD 3e8de9067 PUD 3e8de8067 PMD 0 
[  458.091374] Oops: 0002 [#1] SMP 
[  458.091383] Modules linked in: overlay drbg ansi_cprng ctr ccm rfcomm nvram msr xt_multiport ipt_REJECT nf_reject_ipv4 ebtable_filter ebtables ip6table_filter ip6_tables xt_addrtype xt_conntrack 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 xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables binfmt_misc bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core btusb btrtl v4l2_common btbcm btintel videodev bluetooth media arc4 nls_iso8859_1 intel_rapl iwlmvm x86_pkg_temp_thermal intel_powerclamp coretemp msi_wmi sparse_keymap crct10dif_pclmul snd_hda_codec_realtek crc32_pclmul snd_hda_codec_hdmi snd_hda_codec_generic aesni_intel aes_x86_64 mac80211 lrw gf128mul glue_helper ablk_helper
[  458.091575]  cryptd snd_hda_intel input_leds snd_hda_codec iwlwifi snd_hda_core snd_hwdep joydev snd_seq_midi snd_seq_midi_event serio_raw snd_pcm snd_rawmidi snd_seq snd_seq_device snd_timer lpc_ich cfg80211 mei_me snd mei soundcore ie31200_edac shpchp edac_core mac_hid kvm_intel kvm irqbypass parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq dm_mirror dm_region_hash dm_log bcache hid_generic usbhid hid i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm ahci alx libahci mdio wmi video fjes
[  458.091711] CPU: 1 PID: 5615 Comm: debconf-set-sel Not tainted 4.4.0-040400-generic #201601101930
[  458.091731] Hardware name: Micro-Star International Co., Ltd. GS60 2PE Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
[  458.091755] task: ffff8803e1013700 ti: ffff8803e8d38000 task.ti: ffff8803e8d38000
[  458.091771] RIP: 0010:[<ffffffffc0346fac>]  [<ffffffffc0346fac>] btrfs_sync_file+0xcc/0x350 [btrfs]
[  458.091804] RSP: 0018:ffff8803e8d3be48  EFLAGS: 00010246
[  458.091815] RAX: ffff8803e1013700 RBX: ffff8803af242700 RCX: 0000000000000000
[  458.091831] RDX: 0000000080000000 RSI: 0000000000000000 RDI: ffff880409d9c988
[  458.091846] RBP: ffff8803e8d3bec8 R08: 0000000000000001 R09: 00000000021f5338
[  458.091861] R10: 000000000000009c R11: 0000000000000246 R12: ffff880409d9c988
[  458.091876] R13: ffff880409d9c8e0 R14: 0000000000000000 R15: 0000000000000000
[  458.091892] FS:  00007f31a0444700(0000) GS:ffff88041fa40000(0000) knlGS:0000000000000000
[  458.091910] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  458.091922] CR2: 0000000000000334 CR3: 00000003e8f05000 CR4: 00000000001406e0
[  458.091937] Stack:
[  458.091942]  00000000027bf270 0000000100000000 8000000000000000 ffff8803bbc02540
[  458.091960]  7fffffffffffffff 0000000000000000 0000000000000000 0000000000000000
[  458.091978]  0000000000000000 0000000092eff2d8 0000000092eff2d8 ffff8803af242700
[  458.091995] Call Trace:
[  458.092006]  [<ffffffff812395fb>] vfs_fsync_range+0x4b/0xb0
[  458.092019]  [<ffffffff812396bd>] do_fsync+0x3d/0x70
[  458.092030]  [<ffffffff81239950>] SyS_fsync+0x10/0x20
[  458.092043]  [<ffffffff817fd9b6>] entry_SYSCALL_64_fastpath+0x16/0x75
[  458.092057] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 a0 4c 8b 75 a8 4d 8d a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 90 e8 d4 48 4b c1 <f0> 41 ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
[  458.092132] RIP  [<ffffffffc0346fac>] btrfs_sync_file+0xcc/0x350 [btrfs]
[  458.092155]  RSP <ffff8803e8d3be48>
[  458.092163] CR2: 0000000000000334
[  458.097834] ---[ end trace ff869f7e0dc1efc8 ]---
[  467.516336] general protection fault: 0000 [#2] SMP 
[  467.516353] Modules linked in: overlay drbg ansi_cprng ctr ccm rfcomm nvram msr xt_multiport ipt_REJECT nf_reject_ipv4 ebtable_filter ebtables ip6table_filter ip6_tables xt_addrtype xt_conntrack 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 xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables binfmt_misc bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core btusb btrtl v4l2_common btbcm btintel videodev bluetooth media arc4 nls_iso8859_1 intel_rapl iwlmvm x86_pkg_temp_thermal intel_powerclamp coretemp msi_wmi sparse_keymap crct10dif_pclmul snd_hda_codec_realtek crc32_pclmul snd_hda_codec_hdmi snd_hda_codec_generic aesni_intel aes_x86_64 mac80211 lrw gf128mul glue_helper ablk_helper
[  467.516558]  cryptd snd_hda_intel input_leds snd_hda_codec iwlwifi snd_hda_core snd_hwdep joydev snd_seq_midi snd_seq_midi_event serio_raw snd_pcm snd_rawmidi snd_seq snd_seq_device snd_timer lpc_ich cfg80211 mei_me snd mei soundcore ie31200_edac shpchp edac_core mac_hid kvm_intel kvm irqbypass parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq dm_mirror dm_region_hash dm_log bcache hid_generic usbhid hid i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse drm ahci alx libahci mdio wmi video fjes
[  467.516701] CPU: 5 PID: 5755 Comm: debconf-set-sel Tainted: G      D         4.4.0-040400-generic #201601101930
[  467.516724] Hardware name: Micro-Star International Co., Ltd. GS60 2PE Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
[  467.516749] task: ffff8803d1cd0000 ti: ffff8803c9a0c000 task.ti: ffff8803c9a0c000
[  467.516766] RIP: 0010:[<ffffffffc0346fac>]  [<ffffffffc0346fac>] btrfs_sync_file+0xcc/0x350 [btrfs]
[  467.516801] RSP: 0018:ffff8803c9a0fe48  EFLAGS: 00010246
[  467.516813] RAX: ffff8803d1cd0000 RBX: ffff8800be1cdd00 RCX: 0000000000000000
[  467.516829] RDX: 0000000080000000 RSI: 0000000000000000 RDI: ffff8800dabf40a8
[  467.516845] RBP: ffff8803c9a0fec8 R08: 0000000000000001 R09: 000000000248e338
[  467.516861] R10: 000000000000009c R11: 0000000000000246 R12: ffff8800dabf40a8
[  467.516877] R13: ffff8800dabf4000 R14: 0000000000000000 R15: 00801b4000801b40
[  467.516894] FS:  00007f072dc58700(0000) GS:ffff88041fb40000(0000) knlGS:0000000000000000
[  467.516913] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  467.516926] CR2: 0000000002a61048 CR3: 00000003c99e0000 CR4: 00000000001406e0
[  467.516942] Stack:
[  467.516947]  0000000002a571a0 0000000100000000 8000000000000000 ffff8800bc36a300
[  467.516966]  7fffffffffffffff 0000000000000000 0000000000000000 0000000000000000
[  467.516984]  0000000000000000 00000000a28e8641 00000000a28e8641 ffff8800be1cdd00
[  467.517003] Call Trace:
[  467.517012]  [<ffffffff812395fb>] vfs_fsync_range+0x4b/0xb0
[  467.517026]  [<ffffffff812396bd>] do_fsync+0x3d/0x70
[  467.517038]  [<ffffffff81239950>] SyS_fsync+0x10/0x20
[  467.517052]  [<ffffffff817fd9b6>] entry_SYSCALL_64_fastpath+0x16/0x75
[  467.517067] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 a0 4c 8b 75 a8 4d 8d a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 90 e8 d4 48 4b c1 <f0> 41 ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
[  467.517143] RIP  [<ffffffffc0346fac>] btrfs_sync_file+0xcc/0x350 [btrfs]
[  467.518451]  RSP <ffff8803c9a0fe48>
[  467.519751] ---[ end trace ff869f7e0dc1efc9 ]---


** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

** Tags added: kernel-bug-exists-upstream

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

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I'm running ubuntu Wily amd64 on a MSI Ghost Pro laptop.

  I'm running btrfs on top of a bcached dmraid setup(intel software
  raid0).

  I can't use sbuild, cause it crashes.

  I tried to use  a schroot env, and when updating it I got it to crash
  also.

  All the keyboard/mouse/X11 are stalled, but I could ssh to it.
  Trying to restart lightdm service didn't help.

  I've got a kernel trace in the dmesg:

  [76610.550953] BUG: unable to handle kernel NULL pointer dereference at 0000000000000334
  [76610.550983] IP: [<ffffffffc032fe6c>] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551025] PGD 160aaf067 PUD 161531067 PMD 0 
  [76610.551039] Oops: 0002 [#1] SMP 
  [76610.551050] Modules linked in: dm_crypt algif_skcipher af_alg drbg ansi_cprng ctr ccm rfcomm ipt_REJECT nf_reject_ipv4 nvram msr xt_multiport ebtable_filter ebtables ip6table_filter ip6_tables overlay bnep uvcvideo btusb videobuf2_vmalloc videobuf2_memops btrtl btbcm videobuf2_core btintel v4l2_common bluetooth videodev media xt_addrtype xt_conntrack 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 xt_tcpudp bridge aufs stp llc iptable_filter ip_tables x_tables binfmt_misc arc4 nls_iso8859_1 msi_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal snd_hda_codec_hdmi intel_powerclamp coretemp crct10dif_pclmul snd_hda_codec_realtek snd_hda_codec_generic crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul
  [76610.551253]  snd_hda_intel iwlmvm glue_helper snd_hda_codec ablk_helper mac80211 cryptd snd_hda_core snd_hwdep snd_pcm snd_seq_midi joydev input_leds snd_seq_midi_event snd_rawmidi serio_raw iwlwifi lpc_ich mei_me snd_seq mei cfg80211 snd_seq_device snd_timer snd ie31200_edac edac_core soundcore shpchp mac_hid kvm_intel kvm parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq dm_mirror dm_region_hash dm_log uas usb_storage bcache hid_generic usbhid hid i915 i2c_algo_bit drm_kms_helper psmouse ahci drm alx libahci mdio wmi video
  [76610.551395] CPU: 1 PID: 32090 Comm: dpkg Not tainted 4.2.0-23-generic #28-Ubuntu
  [76610.551414] Hardware name: Micro-Star International Co., Ltd. GS60 2PE Ghost Pro/MS-16H2, BIOS E16H2IMS.112 05/05/2015
  [76610.551438] task: ffff8803cf422940 ti: ffff8801a0be4000 task.ti: ffff8801a0be4000
  [76610.551455] RIP: 0010:[<ffffffffc032fe6c>]  [<ffffffffc032fe6c>] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551485] RSP: 0018:ffff8801a0be7e28  EFLAGS: 00010292
  [76610.551497] RAX: ffff8803cf422940 RBX: ffff880273bff100 RCX: 0000000000000000
  [76610.551513] RDX: 0000000080000000 RSI: 0000000000000000 RDI: ffff88040a2fb178
  [76610.551530] RBP: ffff8801a0be7eb8 R08: 0000000000000001 R09: 0000000000000000
  [76610.551546] R10: 00000000000001f6 R11: 0000000000000246 R12: ffff88040a2fb178
  [76610.551563] R13: ffff88040a2fb0d0 R14: 0000000000000000 R15: 0000000000000000
  [76610.551580] FS:  00007f3c27bca800(0000) GS:ffff88041fa40000(0000) knlGS:0000000000000000
  [76610.551598] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [76610.551611] CR2: 0000000000000334 CR3: 000000016159a000 CR4: 00000000001406e0
  [76610.551628] Stack:
  [76610.551633]  800000033fffa865 000000000000000b 8000000000000000 ffff88008a657e40
  [76610.551652]  7fffffffffffffff 0000000000000000 ffff8801a0be7ea8 ffff8804069544a0
  [76610.551671]  0000800173bff000 0000000010b6e564 0000000000000000 0000000010b6e564
  [76610.551691] Call Trace:
  [76610.551703]  [<ffffffff8122fe9b>] vfs_fsync_range+0x4b/0xb0
  [76610.551718]  [<ffffffff8122ff5d>] do_fsync+0x3d/0x70
  [76610.551732]  [<ffffffff81230200>] SyS_fsync+0x10/0x20
  [76610.551751]  [<ffffffff817f02b2>] entry_SYSCALL_64_fastpath+0x16/0x75
  [76610.551766] Code: 8b 0e 48 85 c9 75 e8 eb 9e 48 8b 45 90 4c 8b 75 98 4d 8d a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 f4 e2 4b c1 <f0> 41 ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 
  [76610.551845] RIP  [<ffffffffc032fe6c>] btrfs_sync_file+0xcc/0x360 [btrfs]
  [76610.551871]  RSP <ffff8801a0be7e28>
  [76610.551881] CR2: 0000000000000334
  [76610.558028] ---[ end trace 33509d397c46cd18 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-4.2.0-23-generic 4.2.0-23.28
  ProcVersionSignature: Ubuntu 4.2.0-23.28-generic 4.2.6
  Uname: Linux 4.2.0-23-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  Date: Fri Jan  8 11:02:06 2016
  HibernationDevice: RESUME=UUID=1699e24b-be2c-494d-90ff-0f313a5eed84
  InstallationDate: Installed on 2015-11-24 (44 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151016)
  MachineType: Micro-Star International Co., Ltd. GS60 2PE Ghost Pro
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.2.0-23-generic.efi.signed root=UUID=e8f9dc8a-aa49-481d-8fcc-be8cff0f61b1 ro rootflags=subvol=@ blacklist=nouveau quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.2.0-23-generic N/A
   linux-backports-modules-4.2.0-23-generic  N/A
   linux-firmware                            1.149.3
  SourcePackage: linux
  UdevLog: Error: [Errno 2] Aucun fichier ou dossier de ce type: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/05/2015
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: E16H2IMS.112
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: MS-16H2
  dmi.board.vendor: Micro-Star International Co., Ltd.
  dmi.board.version: REV:0.B
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 10
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrE16H2IMS.112:bd05/05/2015:svnMicro-StarInternationalCo.,Ltd.:pnGS602PEGhostPro:pvrREV1.0:rvnMicro-StarInternationalCo.,Ltd.:rnMS-16H2:rvrREV0.B:cvnToBeFilledByO.E.M.:ct10:cvrToBeFilledByO.E.M.:
  dmi.product.name: GS60 2PE Ghost Pro
  dmi.product.version: REV:1.0
  dmi.sys.vendor: Micro-Star International Co., Ltd.

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


References