All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] Rate-limit the RTC 'missed interrupts' warning.
       [not found] <E1G9EuX-0001AR-0f@smurf.noris.de>
@ 2006-08-05  5:49 ` Andrew Morton
  2006-08-05  6:46   ` Matthias Urlichs
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2006-08-05  5:49 UTC (permalink / raw)
  To: Matthias Urlichs; +Cc: linux-kernel

On Sat, 5 Aug 2006 01:53:08 +0200
Matthias Urlichs <smurf@smurf.noris.de> wrote:

> Cc: recipient list not shown: ;

I'm assuming there was supposed to be a mailing list there.

> Subject: [PATCH] Rate-limit the RTC 'missed interrupts' warning.
> Date: Sat, 5 Aug 2006 01:53:08 +0200
> 
> Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>
> ---
>  drivers/char/rtc.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c
> index 7cac6d0..fbd214f 100644
> --- a/drivers/char/rtc.c
> +++ b/drivers/char/rtc.c
> @@ -1131,7 +1131,8 @@ static void rtc_dropped_irq(unsigned lon
>  
>  	spin_unlock_irq(&rtc_lock);
>  
> -	printk(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n", freq);
> +	if(printk_ratelimit())
> +		printk(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n", freq);
>  
>  	/* Now we have new data */
>  	wake_up_interruptible(&rtc_wait);

What is causing your machine to lose so many RTC interrupts?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Rate-limit the RTC 'missed interrupts' warning.
  2006-08-05  5:49 ` [PATCH] Rate-limit the RTC 'missed interrupts' warning Andrew Morton
@ 2006-08-05  6:46   ` Matthias Urlichs
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Urlichs @ 2006-08-05  6:46 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

Hi,

Andrew Morton:
> > Cc: recipient list not shown: ;
> 
> I'm assuming there was supposed to be a mailing list there.
> 
No, just mutt and/or exim being stupid.
> 
> What is causing your machine to lose so many RTC interrupts?

*One* was probably initializing the Zaptel card(s).

I don't know; the stuff scrolled off the screen way too fast.
(Could that printk itself provoke the condition?)

Aug  4 22:29:22 smurf kernel: rtc: lost some interrupts at 1024Hz.
Aug  4 22:29:53 smurf last message repeated 1526 times
Aug  4 22:30:54 smurf last message repeated 3049 times
Aug  4 22:31:54 smurf last message repeated 3002 times

After patching and rebooting, I haven't seen the message again yet.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
"Our bodies are always exposed to Satan. The maladies
 I suffer are not natural, but Devil's spells."
               [Martin Luther]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-05  6:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1G9EuX-0001AR-0f@smurf.noris.de>
2006-08-05  5:49 ` [PATCH] Rate-limit the RTC 'missed interrupts' warning Andrew Morton
2006-08-05  6:46   ` Matthias Urlichs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.