btrfs balance leads to kernel panic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Expired
|
Undecided
|
|||
linux (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
Wily |
Triaged
|
High
|
Unassigned |
Bug Description
Running rebalance on a 3 drive btrfs volume with both data and metadata set to raid1 leads to a kernel panic. In my case everything is on BTRFS so the only way I was able to capture the attached backtrace was by sending syslog messages to another server.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.2.0-22-generic x86_64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Dec 24 10:52 seq
crw-rw---- 1 root audio 116, 33 Dec 24 10:52 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Thu Dec 24 13:47:46 2015
HibernationDevice: RESUME=
InstallationDate: Installed on 2015-12-04 (19 days ago)
InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021)
MachineType: Supermicro H8SGL
PciMultimedia:
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.149.3
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/25/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3.5
dmi.board.
dmi.board.name: H8SGL
dmi.board.vendor: Supermicro
dmi.board.version: 1234567890
dmi.chassis.
dmi.chassis.type: 17
dmi.chassis.vendor: Supermicro
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: H8SGL
dmi.product.
dmi.sys.vendor: Supermicro
Changed in linux (Ubuntu): | |
importance: | Undecided → Critical |
tags: | added: kernel-fs |
Changed in linux (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in linux: | |
importance: | Unknown → Undecided |
status: | Unknown → Expired |
Additional info: extent- tree.c: 1833! masquerade_ ipv4 tun nls_utf8 isofs rfcomm fuse nf_conntrack_ netbios_ ns nf_conntrack_ broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ebtable_broute bridge ebtable_filter ebtables ip6table_mangle ip6table_raw ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_security ip6table_filter ip6_tables iptable_mangle iptable_raw iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_security bnep snd_usb_audio snd_usbmidi_lib snd_rawmidi hid_logitech_hidpp btusb btrtl btbcm btintel bluetooth gspca_zc3xx gspca_main videodev uas media joydev usb_storage hid_logitech_dj rfkill btrfs xor intel_rapl iosf_mbi x86_pkg_ temp_thermal snd_hda_codec_hdmi snd_hda_ codec_realtek coretemp codec_generic snd_hda_ codec_ca0132 iTCO_wdt iTCO_vendor_support kvm_intel vfat ppdev fat kvm snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_seq crct10dif_pclmul snd_seq_device crc32_pclmul crc32c_intel snd_pcm raid6_pq snd_timer snd mei_me mei soundcore shpchp i2c_i801 lpc_ich parport_pc tpm_infineon parport tpm_tis tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc binfmt_misc i915 i2c_algo_bit drm_kms_helper drm 8021q garp stp llc mrp serio_raw r8169 mii video fc23.x86_ 64 #1 refs_helper [btrfs] ffffffffa05e9af 7>] [<ffffffffa05e9 af7>] insert_ inline_ extent_ backref+ 0xe7/0xf0 [btrfs] 74baa8 EFLAGS: 00010293 0(0000) GS:ffff88081e3c 0000(0000) knlGS:000000000 0000000 0206>] ? kmem_cache_ alloc+0x1d6/ 0x210 cd4a>] ? btrfs_alloc_ path+0x1a/ 0x20 [btrfs] 9f99>] __btrfs_ inc_extent_ ref.isra. 52+0xa9/ 0x270 [btrfs] f6b4>] __btrfs_ run_delayed_ refs+0xc84/ 0x1080 [btrfs] 5347>] ? mempool_ free_slab+ 0x17/0x20 01c3>] ? kmem_cache_ alloc+0x193/ 0x210 2674>] btrfs_run_ delayed_ refs.part. 73+0x74/ 0x270 [btrfs] 290e>] delayed_ ref_async_ start+0x7e/ 0x90 [btrfs] 84b2>] btrfs_scrubpari ty_helper+ 0xc2/0x260 [btrfs] 868e>] btrfs_extent_ refs_helper+ 0xe/0.. .
reporter: libreport-2.6.3
kernel BUG at fs/btrfs/
invalid opcode: 0000 [#1] SMP
Modules linked in: xt_CHECKSUM ipt_MASQUERADE nf_nat_
snd_hda_
CPU: 7 PID: 10775 Comm: kworker/u16:15 Not tainted 4.2.6-301.
Hardware name: Gigabyte Technology Co., Ltd. Z87M-D3H/Z87M-D3H, BIOS F11 08/12/2014
Workqueue: btrfs-extent-refs btrfs_extent_
task: ffff8805c042bb00 ti: ffff88074d748000 task.ti: ffff88074d748000
RIP: 0010:[<
RSP: 0018:ffff88074d
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff880000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff88074d74bb28 R08: 0000000000004000 R09: ffff88074d74b9a0
R10: 0000000000000000 R11: 0000000000000003 R12: ffff8807ec932800
R13: ffff88048185d090 R14: 0000000000000000 R15: 0000000000000000
FS: 000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000013dd12294020 CR3: 0000000001c0b000 CR4: 00000000001406e0
Stack:
0000000000000000 0000000000000005 0000000000000000 0000000000000000
0000000000000001 ffffffff81200206 ffff88074d74bb08 ffffffffa05dcd4a
00000000000033e8 000000004e7e87f3 ffff8807ea905800 0000000000000000
Call Trace:
[<ffffffff8120
[<ffffffffa05d
[<ffffffffa05e
[<ffffffffa05e
[<ffffffff811a
[<ffffffff8120
[<ffffffffa05f
[<ffffffffa05f
[<ffffffffa063
[<ffffffffa063