* Re: 2.6.26-rc5: CFI: Found no ck804xrom @ffc00000 device at location zero
[not found] ` <18513.27708.452410.527696@stoffel.org>
@ 2008-06-12 20:25 ` Jean Delvare
2008-06-13 2:51 ` John Stoffel
2008-06-13 19:39 ` John Stoffel
0 siblings, 2 replies; 3+ messages in thread
From: Jean Delvare @ 2008-06-12 20:25 UTC (permalink / raw)
To: John Stoffel; +Cc: linux-mtd, David Woodhouse, linux-kernel
Hi John,
On Thu, 12 Jun 2008 14:34:36 -0400, John Stoffel wrote:
> I'm running a AMD X2 box with 4gb of RAM, Ubuntu 8.04 x86_64. I just
> rebooted the system and I notice the following repeated messages
> (errors? warnings?) in my dmesg output. I think this is from my
> nForce ethernet chips, but I'm not sure.
>
> [ 13.268005] ck804xrom ck804xrom_init_one(): Unable to register resource 0x00000000ff000000-0x00000000ffffffff - kernel bug?
> [ 13.336752] i2c-adapter i2c-0: nForce2 SMBus adapter at 0x1c00
> [ 13.336786] i2c-adapter i2c-1: nForce2 SMBus adapter at 0x1c40
> [ 13.376771] CFI: Found no ck804xrom @ffc00000 device at location zero
> [ 13.398810] JEDEC: Found no ck804xrom @ffc00000 device at location zero
> (...)
Definitely not related to i2c.
Apparently the messages are coming from drivers/mtd/chips/gen_probe.c.
So I doubt it is related to networking either...
They are debugging messages, but printk(KERN_DEBUG ...) is used where
pr_debug(...) should be. The following (untested) patch should fix it:
Subject: [MTD] No debug message when debugging is disabled
Use pr_debug(...) instead of printk(KERN_DEBUG ...) so that the message
is only printed when debugging is enabled.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
drivers/mtd/chips/gen_probe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.26-rc5.orig/drivers/mtd/chips/gen_probe.c 2008-04-17 04:49:44.000000000 +0200
+++ linux-2.6.26-rc5/drivers/mtd/chips/gen_probe.c 2008-06-12 22:20:12.000000000 +0200
@@ -71,8 +71,8 @@ static struct cfi_private *genprobe_iden
interleave and device type, etc. */
if (!genprobe_new_chip(map, cp, &cfi)) {
/* The probe didn't like it */
- printk(KERN_DEBUG "%s: Found no %s device at location zero\n",
- cp->name, map->name);
+ pr_debug("%s: Found no %s device at location zero\n",
+ cp->name, map->name);
return NULL;
}
--
Jean Delvare
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.26-rc5: CFI: Found no ck804xrom @ffc00000 device at location zero
2008-06-12 20:25 ` 2.6.26-rc5: CFI: Found no ck804xrom @ffc00000 device at location zero Jean Delvare
@ 2008-06-13 2:51 ` John Stoffel
2008-06-13 19:39 ` John Stoffel
1 sibling, 0 replies; 3+ messages in thread
From: John Stoffel @ 2008-06-13 2:51 UTC (permalink / raw)
To: Jean Delvare; +Cc: David Woodhouse, John Stoffel, linux-kernel, linux-mtd
Jean> On Thu, 12 Jun 2008 14:34:36 -0400, John Stoffel wrote:
>> I'm running a AMD X2 box with 4gb of RAM, Ubuntu 8.04 x86_64. I just
>> rebooted the system and I notice the following repeated messages
>> (errors? warnings?) in my dmesg output. I think this is from my
>> nForce ethernet chips, but I'm not sure.
>>
>> [ 13.268005] ck804xrom ck804xrom_init_one(): Unable to register resource 0x00000000ff000000-0x00000000ffffffff - kernel bug?
>> [ 13.336752] i2c-adapter i2c-0: nForce2 SMBus adapter at 0x1c00
>> [ 13.336786] i2c-adapter i2c-1: nForce2 SMBus adapter at 0x1c40
>> [ 13.376771] CFI: Found no ck804xrom @ffc00000 device at location zero
>> [ 13.398810] JEDEC: Found no ck804xrom @ffc00000 device at location zero
>> (...)
Jean> Definitely not related to i2c.
THanks for the help and quick reply. I really should have done more
grepping on the source myself.
Jean> Apparently the messages are coming from
Jean> drivers/mtd/chips/gen_probe.c. So I doubt it is related to
Jean> networking either...
Heh. What the heck am I doing with mtd? *grin* I must have left it
in when I migrated to my new system here.
Jean> They are debugging messages, but printk(KERN_DEBUG ...) is used
Jean> where pr_debug(...) should be. The following (untested) patch
Jean> should fix it:
Jean> Subject: [MTD] No debug message when debugging is disabled
Jean> Use pr_debug(...) instead of printk(KERN_DEBUG ...) so that the message
Jean> is only printed when debugging is enabled.
I'm doing a test compile now and a reboot later on this evening and
I'll let you know how it goes.
John
Jean> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Jean> ---
Jean> drivers/mtd/chips/gen_probe.c | 4 ++--
Jean> 1 file changed, 2 insertions(+), 2 deletions(-)
Jean> --- linux-2.6.26-rc5.orig/drivers/mtd/chips/gen_probe.c 2008-04-17 04:49:44.000000000 +0200
Jean> +++ linux-2.6.26-rc5/drivers/mtd/chips/gen_probe.c 2008-06-12 22:20:12.000000000 +0200
Jean> @@ -71,8 +71,8 @@ static struct cfi_private *genprobe_iden
Jean> interleave and device type, etc. */
Jean> if (!genprobe_new_chip(map, cp, &cfi)) {
Jean> /* The probe didn't like it */
Jean> - printk(KERN_DEBUG "%s: Found no %s device at location zero\n",
Jean> - cp->name, map->name);
Jean> + pr_debug("%s: Found no %s device at location zero\n",
Jean> + cp->name, map->name);
Jean> return NULL;
Jean> }
Jean> --
Jean> Jean Delvare
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.26-rc5: CFI: Found no ck804xrom @ffc00000 device at location zero
2008-06-12 20:25 ` 2.6.26-rc5: CFI: Found no ck804xrom @ffc00000 device at location zero Jean Delvare
2008-06-13 2:51 ` John Stoffel
@ 2008-06-13 19:39 ` John Stoffel
1 sibling, 0 replies; 3+ messages in thread
From: John Stoffel @ 2008-06-13 19:39 UTC (permalink / raw)
To: Jean Delvare; +Cc: David Woodhouse, John Stoffel, linux-kernel, linux-mtd
>>>>> "Jean" == Jean Delvare <khali@linux-fr.org> writes:
This patch fixed my issue with excessive warnings on loading various
mtd drivers.
Tested-by: John stoffel <john@stoffel.org>
Jean> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Jean> ---
Jean> drivers/mtd/chips/gen_probe.c | 4 ++--
Jean> 1 file changed, 2 insertions(+), 2 deletions(-)
Jean> --- linux-2.6.26-rc5.orig/drivers/mtd/chips/gen_probe.c 2008-04-17 04:49:44.000000000 +0200
Jean> +++ linux-2.6.26-rc5/drivers/mtd/chips/gen_probe.c 2008-06-12 22:20:12.000000000 +0200
Jean> @@ -71,8 +71,8 @@ static struct cfi_private *genprobe_iden
Jean> interleave and device type, etc. */
Jean> if (!genprobe_new_chip(map, cp, &cfi)) {
Jean> /* The probe didn't like it */
Jean> - printk(KERN_DEBUG "%s: Found no %s device at location zero\n",
Jean> - cp->name, map->name);
Jean> + pr_debug("%s: Found no %s device at location zero\n",
Jean> + cp->name, map->name);
Jean> return NULL;
Jean> }
Jean> --
Jean> Jean Delvare
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-13 19:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20080612182308.GA1091@ldl.fc.hp.com>
[not found] ` <18513.27708.452410.527696@stoffel.org>
2008-06-12 20:25 ` 2.6.26-rc5: CFI: Found no ck804xrom @ffc00000 device at location zero Jean Delvare
2008-06-13 2:51 ` John Stoffel
2008-06-13 19:39 ` John Stoffel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox