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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140811194126.GF4184@grmbl.mre>
Date:	Tue, 12 Aug 2014 01:11:26 +0530
From:	Amit Shah <amit.shah@...hat.com>
To:	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc:	linux-kernel@...r.kernel.org, riel@...hat.com, mingo@...nel.org,
	laijs@...fujitsu.com, dipankar@...ibm.com,
	akpm@...ux-foundation.org, mathieu.desnoyers@...icios.com,
	josh@...htriplett.org, niv@...ibm.com, tglx@...utronix.de,
	peterz@...radead.org, rostedt@...dmis.org, dhowells@...hat.com,
	edumazet@...gle.com, dvhart@...ux.intel.com, fweisbec@...il.com,
	oleg@...hat.com, sbw@....edu
Subject: Re: [PATCH tip/core/rcu 1/2] rcu: Parallelize and economize NOCB
 kthread wakeups

On (Mon) 11 Aug 2014 [09:28:07], Paul E. McKenney wrote:
> On Mon, Aug 11, 2014 at 12:43:08PM +0530, Amit Shah wrote:
> > On (Fri) 08 Aug 2014 [14:46:48], Paul E. McKenney wrote:
> > > On Fri, Aug 08, 2014 at 02:43:47PM -0700, Paul E. McKenney wrote:
> > > > On Sat, Aug 09, 2014 at 12:04:24AM +0530, Amit Shah wrote:
> > > > > On (Fri) 08 Aug 2014 [11:18:35], Paul E. McKenney wrote:
> > > > 
> > > > [ . . . ]
> > > > 
> > > > > > Hmmm... What happens if you boot a7d7a143d0b4cb1914705884ca5c25e322dba693
> > > > > > with the kernel parameter "acpi=off"?
> > > > > 
> > > > > That doesn't change anything - still hangs.
> > > > > 
> > > > > I intend to look at this more on Monday, though - turning in for
> > > > > today.  In the meantime, if there's anything else you'd like me to
> > > > > try, please let me know.
> > > > 
> > > > OK, given that I still cannot reproduce it, I do need your help with
> > > > the diagnostics.  And so what sorts of diagnostics work for you in
> > > > the hung state?  Are you able to dump ftrace buffers?
> > > > 
> > > > If you are able to dump ftrace buffers, please enable rcu:rcu_nocb_wake
> > > > and send me the resulting trace.
> > > 
> > > And another random kernel boot parameter to try is rcu_nocb_poll.
> > 
> > Right, this gets the boot going again:
> 
> OK, that likely indicates a lost wakeup.  The event tracing enabled by
> "rcu:rcu_nocb_wake" should help track those down.  Last time, it was qemu
> losing the wakeups, but maybe it is RCU this time.  ;-)

The guest goes dead pretty early; is there a trick to enabling and
getting these traces out of the guest that I don't know of that
doesn't involve being booted into userspace?  I can perhaps try
getting the trace output out from a virtio-serial channel; but even
that driver isn't probed yet when the lockup happens.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ