Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
r8169 Gigabit Ethernet [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MetalWarrior
Guru
Guru


Joined: 07 Nov 2004
Posts: 347
Location: Malè (Trento), Italy

PostPosted: Fri Nov 18, 2005 9:25 am    Post subject: r8169 Gigabit Ethernet [SOLVED] Reply with quote

Hi,
I'm having some problems with my Gigabit Ethernet, which continuously prints on dmesg:

Code:

eth1: PHY reset until link up


Code:

#lspci

0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
0000:00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 04)
0000:00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
0000:00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
0000:01:03.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
0000:01:07.0 Network controller: Intel Corporation PRO/Wireless 2915ABG MiniPCI Adapter (rev 05)
0000:01:0a.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
0000:01:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
0000:03:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce Go 6600] (rev a2)


Code:

#uname -r

2.6.13-gentoo-r5   // I'm also trying with the new 2.6.14-r2 but it gives me more problems..


Any suggestion?
_________________
(Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html


Last edited by MetalWarrior on Sat Jan 21, 2006 9:53 am; edited 1 time in total
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1991
Location: Poland

PostPosted: Fri Nov 18, 2005 12:56 pm    Post subject: Reply with quote

It's really not a problem with card, check quality of your network cable.
Back to top
View user's profile Send private message
MetalWarrior
Guru
Guru


Joined: 07 Nov 2004
Posts: 347
Location: Malè (Trento), Italy

PostPosted: Fri Nov 18, 2005 3:04 pm    Post subject: Reply with quote

Sorry, I think it IS a problem of the card, because it prints that message ONLY while there is no cable attached to it..
_________________
(Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1991
Location: Poland

PostPosted: Fri Nov 18, 2005 6:48 pm    Post subject: Reply with quote

Then this is normal behaviour, you have nothing to worry about.
Back to top
View user's profile Send private message
MetalWarrior
Guru
Guru


Joined: 07 Nov 2004
Posts: 347
Location: Malè (Trento), Italy

PostPosted: Fri Nov 18, 2005 9:25 pm    Post subject: Reply with quote

I tought there was something wrong.. For the moment, I removed the two lines that print on the kernel log the message from the /usr/src/linux/drivers/net/r8169.c file.
BTW, thank you for your answer! :D
_________________
(Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html
Back to top
View user's profile Send private message
GMFTatsujin
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2003
Posts: 104

PostPosted: Thu Dec 22, 2005 5:42 pm    Post subject: I hate this message Reply with quote

This may be a normal message, but when the cable is disconnected and I know it, the message is basically taking up space in the log and burying potentially more important messages from elsewhere . . . is there any way to suppress this error message? Is the driver causing it, or some monitoring application, or what?
Back to top
View user's profile Send private message
MetalWarrior
Guru
Guru


Joined: 07 Nov 2004
Posts: 347
Location: Malè (Trento), Italy

PostPosted: Fri Dec 23, 2005 10:16 am    Post subject: Reply with quote

If you simply want to remove the message (and not the cause of the message), edit the file /usr/src/linux/drivers/net/r8169.c and comment the following two lines:
Code:

//if (netif_msg_link(tp))
      //printk(KERN_WARNING "%s: PHY reset until link up\n", dev->name);

Then recompile the kernel and you won't have the message in your logs. anymore.
_________________
(Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html
Back to top
View user's profile Send private message
MetalWarrior
Guru
Guru


Joined: 07 Nov 2004
Posts: 347
Location: Malè (Trento), Italy

PostPosted: Sat Jan 21, 2006 9:53 am    Post subject: Reply with quote

Now, with kernel 2.6.14-gentoo-r5 the problem disappeared, so I'll put SOLVED on this thread :-)
_________________
(Our) system as a whole is more or less the GNU system, with Linux added.
When you're talking about this combination, please call it ``GNU/Linux''. ~ Richard Stallman
http://www.gnu.org/gnu/why-gnu-linux.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum