Francois Romieu wrote:
If you can do an extra test, I'd like to know if you can safely bring
the r8169 interface down on your computer once the patch below if applied:
(it should apply correctly on top of you current setup)
I can, with and without that patch.
But I encounter problems bringing the interface back up and down again.
If I do the following after a reboot:
I find that the "ip link set dev eth0 down" command hangs, consuming
most of the CPU time (~99%). Note that I issued the "network" commands
with about a second's delay between each command.
This is with a static IP address. If the IP address is assigned via
DHCP, then the DHCP client hangs in the "network start" command.
I'm running Fedora Core 3 + all the latest security updates.
One more thing:
With 1.6LK + my PHY patch, I see the message "eth0: PHY reset until link
up" every 5 seconds or so, when there is no Ethernet cable plugged in.
This is annoying. I think it should only log it once.
Hmmm... One could argue that 1) syslog will cope and 2) the printk level
of the console can be lowered. Some event kamasutra can probably be done
from userspace too so I am a bit reluctant to special case this code
(read as: I'd welcome more requests/complaints).
Is it enough for you if I salt the code with a few netif_msg_xxx() here
and there to control the messages ?
That sounds good.
I'm happy to submit a patch to do this, if you'd like. Note that I'm new
to kernel programming, so it might take me a while.
Bye, Rich =]
Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ]
"You can't evaluate a man by logic alone."
-- McCoy, "I, Mudd", Star Trek