From: Sami Liedes <sami.liedes@iki.fi>
To: Jan Schmidt <list.btrfs@jan-o-sch.net>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: btrfs GPF in read_extent_buffer() while scrubbing with kernel 3.4.2
Date: Wed, 4 Jul 2012 19:03:40 +0300 [thread overview]
Message-ID: <20120704160340.GA9770@sli.dy.fi> (raw)
In-Reply-To: <4FF42876.8010309@jan-o-sch.net>
[-- Attachment #1: Type: text/plain, Size: 6414 bytes --]
On Wed, Jul 04, 2012 at 01:26:46PM +0200, Jan Schmidt wrote:
> On 04.07.2012 02:17, Sami Liedes wrote:
> > On Wed, Jul 04, 2012 at 01:47:56AM +0300, Sami Liedes wrote:
> >> I've seen this before: An overly long "Modules linked in:" line causes
> >> a large gap in netconsole output.
> >
> > I managed to capture the entire output using netconsole by modifying
> > the kernel to not output the list of modules.
>
> Okay, thanks for the output. Can you please apply the patch below and capture
> especially the line printed before the "cut here" line?
Here you go.
Sami
------------------------------------------------------------
[ 121.524803] netpoll: netconsole: local port 4444
[ 121.524831] netpoll: netconsole: local IP 192.168.1.2
[ 121.524853] netpoll: netconsole: interface 'eth0'
[ 121.524874] netpoll: netconsole: remote port 1194
[ 121.524894] netpoll: netconsole: remote IP 192.168.1.73
[ 121.524917] netpoll: netconsole: remote ethernet address 00:1c:10:44:47:2c
[ 121.525055] console [netcon0] enabled
[ 121.525074] netconsole: network logging started
[ 200.980496] btrfs: invalid parameters for read_extent_buffer: start (32771) > eb->len (32768). eb start is 2243489562624, level 26, generation 3144240307695375391, nritems 620178657. len param 17. debug 2/989/620178657/3144240307695375391
[ 200.980594] ------------[ cut here ]------------
[ 200.980644] WARNING: at fs/btrfs/extent_io.c:4528 read_extent_buffer+0x167/0x1a0 [btrfs]()
[ 200.980681] Hardware name: System Product Name
[ 200.980701] Modules linked in: <omitted> [last unloaded: scsi_wait_scan]
[ 200.980739] Pid: 1145, comm: btrfs-endio-met Tainted: G W 3.4.4-modded-oops+ #2
[ 200.980774] Call Trace:
[ 200.980792] [<ffffffff8103905a>] warn_slowpath_common+0x7a/0xb0
[ 200.980821] [<ffffffff810390a5>] warn_slowpath_null+0x15/0x20
[ 200.980860] [<ffffffffa01d6e07>] read_extent_buffer+0x167/0x1a0 [btrfs]
[ 200.980902] [<ffffffffa01ce03d>] btrfs_node_key+0x1d/0x20 [btrfs]
[ 200.980941] [<ffffffffa020459f>] __readahead_hook.isra.5+0x3ff/0x460 [btrfs]
[ 200.980982] [<ffffffffa020492f>] btree_readahead_hook+0x1f/0x40 [btrfs]
[ 200.981022] [<ffffffffa01aa841>] btree_readpage_end_io_hook+0x111/0x260 [btrfs]
[ 200.981065] [<ffffffffa01d2442>] ? find_first_extent_bit_state+0x22/0x80 [btrfs]
[ 200.981109] [<ffffffffa01d308b>] end_bio_extent_readpage+0xcb/0xa30 [btrfs]
[ 200.981150] [<ffffffffa01a9e61>] ? end_workqueue_fn+0x31/0x50 [btrfs]
[ 200.981182] [<ffffffff81158988>] bio_endio+0x18/0x30
[ 200.981214] [<ffffffffa01a9e6c>] end_workqueue_fn+0x3c/0x50 [btrfs]
[ 200.981253] [<ffffffffa01e08d7>] worker_loop+0x157/0x560 [btrfs]
[ 200.981291] [<ffffffffa01e0780>] ? btrfs_queue_worker+0x310/0x310 [btrfs]
[ 200.981323] [<ffffffff81058e5e>] kthread+0x8e/0xa0
[ 200.981348] [<ffffffff81419064>] kernel_thread_helper+0x4/0x10
[ 200.981377] [<ffffffff81058dd0>] ? flush_kthread_worker+0x70/0x70
[ 200.981406] [<ffffffff81419060>] ? gs_change+0x13/0x13
[ 200.981430] ---[ end trace e93713a9d40cd06e ]---
[ 200.981459] general protection fault: 0000 [#1] SMP
[ 200.981487] CPU 2
[ 200.981498] Modules linked in: <omitted> [last unloaded: scsi_wait_scan]
[ 200.981540]
[ 200.981550] Pid: 1145, comm: btrfs-endio-met Tainted: G W 3.4.4-modded-oops+ #2 System manufacturer System Product Name/P8P67 EVO
[ 200.981612] RIP: 0010:[<ffffffff811e83ed>] [<ffffffff811e83ed>] memcpy+0xd/0x110
[ 200.981650] RSP: 0000:ffff8801f4bf7b68 EFLAGS: 00010202
[ 200.981675] RAX: ffff8801f4bf7c8f RBX: 0000000000000011 RCX: 0000000000000002
[ 200.981707] RDX: 0000000000000001 RSI: 0005080000000003 RDI: ffff8801f4bf7c8f
[ 200.981738] RBP: ffff8801f4bf7be0 R08: 0000000000000000 R09: 0000000000000000
[ 200.981769] R10: ffff8801f4bf7c8f R11: ffff8801f3930780 R12: ffff8801f4bf7ca0
[ 200.981800] R13: ffff8801f7286178 R14: 0000000000000048 R15: 0000000000000011
[ 200.981832] FS: 0000000000000000(0000) GS:ffff88021ec80000(0000) knlGS:0000000000000000
[ 200.981868] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 200.981894] CR2: 00000000f773a000 CR3: 000000020d0de000 CR4: 00000000000407e0
[ 200.981925] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 200.981956] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 200.981988] Process btrfs-endio-met (pid: 1145, threadinfo ffff8801f4bf6000, task ffff8801f4ff42f0)
[ 200.982026] Stack:
[ 200.982038] ffffffffa01d6d5b ffff880124f72ce1 0000000000000011 0000000000000002
[ 200.982084] 00000000000003dd 0000000024f72ce1 2ba295e6a4a5d41f ffff88020dc65000
[ 200.982130] ffff8801f4bf7c8f 0000000000001000 ffff8801f4bf7c58 00000000000003dd
[ 200.982175] Call Trace:
[ 200.982201] [<ffffffffa01d6d5b>] ? read_extent_buffer+0xbb/0x1a0 [btrfs]
[ 200.982243] [<ffffffffa01ce03d>] btrfs_node_key+0x1d/0x20 [btrfs]
[ 200.982281] [<ffffffffa020459f>] __readahead_hook.isra.5+0x3ff/0x460 [btrfs]
[ 200.982322] [<ffffffffa020492f>] btree_readahead_hook+0x1f/0x40 [btrfs]
[ 200.982362] [<ffffffffa01aa841>] btree_readpage_end_io_hook+0x111/0x260 [btrfs]
[ 200.982405] [<ffffffffa01d2442>] ? find_first_extent_bit_state+0x22/0x80 [btrfs]
[ 200.982448] [<ffffffffa01d308b>] end_bio_extent_readpage+0xcb/0xa30 [btrfs]
[ 200.982489] [<ffffffffa01a9e61>] ? end_workqueue_fn+0x31/0x50 [btrfs]
[ 200.982519] [<ffffffff81158988>] bio_endio+0x18/0x30
[ 200.982552] [<ffffffffa01a9e6c>] end_workqueue_fn+0x3c/0x50 [btrfs]
[ 200.982591] [<ffffffffa01e08d7>] worker_loop+0x157/0x560 [btrfs]
[ 200.982628] [<ffffffffa01e0780>] ? btrfs_queue_worker+0x310/0x310 [btrfs]
[ 200.982660] [<ffffffff81058e5e>] kthread+0x8e/0xa0
[ 200.982684] [<ffffffff81419064>] kernel_thread_helper+0x4/0x10
[ 200.982713] [<ffffffff81058dd0>] ? flush_kthread_worker+0x70/0x70
[ 200.982742] [<ffffffff81419060>] ? gs_change+0x13/0x13
[ 200.982766] Code: 4e 48 83 c4 08 5b 5d c3 66 0f 1f 44 00 00 e8 eb fb ff ff eb e1 90 90 90 90 90 90 90 90 90 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 <f3> 48 a5 89 d1 f3 a4 c3 20 4c 8b 06 4c 8b 4e 08 4c 8b 56 10 4c
[ 200.983037] RIP [<ffffffff811e83ed>] memcpy+0xd/0x110
[ 200.983065] RSP <ffff8801f4bf7b68>
[ 200.983087] ---[ end trace e93713a9d40cd06f ]---
[ 361.453631] SysRq : Resetting
[ 361.453663] ACPI MEMORY or I/O RESET_REG.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-07-04 16:03 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-02 23:01 btrfs GPF in read_extent_buffer() while scrubbing with kernel 3.4.2 Sami Liedes
2012-07-02 23:08 ` Sami Liedes
2012-07-03 13:11 ` Jan Schmidt
2012-07-03 13:58 ` Sami Liedes
2012-07-03 14:35 ` Jan Schmidt
2012-07-03 22:47 ` Sami Liedes
2012-07-04 0:17 ` Sami Liedes
2012-07-04 11:26 ` Jan Schmidt
2012-07-04 16:03 ` Sami Liedes [this message]
2012-07-04 16:38 ` Jan Schmidt
2012-07-04 20:24 ` Sami Liedes
2012-07-05 13:41 ` Jan Schmidt
2012-07-05 23:47 ` Sami Liedes
2012-07-06 10:42 ` Jan Schmidt
2012-07-06 11:50 ` Chris Mason
2012-07-06 14:33 ` Sami Liedes
2012-07-06 14:40 ` Chris Mason
2012-07-06 15:02 ` Jan Schmidt
2012-07-06 15:19 ` Chris Mason
2012-07-06 15:09 ` Jan Schmidt
[not found] ` <20120706195923.GA10687@sli.dy.fi>
2012-07-06 21:41 ` Sami Liedes
2012-07-06 23:44 ` Sami Liedes
2012-07-09 9:05 ` *** GMX Spamverdacht *** " Arne Jansen
2012-07-10 4:16 ` Sami Liedes
2012-07-10 6:05 ` Arne Jansen
2012-07-10 6:57 ` *** GMX Spamverdacht *** " Arne Jansen
2012-07-16 8:20 ` Arne Jansen
2012-07-16 21:29 ` Sami Liedes
2012-07-28 12:08 ` Sami Liedes
2012-07-28 18:50 ` Sami Liedes
2012-07-03 13:14 ` Sami Liedes
2013-03-27 11:54 ` Stefan Behrens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120704160340.GA9770@sli.dy.fi \
--to=sami.liedes@iki.fi \
--cc=linux-btrfs@vger.kernel.org \
--cc=list.btrfs@jan-o-sch.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).