NIC only find sporadic after kernel update to kernel-2.6.18-164.el5

Issues related to hardware problems
Post Reply
BartSimpson
Posts: 23
Joined: 2007/03/03 10:33:34

NIC only find sporadic after kernel update to kernel-2.6.18-164.el5

Post by BartSimpson » 2009/09/27 07:36:33

Hello,
after update to kernel-2.6.18-164.el5 one of the 2 NIC's of
my machine are only found at 1 of 4 reboots.
Using the old one kernel-2.6.18-128.7.1.el5 all is fine.
This are the to NIC's:
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0b.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0c)

And the Intel one, makes the problems with the new kernel.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: NIC only find sporadic after kernel update to kernel-2.6.18-164.el5

Post by AlanBartlett » 2009/09/27 11:47:15

Please post the output returned by the following --

[code]
[b]for BUSID in $(/sbin/lspci | awk '{ IGNORECASE=1 } /net/ { print $1 }'); do /sbin/lspci -s $BUSID -m; /sbin/lspci -s $BUSID -n; done[/b]
[/code]

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

NIC only find sporadic after kernel update to kernel-2.6.18-

Post by toracat » 2009/09/27 13:08:20

We have to wait for the output from [b]Alan[/b]'s command, but the driver for the Intel Ethernet Pro 100 is enabled only in the centosplus kernel. Are you certain you are/were running the distro kernel?

Here 's the description for eepro100.ko found in the centosplus kernel :

description: Intel i82557/i82558/i82559 PCI EtherExpressPro driver

BartSimpson
Posts: 23
Joined: 2007/03/03 10:33:34

Re: NIC only find sporadic after kernel update to kernel-2.6.18-164.el5

Post by BartSimpson » 2009/09/27 13:28:01

Hello,
this will return:
00:0a.0 "Ethernet controller" "Realtek Semiconductor Co., Ltd." "RTL-8139/8139C/8139C+" -r10 "Realtek Semiconductor Co., Ltd." "RT8139"
00:0a.0 0200: 10ec:8139 (rev 10)
00:0b.0 "Ethernet controller" "Intel Corporation" "82557/8/9/0/1 Ethernet Pro 100" -r0c "Intel Corporation" "EtherExpress PRO/100 S Desktop Adapter"
00:0b.0 0200: 8086:1229 (rev 0c)
Yes I use the orginal kernel that comes with the standart update repo of CentOS.
The kernel use the module e100

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: NIC only find sporadic after kernel update to kernel-2.6.18-164.el5

Post by AlanBartlett » 2009/09/27 13:40:38

And here is the description of the kABI tracking [url=http://elrepo.org/tiki/kmod-e100]kmod-e100[/url] package that is available from [url=//elrepo.org]ELRepo[/url] --

[code]
This package provides the Intel® PRO/100 Network Driver module.
It is built to depend upon the specific ABI provided by a range of releases
of the same variant of the Linux kernel and not on any one specific build.
[/code]
Until we have seen the [i]Vendor:Device ID pairing[/i] for the controller, nothing more can be said.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: NIC only find sporadic after kernel update to kernel-2.6.18-164.el5

Post by AlanBartlett » 2009/09/27 13:45:58

Using the technique described at the bottom of [url=http://elrepo.org/tiki/FAQ]FAQ #4[/url] we can see that the driver module is provided by all releases of the standard [i]CentOS[/i] kernel --

[code]
$ grep 8086 /lib/modules/*/modules.alias | grep 1229
/lib/modules/2.6.18-128.el5/modules.alias:alias pci:v00008086d00001229sv*sd*bc02sc00i* e100
/lib/modules/2.6.18-164.el5/modules.alias:alias pci:v00008086d00001229sv*sd*bc02sc00i* e100
/lib/modules/2.6.18-53.el5/modules.alias:alias pci:v00008086d00001229sv*sd*bc02sc00i* e100
/lib/modules/2.6.18-8.el5/modules.alias:alias pci:v00008086d00001229sv*sd*bc02sc00i* e100
/lib/modules/2.6.18-92.el5/modules.alias:alias pci:v00008086d00001229sv*sd*bc02sc00i* e100
[/code]

[code]
$ find /lib/modules/2.6.18-164.el5 -name e100.ko | xargs /sbin/modinfo -F version
3.5.10-k2-NAPI
$ sudo yum --enablerepo=elrepo info kmod-e100
[i]<snip>[/i]
Available Packages
Name : kmod-e100
Arch : i686
Version : 3.5.17
Release : 1.el5.elrepo
Size : 22 k
Repo : elrepo
Summary : e100 kernel module(s)
URL : http://www.intel.com/
License : GPL v2
Description: This package provides the Intel® PRO/100 Network Driver module for the Linux kernel using the i686 family of processors.
[/code]
Over to [b]toracat[/b]. ;-)

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: NIC only find sporadic after kernel update to kernel-2.6.18-164.el5

Post by toracat » 2009/09/27 13:59:32

Interesting ... [b]Alan[/b], both e100.ko and eepro100.ko have 8086:1229 that was identified by the OP's hardware. But they are not the same.

e100.ko
version: 3.5.10-k2-NAPI
license: GPL
author: Copyright(c) 1999-2005 Intel Corporation
description: Intel(R) PRO/100 Network Driver
alias: pci:v00008086d00001229sv*sd*bc02sc00i*

eepro100.ko
license: GPL
description: Intel i82557/i82558/i82559 PCI EtherExpressPro driver
author: Maintainer: Andrey V. Savochkin
alias: pci:v00008086d00001229sv*sd*bc*sc*i*

Worth offering both? Or one covers the other?

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: NIC only find sporadic after kernel update to kernel-2.6.18-164.el5

Post by AlanBartlett » 2009/09/27 14:25:16

Interesting indeed. :-o

As I do not have the [i]CPlus[/i] kernel sources to hand, I wonder from where [i]CentOS[/i] has obtained the source to that particular driver module.

A later EDIT: Answering my own musing, I've found [i]EtherExpressPro/100 support (eepro100, original Becker driver)[/i] in the kernel sources package.

But returning back to [b]Bart[/b]'s problem, if he has consistent network connectivity with kernel-2.6.18-128.7.1.el5 but only intermittent connectivity with kernel-2.6.18-164.el5, then it does seem as if both [url=https://bugzilla.redhat.com/frontpage.cgi]Upstream[/url] and [url=http://bugs.centos.org/main_page.php]CentOS[/url] bug reports are necessary.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: NIC only find sporadic after kernel update to kernel-2.6.18-164.el5

Post by AlanBartlett » 2009/09/27 17:35:38

The kABI tracking [url=http://elrepo.org/tiki/kmod-eepro100]kmod-eepro100[/url] is now available to download from the [url=//elrepo.org]ELRepo repository[/url].

It provides the identical driver module as the [i]CentOS Plus[/i] kernel and should be used by those who require this driver without all the extra extended functionality of the [i]CPlus[/i] kernel.

[code]
This package provides the eepro100 driver modules for the Intel i82557/i82558/i82559 NICs.
It is built to depend upon the specific ABI provided by a range of releases
of the same variant of the Linux kernel and not on any one specific build.
[/code]
[code]
$ /sbin/modinfo eepro100.ko | head -5
filename: eepro100.ko
license: GPL
description: Intel i82557/i82558/i82559 PCI EtherExpressPro driver
author: Maintainer: Andrey V. Savochkin <saw@saw.sw.com.sg>
srcversion: A63F5A2C972D955BE810E32
[/code]

Post Reply