[opensuse-kernel] dmfe /var/log/messages spam
Due to me apparently offending Thor (deity of thunder and lightning), and therefore having to go into my sparepartsbox, I now have a 05:01.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 10) Subsystem: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet Flags: bus master, medium devsel, latency 64, IRQ 16 I/O ports at ec00 [size=128] Memory at f7fff000 (32-bit, non-prefetchable) [size=128] Expansion ROM at f7f80000 [disabled] [size=256K] Capabilities: [50] Power Management version 1 Kernel driver in use: dmfe in my box. The card/driver seems to work just fine, however it spams my /var/log/messages with [ 6233.528227] dmfe: tdes0=7fff0000 [ 6237.651056] dmfe: tdes0=7fff0000 [ 6237.651060] dmfe: tdes0=7fff0000 [ 6237.696019] dmfe: tdes0=7fff0000 [ 6237.696022] dmfe: tdes0=7fff0000 [ 6238.028810] dmfe: tdes0=7fff0000 [ 6238.028814] dmfe: tdes0=7fff0000 [ 6238.073544] dmfe: tdes0=7fff0000 [ 6238.073547] dmfe: tdes0=7fff0000 a couple of times a second. The "adress" seems to correspond with where the memory is located. Any pointers as to what I can do to mute the bugger? I have tried to use the tulip driver, but alas ref bnc (bnc#537016) it does not work. kernel in use embla:~ # uname -rvm 3.0.0-rc6-2-desktop #1 SMP PREEMPT Wed Jul 6 22:58:01 UTC 2011 (56e99da) x86_64 //Bjørn -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Am Sun, 17 Jul 2011 12:56:48 +0200 schrieb Bjørn Lie <bjorn.lie@gmail.com>:
Due to me apparently offending Thor (deity of thunder and lightning), and therefore having to go into my sparepartsbox, I now have a
05:01.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 10) Subsystem: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet Flags: bus master, medium devsel, latency 64, IRQ 16 I/O ports at ec00 [size=128] Memory at f7fff000 (32-bit, non-prefetchable) [size=128] Expansion ROM at f7f80000 [disabled] [size=256K] Capabilities: [50] Power Management version 1 Kernel driver in use: dmfe
in my box. The card/driver seems to work just fine, however it spams my /var/log/messages with
[ 6233.528227] dmfe: tdes0=7fff0000 [ 6237.651056] dmfe: tdes0=7fff0000 [ 6237.651060] dmfe: tdes0=7fff0000 [ 6237.696019] dmfe: tdes0=7fff0000 [ 6237.696022] dmfe: tdes0=7fff0000 [ 6238.028810] dmfe: tdes0=7fff0000 [ 6238.028814] dmfe: tdes0=7fff0000 [ 6238.073544] dmfe: tdes0=7fff0000 [ 6238.073547] dmfe: tdes0=7fff0000
a couple of times a second.
The "adress" seems to correspond with where the memory is located. Any pointers as to what I can do to mute the bugger?
You could try "ethtool -s eth0 msglvl 0x0" and hope that this helps, but that's pure luck :-)
I have tried to use the tulip driver, but alas ref bnc (bnc#537016) it does not work.
kernel in use
embla:~ # uname -rvm 3.0.0-rc6-2-desktop #1 SMP PREEMPT Wed Jul 6 22:58:01 UTC 2011 (56e99da) x86_64
That's of course very old :-) But the code did not change since then... I did look into the kernel source and the output in question is a pr_debug(). Documentation/dynamic-debug-howto.txt says something about pr_debug() and how to control it, but I did not try it yet. Maybe reading up on /usr/src/linux/Documentation/dynamic-debug-howto.txt will be helpful... Good luck :-) -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
sø., 17.07.2011 kl. 21.31 +0200, skrev Stefan Seyfried:
I did look into the kernel source and the output in question is a pr_debug(). Documentation/dynamic-debug-howto.txt says something about pr_debug() and how to control it, but I did not try it yet.
Maybe reading up on /usr/src/linux/Documentation/dynamic-debug-howto.txt will be helpful...
Good luck :-) -- Stefan Seyfried
Thank you! It seems that this is due to kernel still beeing RC. And therefore more debugging is enabled. I just tried to boot a 2.6.39 kernel, and this does not spew stuff into logs. I guess that as soon 3.0 goes golden this problem of mine will disapear on its own. Sorry for the noise. //Bjørn -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Am Mon, 18 Jul 2011 11:11:20 +0200 schrieb Bjørn Lie <bjorn.lie@gmail.com>:
It seems that this is due to kernel still beeing RC. And therefore more debugging is enabled. I just tried to boot a 2.6.39 kernel, and this does not spew stuff into logs.
I guess that as soon 3.0 goes golden this problem of mine will disapear on its own.
I don't think so. I guess the SUSE kernel config was changed to enable dynamic debugging or something like that but the default level was chosen wrong. If none of the kernel hackers is responding here, filing a bug might help to get more sane defaults (pr_debug per default on seems like a bad idea to me). -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Monday 18 July 2011 11:15:14 am Stefan Seyfried wrote:
Am Mon, 18 Jul 2011 11:11:20 +0200
schrieb Bjørn Lie <bjorn.lie@gmail.com>:
It seems that this is due to kernel still beeing RC. And therefore more debugging is enabled. I just tried to boot a 2.6.39 kernel, and this does not spew stuff into logs.
I guess that as soon 3.0 goes golden this problem of mine will disapear on its own.
I don't think so.
I doubt it as well. rc7 is way too close from a release for that kind of experiment. Linus is free to release rc2 as final if he wants to ;)
I guess the SUSE kernel config was changed to enable dynamic debugging or something like that but the default
Doesn't seem so. Dynamic debug was already enabled in the 11.4 kernel, and even in the 11.3 kernel. Oh, it's even there in the SLE11 SP1 kernel already.
level was chosen wrong. If none of the kernel hackers is responding here, filing a bug might help to get more sane defaults (pr_debug per default on seems like a bad idea to me).
It doesn't look like there is any default level to set: dynamic debugging is always off by default, and enabled on a case-by-case basis by the user. So, the fact that the debug message is printed means one of two things: * Either debugging is enabled in the dmfe driver. Then dynamic debugging doesn't matter. * Or debugging isn't enabled in the dmfe driver. Dynamic debugging must have been enabled for this driver somehow. This can be easily verified with: $ grep dmfe /sys/kernel/debug/dynamic_debug/control -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Monday 18 July 2011 12:13:02 pm Jean Delvare wrote:
It doesn't look like there is any default level to set: dynamic debugging is always off by default, and enabled on a case-by-case basis by the user.
So, the fact that the debug message is printed means one of two things:
* Either debugging is enabled in the dmfe driver. Then dynamic debugging doesn't matter.
* Or debugging isn't enabled in the dmfe driver. Dynamic debugging must have been enabled for this driver somehow.
This can be easily verified with:
$ grep dmfe /sys/kernel/debug/dynamic_debug/control
Further investigation shows that hypothesis #1 is correct: linux-3.0-rc7$ grep DDEBUG drivers/net/tulip/Makefile drivers/net/tulip/Makefile:ccflags-$(CONFIG_NET_TULIP) := -DDEBUG and the responsible is: commit 726b65ad444dd142e34d0087fcbba03d16b34ca6 Author: Joe Perches <joe@perches.com> Date: Mon May 9 09:45:22 2011 +0000 tulip: Convert uses of KERN_DEBUG Convert logging messages to more current styles. Added -DDEBUG to Makefile to maintain current message logging. This could be converted to a specific CONFIG_TULIP_DEBUG option. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net> The "maintain current message logging" part apparently doesn't apply to the dfme driver, which isn't touched by the patch as it was already using proper style for debugging messages. The patch per-se looks good and shouldn't be reverted, but I would question the relevance of enabling debugging by default, especially now that dynamic debugging messages exist. I'll turn debugging off by default in our kernel now, and propose that change to upstream and see what they have to say. -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
ma., 18.07.2011 kl. 14.00 +0200, skrev Jean Delvare:
On Monday 18 July 2011 12:13:02 pm Jean Delvare wrote:
I'll turn debugging off by default in our kernel now, and propose that change to upstream and see what they have to say.
Alright, thank you. I'll watch out for your change in KOTD repo, and let you know if the change makes a difference in my case or not. //Bjørn -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
ma., 18.07.2011 kl. 16.03 +0200, skrev Bjørn Lie:
ma., 18.07.2011 kl. 14.00 +0200, skrev Jean Delvare:
On Monday 18 July 2011 12:13:02 pm Jean Delvare wrote:
I'll turn debugging off by default in our kernel now, and propose that change to upstream and see what they have to say.
Alright, thank you. I'll watch out for your change in KOTD repo, and let you know if the change makes a difference in my case or not.
//Bjørn
Upgraded to 3.0.0-rc7-4-desktop from KOTD, and the logspam has ended. Thank you once more. //Bjørn -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Tuesday 19 July 2011 04:11:21 pm Bjørn Lie wrote:
ma., 18.07.2011 kl. 16.03 +0200, skrev Bjørn Lie:
ma., 18.07.2011 kl. 14.00 +0200, skrev Jean Delvare:
On Monday 18 July 2011 12:13:02 pm Jean Delvare wrote:
I'll turn debugging off by default in our kernel now, and propose that change to upstream and see what they have to say.
Alright, thank you. I'll watch out for your change in KOTD repo, and let you know if the change makes a difference in my case or not.
//Bjørn
Upgraded to 3.0.0-rc7-4-desktop from KOTD, and the logspam has ended. Thank you once more.
You're welcome. The upstream patch may take a different form, I'll let you know if I need more testing done by you. -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Hi Bjørn, On Tuesday 19 July 2011 04:11:21 pm Bjørn Lie wrote:
ma., 18.07.2011 kl. 16.03 +0200, skrev Bjørn Lie:
ma., 18.07.2011 kl. 14.00 +0200, skrev Jean Delvare:
On Monday 18 July 2011 12:13:02 pm Jean Delvare wrote:
I'll turn debugging off by default in our kernel now, and propose that change to upstream and see what they have to say.
Alright, thank you. I'll watch out for your change in KOTD repo, and let you know if the change makes a difference in my case or not.
//Bjørn
Upgraded to 3.0.0-rc7-4-desktop from KOTD, and the logspam has ended. Thank you once more.
Upstream picked a different patch for the same issue: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=0b8f... This makes my own patch obsolete, so I'll remove it from our kernel repository now. This should make no difference for you, but please let me know if something unexpected shows up. -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (3)
-
Bjørn Lie
-
Jean Delvare
-
Stefan Seyfried