* Bug
@ 2009-07-24 20:28 Steven Pratt
2009-07-24 20:29 ` Bug Chris Mason
0 siblings, 1 reply; 7+ messages in thread
From: Steven Pratt @ 2009-07-24 20:28 UTC (permalink / raw)
To: linux-btrfs
Still having issue on the non-raid system. not sure if there is anything
new in this that can help debug the problem.
Message from syslogd@ at Fri Jul 24 12:34:27 2009 ...
btrfs2 kernel: [ 4543.844556] ------------[ cut here ]------------
Message from syslogd@ at Fri Jul 24 12:34:27 2009 ...
btrfs2 kernel: [ 4543.844635] invalid opcode: 0000 [#1] SMP
Message from syslogd@ at Fri Jul 24 12:34:27 2009 ...
btrfs2 kernel: [ 4543.844635] last sysfs file:
/sys/devices/pci0000:01/0000:01:01.1/irq
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] Stack:
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] ffff88013b1c1000 ffff880099cc4760
000000b221521bd0 ffffffffa036519a
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] 000000353b1c1000 ffff880024ddf440
ffff8800bf8e3ac0 0000000000000001
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] Call Trace:
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffffa036519a>] ?
update_reserved_extents+0xa1/0xb8 [btrfs]
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffffa036a56e>]
run_one_delayed_ref+0x385/0x432 [btrfs]
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffffa036b1f2>]
run_clustered_refs+0x237/0x2b4 [btrfs]
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffffa03a011d>] ?
btrfs_find_ref_cluster+0xdc/0x115 [btrfs]
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffffa036b31b>]
btrfs_run_delayed_refs+0xac/0x195 [btrfs]
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffffa0374b05>]
__btrfs_end_transaction+0x59/0xfe [btrfs]
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffffa0374bc5>]
btrfs_end_transaction+0xb/0xd [btrfs]
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffffa037a295>]
btrfs_finish_ordered_io+0x224/0x24d [btrfs]
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffffa037a2ce>]
btrfs_writepage_end_io_hook+0x10/0x12 [btrfs]
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffffa038d6a9>]
end_bio_extent_writepage+0xa3/0x18f [btrfs]
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffff80242782>] ?
del_timer_sync+0x14/0x20
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffff802cbc6a>] bio_endio+0x26/0x28
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffffa0371799>]
end_workqueue_fn+0x111/0x11e [btrfs]
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffffa0395274>]
worker_loop+0x67/0x1ef [btrfs]
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffffa039520d>] ?
worker_loop+0x0/0x1ef [btrfs]
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffff8024c33c>] kthread+0x56/0x86
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffff8020c9fa>] child_rip+0xa/0x20
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffff8024c2e6>] ? kthread+0x0/0x86
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] [<ffffffff8020c9f0>] ? child_rip+0x0/0x20
Message from syslogd@ at Fri Jul 24 12:34:28 2009 ...
btrfs2 kernel: [ 4543.844635] Code: 08 4c 8d 45 d4 41 8d 44 24 18 48 8b
73 20 48 8b 4d 18 41 b9 01 00 00 00 48 8b 7d b8 4c 89 ea 89 45 d4 e8 8a
e2 ff ff 85 c0 74 04 <0f> 0b eb fe 49 63 75 40 4d 8b 65 00 49 83 cf 01
4c 89 e7 48 6b
After this, we seem to get stuck with all threads spinning in
btrfs_endio_write, 100% cpu witn no IO going on. dmesg full of softlockups:
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] BUG: soft lockup - CPU#1
stuck for 61s! [btrfs-endio-wri:16195]
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] Modules linked in: btrfs
zlib_deflate oprofile autofs4 nfs lockd nfs_acl auth_rpcgss sunrpc dm_mu
ltipath video output sbs sbshc battery ac parport_pc lp parport sg
joydev serio_raw acpi_memhotplug rtc_cmos rtc_core rtc_lib button tg3 libphy
i2c_piix4 i2c_core pcspkr dm_snapshot dm_zero dm_mirror dm_region_hash
dm_log dm_mod lpfc scsi_transport_fc aic94xx libsas libata scsi_transpo
rt_sas sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd [last
unloaded: microcode]
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] CPU 1:
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] Modules linked in: btrfs
zlib_deflate oprofile autofs4 nfs lockd nfs_acl auth_rpcgss sunrpc dm_mu
ltipath video output sbs sbshc battery ac parport_pc lp parport sg
joydev serio_raw acpi_memhotplug rtc_cmos rtc_core rtc_lib button tg3 libphy
i2c_piix4 i2c_core pcspkr dm_snapshot dm_zero dm_mirror dm_region_hash
dm_log dm_mod lpfc scsi_transport_fc aic94xx libsas libata scsi_transpo
rt_sas sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd [last
unloaded: microcode]
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] Pid: 16195, comm:
btrfs-endio-wri Tainted: G D 2.6.30-autokern1 #1 IBM
x3950-[88726RU]-
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] RIP:
0010:[<ffffffff804cdd1d>] [<ffffffff804cdd1d>] _spin_lock+0x14/0x1a
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] RSP:
0018:ffff88013ad69a70 EFLAGS: 00000293
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] RAX: 0000000000009d98 RBX:
ffff88013ad69a70 RCX: 0000000000000000
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] RDX: 0000000000000000 RSI:
ffff88013b40c000 RDI: ffff8801285fd6b0
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] RBP: ffffffff8020c50e R08:
000000000000004c R09: 0000000000000001
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] R10: 0000000000000008 R11:
ffff88013ad69da0 R12: ffff88013ad69a30
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] R13: ffff880100000004 R14:
ffff88013ad69a50 R15: ffffffffa038ace1
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] FS:
0000000000000000(0000) GS:ffff88002ba18000(0000) knlGS:0000000000000000
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] CS: 0010 DS: 0018 ES:
0018 CR0: 000000008005003b
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] CR2: 00007fc84af9f000 CR3:
000000013e0d4000 CR4: 00000000000006e0
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] DR3: 0000000000000000 DR6:
00000000ffff0ff0 DR7: 0000000000000400
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] Call Trace:
Jul 24 15:25:18 btrfs2 kernel: [14789.720395] [<ffffffffa03976b7>] ?
btrfs_tree_lock+0x54/0x9e [btrfs]
Jul 24 15:25:19 btrfs2 kernel: [14789.720395] [<ffffffffa039760a>] ?
btrfs_wake_function+0x0/0x10 [btrfs]
Jul 24 15:25:19 btrfs2 kernel: [14789.720395] [<ffffffffa035cfa3>] ?
btrfs_lock_root_node+0x1d/0x4b [btrfs]
Jul 24 15:25:19 btrfs2 kernel: [14789.720395] [<ffffffffa0362fd6>] ?
btrfs_search_slot+0xc7/0x76c [btrfs]
Jul 24 15:25:19 btrfs2 kernel: [14789.720395] [<ffffffffa038ace1>] ?
map_extent_buffer+0xab/0xbe [btrfs]
Jul 24 15:25:19 btrfs2 kernel: [14789.720395] [<ffffffffa03643bb>] ?
btrfs_insert_empty_items+0x5e/0xa9 [btrfs]
Jul 24 15:25:19 btrfs2 kernel: [14789.720395] [<ffffffffa036a350>] ?
run_one_delayed_ref+0x167/0x432 [btrfs]
Jul 24 15:25:19 btrfs2 kernel: [14789.720395] [<ffffffffa036b1f2>] ?
run_clustered_refs+0x237/0x2b4 [btrfs]
Jul 24 15:25:19 btrfs2 kernel: [14789.720395] [<ffffffffa03a011d>] ?
btrfs_find_ref_cluster+0xdc/0x115 [btrfs]
Jul 24 15:25:19 btrfs2 kernel: [14789.720395] [<ffffffffa036b31b>] ?
btrfs_run_delayed_refs+0xac/0x195 [btrfs]
Jul 24 15:25:19 btrfs2 kernel: [14789.720395] [<ffffffffa0374b05>] ?
__btrfs_end_transaction+0x59/0xfe [btrfs]
Steve
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug
2009-07-24 20:28 Bug Steven Pratt
@ 2009-07-24 20:29 ` Chris Mason
0 siblings, 0 replies; 7+ messages in thread
From: Chris Mason @ 2009-07-24 20:29 UTC (permalink / raw)
To: Steven Pratt; +Cc: linux-btrfs
On Fri, Jul 24, 2009 at 03:28:19PM -0500, Steven Pratt wrote:
> Still having issue on the non-raid system. not sure if there is anything
> new in this that can help debug the problem.
Could you send along the full dmesg please?
-chris
^ permalink raw reply [flat|nested] 7+ messages in thread
* BUG
@ 2013-06-11 15:11 Mark Murawski
2013-06-12 8:38 ` BUG Duncan
0 siblings, 1 reply; 7+ messages in thread
From: Mark Murawski @ 2013-06-11 15:11 UTC (permalink / raw)
To: linux-btrfs
With this array I have to mount -o degraded, even though all devices are
present.
Linux cartman 3.9.0 #1 SMP PREEMPT Fri May 3 22:02:21 EDT 2013 x86_64
GNU/Linux
btrfs-tools
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git *
master 7854c8b
When I try and mount without degraded, I get this:
btrfs: failed to read chunk tree on sdh
btrfs: open_ctree failed
Mounting -o degraded, I get this:
cartman {~} root# btrfs filesystem show
Label: none uuid: d71404d4-468e-47d5-8f06-3b65fa7776aa
Total devices 2 FS bytes used 7.01GB
devid 1 size 9.31GB used 8.35GB path /dev/sdg6
devid 3 size 9.31GB used 8.34GB path /dev/sdc6
Label: none uuid: b142f575-df1c-4a57-8846-a43b979e2e09
Total devices 8 FS bytes used 1.79TB
devid 4 size 149.05GB used 7.00GB path /dev/sdh
devid 6 size 920.34GB used 495.00GB path /dev/sdg7
devid 8 size 1.36TB used 1.21TB path /dev/sdf
devid 2 size 465.76GB used 303.00GB path /dev/sde
devid 3 size 149.05GB used 6.00GB path /dev/sdd
devid 5 size 920.34GB used 745.03GB path /dev/sdc7
devid 9 size 465.76GB used 303.00GB path /dev/sdb
devid 7 size 1.36TB used 1.21TB path /dev/sda
Btrfs v0.20-rc1-253-g7854c8b
Tried to fix up /dev/sdh...
cartman {~} root# btrfs device delete /dev/sdh /storage
btrfs: bdev /dev/sda errs: wr 0, rd 0, flush 0, corrupt 4733368, gen 0
btrfs: relocating block group 4787944816640 flags 17
btrfs: free space inode generation (0) did not match free space cache
generation (19517)
btrfs: free space inode generation (0) did not match free space cache
generation (19519)
btrfs: free space inode generation (0) did not match free space cache
generation (19519)
btrfs: free space inode generation (0) did not match free space cache
generation (8540)
btrfs: free space inode generation (0) did not match free space cache
generation (9080)
btrfs: free space inode generation (0) did not match free space cache
generation (9143)
btrfs: free space inode generation (0) did not match free space cache
generation (28604)
btrfs: free space inode generation (0) did not match free space cache
generation (28604)
btrfs: free space inode generation (0) did not match free space cache
generation (30096)
btrfs: free space inode generation (0) did not match free space cache
generation (28551)
btrfs: free space inode generation (0) did not match free space cache
generation (30191)
btrfs: free space inode generation (0) did not match free space cache
generation (28613)
btrfs: free space inode generation (0) did not match free space cache
generation (30191)
btrfs: free space inode generation (0) did not match free space cache
generation (30191)
btrfs: free space inode generation (0) did not match free space cache
generation (19382)
btrfs: free space inode generation (0) did not match free space cache
generation (28867)
btrfs: free space inode generation (0) did not match free space cache
generation (28623)
btrfs: free space inode generation (0) did not match free space cache
generation (28623)
btrfs: free space inode generation (0) did not match free space cache
generation (19382)
btrfs: free space inode generation (0) did not match free space cache
generation (19387)
btrfs: free space inode generation (0) did not match free space cache
generation (19387)
btrfs: free space inode generation (0) did not match free space cache
generation (19387)
btrfs: free space inode generation (0) did not match free space cache
generation (19387)
btrfs: free space inode generation (0) did not match free space cache
generation (19387)
Jun 10 05:20:21 localhost kernel: btrfs: found 31 extents
Jun 10 05:20:30 localhost kernel: btrfs: found 31 extents
Jun 10 05:20:30 localhost kernel: btrfs: relocating block group
4784723591168 flags 17
Jun 10 05:21:00 localhost kernel: btrfs: found 33 extents
Jun 10 05:21:11 localhost kernel: btrfs: found 33 extents
Jun 10 05:21:11 localhost kernel: btrfs: relocating block group
4781502365696 flags 17
Jun 10 05:21:40 localhost kernel: btrfs: found 29 extents
Jun 10 05:21:49 localhost kernel: btrfs: found 29 extents
Jun 10 05:21:49 localhost kernel: btrfs: relocating block group
4778281140224 flags 17
Jun 10 05:22:19 localhost kernel: btrfs: found 65 extents
Jun 10 05:22:32 localhost kernel: btrfs: found 65 extents
Jun 10 05:22:33 localhost kernel: btrfs: relocating block group
4775059914752 flags 17
Jun 10 05:23:04 localhost kernel: btrfs: found 20 extents
Jun 10 05:23:11 localhost kernel: btrfs: found 20 extents
Jun 10 05:23:13 localhost kernel: btrfs: relocating block group
4771838689280 flags 17
Jun 10 05:23:41 localhost kernel: btrfs: found 27 extents
Jun 10 05:23:48 localhost kernel: btrfs: found 27 extents
Jun 10 05:23:49 localhost kernel: btrfs: relocating block group
4768617463808 flags 17
Jun 10 05:24:17 localhost kernel: btrfs: found 14 extents
Jun 10 05:24:24 localhost kernel: btrfs: found 14 extents
Jun 10 05:24:57 localhost kernel: BUG: unable to handle kernel NULL
pointer dereference at 0000000000000090
Jun 10 05:24:57 localhost kernel: IP: [<ffffffff81131ef0>]
bio_phys_segments+0x20/0x20
Jun 10 05:24:57 localhost kernel: PGD 74285067 PUD 73ca5067 PMD 0
Jun 10 05:24:57 localhost kernel: Oops: 0000 [#1] PREEMPT SMP
Jun 10 05:24:57 localhost kernel: Modules linked in:
Jun 10 05:24:57 localhost kernel: CPU 0
Jun 10 05:24:57 localhost kernel: Pid: 16027, comm: btrfs-transacti Not
tainted 3.9.0 #1 Gigabyte Technology Co., Ltd. GA-MA74GM-S2/GA-MA74GM-S2
Jun 10 05:24:57 localhost kernel: RIP: 0010:[<ffffffff81131ef0>]
[<ffffffff81131ef0>] bio_phys_segments+0x20/0x20
Jun 10 05:24:57 localhost kernel: RSP: 0018:ffff8800546c3820 EFLAGS:
00010246
Jun 10 05:24:57 localhost kernel: RAX: 0000000000000000 RBX:
ffff8800546c3ab0 RCX: 000000011a262f30
Jun 10 05:24:57 localhost kernel: RDX: 0000000000000100 RSI:
ffff88004f5b6660 RDI: 0000000000000000
Jun 10 05:24:57 localhost kernel: RBP: 0000000000001000 R08:
0000000000001000 R09: 0000000000000000
Jun 10 05:24:57 localhost kernel: R10: 0000000000000000 R11:
0000000000000014 R12: 0000000000000000
Jun 10 05:24:57 localhost kernel: R13: ffff88004f5b6660 R14:
0000000000000000 R15: 000000011a262f30
Jun 10 05:24:57 localhost kernel: FS: 00007fa95eb7e7a0(0000)
GS:ffff880077a00000(0000) knlGS:0000000000000000
Jun 10 05:24:57 localhost kernel: CS: 0010 DS: 0000 ES: 0000 CR0:
000000008005003b
Jun 10 05:24:57 localhost kernel: CR2: 0000000000000090 CR3:
00000000745c5000 CR4: 00000000000007f0
Jun 10 05:24:57 localhost kernel: DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
Jun 10 05:24:57 localhost kernel: DR3: 0000000000000000 DR6:
00000000ffff0ff0 DR7: 0000000000000400
Jun 10 05:24:57 localhost kernel: Process btrfs-transacti (pid: 16027,
threadinfo ffff8800546c2000, task ffff8800752dbf20)
Jun 10 05:24:57 localhost kernel: Stack:
Jun 10 05:24:57 localhost kernel: ffffffff8129f64c 0000000000000000
ffffea000122fcc0 0000000000000000
Jun 10 05:24:57 localhost kernel: 0000000000000000 ffffffff8129f360
0000000000000411 ffffffff8125efe7
Jun 10 05:24:57 localhost kernel: ffff88004f5b6660 0000000000001000
0000000000000000 000002344c5e6000
Jun 10 05:24:57 localhost kernel: Call Trace:
Jun 10 05:24:57 localhost kernel: [<ffffffff8129f64c>] ?
submit_extent_page.isra.47+0x1cc/0x250
Jun 10 05:24:57 localhost kernel: [<ffffffff8129f360>] ?
end_extent_writepage+0x70/0x70
Jun 10 05:24:57 localhost kernel: [<ffffffff8125efe7>] ? comp_keys+0x27/0x30
Jun 10 05:24:57 localhost kernel: [<ffffffff812a0385>] ?
__extent_writepage+0x585/0x720
Jun 10 05:24:57 localhost kernel: [<ffffffff8129f360>] ?
end_extent_writepage+0x70/0x70
Jun 10 05:24:57 localhost kernel: [<ffffffff812a0728>] ?
extent_write_cache_pages.isra.39.constprop.52+0x208/0x370
Jun 10 05:24:57 localhost kernel: [<ffffffff812a0acb>] ?
extent_writepages+0x4b/0x70
Jun 10 05:24:57 localhost kernel: [<ffffffff81287b10>] ?
btrfs_fiemap+0x80/0x80
Jun 10 05:24:57 localhost kernel: [<ffffffff810c8a69>] ?
__filemap_fdatawrite_range+0x49/0x50
Jun 10 05:24:57 localhost kernel: [<ffffffff8129b47f>] ?
btrfs_wait_ordered_range+0x3f/0x100
Jun 10 05:24:57 localhost kernel: [<ffffffff812c0592>] ?
__btrfs_write_out_cache+0x7b2/0x9d0
Jun 10 05:24:57 localhost kernel: [<ffffffff8127d90d>] ?
btrfs_buffer_uptodate+0x6d/0x80
Jun 10 05:24:57 localhost kernel: [<ffffffff812c0847>] ?
btrfs_write_out_cache+0x97/0xf0
Jun 10 05:24:57 localhost kernel: [<ffffffff812a1f20>] ?
set_extent_buffer_dirty+0x60/0xa0
Jun 10 05:24:57 localhost kernel: [<ffffffff812730ca>] ?
btrfs_write_dirty_block_groups+0x54a/0x640
Jun 10 05:24:57 localhost kernel: [<ffffffff812e5ffe>] ?
btrfs_run_dev_replace+0x5e/0x350
Jun 10 05:24:57 localhost kernel: [<ffffffff8128108a>] ?
commit_cowonly_roots+0x18a/0x280
Jun 10 05:24:57 localhost kernel: [<ffffffff81282dbd>] ?
btrfs_commit_transaction+0x49d/0x9d0
Jun 10 05:24:57 localhost kernel: [<ffffffff8107dd70>] ?
abort_exclusive_wait+0xb0/0xb0
Jun 10 05:24:57 localhost kernel: [<ffffffff8128397b>] ?
start_transaction+0x9b/0x430
Jun 10 05:24:57 localhost kernel: [<ffffffff8127aac5>] ?
transaction_kthread+0x195/0x210
Jun 10 05:24:57 localhost kernel: [<ffffffff8127a930>] ?
btrfs_alloc_root+0x30/0x30
Jun 10 05:24:57 localhost kernel: [<ffffffff8107d423>] ? kthread+0xb3/0xc0
Jun 10 05:24:57 localhost kernel: [<ffffffff81080000>] ?
hrtimer_forward+0xa0/0xc0
Jun 10 05:24:57 localhost kernel: [<ffffffff8107d370>] ?
kthread_freezable_should_stop+0x60/0x60
Jun 10 05:24:57 localhost kernel: [<ffffffff81769cac>] ?
ret_from_fork+0x7c/0xb0
Jun 10 05:24:57 localhost kernel: [<ffffffff8107d370>] ?
kthread_freezable_should_stop+0x60/0x60
Jun 10 05:24:57 localhost kernel: Code: 31 c0 e8 f5 ea 62 00 eb ae 90 90
f6 46 18 08 53 48 89 f3 74 05 8b 43 2c 5b c3 e8 1c f2 1d 00 eb f4 66 2e
0f 1f 84 00 00 00 00 00 <48> 8b 87 90 00 00 00 b9 00
01 00 00 48 8b 90 60 02 00 00 0f b7
Jun 10 05:24:57 localhost kernel: RIP [<ffffffff81131ef0>]
bio_phys_segments+0x20/0x20
Jun 10 05:24:57 localhost kernel: RSP <ffff8800546c3820>
Jun 10 05:24:57 localhost kernel: CR2: 0000000000000090
Jun 10 05:24:57 localhost kernel: ---[ end trace 22bc28adecc95827 ]---
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: BUG
2013-06-11 15:11 BUG Mark Murawski
@ 2013-06-12 8:38 ` Duncan
0 siblings, 0 replies; 7+ messages in thread
From: Duncan @ 2013-06-12 8:38 UTC (permalink / raw)
To: linux-btrfs
Mark Murawski posted on Tue, 11 Jun 2013 11:11:25 -0400 as excerpted:
> Jun 10 05:24:57 localhost kernel: BUG: unable to handle kernel NULL
> pointer dereference at 0000000000000090
I'll let someone else handle the real technical stuff, but I distinctly
recall reading that a number of null-pointer bugs had been fixed for
3.10, and you're running 3.9, so I could suggest trying the latest Linus-
tree rc (3.10.0-rc5 just came out a couple days ago) or live-git HEAD.
I've been running 3.10-pre here with a (new) dual-SSD raid-1 data/
metadata both set of btrfs filesystems (I partition mine down, less eggs
in one filesystem basket), without issue so far.
Might nor might not be the same bug; as I said I don't get that deep into
the technical stuff, but it's worth a try.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug
@ 2013-08-29 2:34 lilofile
2013-08-29 2:43 ` bug Liu Bo
2013-08-29 12:25 ` bug David Sterba
0 siblings, 2 replies; 7+ messages in thread
From: lilofile @ 2013-08-29 2:34 UTC (permalink / raw)
To: linux-btrfs
I made a btrfs on five disks using RAID5 (-d raid5 for mount option). When a power failure occurs, I can not remount btrfs after my system reboots. Dmesg for remount is presented as following:
[ 192.713953] bio: create slab <bio-1> at 1
[ 192.716230] Btrfs loaded
[ 192.717177] device fsid a0dff7ea-9354-43fd-8516-0e17f370991d devid 1 transid 6 /dev/sdb
[ 192.717712] btrfs: disk space caching is enabled
[ 192.720572] btrfs: failed to read the system array on sdb
[ 192.723398] btrfs: open_ctree failed
linux md raid5 have resync , the test seems btrfs raid5 have not resync,how fix the bug?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: bug
2013-08-29 2:34 bug lilofile
@ 2013-08-29 2:43 ` Liu Bo
2013-08-29 12:25 ` bug David Sterba
1 sibling, 0 replies; 7+ messages in thread
From: Liu Bo @ 2013-08-29 2:43 UTC (permalink / raw)
To: lilofile; +Cc: linux-btrfs
On Thu, Aug 29, 2013 at 10:34:00AM +0800, lilofile wrote:
> I made a btrfs on five disks using RAID5 (-d raid5 for mount option). When a power failure occurs, I can not remount btrfs after my system reboots. Dmesg for remount is presented as following:
>
> [ 192.713953] bio: create slab <bio-1> at 1
> [ 192.716230] Btrfs loaded
> [ 192.717177] device fsid a0dff7ea-9354-43fd-8516-0e17f370991d devid 1 transid 6 /dev/sdb
> [ 192.717712] btrfs: disk space caching is enabled
> [ 192.720572] btrfs: failed to read the system array on sdb
> [ 192.723398] btrfs: open_ctree failed
>
> linux md raid5 have resync , the test seems btrfs raid5 have not resync,how fix the bug?
Have you tried 'btrfs device scan' before mounting it?
-liubo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: bug
2013-08-29 2:34 bug lilofile
2013-08-29 2:43 ` bug Liu Bo
@ 2013-08-29 12:25 ` David Sterba
1 sibling, 0 replies; 7+ messages in thread
From: David Sterba @ 2013-08-29 12:25 UTC (permalink / raw)
To: lilofile; +Cc: linux-btrfs
On Thu, Aug 29, 2013 at 10:34:00AM +0800, lilofile wrote:
> I made a btrfs on five disks using RAID5 (-d raid5 for mount option).
> When a power failure occurs, I can not remount btrfs after my system
> reboots. Dmesg for remount is presented as following:
Please note that current implementation of raid5/6 is not completely
crash-safe, as was mentioned in the announcement (eg. here
http://lwn.net/Articles/536038/). The mount could fail if the parity of
metadata blocks is corrupted due to crash.
david
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-08-29 12:25 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-29 2:34 bug lilofile
2013-08-29 2:43 ` bug Liu Bo
2013-08-29 12:25 ` bug David Sterba
-- strict thread matches above, loose matches on Subject: below --
2013-06-11 15:11 BUG Mark Murawski
2013-06-12 8:38 ` BUG Duncan
2009-07-24 20:28 Bug Steven Pratt
2009-07-24 20:29 ` Bug Chris Mason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).