FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-09-2010, 06:50 AM
 
Default Bug#573007: NIC r8169 doesn t start at restart on kernel linux-image-2.6.32-trunk-686

Hi,

i searched the internet and found other guys with the same problem:
http://lists.openwall.net/netdev/2009/03/06/31
http://ubuntuforums.org/archive/index.php/t-615581.html
http://www.linux-community.de/Community/Fragen/Staendig-neue-Bezeichnung-der-Netzwerkschnittstellen

My udev config is:
/etc/udev/rules.d/70-persistent-net.rules

# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x10ec:0x8167 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:30:18:b0:c0:e8", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x10ec:0x8167 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:30:18:b0:c0:e7", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x10ec:0x8167 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:00:00:c0:e7", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x10ec:0x8167 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:00:00:c0:e8", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"

If you need more infos, ask me ;-)

Regards
Spitzauer
--
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100309075055.55320@gmx.net">http://lists.debian.org/20100309075055.55320@gmx.net
 
Old 03-24-2010, 06:21 AM
 
Default Bug#573007: NIC r8169 doesn t start at restart on kernel linux-image-2.6.32-trunk-686

Hi,

yesterday i mad an "aptitude full-upgrade" because i saw the new kernel image 2.6.32-3-686, which may correct my problem.

But now i have really serious problem. The Ethernet is still not working with this kernel and Knoppix too!!! So my rtl8169 is broken and i cannot make that workaround with Knoppix. I had no time to investigate this more.

But maybe it's a firmware problem, because if i made "aptitude full-upgrade" i saw this:

update-initramfs: Generating /boot/initrd.img-2.6.32-3-686
W: Possible missing firmware /lib/firmware/rtl8168d-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl8168d-1.fw for module r8169
Running update-grub.


I tried also Adrien Clerc tip, without success.

Hopefully my onboard network cards have no hardware damage.

Any Suggestion? Thanks!

Spitzauer
--
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100324072120.62820@gmx.net">http://lists.debian.org/20100324072120.62820@gmx.net
 
Old 03-24-2010, 11:57 AM
Ben Hutchings
 
Default Bug#573007: NIC r8169 doesn t start at restart on kernel linux-image-2.6.32-trunk-686

On Wed, 2010-03-24 at 08:21 +0100, spitzauer_77@gmx.de wrote:
> Hi,
>
> yesterday i mad an "aptitude full-upgrade" because i saw the new
> kernel image 2.6.32-3-686, which may correct my problem.
>
> But now i have really serious problem. The Ethernet is still not
> working with this kernel and Knoppix too!!! So my rtl8169 is broken
> and i cannot make that workaround with Knoppix. I had no time to
> investigate this more.
>
> But maybe it's a firmware problem, because if i made "aptitude
> full-upgrade" i saw this:
>
> update-initramfs: Generating /boot/initrd.img-2.6.32-3-686
> W: Possible missing firmware /lib/firmware/rtl8168d-2.fw for module r8169
> W: Possible missing firmware /lib/firmware/rtl8168d-1.fw for module r8169
> Running update-grub.

Only the RTL8168D chips want this firmware, and they appear to mostly
work without it.

> I tried also Adrien Clerc tip, without success.
>
> Hopefully my onboard network cards have no hardware damage.
>
> Any Suggestion? Thanks!

I don't think I saw your original bug report, but the problem seems to
be that the hardware is failing to read all of the MAC address out of
EEPROM:

bad:
[ 4.867561] eth0: RTL8169sc/8110sc at 0xf7c94000, 00:00:00:00:c0:e7, XID 18000000 IRQ 18
[ 4.875112] eth1: RTL8169sc/8110sc at 0xf7cf0000, 00:00:00:00:c0:e8, XID 18000000 IRQ 19

good:
[ 4.868080] eth0: RTL8169sc/8110sc at 0xf7ce2000, 00:30:18:b0:c0:e7, XID 18000000 IRQ 18
[ 4.937598] eth1: RTL8169sc/8110sc at 0xf7d2e000, 00:30:18:b0:c0:e8, XID 18000000 IRQ 19

I don't see any changes to r8169 between kernel versions 2.6.26 and
2.6.32 that might explain this, but it could be dependent on timing.

You may be able to work around this for now:
1. In /etc/udev/rules.d/70-persistent-net.rules, map the broken MAC
addresses to eth0 and eth1.
2. In /etc/network/interfaces, use the hwaddress setting to fix the MAC
addresses.

Ben.

--
Ben Hutchings
I haven't lost my mind; it's backed up on tape somewhere.
 

Thread Tools




All times are GMT. The time now is 09:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org