linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
From: Jaegeuk Kim <jaegeuk@kernel.org>
To: "Ondřej Jirman" <megi@xff.cz>
Cc: linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [f2fs-dev] kernel BUG at fs/f2fs/extent_cache.c:730 and subsequent warning (6.2-rc8)
Date: Tue, 7 Mar 2023 09:27:45 -0800	[thread overview]
Message-ID: <ZAd0Ee3V+fhXYxES@google.com> (raw)
In-Reply-To: <20230214225704.pqqisa62pfzj6wz2@core>

Hi,

I think this should fix the issue. By any chance, could you give it a try?

https://patchwork.kernel.org/project/f2fs/patch/20230307151408.58490-1-chao@kernel.org/

Thanks,

On 02/14, Ondřej Jirman wrote:
> On Tue, Feb 14, 2023 at 10:07:23PM +0100, megi xff wrote:
> > Hello,
> > 
> > I'm trying 6.2-rc8 on my Orange Pi PC and noticed this bug in dmesg and
> > locked-up fsync. (impossible to write to the filesystem)
> > 
> > [...]
> >
> > This is a 32bit system.
> 
> A bit of followup... I've tried the same kernel on another 32bit system, and
> also on a 64bit system, and this seems specific to 32bit systems (happens
> on almost every boot). I've run -rc8 and earlier on several 64bit systems
> for many days without issues, but the same kernel bugs out on 32bit systems
> very early during boot.
> 
> Here is more debugging output that can be helpful:
> 
> sysrq w
> 
> [  571.133078] sysrq: Show Blocked State
> [  571.135646] task:kworker/u8:0    state:D stack:0     pid:9     ppid:2      flags:0x00000000
> [  571.135682] Workqueue: writeback wb_workfn (flush-179:0)
> [  571.135720]  __schedule from schedule+0x50/0xa0
> [  571.135744]  schedule from schedule_preempt_disabled+0xc/0x10
> [  571.135763]  schedule_preempt_disabled from __mutex_lock.constprop.0+0x208/0x50c
> [  571.135784]  __mutex_lock.constprop.0 from f2fs_write_data_pages+0x1bc/0x268
> [  571.135807]  f2fs_write_data_pages from do_writepages+0x60/0x19c
> [  571.135828]  do_writepages from __writeback_single_inode+0x2c/0x1e0
> [  571.135845]  __writeback_single_inode from writeback_sb_inodes+0x1d0/0x410
> [  571.135863]  writeback_sb_inodes from __writeback_inodes_wb+0x38/0xe4
> [  571.135880]  __writeback_inodes_wb from wb_writeback+0x170/0x1a8
> [  571.135898]  wb_writeback from wb_workfn+0x1ec/0x370
> [  571.135914]  wb_workfn from process_one_work+0x1e8/0x3e8
> [  571.135941]  process_one_work from worker_thread+0x48/0x540
> [  571.135961]  worker_thread from kthread+0xd4/0xf0
> [  571.135981]  kthread from ret_from_fork+0x14/0x1c
> [  571.136000] Exception stack(0xe0841fb0 to 0xe0841ff8)
> [  571.136012] 1fa0:                                     00000000 00000000 00000000 00000000
> [  571.136024] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [  571.136036] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [  571.136071] task:kworker/u8:1    state:D stack:0     pid:47    ppid:2      flags:0x00000000
> [  571.136088] Workqueue: writeback wb_workfn (flush-179:0)
> [  571.136108]  __schedule from schedule+0x50/0xa0
> [  571.136125]  schedule from schedule_preempt_disabled+0xc/0x10
> [  571.136142]  schedule_preempt_disabled from __mutex_lock.constprop.0+0x208/0x50c
> [  571.136161]  __mutex_lock.constprop.0 from f2fs_write_data_pages+0x1bc/0x268
> [  571.136181]  f2fs_write_data_pages from do_writepages+0x60/0x19c
> [  571.136197]  do_writepages from __writeback_single_inode+0x2c/0x1e0
> [  571.136213]  __writeback_single_inode from writeback_sb_inodes+0x1d0/0x410
> [  571.136231]  writeback_sb_inodes from __writeback_inodes_wb+0x38/0xe4
> [  571.136248]  __writeback_inodes_wb from wb_writeback+0x170/0x1a8
> [  571.136265]  wb_writeback from wb_workfn+0x1ec/0x370
> [  571.136281]  wb_workfn from process_one_work+0x1e8/0x3e8
> [  571.136303]  process_one_work from worker_thread+0x48/0x540
> [  571.136323]  worker_thread from kthread+0xd4/0xf0
> [  571.136341]  kthread from ret_from_fork+0x14/0x1c
> [  571.136359] Exception stack(0xe08e9fb0 to 0xe08e9ff8)
> [  571.136370] 9fa0:                                     00000000 00000000 00000000 00000000
> [  571.136383] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [  571.136395] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [  571.136437] task:kworker/u8:2    state:D stack:0     pid:89    ppid:2      flags:0x00000000
> [  571.136454] Workqueue: writeback wb_workfn (flush-179:0)
> [  571.136473]  __schedule from schedule+0x50/0xa0
> [  571.136489]  schedule from schedule_preempt_disabled+0xc/0x10
> [  571.136507]  schedule_preempt_disabled from __mutex_lock.constprop.0+0x208/0x50c
> [  571.136526]  __mutex_lock.constprop.0 from f2fs_write_data_pages+0x1bc/0x268
> [  571.136546]  f2fs_write_data_pages from do_writepages+0x60/0x19c
> [  571.136562]  do_writepages from __writeback_single_inode+0x2c/0x1e0
> [  571.136579]  __writeback_single_inode from writeback_sb_inodes+0x1d0/0x410
> [  571.136596]  writeback_sb_inodes from __writeback_inodes_wb+0x38/0xe4
> [  571.136613]  __writeback_inodes_wb from wb_writeback+0x170/0x1a8
> [  571.136630]  wb_writeback from wb_workfn+0x1ec/0x370
> [  571.136646]  wb_workfn from process_one_work+0x1e8/0x3e8
> [  571.136669]  process_one_work from worker_thread+0x48/0x540
> [  571.136688]  worker_thread from kthread+0xd4/0xf0
> [  571.136706]  kthread from ret_from_fork+0x14/0x1c
> [  571.136724] Exception stack(0xe0a05fb0 to 0xe0a05ff8)
> [  571.136735] 5fa0:                                     00000000 00000000 00000000 00000000
> [  571.136747] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [  571.136759] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [  571.136855] task:sshd            state:D stack:0     pid:243   ppid:227    flags:0x00000005
> [  571.136880]  __schedule from schedule+0x50/0xa0
> [  571.136899]  schedule from io_schedule+0x34/0x44
> [  571.136916]  io_schedule from folio_wait_bit_common+0x150/0x308
> [  571.136938]  folio_wait_bit_common from __filemap_get_folio+0x1d0/0x3e8
> [  571.136961]  __filemap_get_folio from pagecache_get_page+0xc/0x3c
> [  571.136980]  pagecache_get_page from f2fs_write_begin+0x6c/0xc84
> [  571.136999]  f2fs_write_begin from generic_perform_write+0xa8/0x1b8
> [  571.137019]  generic_perform_write from f2fs_buffered_write_iter+0x40/0x9c
> [  571.137041]  f2fs_buffered_write_iter from f2fs_file_write_iter+0x69c/0x930
> [  571.137061]  f2fs_file_write_iter from vfs_write+0x1bc/0x384
> [  571.137082]  vfs_write from ksys_write+0x54/0xc8
> [  571.137099]  ksys_write from ret_fast_syscall+0x0/0x4c
> [  571.137114] Exception stack(0xe0c8dfa8 to 0xe0c8dff0)
> [  571.137126] dfa0:                   000dd280 00000000 00000005 bea113d4 00000180 00000000
> [  571.137140] dfc0: 000dd280 00000000 00000005 00000004 00000002 005b91b8 bea12724 0000001c
> [  571.137151] dfe0: 00000000 bea11384 b698bf5c b6933c10
> 
> Kind regards,
> 	o.
> 
> 
> > Any ideas or suggestions?
> > 
> > kind regards,
> > 	o.
> 
> 
> _______________________________________________
> Linux-f2fs-devel mailing list
> Linux-f2fs-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

  reply	other threads:[~2023-03-07 17:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-14 21:07 [f2fs-dev] kernel BUG at fs/f2fs/extent_cache.c:730 and subsequent warning (6.2-rc8) Ondřej Jirman
2023-02-14 22:57 ` Ondřej Jirman
2023-03-07 17:27   ` Jaegeuk Kim [this message]
2023-03-07 17:57     ` Ondřej Jirman

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=ZAd0Ee3V+fhXYxES@google.com \
    --to=jaegeuk@kernel.org \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    --cc=megi@xff.cz \
    /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).