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

Issues related to hardware problems

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

Postby 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.
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

Postby AlanBartlett » 2009/09/27 11:47:15

Please post the output returned by the following --

Code: Select all
[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]
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk

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

Postby toracat » 2009/09/27 13:08:20

We have to wait for the output from Alan'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
User avatar
toracat
Forum Moderator
 
Posts: 6687
Joined: 2006/09/03 16:37:24
Location: California, US

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

Postby 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
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

Postby AlanBartlett » 2009/09/27 13:40:38

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

Code: Select all
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.

Until we have seen the Vendor:Device ID pairing for the controller, nothing more can be said.
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk

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

Postby AlanBartlett » 2009/09/27 13:45:58

Using the technique described at the bottom of FAQ #4 we can see that the driver module is provided by all releases of the standard CentOS kernel --

Code: Select all
$ 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: Select all
$ 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.

Over to toracat. ;-)
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk

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

Postby toracat » 2009/09/27 13:59:32

Interesting ... Alan, 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
toracat
Forum Moderator
 
Posts: 6687
Joined: 2006/09/03 16:37:24
Location: California, US

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

Postby AlanBartlett » 2009/09/27 14:25:16

Interesting indeed. :-o

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

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

But returning back to Bart'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 Upstream and CentOS bug reports are necessary.
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk

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

Postby AlanBartlett » 2009/09/27 17:35:38

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

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

Code: Select all
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: Select all
$ /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
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk


Return to CentOS 5 - Hardware Support

Who is online

Users browsing this forum: No registered users and 0 guests