Kernel BUG shortly after mounting btrfs filesystem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
Medium
|
Colin Ian King |
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-
ProcVersionSign
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=
RelatedPackageV
linux-
linux-
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:
dmi.product.name: ProLiant MicroServer
dmi.sys.vendor: HP
Changed in linux (Ubuntu): | |
assignee: | nobody → Colin Ian King (colin-king) |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
status: | Confirmed → Incomplete |
Changed in linux (Ubuntu): | |
status: | Incomplete → Won't Fix |
Relevant snippet of dmesg:
[ 70.591237] BTRFS info (device sdd): disk space caching is enabled buildd/ linux-3. 18.0/fs/ btrfs/inode. c:3123! ffffffffc03dd21 0>] [<ffffffffc03dd 210>] btrfs_orphan_ add+0x1c0/ 0x1e0 [btrfs] babc38 EFLAGS: 00010286 0(0000) GS:ffff88011fc8 0000(0000) knlGS:000000000 0000000 61d>] ? lookup_ free_space_ inode+0xcd/ 0xf0 [btrfs] d66>] btrfs_remove_ block_group+ 0x136/0x520 [btrfs] 97b>] btrfs_remove_ chunk+0x68b/ 0x800 [btrfs] 36e>] btrfs_delete_ unused_ bgs+0x21e/ 0x250 [btrfs] e24>] cleaner_ kthread+ 0x154/0x1b0 [btrfs] cd0>] ? check_leaf+ 0x360/0x360 [btrfs] 9fb>] kthread+0xdb/0x100 920>] ? kthread_ create_ on_node+ 0x1c0/0x1c0 1bc>] ret_from_ fork+0x7c/ 0xb0 920>] ? kthread_ create_ on_node+ 0x1c0/0x1c0 210>] btrfs_orphan_ add+0x1c0/ 0x1e0 [btrfs]
[ 71.428714] BTRFS: bdev /dev/sdc errs: wr 0, rd 0, flush 0, corrupt 371004212, gen 0
[ 102.225649] ------------[ cut here ]------------
[ 102.225748] kernel BUG at /build/
[ 102.225871] invalid opcode: 0000 [#1] SMP
[ 102.225950] Modules linked in: radeon kvm_amd kvm ttm amd64_edac_mod drm_kms_helper k10temp edac_core edac_mce_amd drm i2c_algo_bit tpm_infineon sp5100_tco i2c_piix4 shpchp mac_hid autofs4 btrfs xor raid6_pq pata_acpi hid_generic tg3 usbhid hid pata_atiixp ptp pps_core ahci libahci
[ 102.226483] CPU: 1 PID: 1456 Comm: btrfs-cleaner Not tainted 3.18.0-9-generic #10-Ubuntu
[ 102.226624] Hardware name: HP ProLiant MicroServer, BIOS O41 10/01/2013
[ 102.226748] task: ffff8800d2aaa800 ti: ffff8800d2ba8000 task.ti: ffff8800d2ba8000
[ 102.226878] RIP: 0010:[<
[ 102.227089] RSP: 0018:ffff8800d2
[ 102.227183] RAX: 00000000ffffffe4 RBX: ffff88011914b800 RCX: ffff8800d193d000
[ 102.227306] RDX: 000000000000019a RSI: 0000000000040000 RDI: ffff8800d193d138
[ 102.227429] RBP: ffff8800d2babc78 R08: ffff8800d0e0f7b8 R09: ffffffffc03ad66a
[ 102.227551] R10: ffff88011fc9cbe0 R11: ffffea00046ca040 R12: ffff8800d0e19910
[ 102.227674] R13: ffff88011b0d62c0 R14: ffff88011914bc58 R15: 0000000000000001
[ 102.227798] FS: 00007fcbf667870
[ 102.227938] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 102.228038] CR2: 00007fcbf5260d68 CR3: 00000000d2fd7000 CR4: 00000000000007e0
[ 102.228160] Stack:
[ 102.228197] ffff8800d2babc78 ffffffffc041b61d ffff8800d193d000 ffff8800d0b66000
[ 102.228334] ffff88011b281120 0000000000000002 ffff8800d0e19910 ffff8800d2ae7600
[ 102.228470] ffff8800d2babd08 ffffffffc03c6d66 ffff88011b281128 ffff88011b2811a0
[ 102.228605] Call Trace:
[ 102.228695] [<ffffffffc041b
[ 102.228847] [<ffffffffc03c6
[ 102.229012] [<ffffffffc0400
[ 102.229157] [<ffffffffc03c7
[ 102.229308] [<ffffffffc03ce
[ 102.229449] [<ffffffffc03ce
[ 102.229563] [<ffffffff81094
[ 102.229655] [<ffffffff81094
[ 102.229773] [<ffffffff817b5
[ 102.229870] [<ffffffff81094
[ 102.229983] 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 ee 23 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 7b
[ 102.230511] RIP [<ffffffffc03dd
[ 102.230669] RSP <ffff8800d2babc38>
[ 102.230794] ---[ end trace 7bb8d319159a4c32 ]---