Re: scheduling while atomic & hang.

2013-07-10 Thread J. Bruce Fields
On Thu, Jul 04, 2013 at 03:49:02AM -0400, Dave Jones wrote: > I don't use the auto config, because I end up filling up /boot > unless I go through and clean them out by hand every time I install > a new one (which I do probably a dozen or so times a day). > Is there some easy way to prune old

Re: scheduling while atomic hang.

2013-07-10 Thread J. Bruce Fields
On Thu, Jul 04, 2013 at 03:49:02AM -0400, Dave Jones wrote: I don't use the auto config, because I end up filling up /boot unless I go through and clean them out by hand every time I install a new one (which I do probably a dozen or so times a day). Is there some easy way to prune old builds

Re: scheduling while atomic & hang.

2013-07-06 Thread Ingo Molnar
* Frederic Weisbecker wrote: > On Fri, Jul 05, 2013 at 12:27:51PM -0700, Linus Torvalds wrote: > > On Thu, Jul 4, 2013 at 11:51 PM, Ingo Molnar wrote: > > > > > > It would be nice to have a full-kernel-stack backtrace printout as an > > > option, which prints entries 'above' the current RSP. >

Re: scheduling while atomic & hang.

2013-07-06 Thread Frederic Weisbecker
On Fri, Jul 05, 2013 at 12:27:51PM -0700, Linus Torvalds wrote: > On Thu, Jul 4, 2013 at 11:51 PM, Ingo Molnar wrote: > > > > It would be nice to have a full-kernel-stack backtrace printout as an > > option, which prints entries 'above' the current RSP. > > One problem with that is that it is

Re: scheduling while atomic hang.

2013-07-06 Thread Frederic Weisbecker
On Fri, Jul 05, 2013 at 12:27:51PM -0700, Linus Torvalds wrote: On Thu, Jul 4, 2013 at 11:51 PM, Ingo Molnar mi...@kernel.org wrote: It would be nice to have a full-kernel-stack backtrace printout as an option, which prints entries 'above' the current RSP. One problem with that is that

Re: scheduling while atomic hang.

2013-07-06 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: On Fri, Jul 05, 2013 at 12:27:51PM -0700, Linus Torvalds wrote: On Thu, Jul 4, 2013 at 11:51 PM, Ingo Molnar mi...@kernel.org wrote: It would be nice to have a full-kernel-stack backtrace printout as an option, which prints entries

Re: scheduling while atomic & hang.

2013-07-05 Thread Linus Torvalds
On Thu, Jul 4, 2013 at 11:51 PM, Ingo Molnar wrote: > > It would be nice to have a full-kernel-stack backtrace printout as an > option, which prints entries 'above' the current RSP. One problem with that is that it is likely to be mostly overwritten by the debug code that is about to print this

Re: scheduling while atomic & hang.

2013-07-05 Thread Ingo Molnar
* Frederic Weisbecker wrote: > On Fri, Jul 05, 2013 at 08:51:13AM +0200, Ingo Molnar wrote: > > > > * H. Peter Anvin wrote: > > > > > On 07/03/2013 07:49 PM, Linus Torvalds wrote: > > > >> [] __schedule+0x94f/0x9c0 > > > >> [] schedule_user+0x2e/0x70 > > > >> [] retint_careful+0x12/0x2e > >

Re: scheduling while atomic & hang.

2013-07-05 Thread Frederic Weisbecker
On Fri, Jul 05, 2013 at 08:51:13AM +0200, Ingo Molnar wrote: > > * H. Peter Anvin wrote: > > > On 07/03/2013 07:49 PM, Linus Torvalds wrote: > > >> [] __schedule+0x94f/0x9c0 > > >> [] schedule_user+0x2e/0x70 > > >> [] retint_careful+0x12/0x2e > > > > This call trace does indeed indicate that

Re: scheduling while atomic & hang.

2013-07-05 Thread Ingo Molnar
* H. Peter Anvin wrote: > On 07/03/2013 07:49 PM, Linus Torvalds wrote: > >> [] __schedule+0x94f/0x9c0 > >> [] schedule_user+0x2e/0x70 > >> [] retint_careful+0x12/0x2e > > This call trace does indeed indicate that we took a hardware > interrupt which caused a reschedule. It doesn't

Re: scheduling while atomic hang.

2013-07-05 Thread Ingo Molnar
* H. Peter Anvin h...@zytor.com wrote: On 07/03/2013 07:49 PM, Linus Torvalds wrote: [816f42bf] __schedule+0x94f/0x9c0 [816f487e] schedule_user+0x2e/0x70 [816f6de4] retint_careful+0x12/0x2e This call trace does indeed indicate that we took a hardware interrupt

Re: scheduling while atomic hang.

2013-07-05 Thread Frederic Weisbecker
On Fri, Jul 05, 2013 at 08:51:13AM +0200, Ingo Molnar wrote: * H. Peter Anvin h...@zytor.com wrote: On 07/03/2013 07:49 PM, Linus Torvalds wrote: [816f42bf] __schedule+0x94f/0x9c0 [816f487e] schedule_user+0x2e/0x70 [816f6de4] retint_careful+0x12/0x2e

Re: scheduling while atomic hang.

2013-07-05 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: On Fri, Jul 05, 2013 at 08:51:13AM +0200, Ingo Molnar wrote: * H. Peter Anvin h...@zytor.com wrote: On 07/03/2013 07:49 PM, Linus Torvalds wrote: [816f42bf] __schedule+0x94f/0x9c0 [816f487e]

Re: scheduling while atomic hang.

2013-07-05 Thread Linus Torvalds
On Thu, Jul 4, 2013 at 11:51 PM, Ingo Molnar mi...@kernel.org wrote: It would be nice to have a full-kernel-stack backtrace printout as an option, which prints entries 'above' the current RSP. One problem with that is that it is likely to be mostly overwritten by the debug code that is about

Re: scheduling while atomic & hang.

2013-07-04 Thread H. Peter Anvin
On 07/03/2013 07:49 PM, Linus Torvalds wrote: [] __schedule+0x94f/0x9c0 [] schedule_user+0x2e/0x70 [] retint_careful+0x12/0x2e This call trace does indeed indicate that we took a hardware interrupt which caused a reschedule. It doesn't necessarily have to be a quantum expiration

Re: scheduling while atomic & hang.

2013-07-04 Thread Linus Torvalds
On Thu, Jul 4, 2013 at 12:49 AM, Dave Jones wrote: > > top of tree was 0b0585c3e192967cb2ef0ac0816eb8a8c8d99840 I think. > (That's what it is on my local box that I pull all my test trees from, > and I don't think it changed after I started that run, but I'll > double check on Friday) Ok. So

Re: scheduling while atomic & hang.

2013-07-04 Thread Dave Jones
On Wed, Jul 03, 2013 at 07:49:18PM -0700, Linus Torvalds wrote: > On Wed, Jul 3, 2013 at 6:55 PM, Dave Jones wrote: > > This is a pretty context free trace. What the hell happened here? > > That lack of call trace looks like it happened at the final stage of > an interrupt or page fault or

Re: scheduling while atomic hang.

2013-07-04 Thread Dave Jones
On Wed, Jul 03, 2013 at 07:49:18PM -0700, Linus Torvalds wrote: On Wed, Jul 3, 2013 at 6:55 PM, Dave Jones da...@redhat.com wrote: This is a pretty context free trace. What the hell happened here? That lack of call trace looks like it happened at the final stage of an interrupt or page

Re: scheduling while atomic hang.

2013-07-04 Thread Linus Torvalds
On Thu, Jul 4, 2013 at 12:49 AM, Dave Jones da...@redhat.com wrote: top of tree was 0b0585c3e192967cb2ef0ac0816eb8a8c8d99840 I think. (That's what it is on my local box that I pull all my test trees from, and I don't think it changed after I started that run, but I'll double check on Friday)

Re: scheduling while atomic hang.

2013-07-04 Thread H. Peter Anvin
On 07/03/2013 07:49 PM, Linus Torvalds wrote: [816f42bf] __schedule+0x94f/0x9c0 [816f487e] schedule_user+0x2e/0x70 [816f6de4] retint_careful+0x12/0x2e This call trace does indeed indicate that we took a hardware interrupt which caused a reschedule. It doesn't

Re: scheduling while atomic & hang.

2013-07-03 Thread H. Peter Anvin
I'll look harder at the backtrace tomorrow, but my guess is that the cpu has just gotten a scheduling interrupt (time quantum expired.) Linus Torvalds wrote: >On Wed, Jul 3, 2013 at 6:55 PM, Dave Jones wrote: >> This is a pretty context free trace. What the hell happened here? > >That lack of

Re: scheduling while atomic & hang.

2013-07-03 Thread Linus Torvalds
On Wed, Jul 3, 2013 at 6:55 PM, Dave Jones wrote: > This is a pretty context free trace. What the hell happened here? That lack of call trace looks like it happened at the final stage of an interrupt or page fault or other trap that is about to return to user space. My guess would be that the

scheduling while atomic & hang.

2013-07-03 Thread Dave Jones
This is a pretty context free trace. What the hell happened here? BUG: scheduling while atomic: trinity-child0/13280/0xefff INFO: lockdep is turned off. Modules linked in: dlci dccp_ipv6 dccp_ipv4 dccp sctp bridge 8021q garp stp snd_seq_dummy tun fuse hidp rfcomm bnep can_raw can_bcm

scheduling while atomic hang.

2013-07-03 Thread Dave Jones
This is a pretty context free trace. What the hell happened here? BUG: scheduling while atomic: trinity-child0/13280/0xefff INFO: lockdep is turned off. Modules linked in: dlci dccp_ipv6 dccp_ipv4 dccp sctp bridge 8021q garp stp snd_seq_dummy tun fuse hidp rfcomm bnep can_raw can_bcm

Re: scheduling while atomic hang.

2013-07-03 Thread Linus Torvalds
On Wed, Jul 3, 2013 at 6:55 PM, Dave Jones da...@redhat.com wrote: This is a pretty context free trace. What the hell happened here? That lack of call trace looks like it happened at the final stage of an interrupt or page fault or other trap that is about to return to user space. My guess

Re: scheduling while atomic hang.

2013-07-03 Thread H. Peter Anvin
I'll look harder at the backtrace tomorrow, but my guess is that the cpu has just gotten a scheduling interrupt (time quantum expired.) Linus Torvalds torva...@linux-foundation.org wrote: On Wed, Jul 3, 2013 at 6:55 PM, Dave Jones da...@redhat.com wrote: This is a pretty context free trace.