From: Paul Mackerras <paulus@samba.org>
To: linux-kernel@vger.kernel.org
Subject: ext3 deadlock?
Date: Mon, 13 May 2002 09:29:23 +1000 (EST) [thread overview]
Message-ID: <15582.64211.376045.489317@argo.ozlabs.ibm.com> (raw)
I'm having a problem with 2.5.15 on an old slow powerbook 3400. It
gets stuck during boot at the point where it starts syslogd. At that
point show_state() reveals that kjournald and one of the two syslogd
processes are stuck in D state. The stack trace for kjournald is:
schedule
__wait_on_buffer
journal_commit_transaction
kjournald
The stack trace on the syslogd process looks like this:
schedule
sleep_on
log_wait_commit
journal_stop
journal_force_commit
ext3_force_commit
ext3_sync_file
sys_fsync
The machine will boot up quite happily with a 2.4.19-pre7 kernel.
If I boot with the ext3 filesystems dirty (i.e. stuff in the journal)
it will usually hang while recovering the journal for the /data
filesystem (I have two partitions, root and /data).
I have just tried booting again (with clean filesystems) and this time
I have two rc.sysinit processes stuck in D state, and kjournald is
also stuck in D state. The stack trace for kjournald is as above,
and the stack trace for both rc.sysinit processes is:
schedule
sleep_on
sleep_on_buffer
do_get_write_access
journal_get_write_access
ext3_reserve_inode_write
ext3_mark_inode_dirty
ext3_dirty_inode
__mark_inode_dirty
update_atime
do_generic_file_read
generic_file_read
kernel_read
prepare_binprm
do_execve
sys_execve
I don't see this problem on any of my other powermac systems, but that
could be because this powerbook still has an old LinuxPPC/2000
userland installed on it whereas all my other boxes are running Debian
sid. I have upgraded mount to 2.11r and e2fsprogs to 1.25 on this box
though.
Can anyone suggest where I could start looking to work out why
kjournald is getting stuck in __wait_on_buffer? Where in the code
does the corresponding wakeup happen?
Paul.
next reply other threads:[~2002-05-12 23:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-12 23:29 Paul Mackerras [this message]
2002-05-13 4:08 ` Andrew Morton
2002-05-14 2:15 ` Paul Mackerras
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=15582.64211.376045.489317@argo.ozlabs.ibm.com \
--to=paulus@samba.org \
--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
all inboxes | Powered by JetHome®