From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754672AbXLAUxd (ORCPT ); Sat, 1 Dec 2007 15:53:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752220AbXLAUxU (ORCPT ); Sat, 1 Dec 2007 15:53:20 -0500 Received: from lazybastard.de ([212.112.238.170]:34834 "EHLO longford.lazybastard.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751824AbXLAUxS convert rfc822-to-8bit (ORCPT ); Sat, 1 Dec 2007 15:53:18 -0500 Date: Sat, 1 Dec 2007 21:47:47 +0100 From: =?utf-8?B?SsO2cm4=?= Engel To: Ingo Molnar Cc: =?utf-8?B?SsO2cm4=?= Engel , Mark Lord , Pavel Machek , Mark Lord , Thomas Gleixner , len.brown@intel.com, Andrew Morton , linux-kernel@vger.kernel.org, linux-pm@lists.linux-foundation.org, rjw@sisk.pl Subject: Re: [BUG] Strange 1-second pauses during Resume-from-RAM Message-ID: <20071201204747.GA6458@lazybastard.org> References: <473C825E.3030307@rtr.ca> <20071115193424.GA31691@elte.hu> <20071115193612.GA751@elte.hu> <20071130125628.GA30773@lazybastard.org> <20071130133546.GB29679@elte.hu> <20071130134312.GA32273@elte.hu> <20071130183510.GA1570@lazybastard.org> <20071130184625.GB9928@elte.hu> <20071201151650.GA5031@lazybastard.org> <20071201183256.GA14052@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20071201183256.GA14052@elte.hu> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 1 December 2007 19:32:56 +0100, Ingo Molnar wrote: > * Jörn Engel wrote: > > > I have to change my qemu setup a little to see the top of those > > dumps... > > btw., if you start qemu like this: > > qemu -cdrom ./cdrom.iso -hda ./hda.img -boot c -full-screen -kernel > ~/bzImage -append "root=/dev/hda1 earlyprintk=serial,ttyS0,9600 > console=tty console=ttyS0,9600 enforcing=0 debug" > > you'll get the inner kernel's serial console log to qemu's standard > output. Pretty useful for capturing kernel crashes. Almost. "-serial stdio" was missing. Much better now. stopped custom tracer. BUG: spinlock recursion on CPU#0, sh/953 lock: c030f280, .magic: dead4ead, .owner: sh/953, .owner_cpu: 0 Pid: 953, comm: sh Not tainted 2.6.24-rc3-ge1cca7e8-dirty #2 [] show_trace_log_lvl+0x35/0x54 [] show_trace+0x2c/0x2e [] dump_stack+0x84/0x8a [] spin_bug+0xa7/0xae [] _raw_spin_lock+0x45/0xfa [] _spin_lock_irqsave+0x68/0x7a [] pit_read+0x14/0x99 [] get_monotonic_cycles+0xf/0x2d [] now+0x2a/0x7c [] ____trace+0x4d/0x1e8 [] __mcount+0x95/0xa6 [] mcount+0x14/0x18 [] lock_acquired+0xe/0x1d7 [] _spin_lock_irqsave+0x70/0x7a [] pit_read+0x14/0x99 [] update_wall_time+0x23/0x692 [] do_timer+0x24/0xb1 [] tick_periodic+0x49/0x84 [] tick_handle_periodic+0x22/0x73 [] timer_interrupt+0x4f/0x56 [] handle_IRQ_event+0x24/0x4f [] handle_edge_irq+0xb8/0x125 [] do_IRQ+0x89/0xa3 [] common_interrupt+0x23/0x28 [] vfs_write+0xa6/0x14c [] sys_write+0x4c/0x70 [] syscall_call+0x7/0xb ======================= I assume you have the latency tracer working. If you could send me your config, I could do a manual config-bisect and see which part of mine causes the problem. Jörn -- Admonish your friends privately, but praise them openly. -- Publilius Syrus