public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jordan Russell <jr-list-2007@quo.to>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org,
	Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>,
	john stultz <johnstul@us.ibm.com>
Subject: Re: 2.6.23.1: Random hangs during boot with "tsc" clocksource
Date: Tue, 20 Nov 2007 17:20:00 -0600	[thread overview]
Message-ID: <47436BA0.5050809@quo.to> (raw)
In-Reply-To: <20071106221548.c8d7b41b.akpm@linux-foundation.org>

>> On Fri, 02 Nov 2007 12:10:00 -0500 Jordan Russell <jr-list-2007@quo.to> wrote:
>> Hi,
>>
>> With 2.6.23.1 (stock and Fedora), roughly 50% of the time my system
>> hangs indefinitely during the kernel boot process. The hangs occur in
>> places where normally a brief delay is seen, such as when detecting
>> serial ports, ATA devices, and USB hubs. SysRq+W, when it works, shows
>> tasks stuck inside schedule_timeout and lock_timer_base.
>>
>> I've found, however, that if I override the default "tsc" clocksource
>> with "acpi_pm" by adding "clocksource=acpi_pm" to the kernel command
>> line, the system comes up fine every time. (Zero hangs in ~50 tries.)
>>
>> I never had to do this with stock kernels based on 2.6.22.10 and
>> earlier, which also defaulted to "tsc" on my system.
>>
>> I came across this thread:
>>   http://lkml.org/lkml/2007/10/16/339
>> but I'm not sure if it's the same issue. I've never seen a "Clocksource
>> tsc unstable" message, and the kernel doesn't appear to unwedge itself
>> after 5 minutes (I waited 20 minutes once).

[... snip cpuinfo, dmesg, config ...]

Same problem with 2.6.23.8.

Are there any specific (TSC related?) patches I should try reverting?

Would it help if I captured the dmesg/SysRq output from one of the
hanging boots?

Any other information that might be useful in getting to the bottom of this?

Thanks.
Jordan Russell

  reply	other threads:[~2007-11-20 23:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 17:10 2.6.23.1: Random hangs during boot with "tsc" clocksource Jordan Russell
2007-11-07  6:15 ` Andrew Morton
2007-11-20 23:20   ` Jordan Russell [this message]
2007-11-21 17:10     ` Chuck Ebbert
2007-11-23 18:29       ` Jordan Russell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47436BA0.5050809@quo.to \
    --to=jr-list-2007@quo.to \
    --cc=akpm@linux-foundation.org \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox