← Back to team overview

kernel-packages team mailing list archive

[Bug 1450684] [NEW] Btrfs freeze

 

Public bug reported:

I was removing some data on a btrfs volume (with rm -rf directory), and
my machine froze. Here is the relevant trace:

Apr 30 20:17:17 enriques kernel: [17543.224343] ------------[ cut here ]------------
Apr 30 20:17:17 enriques kernel: [17543.224369] kernel BUG at /build/buildd/linux-3.19.0/fs/btrfs/inode.c:3142!
Apr 30 20:17:17 enriques kernel: [17543.224396] invalid opcode: 0000 [#1] SMP 
Apr 30 20:17:17 enriques kernel: [17543.224414] Modules linked in: uas usb_storage nvram msr pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) binfmt_misc rfcomm bnep arc4 iwldvm uvcvideo mac80211 btusb bluetooth videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media snd_hda_codec_hdmi snd_hda_codec_conexant dell_wmi sparse_keymap snd_hda_codec_generic snd_hda_intel iwlwifi snd_hda_controller dell_laptop dcdbas snd_hda_codec snd_hwdep i8k intel_rapl snd_pcm iosf_mbi x86_pkg_temp_thermal intel_powerclamp snd_seq_midi snd_seq_midi_event kvm_intel cfg80211 kvm snd_rawmidi snd_seq snd_seq_device snd_timer shpchp snd soundcore crct10dif_pclmul joydev serio_raw crc32_pclmul ghash_clmulni_intel cryptd lpc_ich mei_me mei mac_hid dell_smo8800 cuse coretemp parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq i915 i2c_algo_bit drm_kms_helper psmouse ahci drm libahci atl1c wmi video
Apr 30 20:17:17 enriques kernel: [17543.224864] CPU: 3 PID: 24254 Comm: btrfs-cleaner Tainted: G           OE  3.19.0-15-generic #15-Ubuntu
Apr 30 20:17:17 enriques kernel: [17543.224911] Hardware name: Dell Inc.          Dell System Inspiron N411Z/0YWNPW, BIOS A00 06/24/2011
Apr 30 20:17:17 enriques kernel: [17543.224946] task: ffff88009f160000 ti: ffff880195ecc000 task.ti: ffff880195ecc000
Apr 30 20:17:17 enriques kernel: [17543.224974] RIP: 0010:[<ffffffffc05f3970>]  [<ffffffffc05f3970>] btrfs_orphan_add+0x1c0/0x1e0 [btrfs]
Apr 30 20:17:17 enriques kernel: [17543.225032] RSP: 0018:ffff880195ecfc38  EFLAGS: 00010286
Apr 30 20:17:17 enriques kernel: [17543.225054] RAX: 00000000ffffffe4 RBX: ffff8800bcd5b800 RCX: ffff88009f362000
Apr 30 20:17:17 enriques kernel: [17543.225086] RDX: 00000000000098fa RSI: 0000000000040000 RDI: ffff88009f362138
Apr 30 20:17:17 enriques kernel: [17543.225126] RBP: ffff880195ecfc78 R08: 000000000001d700 R09: ffff880106ca6ab0
Apr 30 20:17:17 enriques kernel: [17543.225174] R10: ffff880106ca6ab0 R11: ffffea0002bb9fc0 R12: ffff88000523f8c8
Apr 30 20:17:17 enriques kernel: [17543.225208] R13: ffff8800a417a370 R14: ffff8800bcd5bc58 R15: 0000000000000001
Apr 30 20:17:17 enriques kernel: [17543.225235] FS:  0000000000000000(0000) GS:ffff88019fac0000(0000) knlGS:0000000000000000
Apr 30 20:17:17 enriques kernel: [17543.225265] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 30 20:17:17 enriques kernel: [17543.225287] CR2: 000026c22e1f5000 CR3: 0000000001c13000 CR4: 00000000000407e0
Apr 30 20:17:17 enriques kernel: [17543.225313] Stack:
Apr 30 20:17:17 enriques kernel: [17543.225325]  ffff880195ecfc78 ffffffffc0631c85 ffff88009f362000 ffff8801970a1800
Apr 30 20:17:17 enriques kernel: [17543.225357]  ffff880106ca6ab0 ffff88000523f8c8 ffff880007f4a200 ffff880005944090
Apr 30 20:17:17 enriques kernel: [17543.225394]  ffff880195ecfd08 ffffffffc05dd2ca ffff880106ca6ab0 ffff880106ca6b30
Apr 30 20:17:17 enriques kernel: [17543.225442] Call Trace:
Apr 30 20:17:17 enriques kernel: [17543.225484]  [<ffffffffc0631c85>] ? lookup_free_space_inode+0x45/0xf0 [btrfs]
Apr 30 20:17:17 enriques kernel: [17543.225532]  [<ffffffffc05dd2ca>] btrfs_remove_block_group+0x13a/0x760 [btrfs]
Apr 30 20:17:17 enriques kernel: [17543.225572]  [<ffffffffc0616e4a>] btrfs_remove_chunk+0x63a/0x760 [btrfs]
Apr 30 20:17:17 enriques kernel: [17543.225607]  [<ffffffffc05ddb39>] btrfs_delete_unused_bgs+0x249/0x270 [btrfs]
Apr 30 20:17:17 enriques kernel: [17543.225649]  [<ffffffffc05e60d4>] cleaner_kthread+0x144/0x1a0 [btrfs]
Apr 30 20:17:17 enriques kernel: [17543.227059]  [<ffffffffc05e5f90>] ? check_leaf+0x360/0x360 [btrfs]
Apr 30 20:17:17 enriques kernel: [17543.228587]  [<ffffffff81094759>] kthread+0xc9/0xe0
Apr 30 20:17:17 enriques kernel: [17543.230295]  [<ffffffff81094690>] ? kthread_create_on_node+0x1c0/0x1c0
Apr 30 20:17:17 enriques kernel: [17543.231636]  [<ffffffff817c9298>] ret_from_fork+0x58/0x90
Apr 30 20:17:17 enriques kernel: [17543.232869]  [<ffffffff81094690>] ? kthread_create_on_node+0x1c0/0x1c0
Apr 30 20:17:17 enriques kernel: [17543.234046] Code: 60 04 00 00 e9 b0 fe ff ff 66 90 89 45 c8 f0 41 80 64 24 80 fd 4c 89 e7 e8 9e 21 fe ff 8b 45 c8 e9 1b ff ff ff 66 0f 1f 44 00 00 <0f> 0b b8 f4 ff ff ff e9 10 ff ff ff 4c 89 f7 45 31 f6 e8 79 54 
Apr 30 20:17:17 enriques kernel: [17543.237129] RIP  [<ffffffffc05f3970>] btrfs_orphan_add+0x1c0/0x1e0 [btrfs]
Apr 30 20:17:17 enriques kernel: [17543.238807]  RSP <ffff880195ecfc38>
Apr 30 20:17:17 enriques kernel: [17543.245915] ---[ end trace 46025c5725cb702e ]---

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-15-generic 3.19.0-15.15
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  nasko      3202 F.... pulseaudio
Date: Thu Apr 30 20:46:16 2015
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=dea0f836-e744-4167-94ac-c782347eaaae
InstallationDate: Installed on 2011-09-17 (1321 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
MachineType: Dell Inc. Dell System Inspiron N411Z
ProcEnviron:
 LANGUAGE=en_US
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-15-generic root=UUID=7d37ed15-42a3-4a3d-adc4-6af303326b18 ro quiet splash vt.handoff=7
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-15-generic N/A
 linux-backports-modules-3.19.0-15-generic  N/A
 linux-firmware                             1.143
SourcePackage: linux
UpgradeStatus: Upgraded to vivid on 2015-04-26 (5 days ago)
dmi.bios.date: 06/24/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A00
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 0YWNPW
dmi.board.vendor: Dell Inc.
dmi.board.version: FAB1
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA00:bd06/24/2011:svnDellInc.:pnDellSystemInspironN411Z:pvr:rvnDellInc.:rn0YWNPW:rvrFAB1:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: Dell System Inspiron N411Z
dmi.sys.vendor: Dell Inc.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug vivid

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

Title:
  Btrfs freeze

Status in linux package in Ubuntu:
  New

Bug description:
  I was removing some data on a btrfs volume (with rm -rf directory),
  and my machine froze. Here is the relevant trace:

  Apr 30 20:17:17 enriques kernel: [17543.224343] ------------[ cut here ]------------
  Apr 30 20:17:17 enriques kernel: [17543.224369] kernel BUG at /build/buildd/linux-3.19.0/fs/btrfs/inode.c:3142!
  Apr 30 20:17:17 enriques kernel: [17543.224396] invalid opcode: 0000 [#1] SMP 
  Apr 30 20:17:17 enriques kernel: [17543.224414] Modules linked in: uas usb_storage nvram msr pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) binfmt_misc rfcomm bnep arc4 iwldvm uvcvideo mac80211 btusb bluetooth videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media snd_hda_codec_hdmi snd_hda_codec_conexant dell_wmi sparse_keymap snd_hda_codec_generic snd_hda_intel iwlwifi snd_hda_controller dell_laptop dcdbas snd_hda_codec snd_hwdep i8k intel_rapl snd_pcm iosf_mbi x86_pkg_temp_thermal intel_powerclamp snd_seq_midi snd_seq_midi_event kvm_intel cfg80211 kvm snd_rawmidi snd_seq snd_seq_device snd_timer shpchp snd soundcore crct10dif_pclmul joydev serio_raw crc32_pclmul ghash_clmulni_intel cryptd lpc_ich mei_me mei mac_hid dell_smo8800 cuse coretemp parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq i915 i2c_algo_bit drm_kms_helper psmouse ahci drm libahci atl1c wmi video
  Apr 30 20:17:17 enriques kernel: [17543.224864] CPU: 3 PID: 24254 Comm: btrfs-cleaner Tainted: G           OE  3.19.0-15-generic #15-Ubuntu
  Apr 30 20:17:17 enriques kernel: [17543.224911] Hardware name: Dell Inc.          Dell System Inspiron N411Z/0YWNPW, BIOS A00 06/24/2011
  Apr 30 20:17:17 enriques kernel: [17543.224946] task: ffff88009f160000 ti: ffff880195ecc000 task.ti: ffff880195ecc000
  Apr 30 20:17:17 enriques kernel: [17543.224974] RIP: 0010:[<ffffffffc05f3970>]  [<ffffffffc05f3970>] btrfs_orphan_add+0x1c0/0x1e0 [btrfs]
  Apr 30 20:17:17 enriques kernel: [17543.225032] RSP: 0018:ffff880195ecfc38  EFLAGS: 00010286
  Apr 30 20:17:17 enriques kernel: [17543.225054] RAX: 00000000ffffffe4 RBX: ffff8800bcd5b800 RCX: ffff88009f362000
  Apr 30 20:17:17 enriques kernel: [17543.225086] RDX: 00000000000098fa RSI: 0000000000040000 RDI: ffff88009f362138
  Apr 30 20:17:17 enriques kernel: [17543.225126] RBP: ffff880195ecfc78 R08: 000000000001d700 R09: ffff880106ca6ab0
  Apr 30 20:17:17 enriques kernel: [17543.225174] R10: ffff880106ca6ab0 R11: ffffea0002bb9fc0 R12: ffff88000523f8c8
  Apr 30 20:17:17 enriques kernel: [17543.225208] R13: ffff8800a417a370 R14: ffff8800bcd5bc58 R15: 0000000000000001
  Apr 30 20:17:17 enriques kernel: [17543.225235] FS:  0000000000000000(0000) GS:ffff88019fac0000(0000) knlGS:0000000000000000
  Apr 30 20:17:17 enriques kernel: [17543.225265] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  Apr 30 20:17:17 enriques kernel: [17543.225287] CR2: 000026c22e1f5000 CR3: 0000000001c13000 CR4: 00000000000407e0
  Apr 30 20:17:17 enriques kernel: [17543.225313] Stack:
  Apr 30 20:17:17 enriques kernel: [17543.225325]  ffff880195ecfc78 ffffffffc0631c85 ffff88009f362000 ffff8801970a1800
  Apr 30 20:17:17 enriques kernel: [17543.225357]  ffff880106ca6ab0 ffff88000523f8c8 ffff880007f4a200 ffff880005944090
  Apr 30 20:17:17 enriques kernel: [17543.225394]  ffff880195ecfd08 ffffffffc05dd2ca ffff880106ca6ab0 ffff880106ca6b30
  Apr 30 20:17:17 enriques kernel: [17543.225442] Call Trace:
  Apr 30 20:17:17 enriques kernel: [17543.225484]  [<ffffffffc0631c85>] ? lookup_free_space_inode+0x45/0xf0 [btrfs]
  Apr 30 20:17:17 enriques kernel: [17543.225532]  [<ffffffffc05dd2ca>] btrfs_remove_block_group+0x13a/0x760 [btrfs]
  Apr 30 20:17:17 enriques kernel: [17543.225572]  [<ffffffffc0616e4a>] btrfs_remove_chunk+0x63a/0x760 [btrfs]
  Apr 30 20:17:17 enriques kernel: [17543.225607]  [<ffffffffc05ddb39>] btrfs_delete_unused_bgs+0x249/0x270 [btrfs]
  Apr 30 20:17:17 enriques kernel: [17543.225649]  [<ffffffffc05e60d4>] cleaner_kthread+0x144/0x1a0 [btrfs]
  Apr 30 20:17:17 enriques kernel: [17543.227059]  [<ffffffffc05e5f90>] ? check_leaf+0x360/0x360 [btrfs]
  Apr 30 20:17:17 enriques kernel: [17543.228587]  [<ffffffff81094759>] kthread+0xc9/0xe0
  Apr 30 20:17:17 enriques kernel: [17543.230295]  [<ffffffff81094690>] ? kthread_create_on_node+0x1c0/0x1c0
  Apr 30 20:17:17 enriques kernel: [17543.231636]  [<ffffffff817c9298>] ret_from_fork+0x58/0x90
  Apr 30 20:17:17 enriques kernel: [17543.232869]  [<ffffffff81094690>] ? kthread_create_on_node+0x1c0/0x1c0
  Apr 30 20:17:17 enriques kernel: [17543.234046] Code: 60 04 00 00 e9 b0 fe ff ff 66 90 89 45 c8 f0 41 80 64 24 80 fd 4c 89 e7 e8 9e 21 fe ff 8b 45 c8 e9 1b ff ff ff 66 0f 1f 44 00 00 <0f> 0b b8 f4 ff ff ff e9 10 ff ff ff 4c 89 f7 45 31 f6 e8 79 54 
  Apr 30 20:17:17 enriques kernel: [17543.237129] RIP  [<ffffffffc05f3970>] btrfs_orphan_add+0x1c0/0x1e0 [btrfs]
  Apr 30 20:17:17 enriques kernel: [17543.238807]  RSP <ffff880195ecfc38>
  Apr 30 20:17:17 enriques kernel: [17543.245915] ---[ end trace 46025c5725cb702e ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-15-generic 3.19.0-15.15
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  nasko      3202 F.... pulseaudio
  Date: Thu Apr 30 20:46:16 2015
  EcryptfsInUse: Yes
  HibernationDevice: RESUME=UUID=dea0f836-e744-4167-94ac-c782347eaaae
  InstallationDate: Installed on 2011-09-17 (1321 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
  MachineType: Dell Inc. Dell System Inspiron N411Z
  ProcEnviron:
   LANGUAGE=en_US
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-15-generic root=UUID=7d37ed15-42a3-4a3d-adc4-6af303326b18 ro quiet splash vt.handoff=7
  PulseList:
   Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
   No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-15-generic N/A
   linux-backports-modules-3.19.0-15-generic  N/A
   linux-firmware                             1.143
  SourcePackage: linux
  UpgradeStatus: Upgraded to vivid on 2015-04-26 (5 days ago)
  dmi.bios.date: 06/24/2011
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A00
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 0YWNPW
  dmi.board.vendor: Dell Inc.
  dmi.board.version: FAB1
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: 0.1
  dmi.modalias: dmi:bvnDellInc.:bvrA00:bd06/24/2011:svnDellInc.:pnDellSystemInspironN411Z:pvr:rvnDellInc.:rn0YWNPW:rvrFAB1:cvnDellInc.:ct8:cvr0.1:
  dmi.product.name: Dell System Inspiron N411Z
  dmi.sys.vendor: Dell Inc.

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


Follow ups

References