linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 215712] kernel deadlocks while mounting the image
Date: Wed, 23 Mar 2022 23:06:36 +0000	[thread overview]
Message-ID: <bug-215712-13602-2iktX1lkDv@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-215712-13602@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=215712

Christian Kujau (lists@nerdbynature.de) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lists@nerdbynature.de

--- Comment #3 from Christian Kujau (lists@nerdbynature.de) ---
A 5.17 kernel *is* able to mount the image here, but it takes quite some time
to complete:

=======================================
$ time mount -v -t ext4 -o loop,ro,debug tmp.img /mnt/disk/
mount: /dev/loop0 mounted on /mnt/disk.

real    1m32.694s
user    0m0.008s
sys     1m32.665s
=======================================

During that time the CPU is spinning like crazy, but I don't know how to debug
this further as to why it's spinning. perf comes to mind, but maybe something
more ext4 specific is more useful here. dmesg shows, for this mount operation:

=======================================
[  188.269405] [EXT4 FS bs=1024, gc=2, bpg=8192, ipg=2048, mo=a802c818,
mo2=0002]
[  280.932637] EXT4-fs (loop0): mounted filesystem with ordered data mode.
Quota mode: disabled.
[  595.249319] EXT4-fs (loop0): error count since last fsck: 1
[  595.250559] EXT4-fs (loop0): initial error at time 1647888893:
ext4_mb_generate_buddy:756
[  595.253403] EXT4-fs (loop0): last error at time 1647888893:
ext4_mb_generate_buddy:756
=======================================

@Ming, can you share details on how the image has been modified?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2022-03-23 23:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-21 11:56 [Bug 215712] New: kernel deadlocks while mounting the image bugzilla-daemon
2022-03-21 12:32 ` [Bug 215712] " bugzilla-daemon
2022-03-22  2:58 ` bugzilla-daemon
2022-03-23 23:06 ` bugzilla-daemon [this message]
2022-03-24  7:13 ` bugzilla-daemon
2022-03-24 12:21 ` bugzilla-daemon
2022-03-24 12:46 ` bugzilla-daemon

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=bug-215712-13602-2iktX1lkDv@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-ext4@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).