From: Sasha Levin <sasha.levin@oracle.com>
To: jaegeuk.kim@samsung.com
Cc: Dave Jones <davej@redhat.com>,
LKML <linux-kernel@vger.kernel.org>,
linux-f2fs-devel@lists.sourceforge.net
Subject: f2fs: kernel BUG at fs/f2fs/segment.h:543
Date: Sat, 05 Apr 2014 11:12:10 -0400 [thread overview]
Message-ID: <53401D4A.1020203@oracle.com> (raw)
Hi all,
While fuzzing with trinity inside a KVM tools guest running the latest
-next kernel I've stumbled on the following:
[ 1789.220942] kernel BUG at fs/f2fs/segment.h:543!
[ 1789.220942] invalid opcode: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
[ 1789.220942] Dumping ftrace buffer:
[ 1789.220942] (ftrace buffer empty)
[ 1789.220942] Modules linked in:
[ 1789.220942] CPU: 0 PID: 28161 Comm: trinity-c0 Not tainted 3.14.0-next-20140403-sasha-00019-g7474aa9-dirty #376
[ 1789.220942] task: ffff88032a598000 ti: ffff880329c3e000 task.ti: ffff880329c3e000
[ 1789.220942] RIP: f2fs_submit_page_mbio (fs/f2fs/segment.h:543 fs/f2fs/data.c:181)
[ 1789.220942] RSP: 0018:ffff880329c3fc08 EFLAGS: 00010287
[ 1789.220942] RAX: 000000000000ffff RBX: ffff88012ac66a00 RCX: 0000000000000009
[ 1789.220942] RDX: 0000000000000200 RSI: ffffea0001dd92c0 RDI: ffff88012ac667b0
[ 1789.220942] RBP: ffff880329c3fc58 R08: 00000000000ba28e R09: ffff88032a598d98
[ 1789.220942] R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0001dd92c0
[ 1789.220942] R13: ffff88012ac667b0 R14: 0000000000000000 R15: ffff880329c3fc70
[ 1789.220942] FS: 00007f3599003700(0000) GS:ffff88007dc00000(0000) knlGS:0000000000000000
[ 1789.220942] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 1789.220942] CR2: 00007faf4246a018 CR3: 0000000329b6f000 CR4: 00000000000006b0
[ 1789.220942] DR0: 0000000000696000 DR1: 0000000000696000 DR2: 0000000000000000
[ 1789.261947] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
[ 1789.261947] Stack:
[ 1789.261947] ffff88032a598000 ffff880d2a478278 0000000000000006 0000000000000082
[ 1789.261947] ffffffffaa289475 ffffea0001dd92c0 ffff88012ac667b0 ffff880329c3fd30
[ 1789.261947] 0000000000000000 ffffea0001dd92c0 ffff880329c3fc88 ffffffffaa9da033
[ 1789.278327] Call Trace:
[ 1789.278327] ? clear_page_dirty_for_io (arch/x86/include/asm/paravirt.h:809 include/linux/backing-dev.h:176 mm/page-writeback.c:2355)
[ 1789.278327] write_meta_page (fs/f2fs/segment.c:922)
[ 1789.278327] f2fs_write_meta_page (arch/x86/include/asm/atomic.h:103 fs/f2fs/f2fs.h:692 fs/f2fs/checkpoint.c:172)
[ 1789.288220] trinity-c32: vm86 mode not supported on 64 bit kernel
[ 1789.278327] sync_meta_pages (fs/f2fs/checkpoint.c:247)
[ 1789.278327] ? get_parent_ip (kernel/sched/core.c:2472)
[ 1789.278327] ? preempt_count_sub (kernel/sched/core.c:2527)
[ 1789.278327] ? _raw_spin_unlock_irqrestore (arch/x86/include/asm/preempt.h:98 include/linux/spinlock_api_smp.h:161 kernel/locking/spinlock.c:191)
[ 1789.278327] write_checkpoint (fs/f2fs/checkpoint.c:875 fs/f2fs/checkpoint.c:913)
[ 1789.310911] waiting module removal not supported: please upgrade
[ 1789.278327] ? SyS_tee (fs/sync.c:77)
[ 1789.278327] ? mutex_lock_nested (arch/x86/include/asm/paravirt.h:809 kernel/locking/mutex.c:569 kernel/locking/mutex.c:587)
[ 1789.278327] ? get_parent_ip (kernel/sched/core.c:2472)
[ 1789.278327] ? bit_waitqueue (kernel/sched/wait.c:291)
[ 1789.278327] ? SyS_tee (fs/sync.c:77)
[ 1789.278327] f2fs_sync_fs (fs/f2fs/super.c:456)
[ 1789.278327] sync_fs_one_sb (fs/sync.c:80)
[ 1789.278327] iterate_supers (fs/super.c:512)
[ 1789.278327] sys_sync (fs/sync.c:110)
[ 1789.278327] tracesys (arch/x86/kernel/entry_64.S:749)
[ 1789.278327] Code: 48 c1 e0 04 48 8d 9c 07 f0 00 00 00 49 8b 45 38 41 8b 8d d0 06 00 00 8b 50 78 8b 80 84 00 00 00 d3 e0 41 39 d6 8d 44 02 ff 73 09 <0f> 0b 0f 1f 80 00 00 00 00 41 39 c6 76 03 0f 0b 90 48 8d 43 20
[ 1789.278327] RIP f2fs_submit_page_mbio (fs/f2fs/segment.h:543 fs/f2fs/data.c:181)
[ 1789.278327] RSP <ffff880329c3fc08>
Thanks,
Sasha
------------------------------------------------------------------------------
next reply other threads:[~2014-04-05 15:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-05 15:12 Sasha Levin [this message]
2014-04-07 1:20 ` f2fs: kernel BUG at fs/f2fs/segment.h:543 Jaegeuk Kim
2014-04-07 1:55 ` Sasha Levin
2014-04-07 3:40 ` Jaegeuk Kim
2014-04-09 15:51 ` Chao Yu
2014-04-09 15:57 ` Sasha Levin
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=53401D4A.1020203@oracle.com \
--to=sasha.levin@oracle.com \
--cc=davej@redhat.com \
--cc=jaegeuk.kim@samsung.com \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/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).