← Back to team overview

kernel-packages team mailing list archive

[Bug 1390464] Re: invalid opcode: 0000 at /build/buildd/linux-lts-trusty-3.13.0/fs/btrfs/file.c:883

 

I repeat, I have no apport on servers.

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

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

Title:
  invalid opcode: 0000  at /build/buildd/linux-lts-
  trusty-3.13.0/fs/btrfs/file.c:883

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  We've got constant trace in kernel on one node with btrfs filesystem.

  Trace:

  [  660.579194] ------------[ cut here ]------------
  [  660.579305] kernel BUG at /build/buildd/linux-lts-trusty-3.13.0/fs/btrfs/file.c:883!
  [  660.579409] invalid opcode: 0000 [#1] SMP 
  [  660.579670] Modules linked in: netconsole configfs nf_conntrack_ipv6 nf_defrag_ipv6 xt_mac xt_state xt_physdev vhost_net macvtap macvlan vhost dm_multipath scsi_dh nbd kvm_intel kvm ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge ip6table_filter ip6_tables iptable_filter ip_tables x_tables xfs btrfs raid6_pq xor veth openvswitch vxlan ip_tunnel gre libcrc32c 8021q mrp garp stp llc gpio_ich dcdbas sb_edac edac_core joydev mei_me shpchp lpc_ich mei ipmi_si mac_hid acpi_power_meter wmi squashfs aufs hid_generic usbhid hid igb megaraid_sas tg3 dca i2c_algo_bit e1000e ptp pps_core
  [  660.587223] CPU: 12 PID: 19862 Comm: btrfs-endio-wri Not tainted 3.13.0-39-generic #66~precise1-Ubuntu
  [  660.587330] Hardware name: Dell Inc. PowerEdge R720xd/0C4Y3R, BIOS 1.6.0 03/07/2013
  [  660.587435] task: ffff88007f170000 ti: ffff8800b433e000 task.ti: ffff8800b433e000
  [  660.587537] RIP: 0010:[<ffffffffa0289adf>]  [<ffffffffa0289adf>] __btrfs_drop_extents+0xadf/0xaf0 [btrfs]
  [  660.587805] RSP: 0018:ffff8800b433fb68  EFLAGS: 00010297
  [  660.587924] RAX: 0000000000000001 RBX: ffff881f11b27b40 RCX: 000000011973b000
  [  660.588048] RDX: 000000011973b001 RSI: 0000000000000f8e RDI: ffff881ee7250b40
  [  660.588172] RBP: ffff8800b433fc78 R08: 0000000000001000 R09: 00000000ffffffff
  [  660.588295] R10: 0000000000000000 R11: 0000000000000000 R12: ffff881ee7250b40
  [  660.588418] R13: 000000011972b000 R14: 0000000000000001 R15: 0000000000000000
  [  660.588539] FS:  0000000000000000(0000) GS:ffff881fbf380000(0000) knlGS:0000000000000000
  [  660.588686] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [  660.588801] CR2: 00007f35d2bd6d38 CR3: 0000000001c0d000 CR4: 00000000000427e0
  [  660.588924] Stack:
  [  660.589034]  0000000000000189 000000011971b000 ffff880000000000 ffffffff811ae989
  [  660.589513]  ffffffffa02d49ef 00000000a02d49ef 0000000000010000 ffff881f21048a30
  [  660.589992]  ffff881ee723e780 0000000100000001 00000032b2327000 0000000000000000
  [  660.590469] Call Trace:
  [  660.590593]  [<ffffffff811ae989>] ? kmem_cache_alloc_trace+0x39/0x1f0
  [  660.590743]  [<ffffffffa02d49ef>] ? btrfs_qgroup_record_ref+0x3f/0x90 [btrfs]
  [  660.590881]  [<ffffffffa024ebba>] ? btrfs_alloc_path+0x1a/0x20 [btrfs]
  [  660.591015]  [<ffffffffa024ebba>] ? btrfs_alloc_path+0x1a/0x20 [btrfs]
  [  660.591158]  [<ffffffffa028a62e>] btrfs_drop_extents+0x6e/0xa0 [btrfs]
  [  660.591300]  [<ffffffffa027a61b>] insert_reserved_file_extent.constprop.57+0x7b/0x2c0 [btrfs]
  [  660.591465]  [<ffffffffa02804b5>] btrfs_finish_ordered_io+0x465/0x500 [btrfs]
  [  660.591606]  [<ffffffffa0280565>] finish_ordered_fn+0x15/0x20 [btrfs]
  [  660.591749]  [<ffffffffa02a3cf0>] worker_loop+0xa0/0x330 [btrfs]
  [  660.591889]  [<ffffffffa02a3c50>] ? check_pending_worker_creates.isra.1+0xe0/0xe0 [btrfs]
  [  660.592130]  [<ffffffff8108fb29>] kthread+0xc9/0xe0
  [  660.592250]  [<ffffffff8108fa60>] ? flush_kthread_worker+0xb0/0xb0
  [  660.592371]  [<ffffffff8176b5bc>] ret_from_fork+0x7c/0xb0
  [  660.592492]  [<ffffffff8108fa60>] ? flush_kthread_worker+0xb0/0xb0
  [  660.592612] Code: 00 4c 89 6d 90 c7 85 5c ff ff ff 00 00 00 00 48 89 8d 78 ff ff ff e9 49 fb ff ff 0f 0b 0f 0b 0f 0b 0f 0b 0f 0b 0f 0b 0f 0b 0f 0b <0f> 0b 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 66 66 
  [  660.598176] RIP  [<ffffffffa0289adf>] __btrfs_drop_extents+0xadf/0xaf0 [btrfs]
  [  660.598417]  RSP <ffff8800b433fb68>
  [  660.598569] ---[ end trace ba016a4269367979 ]---

  Details:

  btrfs filesystem show
  Label: none  uuid: d504083b-6198-44c4-bfc4-a93f48db7ff8
  	Total devices 1 FS bytes used 252.95GB
  	devid    1 size 1.74TB used 435.04GB path /dev/dm-0

  Btrfs Btrfs v0.19

  dmsetup info /dev/dm-0 
  Name:              c6
  State:             ACTIVE
  Read Ahead:        256
  Tables present:    LIVE
  Open count:        1
  Event number:      0
  Major, minor:      252, 0
  Number of targets: 4
  UUID: LVM-hqKL9FRhgv1qapvYV3OYqv1zFDUa9zyZUK6uVaxGoGleytNnFvhP28DM8RjJB6Xm

  pvs
    PV         VG       Fmt  Attr PSize   PFree
    /dev/sdb   compute6 lvm2 a-   446.62g    0 
    /dev/sdc   compute6 lvm2 a-   446.62g    0 
    /dev/sdd   compute6 lvm2 a-   446.62g    0 
    /dev/sde   compute6 lvm2 a-   446.62g    0 

  ii  linux-image-3.13.0-39-generic    3.13.0-39.66~precise1                               Linux kernel image for version 3.13.0 on 64 bit x86 SMP
  ii  btrfs-tools                      0.19+20100601-3ubuntu3                              Checksumming Copy on Write Filesystem utilities

  mount:
  /dev/mapper/c6 on /var/lib/nova/instances type btrfs (rw,noexec,nosuid,nodev,noatime,nodiratime,nodatacow,discard)

  dmidecode:
          Product Name: PowerEdge R720xd
          Version: Not Specified
          Serial Number: HVBHFY1
          UUID: 4C4C4544-0056-4210-8048-C8C04F4659

  CPU:
  processor	: 31
  vendor_id	: GenuineIntel
  cpu family	: 6
  model		: 45
  model name	: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  stepping	: 7
  microcode	: 0x70d

  
  That trace we saw on 3.8, it persists on fresh 3.13. It persists on each reboot with 100% reproduction rate under specific load from one of VMs.

  I'm ready to provide additional info on request till end of the next
  week (after that we've gonna remove that server from that
  configuration).

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