Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 02-09-2010, 05:17 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 14

Rep: Reputation: 0
suppress eth0 PHY reset messages in syslog??

I'm getting 10000000's of syslog messages :
"eth0: PHY reset until link up"
- I have wireless and don't normally use an ethernet cable. From Googling round I found this bug report which appears to match the problem, however I do not feel happy/competent enough to recompile the driver as suggested in the bug fix.
Is there a way to configure the driver so that it only tries the eth0 connection a limited number of times?

This is Ubuntu 8.04 2.4.26-27 and SIS 191 chipset
Old 02-09-2010, 09:16 PM   #2
Registered: Jan 2010
Posts: 202

Rep: Reputation: 47
You should have read all the responses on the bug web page. This one looks like something you could do without fear of breaking anything:

Emilio wrote on 2009-07-31:	 #4
This is the workaround to stop that really annoying logs that fill the system log with useless information

add this line to /etc/modprobe.d/options.conf

    options sis190 debug=0
You can then remove the module with this command:

sudo rmmod sis190


sudo modprobe sis190

That will reload the module and hopefully remove the logging issue.

You can also reboot the system.

Keep in mind, though, you'll never see errors in syslog for this module again.
Old 02-10-2010, 05:55 AM   #3
LQ Newbie
Registered: Apr 2008
Posts: 14

Original Poster
Rep: Reputation: 0
I don't have this file options.conf:

ls /etc/modprobe.d
aliases                blacklist-local     fuse        ndiswrapper
alsa-base              blacklist-modem     ipw3945     nvidia-kernel-nkc
arch                   blacklist-oss       isapnp      options
arch-aliases           blacklist-scanner   libpisock9  toshiba_acpi.modprobe
blacklist              blacklist-watchdog  libsane
blacklist-framebuffer  bluez               lrm-video
Can I just add it? Is it correct that the eth0 driver will still work?
Old 02-11-2010, 04:38 AM   #4
Registered: Jan 2010
Posts: 202

Rep: Reputation: 47
You can create a new options.conf file in /etc/modprobe.d, named 'options.conf'. Actually, the name of the file doesn't really matter as anything that ends with '.conf' will be parsed in that directory. The module for the ethernet port will work, it just won't fill your syslog logs with spew when it isn't connected.

When you get done making changes, and have reloaded the module, you can test to see if it is still functioning by typing this:

(and I'm assuming it shows up as eth0)

ifconfig eth0 netmask


You should then see ping responses. That's not a permanent configuration change, and will go away when you shut your system down. If that IP interferes with your network, pick another private network IP to use.
1 members found this post helpful.
Old 02-12-2010, 09:21 AM   #5
LQ Newbie
Registered: Apr 2008
Posts: 14

Original Poster
Rep: Reputation: 0

Thanks for the assistance, that works.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to suppress SoftMAC filling system log with messages? zimon Linux - Wireless Networking 3 05-09-2007 12:05 PM
Suppress kernel messages at startup without using quiet switch yolkmeister Linux - General 2 04-06-2007 09:57 AM
kernel: r8169: eth0: Reset RTL8169s PHY seanfitz Linux - Networking 0 09-30-2005 07:12 AM
suppress warning messages h/w Programming 2 10-07-2003 02:56 PM
bash scripting - suppress error messages? brian0918 Programming 2 06-19-2003 11:16 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration