From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tsutomu Itoh Subject: kernel BUG at fs/btrfs/extent-tree.c:6164! Date: Mon, 06 Jun 2011 17:33:15 +0900 Message-ID: <4DEC90CB.4050609@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Cc: Chris Mason , liubo To: Linux Btrfs Return-path: List-ID: Hi, I encountered following panic using 'btrfs-unstable + for-linus' kernel. I ran "btrfs fi bal /test5" command, and mount option of /test5 is as follows: /dev/sdc3 on /test5 type btrfs (rw,space_cache,compress=lzo,inode_cache) Thanks, Tsutomu ================================================================= btrfs: relocating block group 23383244800 flags 20 btrfs: found 2959 extents ------------[ cut here ]------------ WARNING: at fs/btrfs/transaction.c:213 start_transaction+0x2a7/0x2b0 [btrfs]() Hardware name: PRIMERGY Modules linked in: autofs4 sunrpc 8021q garp stp llc cpufreq_ondemand acpi_cpufr eq freq_table mperf ipv6 btrfs zlib_deflate crc32c libcrc32c ext3 jbd dm_mirror dm_region_hash dm_log dm_mod kvm uinput ppdev parport_pc parport sg pcspkr i2c_i 801 i2c_core iTCO_wdt iTCO_vendor_support tg3 shpchp pci_hotplug i3000_edac edac _core ext4 mbcache jbd2 crc16 sd_mod crc_t10dif sr_mod cdrom megaraid_sas pata_a cpi ata_generic ata_piix libata scsi_mod floppy [last unloaded: microcode] Pid: 23781, comm: btrfs Tainted: G W 2.6.39btrfs-test+ #4 Call Trace: [] warn_slowpath_common+0x7f/0xc0 [] warn_slowpath_null+0x1a/0x20 [] start_transaction+0x2a7/0x2b0 [btrfs] [] ? btrfs_wait_ordered_range+0x10d/0x160 [btrfs] [] btrfs_start_transaction+0x13/0x20 [btrfs] [] btrfs_evict_inode+0x11a/0x260 [btrfs] [] evict+0x78/0x170 [] iput+0xe2/0x1a0 [] btrfs_remove_block_group+0x141/0x3c0 [btrfs] [] btrfs_relocate_chunk+0x54a/0x670 [btrfs] [] ? read_extent_buffer+0xd8/0x1d0 [btrfs] [] ? btrfs_previous_item+0xb1/0x150 [btrfs] [] btrfs_balance+0x21a/0x2b0 [btrfs] [] ? path_openat+0x101/0x3d0 [] btrfs_ioctl+0x51c/0xc40 [btrfs] [] ? handle_mm_fault+0x148/0x270 [] ? do_page_fault+0x1d8/0x4b0 [] do_vfs_ioctl+0x9a/0x540 [] sys_ioctl+0xa1/0xb0 [] system_call_fastpath+0x16/0x1b ---[ end trace e5c5cb2e98a3cd1a ]--- btrfs: relocating block group 20971520 flags 18 btrfs: relocating block group 34925969408 flags 18 btrfs: found 1 extents ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-tree.c:6164! invalid opcode: 0000 [#1] SMP last sysfs file: /sys/kernel/mm/ksm/run CPU 0 Modules linked in: autofs4 sunrpc 8021q garp stp llc cpufreq_ondemand acpi_cpufreq freq_table mperf ipv6 btrfs zlib_deflate crc32c libcrc32c ext3 jbd dm_mirror dm_region_hash dm_log dm_mod kvm uinput ppdev parport_pc parport sg pcspkr i2c_i801 i2c_core iTCO_wdt iTCO_vendor_support tg3 shpchp pci_hotplug i3000_edac edac_core ext4 mbcache jbd2 crc16 sd_mod crc_t10dif sr_mod cdrom megaraid_sas pata_acpi ata_generic ata_piix libata scsi_mod floppy [last unloaded: microcode] Pid: 4109, comm: btrfs Tainted: G W 2.6.39btrfs-test+ #4 FUJITSU-SV PRIMERGY /D2399 RIP: 0010:[] [] walk_up_proc+0x375/0x420 [btrfs] RSP: 0018:ffff8801801eb9c8 EFLAGS: 00010286 RAX: 0000000000000005 RBX: ffff880167a70140 RCX: fffffffffffffff8 RDX: ffff8801801ea000 RSI: ffff880000000000 RDI: ffff880194909fa8 RBP: ffff8801801eba18 R08: 0000000000000000 R09: 0000000000000005 R10: 0000000000000001 R11: ffff880194909fa8 R12: 0000000000000000 R13: ffff88013973d000 R14: ffff88015ad4d9a0 R15: ffff880042203920 FS: 00007fa86bcb9740(0000) GS:ffff88019fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: 00000033cf60b0c0 CR3: 0000000181cf7000 CR4: 00000000000006f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process btrfs (pid: 4109, threadinfo ffff8801801ea000, task ffff88011a4914a0) Stack: ffff8801801eba18 ffff880194909fa8 ffff880100000000 ffffffffa03280e8 ffff8801801eba58 ffff88015ad4d9a0 0000000000000000 0000000000000000 ffff8801801ea000 ffff880167a70140 ffff8801801eba78 ffffffffa0325d71 Call Trace: [] ? btrfs_run_delayed_refs+0xc8/0x210 [btrfs] [] walk_up_tree+0x131/0x1b0 [btrfs] [] btrfs_drop_snapshot+0x2c0/0x5c0 [btrfs] [] ? btrfs_read_fs_root_no_name+0x1b0/0x280 [btrfs] [] merge_reloc_roots+0xdf/0x150 [btrfs] [] relocate_block_group+0x481/0x660 [btrfs] [] ? btrfs_clean_old_snapshots+0x35/0x150 [btrfs] [] btrfs_relocate_block_group+0x1b3/0x2e0 [btrfs] [] ? btrfs_tree_unlock+0x50/0x50 [btrfs] [] btrfs_relocate_chunk+0x8b/0x670 [btrfs] [] ? btrfs_set_path_blocking+0x3d/0x50 [btrfs] [] ? read_extent_buffer+0xd8/0x1d0 [btrfs] [] ? btrfs_previous_item+0xb1/0x150 [btrfs] [] ? read_extent_buffer+0xd8/0x1d0 [btrfs] [] btrfs_balance+0x21a/0x2b0 [btrfs] [] ? path_openat+0x101/0x3d0 [] btrfs_ioctl+0x51c/0xc40 [btrfs] [] ? handle_mm_fault+0x148/0x270 [] ? do_page_fault+0x1d8/0x4b0 [] do_vfs_ioctl+0x9a/0x540 [] sys_ioctl+0xa1/0xb0 [] system_call_fastpath+0x16/0x1b Code: fe ff ff 0f 1f 00 4c 89 df 31 c9 4c 89 fa 4c 89 ee 44 89 55 c0 4c 89 5d b8 e8 c8 d5 ff ff 4c 8b 5d b8 44 8b 55 c0 e9 85 fe ff ff <0f> 0b eb fe 0f 1f 80 00 00 00 00 65 48 8b 14 25 c8 cc 00 00 48 RIP [] walk_up_proc+0x375/0x420 [btrfs] RSP