← Back to team overview

kernel-packages team mailing list archive

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

 

I'm getting the same issue listed above with linux-
image-3.19.0-18-generic:amd64

Initially the issue came as described in
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1442884/comments/4,
but after a reboot, it happens at boot.

I'm about to try updating to the newest kernel I found for vivid in
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.1-rc2-vivid/

[   21.246397] ------------[ cut here ]------------
[   21.246401] kernel BUG at /build/buildd/linux-3.19.0/fs/btrfs/inode.c:3142!
[   21.246404] invalid opcode: 0000 [#1] SMP
[   21.246426] Modules linked in: cfg80211 binfmt_misc snd_hda_codec_analog snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec hp_wmi snd_hwdep snd_pcm sparse_keymap snd_seq_midi snd_seq_midi_event snd_rawmidi kvm snd_seq snd_seq_device snd_timer edac_core k8temp edac_mce_amd serio_raw snd soundcore 8250_fintek shpchp tpm_infineon i2c_piix4 mac_hid nfsd parport_pc auth_rpcgss ppdev lp nfs_acl lockd grace parport sunrpc autofs4 btrfs xor raid6_pq hid_generic usbhid hid amdkfd amd_iommu_v2 radeon tg3 psmouse ptp ahci libahci i2c_algo_bit floppy ttm pps_core drm_kms_helper wmi drm
[   21.246429] CPU: 1 PID: 492 Comm: btrfs-cleaner Not tainted 3.19.0-18-generic #18-Ubuntu
[   21.246430] Hardware name: Hewlett-Packard HP Compaq dc5850 Small Form Factor/3029h, BIOS 786F6 v01.09 04/09/2008
[   21.246432] task: ffff8800c38244b0 ti: ffff8800c8a00000 task.ti: ffff8800c8a00000
[   21.246469] RIP: 0010:[<ffffffffc056e970>]  [<ffffffffc056e970>] btrfs_orphan_add+0x1c0/0x1e0 [btrfs]
[   21.246470] RSP: 0018:ffff8800c8a03c38  EFLAGS: 00010286
[   21.246471] RAX: 00000000ffffffe4 RBX: ffff880197227000 RCX: ffff8800c3b1d000
[   21.246472] RDX: 00000000000002f8 RSI: 0000000000040000 RDI: ffff8800c3b1d138
[   21.246473] RBP: ffff8800c8a03c78 R08: ffff880034915fc8 R09: ffffffffc053eafa
[   21.246473] R10: ffff88019fc9dc40 R11: ffffea0003234880 R12: ffff880034916438
[   21.246474] R13: ffff8800c8d1f420 R14: ffff880197227458 R15: 0000000000000001
[   21.246476] FS:  00007f2f35ebd740(0000) GS:ffff88019fc80000(0000) knlGS:0000000000000000
[   21.246476] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   21.246477] CR2: 00007f1497f38f50 CR3: 00000000ce316000 CR4: 00000000000007e0
[   21.246478] Stack:
[   21.246480]  ffff8800c8a03c78 ffffffffc05acc8d ffff8800c3b1d000 ffff880197225800
[   21.246482]  ffff8800c8d22f30 ffff880034916438 ffff8800c8249c00 ffff8800ca75c120
[   21.246483]  ffff8800c8a03d08 ffffffffc05582ca ffff8800c8d22f38 ffff8800c8d22fb0
[   21.246484] Call Trace:
[   21.246506]  [<ffffffffc05acc8d>] ? lookup_free_space_inode+0xcd/0xf0 [btrfs]
[   21.246520]  [<ffffffffc05582ca>] btrfs_remove_block_group+0x13a/0x760 [btrfs]
[   21.246537]  [<ffffffffc0591e4a>] btrfs_remove_chunk+0x63a/0x760 [btrfs]
[   21.246551]  [<ffffffffc0558b39>] btrfs_delete_unused_bgs+0x249/0x270 [btrfs]
[   21.246564]  [<ffffffffc05610d4>] cleaner_kthread+0x144/0x1a0 [btrfs]
[   21.246578]  [<ffffffffc0560f90>] ? check_leaf+0x360/0x360 [btrfs]
[   21.246584]  [<ffffffff81094739>] kthread+0xc9/0xe0
[   21.246586]  [<ffffffff81094670>] ? kthread_create_on_node+0x1c0/0x1c0
[   21.246591]  [<ffffffff817c9858>] ret_from_fork+0x58/0x90
[   21.246593]  [<ffffffff81094670>] ? kthread_create_on_node+0x1c0/0x1c0
[   21.246608] 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 49 aa
[   21.246624] RIP  [<ffffffffc056e970>] btrfs_orphan_add+0x1c0/0x1e0 [btrfs]
[   21.246624]  RSP <ffff8800c8a03c38>
[   21.246627] ---[ end trace 528979f9b9baf15b ]---

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