← Back to team overview

kernel-packages team mailing list archive

[Bug 1546343] Re: ISST-LTE: kernel BUG at /build/linux-lts-wily-W0lTWH/linux-lts-wily-4.2.0/fs/btrfs/extent-tree.c:6016!

 

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  ISST-LTE: kernel BUG at /build/linux-lts-wily-W0lTWH/linux-lts-
  wily-4.2.0/fs/btrfs/extent-tree.c:6016!

Status in linux package in Ubuntu:
  New

Bug description:
  Mirroring for awareness:

  Last replicated on the 4.2.0-27-generic #32~14.04.1 kernel

  We are encountering btrfs panics like the following while doing stress
  testing:

  68:mon> e
  cpu 0x68: Vector: 700 (Program Check) at [c000000029a971d0]
      pc: d00000000691f7b4: unpin_extent_range+0xe4/0x320 [btrfs]
      lr: d00000000691f7a4: unpin_extent_range+0xd4/0x320 [btrfs]
      sp: c000000029a97450
     msr: 8000000100029033
    current = 0xc0000000fbdae590
    paca    = 0xc000000007b1dc00   softe: 0        irq_happened: 0x01
      pid   = 28091, comm = aio-stress
  kernel BUG at /build/linux-lts-wily-YKsqw8/linux-lts-wily-4.2.0/fs/btrfs/extent-tree.c:6022!

  68:mon> t
  [c000000029a974e0] d000000006936a68 btrfs_destroy_pinned_extent+0xe8/0x120 [btrfs]
  [c000000029a97530] d00000000693b8e0 btrfs_cleanup_one_transaction+0x3a0/0x7c0 [btrfs]
  [c000000029a97610] d0000000069405a0 cleanup_transaction+0x150/0x3b0 [btrfs]
  [c000000029a976f0] d00000000694184c btrfs_commit_transaction+0x40c/0xd40 [btrfs]
  [c000000029a977f0] d00000000692910c flush_space+0x10c/0x5f0 [btrfs]
  [c000000029a978b0] d000000006929b78 reserve_metadata_bytes+0x258/0x640 [btrfs]
  [c000000029a97990] d00000000692a7b0 btrfs_delalloc_reserve_metadata+0x190/0x560 [btrfs]
  [c000000029a97a10] d0000000069591d0 __btrfs_buffered_write+0x1a0/0x5c0 [btrfs]
  [c000000029a97af0] d00000000695c9a8 btrfs_file_write_iter+0x208/0x540 [btrfs]
  [c000000029a97b90] c000000000327dc0 aio_run_iocb+0x330/0x3c0
  [c000000029a97ce0] c000000000329664 do_io_submit+0x314/0x670
  [c000000029a97e30] c000000000009204 system_call+0x38/0xb4
  --- Exception: c01 (System Call) at 00003fffa79e0768
  SP (3fffa27ce550) is in userspace

  
  68:mon> r
  R00 = d00000000691f7a4   R16 = 000000000d0f0000
  R01 = c000000029a97450   R17 = c000000203badee8
  R02 = d000000006a134d0   R18 = 0000000000600000
  R03 = 0000000000000000   R19 = 0000000000000000
  R04 = 00000041f20d0000   R20 = 0000000000000000
  R05 = 0000000000000001   R21 = 0000000000000001
  R06 = c0000001e6d9a409   R22 = c000000204c00138
  R07 = c0000001e6d9a400   R23 = c0000000015342d8
  R08 = 0000000015000000   R24 = 00000041f20e0000
  R09 = 0000000000000001   R25 = 00000041f20dffff
  R10 = 0000004200a80000   R26 = c000000204c00000
  R11 = d0000000069def18   R27 = 0000000000000000
  R12 = c000000000a717c0   R28 = c00000022fc8e698
  R13 = c000000007b1dc00   R29 = 0000000000000000
  R14 = 0000000010004820   R30 = 00000041f20d0000
  R15 = c000000203badec4   R31 = 0000000000000000
  pc  = d00000000691f7b4 unpin_extent_range+0xe4/0x320 [btrfs]
  cfar= d0000000069174b4 block_group_cache_tree_search+0x104/0x180 [btrfs]
  lr  = d00000000691f7a4 unpin_extent_range+0xd4/0x320 [btrfs]
  msr = 8000000100029033   cr  = 28022842
  ctr = c000000000a717c0   xer = 0000000020000001   trap =  700

  Partial Output for dump log:
  [269404.043284] ------------[ cut here ]------------
  [269404.043288] WARNING: at /build/linux-lts-wily-YKsqw8/linux-lts-wily-4.2.0/fs/btrfs/extent-tree.c:3581
  [269404.043325] CPU: 104 PID: 28091 Comm: aio-stress Not tainted 4.2.0-27-generic #32~14.04.1-Ubuntu
  [269404.043329] task: c0000000fbdae590 ti: c000000029a94000 task.ti: c000000029a94000
  [269404.043331] NIP: d000000006928fec LR: d000000006928fe8 CTR: c00000000053f720
  [269404.043334] REGS: c000000029a97310 TRAP: 0700   Not tainted (4.2.0-27-generic)
  [269404.043336] MSR: 8000000100029033 <SF,EE,ME,IR,DR,RI,LE>  CR: 28044822  XER: 20000000
  [269404.043346] CFAR: c000000000a79ec4 SOFTE: 1
  [269404.043407] NIP [d000000006928fec] btrfs_write_dirty_block_groups+0x30c/0x320 [btrfs]
  [269404.043425] LR [d000000006928fe8] btrfs_write_dirty_block_groups+0x308/0x320 [btrfs]
  [269404.043428] Call Trace:
  [269404.043441] [c000000029a97590] [d000000006928fe8] btrfs_write_dirty_block_groups+0x308/0x320 [btrfs] (unreliable)
  [269404.043453] [c000000029a97660] [d0000000069db42c] commit_cowonly_roots+0x23c/0x324 [btrfs]
  [269404.043468] [c000000029a976f0] [d000000006941c0c] btrfs_commit_transaction+0x7cc/0xd40 [btrfs]
  [269404.043483] [c000000029a977f0] [d00000000692910c] flush_space+0x10c/0x5f0 [btrfs]
  [269404.043497] [c000000029a978b0] [d000000006929b78] reserve_metadata_bytes+0x258/0x640 [btrfs]
  [269404.043511] [c000000029a97990] [d00000000692a7b0] btrfs_delalloc_reserve_metadata+0x190/0x560 [btrfs]
  [269404.043527] [c000000029a97a10] [d0000000069591d0] __btrfs_buffered_write+0x1a0/0x5c0 [btrfs]
  [269404.043541] [c000000029a97af0] [d00000000695c9a8] btrfs_file_write_iter+0x208/0x540 [btrfs]
  [269404.043548] [c000000029a97b90] [c000000000327dc0] aio_run_iocb+0x330/0x3c0
  [269404.043551] [c000000029a97ce0] [c000000000329664] do_io_submit+0x314/0x670
  [269404.043558] [c000000029a97e30] [c000000000009204] system_call+0x38/0xb4
  [269404.043571] Instruction dump:
  [269404.043573] 7f24cb78 38c00dfd 7f07c378 38a500f8 480b1ccd 60000000 4bffff24 3d220000
  [269404.043579] 7f04c378 e86988b0 480b4b35 e8410018 <0fe00000> 4bffffc0 60000000 60000000
  [269404.043601] ---[ end trace 17a6461610d081d9 ]---
  [269404.043606] BTRFS: error (device dm-24) in btrfs_write_dirty_block_groups:3581: errno=-2 No such entry
  [269404.043622] BTRFS info (device dm-24): forced readonly
  [269404.055392] BTRFS warning (device dm-24): Skipping commit of aborted transaction.
  [269404.055400] BTRFS: error (device dm-24) in cleanup_transaction:1710: errno=-2 No such entry
  [269404.055412] BTRFS info (device dm-24): delayed_refs has NO entry
  [269404.055557] ------------[ cut here ]------------

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