lkml.org 
[lkml]   [2006]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Patch] jbd commit code deadloop when installing Linux
From
Date
On Tue, 2006-06-27 at 23:40 -0700, Andrew Morton wrote:
> On 28 Jun 2006 12:48:43 +0800
> Zou Nan hai <nanhai.zou@intel.com> wrote:
>
> > We see system hang in ext3 jbd code
> > when Linux install program anaconda copying
> > packages.
> >
> > That is because anaconda is invoked from linuxrc
> > in initrd when system_state is still SYSTEM_BOOTING.
> >
> > Thus the cond_resched checks in journal_commit_transaction
> > will always return 1 without actually schedule,
> > then the system fall into deadloop.
>
> That's a bug in cond_resched().

hummm while this fix is needed... something makes me want to think that
something as complex as an OS installer really shouldn't be running with
SYSTEM_BOOTING state anymore....
shouldn't we start considering running the initrd (esp now with klibc)
as SYSTEM_RUNNING ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-28 11:13    [W:0.233 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site