public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Walle <bwalle@suse.de>
To: Gabor Gombas <gombasg@sztaki.hu>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: Solid freezes with 2.6.25
Date: Fri, 25 Jul 2008 11:04:38 +0200	[thread overview]
Message-ID: <20080725110438.463d0f04@halley.suse.de> (raw)
In-Reply-To: <20080725085206.GA6669@boogie.lpds.sztaki.hu>

* Gabor Gombas [2008-07-25 10:52]:
>
> On Sun, Jun 15, 2008 at 07:11:41PM +0200, Gabor Gombas wrote:
> > On Tue, May 13, 2008 at 04:39:29PM +0200, Gabor Gombas wrote:
> > > On Mon, May 12, 2008 at 02:21:46PM +0200, Bernhard Walle wrote:
> > > 
> > > > Well, can you try if that really not happens without
> > > > CONFIG_HPET_EMULATE_RTC? The question is if that 64 interrupts per second really
> > > > cause a machine hang ...
> > > 
> > > I'll try when I have a little time...
> > 
> > Ok, it took much more time than I'd have liked, but now I'm having:
> > 
> > $ uname -a
> > Linux boogie 2.6.25 #3 SMP Thu Jun 12 13:32:35 CEST 2008 x86_64 GNU/Linux
> > $ grep EMULATE_RTC /boot/config-2.6.25
> > # CONFIG_HPET_EMULATE_RTC is not set
> > $ uptime
> >  19:07:17 up 3 days,  4:07, 12 users,  load average: 0.14, 0.31, 0.20
> > 
> > So I'd say it works.
> 
> FYI, the bug is still present in 2.6.26. I also got the same hang on a
> Dell PowerEdge 850 using a Debian-provided kernel (based on 2.6.25.6);
> that is the 3rd distinct HW configuration that hangs.

Did you try that patch?

-------------- 8< ---------------------------------------------------
From: David Brownell <dbrownell@users.sourceforge.net>

Resolve http://bugzilla.kernel.org/show_bug.cgi?id=11051 and other bugs
related to the way the HPET glue code in rtc-cmos was incomplete and
inconsistent:

 * Switch the approach so that the basic driver code flow isn't
   changed by having HPET ... instead, just have HPET shadow the
   RTC_CONTROL irq enables and RTC_FREQ_SELECT data.  It's only
   coping with IRQ thievery, after all.

 * Do that consistently (!!) to avoid problems when the HPET code
   is out of sync with the real RTC intent.  Examples include:

   - cmos_procfs(), which now reports correct data

   - cmos_irq_set_state() ... also removing the previous PIE_{ON,OFF}
     ioctl support so only one code path manages "periodic" IRQs

   - cmos_do_shutdown() ... currently a "just in case" change.

   - cmos_suspend() and cmos_resume() ... also handling a bug that
     was specific to HPET's IRQ thievery, where the alarm wasn't
     disabled after waking the system

 * Always call that HPET code under the RTC spinlock (it doesn't do
   its own locking)
-------------- >8 ---------------------------------------------------


Bernhard
-- 
Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development

  reply	other threads:[~2008-07-25  9:04 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-28 14:29 Solid freezes with 2.6.25 Gabor Gombas
2008-04-28 14:54 ` Oliver Pinter
2008-04-28 14:59   ` Gabor Gombas
2008-04-28 16:25 ` Andrew Morton
2008-04-29  9:50   ` Bernhard Walle
2008-04-29  9:53     ` Gabor Gombas
2008-04-29 15:54   ` Bernhard Walle
2008-04-30 13:38     ` Gabor Gombas
2008-04-30 14:51       ` Bernhard Walle
2008-05-07 11:43         ` Gabor Gombas
2008-05-07 12:45           ` Bernhard Walle
2008-05-07 13:42             ` Gabor Gombas
2008-05-12 12:21               ` Bernhard Walle
2008-05-13 14:39                 ` Gabor Gombas
2008-06-15 17:11                   ` Gabor Gombas
2008-07-25  8:52                     ` Gabor Gombas
2008-07-25  9:04                       ` Bernhard Walle [this message]
2008-08-25 12:27                         ` Gabor Gombas
2008-04-29  7:24 ` Gabor Gombas
2008-04-29  7:37   ` Andrew Morton
2008-04-29  9:43     ` Gabor Gombas

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=20080725110438.463d0f04@halley.suse.de \
    --to=bwalle@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=gombasg@sztaki.hu \
    --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