← Back to team overview

kernel-packages team mailing list archive

[Bug 1413008] Re: Kernel BUG shortly after mounting btrfs filesystem

 

This bug has effected me with linux-image-extra-3.19.0-26-generic &
linux-image-3.19.0-26-generic.

I was doing an "rsync" job when it completely blocked.

Unable to kill rsync, not even with "kill -9".
Unable to "reboot -fn".
Only hard resetting the server worked.

(However, I was able to operate on ext4 partitions as I used to).

[Wed Aug 19 23:24:01 2015] ------------[ cut here ]------------
[Wed Aug 19 23:24:01 2015] kernel BUG at /build/linux-UKwbSJ/linux-3.19.0/fs/btrfs/inode.c:3142!
[Wed Aug 19 23:24:01 2015] invalid opcode: 0000 [#1] SMP
[Wed Aug 19 23:24:01 2015] Modules linked in: cpuid nf_log_ipv4 xt_nat vhost_net vhost macvtap macvlan xts gf128mul xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 ebtable_fil
ter ebtables iptable_nat nf_nat_ipv4 ipt_REJECT nf_reject_ipv4 iptable_mangle iptable_raw nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp n
f_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda ipmi_devintf iptable_filter ip_tables ipmi_si ipmi_msghandler nf_log_ipv6 nf_log_common xt_recent ip6table_nat nf
_nat_ipv6 nf_nat xt_comment ip6t_REJECT nf_reject_ipv6 xt_addrtype xt_physdev br_netfilter xt_mark ip6table_mangle nf_conntrack_snmp xt_tcpudp xt_CT ip6table_raw xt_multiport nf
_conntrack_ipv6 nf_defrag_ipv6 xt_conntrack xt_NFLOG nfnetlink_log xt_LOG nf_conntrack_tftp nf_conntrack_sip nf_conntrack_sane
[Wed Aug 19 23:24:01 2015] nf_conntrack_proto_udplite nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nfnetlink nf_conntrack_netbios_ns nf
_conntrack_broadcast nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp ts_kmp nf_conntrack_amanda nf_conntrack ip6table_filter ip6_tables x_tables bridge stp llc gpio_ich ppde
v kvm_intel kvm parport_pc i3200_edac serio_raw shpchp edac_core parport lpc_ich mac_hid xgifb(C) 8250_fintek dm_crypt coretemp autofs4 btrfs raid10 raid0 multipath linear raid1
 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq hid_generic usbhid e1000e ahci psmouse libahci ptp hid pps_core
[Wed Aug 19 23:24:01 2015] CPU: 3 PID: 27450 Comm: btrfs-cleaner Tainted: G C 3.19.0-26-generic #27-Ubuntu
[Wed Aug 19 23:24:01 2015] Hardware name: empty empty/TYAN Toledo i3210W/i3200R S5211, BIOS V1.06 09/30/2008
[Wed Aug 19 23:24:01 2015] task: ffff8800eb8475c0 ti: ffff880101df4000 task.ti: ffff880101df4000
[Wed Aug 19 23:24:01 2015] RIP: 0010:[<ffffffffc0553980>] [<ffffffffc0553980>] btrfs_orphan_add+0x1c0/0x1e0 [btrfs]
[Wed Aug 19 23:24:01 2015] RSP: 0018:ffff880101df7c38 EFLAGS: 00010286
[Wed Aug 19 23:24:01 2015] RAX: 00000000ffffffe4 RBX: ffff8800e968e000 RCX: ffff8801a9595000
[Wed Aug 19 23:24:01 2015] RDX: 000000000000ea9a RSI: 0000000000040000 RDI: ffff8801a9595138
[Wed Aug 19 23:24:01 2015] RBP: ffff880101df7c78 R08: 000000000001cef0 R09: ffff8800105f0120
[Wed Aug 19 23:24:01 2015] R10: ffff88020fd9cf30 R11: ffffea0004019340 R12: ffff880002e141a0
[Wed Aug 19 23:24:01 2015] R13: ffff88010072f9a0 R14: ffff8800e968e458 R15: 0000000000000001
[Wed Aug 19 23:24:01 2015] FS: 0000000000000000(0000) GS:ffff88020fd80000(0000) knlGS:0000000000000000
[Wed Aug 19 23:24:01 2015] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[Wed Aug 19 23:24:01 2015] CR2: 00000000032b3218 CR3: 00000000eacea000 CR4: 00000000000427e0
[Wed Aug 19 23:24:01 2015] Stack:
[Wed Aug 19 23:24:01 2015] ffff880101df7c78 ffffffffc0591bb5 ffff8801a9595000 ffff880202a53000
[Wed Aug 19 23:24:01 2015] ffff8800105f0120 ffff880002e141a0 ffff880102206800 ffff880014f46900
[Wed Aug 19 23:24:01 2015] ffff880101df7d08 ffffffffc053d2da ffff8800105f0120 ffff8800105f01a0
[Wed Aug 19 23:24:01 2015] Call Trace:
[Wed Aug 19 23:24:01 2015] [<ffffffffc0591bb5>] ? lookup_free_space_inode+0x45/0xf0 [btrfs]
[Wed Aug 19 23:24:01 2015] [<ffffffffc053d2da>] btrfs_remove_block_group+0x13a/0x760 [btrfs]
[Wed Aug 19 23:24:01 2015] [<ffffffffc0576e6a>] btrfs_remove_chunk+0x63a/0x760 [btrfs]
[Wed Aug 19 23:24:01 2015] [<ffffffffc053db49>] btrfs_delete_unused_bgs+0x249/0x270 [btrfs]
[Wed Aug 19 23:24:01 2015] [<ffffffffc05460e4>] cleaner_kthread+0x144/0x1a0 [btrfs]
[Wed Aug 19 23:24:01 2015] [<ffffffffc0545fa0>] ? check_leaf+0x360/0x360 [btrfs]
[Wed Aug 19 23:24:01 2015] [<ffffffff81095939>] kthread+0xc9/0xe0
[Wed Aug 19 23:24:01 2015] [<ffffffff81095870>] ? kthread_create_on_node+0x1c0/0x1c0
[Wed Aug 19 23:24:01 2015] [<ffffffff817cb658>] ret_from_fork+0x58/0x90
[Wed Aug 19 23:24:01 2015] [<ffffffff81095870>] ? kthread_create_on_node+0x1c0/0x1c0
[Wed Aug 19 23:24:01 2015] 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 29 78
[Wed Aug 19 23:24:01 2015] RIP [<ffffffffc0553980>] btrfs_orphan_add+0x1c0/0x1e0 [btrfs]
[Wed Aug 19 23:24:01 2015] RSP <ffff880101df7c38>
[Wed Aug 19 23:24:01 2015] ---[ end trace 659ce2722e7eecfe ]---

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

Title:
  Kernel BUG shortly after mounting btrfs filesystem

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  This bug happens entirely reproducibly after mounting a multi-disc
  btrfs filesystem I have. It is reproducible on the current Vivid 3.18
  kernel and the mainline 3.19-rc5 build; I recall this bug also
  happening on Utopic's 3.16 kernel, but don't have logs.

  All processes that touch the filesystem then hang indefinitely in the
  kernel.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.18.0-9-generic 3.18.0-9.10
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  AlsaDevices:
   total 0
   crw-rw----+ 1 root audio 116,  1 Jan 21 10:03 seq
   crw-rw----+ 1 root audio 116, 33 Jan 21 10:03 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.15.1-0ubuntu2
  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: Wed Jan 21 10:05:37 2015
  InstallationDate: Installed on 2015-01-20 (0 days ago)
  InstallationMedia: Ubuntu-Server 15.04 "Vivid Vervet" - Alpha amd64 (20150116)
  IwConfig:
   lo        no wireless extensions.
   
   em1       no wireless extensions.
  MachineType: HP ProLiant MicroServer
  PciMultimedia:
   
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-3.18.0-9-generic root=UUID=b5d97f60-81e7-4dd8-a8a7-b2bfef3eeb52 ro rootflags=subvol=@ init=/lib/systemd/systemd
  RelatedPackageVersions:
   linux-restricted-modules-3.18.0-9-generic N/A
   linux-backports-modules-3.18.0-9-generic  N/A
   linux-firmware                            1.140
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/01/2013
  dmi.bios.vendor: HP
  dmi.bios.version: O41
  dmi.chassis.type: 7
  dmi.chassis.vendor: HP
  dmi.modalias: dmi:bvnHP:bvrO41:bd10/01/2013:svnHP:pnProLiantMicroServer:pvr:cvnHP:ct7:cvr:
  dmi.product.name: ProLiant MicroServer
  dmi.sys.vendor: HP

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


References