Re: Re: kjournald stuck in DW< state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ted,

There are not OOPS messages.
The kernel is provided by the CPU vendor. From what I know - the Ext3 code has not been modified.
At the moment I do not have list of modifications the vendor made, and not sure I will be able to get such list. I have the source code so probably I can compare with the stock kernel and see what has been changed.

Upgrading the kernel to 2.6.29 will be difficult. Will it be possible to upgrade / patch the Ext3 code only? Will that work?

I will try with LOCKDEP and see what happens.

Thanks a lot.

Dimitar



Apr 14, 2009 09:16:22 AM, tytso@xxxxxxx wrote:
On Tue, Apr 14, 2009 at 07:06:58AM -0500, dkg_004@xxxxxxxxxxx wrote:
>kjournald D C0284784 0 408 6 (L-TLB)
>[] (schedule+0x0/0x64c) from [] (journal_commit_transaction+0x16c/0x1568)
>[] (journal_commit_transaction+0x0/0x1568) from [] (kjournald+0xbc/0x260)
>[] (kjournald+0x0/0x260) from [] (kthread+0xe8/0x128)
>[] (kthread+0x0/0x128) from [] (do_exit+0x0/0x8c8)

Are you using any other patches or modifications to the kernel? It
looks like the journal_commit_transaction() is blocked waiting for
some transaction to finish:

while (commit_transaction->t_updates) {
DEFINE_WAIT(wait);

prepare_to_wait(&journal->j_wait_updates, &wait,
TASK_UNINTERRUPTIBLE);
if (commit_transaction->t_updates) {
spin_unlock(&commit_transaction->t_handle_lock);
spin_unlock(&journal->j_state_lock);
schedule(); <------------
spin_lock(&journal->j_state_lock);
spin_lock(&commit_transaction->t_handle_lock);
}
finish_wait(&journal->j_wait_updates, &wait);
}

This can happen if the kernel has OOPS'ed while in the middle of an
ext3 operation, or if there is some bug in ext3. The 2.6.21 kernel is
quite old, so there are one or two bug fixes that might possibly apply
to your problem. So the first easy thing to tryy would be to upgrade
to the latest kernel (2.6.29) and see if that fixes your problem.

You might also check your logs to see if there were any OOPS messages
before the system locked up.

And, I would try compiling with LOCKDEP enabled to see if that shows
the problem.

- Ted
_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux