Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352336 - btrfs - Linux kernel bug
Summary: btrfs - Linux kernel bug
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-21 14:02 UTC by Tomas Thiemel
Modified: 2011-01-25 00:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Thiemel 2011-01-21 14:02:06 UTC
Linux ftp2 2.6.37-gentoo-mykernel #1 SMP Tue Jan 11 15:34:57 CET 2011 x86_64 Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux

Jan 21 15:10:09 ftp2 kernel: [ 1798.826026] ------------[ cut here ]------------
Jan 21 15:10:09 ftp2 kernel: [ 1798.826030] kernel BUG at fs/btrfs/inode.c:806!
Jan 21 15:10:09 ftp2 kernel: [ 1798.826034] invalid opcode: 0000 [#1] SMP 
Jan 21 15:10:09 ftp2 kernel: [ 1798.826038] last sysfs file: /sys/devices/platform/it87.656/name
Jan 21 15:10:09 ftp2 kernel: [ 1798.826041] CPU 0 
Jan 21 15:10:09 ftp2 kernel: [ 1798.826044] Modules linked in: btrfs zlib_deflate crc32c libcrc32c tun it87 hwmon_vid nfsd lockd auth_rpcgss sunrpc exportfs fuse dummy dm_mod ehci_hc
d uhci_hcd i2c_i801 r8169 usbcore intel_agp iTCO_wdt sg mii i2c_core intel_gtt pcspkr iTCO_vendor_support processor button
Jan 21 15:10:09 ftp2 kernel: [ 1798.826225] 
Jan 21 15:10:09 ftp2 kernel: [ 1798.826232] Pid: 5155, comm: flush-btrfs-1 Not tainted 2.6.37-gentoo-mykernel #1 945GCM-S2L/945GCM-S2L
Jan 21 15:10:09 ftp2 kernel: [ 1798.826237] RIP: 0010:[<ffffffffa02a25c1>]  [<ffffffffa02a25c1>] cow_file_range+0x1b3/0x30d [btrfs]
Jan 21 15:10:09 ftp2 kernel: [ 1798.826289] RSP: 0018:ffff88005b4938b0  EFLAGS: 00010286
Jan 21 15:10:09 ftp2 kernel: [ 1798.826297] RAX: 00000000ffffffe4 RBX: ffff88007ba53800 RCX: 00000000ffffffe4
Jan 21 15:10:09 ftp2 kernel: [ 1798.826302] RDX: 0000000000000001 RSI: 0000000000000706 RDI: ffff88007ac18ab8
Jan 21 15:10:09 ftp2 kernel: [ 1798.826308] RBP: 0000000019f5e000 R08: 0000000000000002 R09: 0000000000000005
Jan 21 15:10:09 ftp2 kernel: [ 1798.826313] R10: 0000000000000000 R11: ffffffff8158b993 R12: ffff880052b0fad8
Jan 21 15:10:09 ftp2 kernel: [ 1798.826319] R13: 0000000000001000 R14: 0000000000001000 R15: ffff88004daa1100
Jan 21 15:10:09 ftp2 kernel: [ 1798.826324] FS:  0000000000000000(0000) GS:ffff88007f400000(0000) knlGS:0000000000000000
Jan 21 15:10:09 ftp2 kernel: [ 1798.826329] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Jan 21 15:10:09 ftp2 kernel: [ 1798.826333] CR2: 0000000000620000 CR3: 000000007b234000 CR4: 00000000000006f0
Jan 21 15:10:09 ftp2 kernel: [ 1798.826364] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jan 21 15:10:09 ftp2 kernel: [ 1798.826377] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Jan 21 15:10:09 ftp2 kernel: [ 1798.826383] Process flush-btrfs-1 (pid: 5155, threadinfo ffff88005b492000, task ffff88007cb55320)
Jan 21 15:10:09 ftp2 kernel: [ 1798.826392] Stack:
Jan 21 15:10:09 ftp2 kernel: [ 1798.826398]  ffffffffffffffff ffff88005b493910 0000000000000001 0000000019f6dfff
Jan 21 15:10:09 ftp2 kernel: [ 1798.826415]  ffff880052b0f988 000001f22c139000 0000000000010000 ffff880052b0f958
Jan 21 15:10:09 ftp2 kernel: [ 1798.826425]  ffff880052b0f960 0000000019f5dfff ffff880052b0f950 ffffea0000e77dc8
Jan 21 15:10:09 ftp2 kernel: [ 1798.826434] Call Trace:
Jan 21 15:10:09 ftp2 kernel: [ 1798.826489]  [<ffffffffa02a2de4>] ? run_delalloc_range+0xa7/0x320 [btrfs]
Jan 21 15:10:09 ftp2 kernel: [ 1798.826526]  [<ffffffffa02bb547>] ? find_lock_delalloc_range+0x19c/0x1be [btrfs]
Jan 21 15:10:09 ftp2 kernel: [ 1798.826546]  [<ffffffffa02bb74f>] ? __extent_writepage+0x1e6/0x620 [btrfs]
Jan 21 15:10:09 ftp2 kernel: [ 1798.826565]  [<ffffffffa02b8bd4>] ? end_bio_extent_writepage+0x0/0x14a [btrfs]
Jan 21 15:10:09 ftp2 kernel: [ 1798.826605]  [<ffffffffa02bbde7>] ? T.892+0x145/0x240 [btrfs]
Jan 21 15:10:09 ftp2 kernel: [ 1798.826624]  [<ffffffffa02bbfd2>] ? extent_writepages+0x40/0x56 [btrfs]
Jan 21 15:10:09 ftp2 kernel: [ 1798.826669]  [<ffffffffa02a4072>] ? btrfs_get_extent+0x0/0x77d [btrfs]
Jan 21 15:10:09 ftp2 kernel: [ 1798.826690]  [<ffffffff810c6f52>] ? writeback_single_inode+0x99/0x1ad
Jan 21 15:10:09 ftp2 kernel: [ 1798.826697]  [<ffffffff810c72e7>] ? writeback_sb_inodes+0x95/0x104
Jan 21 15:10:09 ftp2 kernel: [ 1798.826716]  [<ffffffff810c7b39>] ? writeback_inodes_wb+0xee/0x100
Jan 21 15:10:09 ftp2 kernel: [ 1798.826721]  [<ffffffff810c7cd7>] ? wb_writeback+0x18c/0x20b
Jan 21 15:10:09 ftp2 kernel: [ 1798.826739]  [<ffffffff810c7da1>] ? wb_do_writeback+0x4b/0x14f
Jan 21 15:10:09 ftp2 kernel: [ 1798.826748]  [<ffffffff8103dc43>] ? process_timeout+0x0/0xa
Jan 21 15:10:09 ftp2 kernel: [ 1798.826756]  [<ffffffff810c7f24>] ? bdi_writeback_thread+0x7f/0x13f
Jan 21 15:10:09 ftp2 kernel: [ 1798.826766]  [<ffffffff8107a88f>] ? perf_event_exit_task+0xb9/0x1bf
Jan 21 15:10:09 ftp2 kernel: [ 1798.826796]  [<ffffffff810c7ea5>] ? bdi_writeback_thread+0x0/0x13f
Jan 21 15:10:09 ftp2 kernel: [ 1798.826801]  [<ffffffff810c7ea5>] ? bdi_writeback_thread+0x0/0x13f
Jan 21 15:10:09 ftp2 kernel: [ 1798.826823]  [<ffffffff810487c3>] ? kthread+0x7a/0x82
Jan 21 15:10:09 ftp2 kernel: [ 1798.826839]  [<ffffffff810035d4>] ? kernel_thread_helper+0x4/0x10
Jan 21 15:10:09 ftp2 kernel: [ 1798.826854]  [<ffffffff81048749>] ? kthread+0x0/0x82
Jan 21 15:10:09 ftp2 kernel: [ 1798.826864]  [<ffffffff810035d0>] ? kernel_thread_helper+0x0/0x10
Jan 21 15:10:09 ftp2 kernel: [ 1798.826872] Code: c0 48 89 de 4c 89 ff 48 c7 44 24 10 01 00 00 00 48 89 54 24 08 48 8b 54 24 30 48 c7 04 24 ff ff ff ff e8 36 d7 fe ff 85 c0 74 04 <0f> 0b eb fe bf 50 00 00 00 e8 5e 98 00 00 48 89 68 18 48 89 68 
Jan 21 15:10:09 ftp2 kernel: [ 1798.827155] RIP  [<ffffffffa02a25c1>] cow_file_range+0x1b3/0x30d [btrfs]
Jan 21 15:10:09 ftp2 kernel: [ 1798.827177]  RSP <ffff88005b4938b0>
Jan 21 15:10:09 ftp2 kernel: [ 1798.846607] ---[ end trace ebf1ea17a91154fa ]---
Comment 1 Wormo (RETIRED) gentoo-dev 2011-01-24 06:24:05 UTC
Please provide some more details that should help the kernel team make sense of your bug:

* output of 'emerge --info'
* attach .config for your kernel
* describe what your system was doing when oops occurred - compiling?
* is it reproducible, or did it happen just once?
* do you have messages about "0 blocks of free space" above the cut line in the oops message? 

If so, it could be a bug related to running low on free space

http://www.spinics.net/lists/linux-btrfs/msg07268.html
http://www.spinics.net/lists/linux-btrfs/msg07326.html

so also check whether the btrfs partition was rather full