Kernel stops during btrfs-balance

Bug #1235798 reported by Gregor Suhr
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

[ 208.335732] ------------[ cut here ]------------
[ 208.336386] Kernel BUG at ffffffffa014a167 [verbose debug info unavailable]
[ 208.337249] invalid opcode: 0000 [#1] SMP
[ 208.337758] Modules linked in: dm_crypt(F) kvm_intel(F) kvm(F) aesni_intel(F) aes_x86_64(F) lrw(F) gf128mul(F) glue_helper(F) ablk_helper(F) cryptd(F) microcode(F) psmouse(F) serio_raw(F) virtio_balloon(F) i2c_piix4 mac_hid lp(F) parport(F) btrfs(F) xor(F) zlib_deflate(F) raid6_pq(F) libcrc32c(F) cirrus syscopyarea(F) sysfillrect(F) sysimgblt(F) ttm drm_kms_helper drm floppy(F)
[ 208.339602] CPU: 0 PID: 630 Comm: btrfs-balance Tainted: GF 3.11.0-11-generic #17-Ubuntu
[ 208.339602] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2007
[ 208.339602] task: ffff8800b47c9770 ti: ffff8800b3088000 task.ti: ffff8800b3088000
[ 208.339602] RIP: 0010:[<ffffffffa014a167>] [<ffffffffa014a167>] build_backref_tree+0x277/0x11d0 [btrfs]
[ 208.339602] RSP: 0018:ffff8800b3089a90 EFLAGS: 00010246
[ 208.339602] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8800365ffb50
[ 208.339602] RDX: ffff8800b3089b00 RSI: ffff8800b3089b00 RDI: ffff8800365ffb40
[ 208.339602] RBP: ffff8800b3089b70 R08: ffff8800b410ec00 R09: ffff8800b410eb00
[ 208.339602] R10: 0000000000000001 R11: 0000000000000000 R12: ffff8800365ffb50
[ 208.339602] R13: ffff8800b611e2d0 R14: ffff88003616c000 R15: ffff8800b410ee00
[ 208.339602] FS: 0000000000000000(0000) GS:ffff8800bb200000(0000) knlGS:0000000000000000
[ 208.339602] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 208.339602] CR2: 00007fda19930d50 CR3: 00000000b3f5e000 CR4: 00000000000006f0
[ 208.339602] Stack:
[ 208.339602] ffff88003616c588 ffff8800b410eb00 ffff8800365ffce0 ffff8800b410ec00
[ 208.339602] ffff8800b410ec00 ffff8800b358b800 ffff8800b611e2d0 ffff8800b410ec40
[ 208.339602] ffff8800b611e090 ffff88003616c120 ffff8800b410eb00 ffff88003616c020
[ 208.339602] Call Trace:
[ 208.339602] [<ffffffffa014b478>] relocate_tree_blocks+0x1d8/0x630 [btrfs]
[ 208.339602] [<ffffffffa014c108>] ? add_data_references+0x248/0x280 [btrfs]
[ 208.339602] [<ffffffffa014cd00>] relocate_block_group+0x280/0x690 [btrfs]
[ 208.339602] [<ffffffffa014d2af>] btrfs_relocate_block_group+0x19f/0x2e0 [btrfs]
[ 208.339602] [<ffffffffa012477f>] btrfs_relocate_chunk.isra.30+0x6f/0x730 [btrfs]
[ 208.339602] [<ffffffffa00dab89>] ? btrfs_set_path_blocking+0x39/0x80 [btrfs]
[ 208.339602] [<ffffffffa00df940>] ? btrfs_search_slot+0x380/0x940 [btrfs]
[ 208.339602] [<ffffffffa011b289>] ? release_extent_buffer+0x69/0xd0 [btrfs]
[ 208.339602] [<ffffffffa0120c8f>] ? free_extent_buffer+0x4f/0xa0 [btrfs]
[ 208.339602] [<ffffffffa0128ecd>] __btrfs_balance+0x43d/0x800 [btrfs]
[ 208.339602] [<ffffffffa012964b>] btrfs_balance+0x3bb/0x670 [btrfs]
[ 208.339602] [<ffffffffa0129970>] balance_kthread+0x70/0x80 [btrfs]
[ 208.339602] [<ffffffffa0129900>] ? btrfs_balance+0x670/0x670 [btrfs]
[ 208.339602] [<ffffffff810847b0>] kthread+0xc0/0xd0
[ 208.339602] [<ffffffff810846f0>] ? kthread_create_on_node+0x120/0x120
[ 208.339602] [<ffffffff8170292c>] ret_from_fork+0x7c/0xb0
[ 208.339602] [<ffffffff810846f0>] ? kthread_create_on_node+0x120/0x120
[ 208.339602] Code: f6 43 71 10 0f 85 18 0f 00 00 48 8d 43 40 48 89 c6 48 89 85 58 ff ff ff 48 8b 43 40 48 39 c6 74 0c 48 3b 43 48 0f 84 f5 08 00 00 <0f> 0b 48 c7 85 78 ff ff ff 00 00 00 00 0f 1f 40 00 e8 43 df 5a
[ 208.339602] RIP [<ffffffffa014a167>] build_backref_tree+0x277/0x11d0 [btrfs]
[ 208.339602] RSP <ffff8800b3089a90>
[ 208.377485] ---[ end trace 7f1cd354cc35fbd9 ]---
---
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Oct 6 15:18 seq
 crw-rw---- 1 root audio 116, 33 Oct 6 15:18 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 13.10
HibernationDevice: RESUME=UUID=2447d766-b078-4ed0-87f3-c27412c10649
InstallationDate: Installed on 2011-02-03 (977 days ago)
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Bochs Bochs
MarkForUpload: True
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 LC_CTYPE=UTF-8
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 SHELL=/bin/bash
ProcFB: 0 cirrusdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-11-generic root=UUID=0dbf4328-2e66-42b3-88dd-b96a5c25b11d ro console=tty0 console=ttyS0,115200n8 quiet
ProcVersionSignature: Ubuntu 3.11.0-11.17-generic 3.11.3
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-11-generic N/A
 linux-backports-modules-3.11.0-11-generic N/A
 linux-firmware 1.116
RfKill: Error: [Errno 2] No such file or directory
Tags: saucy
Uname: Linux 3.11.0-11-generic x86_64
UpgradeStatus: Upgraded to saucy on 2013-08-25 (43 days ago)
UserGroups:

dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs
---
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Oct 27 01:22 seq
 crw-rw---- 1 root audio 116, 33 Oct 27 01:22 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 13.10
HibernationDevice: RESUME=UUID=2447d766-b078-4ed0-87f3-c27412c10649
InstallationDate: Installed on 2011-02-03 (1003 days ago)
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Bochs Bochs
MarkForUpload: True
Package: linux (not installed)
PciMultimedia:

ProcFB: 0 cirrusdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=0dbf4328-2e66-42b3-88dd-b96a5c25b11d ro console=tty0 console=ttyS0,115200n8 quiet
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-12-generic N/A
 linux-backports-modules-3.11.0-12-generic N/A
 linux-firmware 1.116
RfKill: Error: [Errno 2] No such file or directory
Tags: saucy
Uname: Linux 3.11.0-12-generic x86_64
UpgradeStatus: Upgraded to saucy on 2013-08-25 (69 days ago)
UserGroups:

WifiSyslog:
 Nov 3 11:43:14 ubuntunas kernel: [645622.149145] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
 Nov 3 11:43:14 ubuntunas kernel: [645622.195799] JFS: nTxBlock = 8192, nTxLock = 65536
 Nov 3 11:43:14 ubuntunas kernel: [645622.252611] NTFS driver 2.1.30 [Flags: R/O MODULE].
 Nov 3 11:43:14 ubuntunas kernel: [645622.362604] QNX4 filesystem 0.2.3 registered.
dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs
---
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Oct 27 01:22 seq
 crw-rw---- 1 root audio 116, 33 Oct 27 01:22 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 13.10
HibernationDevice: RESUME=UUID=2447d766-b078-4ed0-87f3-c27412c10649
InstallationDate: Installed on 2011-02-03 (1003 days ago)
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Bochs Bochs
MarkForUpload: True
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 cirrusdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=0dbf4328-2e66-42b3-88dd-b96a5c25b11d ro console=tty0 console=ttyS0,115200n8 quiet
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-12-generic N/A
 linux-backports-modules-3.11.0-12-generic N/A
 linux-firmware 1.116
RfKill: Error: [Errno 2] No such file or directory
Tags: saucy
Uname: Linux 3.11.0-12-generic x86_64
UpgradeStatus: Upgraded to saucy on 2013-08-25 (69 days ago)
UserGroups:

dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs

William Grant (wgrant)
affects: launchpad → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1235798

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.12 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-rc4-saucy/

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Gregor Suhr (gresuh) wrote : BootDmesg.txt

apport information

tags: added: apport-collected saucy
description: updated
Revision history for this message
Gregor Suhr (gresuh) wrote : CRDA.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : Lspci.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : ProcModules.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : UdevDb.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : UdevLog.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Gregor Suhr (gresuh) wrote :

Unfortunately i can not install the upstream kernel on this system.

tags: added: kernel-unable-to-test-upstream
Revision history for this message
Gregor Suhr (gresuh) wrote : BootDmesg.txt

apport information

description: updated
Revision history for this message
Gregor Suhr (gresuh) wrote : CRDA.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : Lspci.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : ProcEnviron.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : ProcModules.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : UdevDb.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : UdevLog.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : BootDmesg.txt

apport information

description: updated
Revision history for this message
Gregor Suhr (gresuh) wrote : CRDA.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : Lspci.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : ProcModules.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : UdevDb.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : UdevLog.txt

apport information

Revision history for this message
Gregor Suhr (gresuh) wrote : WifiSyslog.txt

apport information

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.