From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: Olaf Hering <olh@suse.de>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] kernel spams syslog every 10 sec with w1 debug
Date: Fri, 12 Aug 2005 19:37:05 +0400 [thread overview]
Message-ID: <20050812153704.GA17148@2ka.mipt.ru> (raw)
In-Reply-To: <20050812150748.GA6774@suse.de>
On Fri, Aug 12, 2005 at 05:07:48PM +0200, Olaf Hering (olh@suse.de) wrote:
>
> Bug 104020 - kernel spams syslog every 10 sec with: w1_driver w1_bus_master1: No devices present on the wire.
>
> After installing 10.0 B1, I found this in my syslog:
> Aug 10 23:40:06 linux kernel: w1_driver w1_bus_master1: No devices present on the wire.
> Aug 10 23:40:16 linux kernel: w1_driver w1_bus_master1: No devices present on the wire.
>
> Signed-off-by: Olaf Hering <olh@suse.de>
>
> drivers/w1/w1.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletion(-)
>
> Index: linux-2.6.13-rc6-aes/drivers/w1/w1.c
> ===================================================================
> --- linux-2.6.13-rc6-aes.orig/drivers/w1/w1.c
> +++ linux-2.6.13-rc6-aes/drivers/w1/w1.c
> @@ -593,7 +593,8 @@ void w1_search(struct w1_master *dev, w1
> * Return 0 - device(s) present, 1 - no devices present.
> */
> if (w1_reset_bus(dev)) {
> - dev_info(&dev->dev, "No devices present on the wire.\n");
> + if (printk_ratelimit())
> + dev_debug(&dev->dev, "No devices present on the wire.\n");
> break;
> }
I would even just replace it with dev_dbg(),
since default 10 seconds timeout is more than printk_ratelimit_jiffies.
I will add such a patch into w1 queue.
Thank you.
--
Evgeniy Polyakov
next prev parent reply other threads:[~2005-08-12 15:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-12 15:07 Olaf Hering
2005-08-12 15:37 ` Evgeniy Polyakov [this message]
[not found] <20050812150748.GA6774@suse.de.suse.lists.linux.kernel>
2005-08-12 15:38 ` Andi Kleen
2005-08-12 15:40 ` Olaf Hering
2005-08-12 16:00 ` Dave Jones
2005-08-24 21:28 ` Hans-Peter Jansen
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=20050812153704.GA17148@2ka.mipt.ru \
--to=johnpol@2ka.mipt.ru \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olh@suse.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
Powered by JetHome