lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120712134653.GA19782@localhost>
Date:	Thu, 12 Jul 2012 21:46:53 +0800
From:	Fengguang Wu <wfg@...ux.intel.com>
To:	Al Viro <viro@...iv.linux.org.uk>
Cc:	linux-fsdevel@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: Kernel boot hangs on commit "switch fput to task_work_add"

On Tue, Jul 10, 2012 at 10:18:30PM +0800, wfg@...ux.intel.com wrote:
> Hi Al,
> 
> The linux-next kernel reliably hung after this line:
> 
> [    4.846260] debug: unmapping init [mem 0xffff88000182a000-0xffff8800019fffff]

FYI, in another config (attached), it hangs after:

[    6.803484] debug: unmapping init [mem 0xffffffff81c21000-0xffffffff81cacfff]
modprobe: FATAL: Could not load /lib/modules/3.5.0-rc5-bisect-00086-g4a9ffe8/modules.dep: No such file or directory
^M
[    6.820477] modprobe (462) used greatest stack depth: 5072 bytes left
modprobe: FATAL: Could not load /lib/modules/3.5.0-rc5-bisect-00086-g4a9ffe8/modules.dep: No such file or directory
^M
modprobe: FATAL: Could not load /lib/modules/3.5.0-rc5-bisect-00086-g4a9ffe8/modules.dep: No such file or directory
^M
modprobe: FATAL: Could not load /lib/modules/3.5.0-rc5-bisect-00086-g4a9ffe8/modules.dep: No such file or directory
^M
[    6.851363] 99-trinity (471) used greatest stack depth: 5008 bytes left
modprobe: FATAL: Could not load /lib/modules/3.5.0-rc5-bisect-00086-g4a9ffe8/modules.dep: No such file or directory
^M
modprobe: FATAL: Could not load /lib/modules/3.5.0-rc5-bisect-00086-g4a9ffe8/modules.dep: No such file or directory
^M

Thanks,
Fengguang

> And it's bisected to commit:
> 
>         commit 4a9ffe81385c2af04f296bea05482f34e02ea10d
>         Author: Al Viro <viro@...iv.linux.org.uk>
>         Date:   Sun Jun 24 09:56:45 2012 +0400
> 
>             switch fput to task_work_add
> 
>             ... and schedule_work() for interrupt/kernel_thread callers
>             (and yes, now it *is* OK to call from interrupt).
> 
> I tried add this debug aid:
> 
> init_post(void):
> +       printk(KERN_WARNING "flush_delayed_fput\n");
>         flush_delayed_fput();
> +       printk(KERN_WARNING "flush_delayed_fput done\n");
> 
> And then it hangs after "flush_delayed_fput done". So it's not directly
> freezing inside flush_delayed_fput()..
> 
> Thanks,
> Fengguang



View attachment ".config" of type "text/plain" (50171 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ