Public bug reported:

The sis190 driver generates a "PHY reset until link up" message on the
system logs every 5 or 10 seconds. That means that when you type 'dmesg'
there is A LOT of useless logs.

Cause: the network cable is not connected.

Fix:
Unload the current drivers:
sudo modprobe -v -r sis190

Download the kernel source code (2.6.24-19-generic)
 edit this file on the kernel source: drivers/net/sis190.c
and change this:
#define SIS190_MSG_DEFAULT (NETIF_MSG_DRV | NETIF_MSG_PROBE | \
NETIF_MSG_LINK | NETIF_MSG_IFUP | \
NETIF_MSG_IFDOWN)

for this:
/*dc740 FIX:
Disable a really annoying driver log.
"PHY reset until link up."
*/
#define SIS190_MSG_DEFAULT (NETIF_MSG_DRV | NETIF_MSG_PROBE | \
NETIF_MSG_IFUP | NETIF_MSG_IFDOWN)


after changing the driver source code then we compile and install the new 
modified and fixed driver, like this:
sudo make drivers/net/sis190.ko
sudo cp drivers/net/sis190.ko /lib/modules/`uname -r`/kernel/drivers/net/
sudo modprobe -v sis190
sudo ifconfig eth0 up


And the problem is gone.

This happens because the driver logs that the cable link y down by default, 
thanks to this: "NETIF_MSG_LINK"
Of course this log is useless and it souldn't be there. The easy fix is to 
change the default logging parameters.

lsb_release -rd
Description:    Ubuntu 8.04.1
Release:        8.04

I hope to see this change on the next kernel release, but I don't know
where to report it.

Thanks for your time

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
PHY reset until link up excesive log on dmesg
https://bugs.launchpad.net/bugs/270184
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to