Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* "e100" ethernet driver problem in AC-1.0 and Centos-4.2
@ 2005-10-20 22:19 Jay.Estabrook
  2005-10-20 22:39 ` upi
  0 siblings, 1 reply; 3+ messages in thread
From: Jay.Estabrook @ 2005-10-20 22:19 UTC (permalink / raw)


[The "e100" driver is used for Intel NIC chipsets 82557/8/9.]

The "e100" NIC driver in current AC-1.0 and Centos-4.2 kernels
(2.6.11-1.1180axp_FC3 and 2.6.9-22.EC, respectively), has a problem
with causing large numbers of kernel unaligned accesses.

Doing an NFS "Everything" install of AC-1.0 caused more than 10 million
unaligned accesses from the "e100" driver. I'm expecting the NFS install
of CentOS-4.2 to be roughly the same.

But this affects ALL network traffic, not just NFS installs (that was just
an example of the magnitude of the problem).

Someone needs to fix this in our kernels (perhaps its already done in
later ones but not backported?), but in the meantime, thankfully,
there's an easy work-around: replace the "e100" driver with the
"eepro100" one, which doesn't have the problem.

You can test for use of "e100" by:

	lsmod | grep e100

You can replace it on a running system by (at the console):

	service network stop
	rmmod e100
	modprobe -v eepro100
	service network start

And finally, edit the /etc/modprobe.conf line:

	alias eth0 e100

to be

	alias eth0 eepro100

so it will use the other driver on the next reboot.

I think these techniques are OK; if not, someone please correct me.

Here's to more efficient network activity on Alpha... ;-}

 --Jay++

---------------------------------------------------------------
Jay A Estabrook                            HPTC - XC I & B
Hewlett-Packard Company - ZKO1-3/D-B.8     (603) 884-0301
110 Spit Brook Road, Nashua NH 03062       Jay.Estabrook at hp.com
---------------------------------------------------------------



^ permalink raw reply	[flat|nested] 3+ messages in thread

* "e100" ethernet driver problem in AC-1.0 and Centos-4.2
  2005-10-20 22:19 "e100" ethernet driver problem in AC-1.0 and Centos-4.2 Jay.Estabrook
@ 2005-10-20 22:39 ` upi
  2005-10-21 15:24   ` Jay.Estabrook
  0 siblings, 1 reply; 3+ messages in thread
From: upi @ 2005-10-20 22:39 UTC (permalink / raw)


Hi,


On Thu, Oct 20, 2005 at 06:19:47PM -0400, Jay Estabrook wrote:
> [The "e100" driver is used for Intel NIC chipsets 82557/8/9.]
> 
> The "e100" NIC driver in current AC-1.0 and Centos-4.2 kernels
> (2.6.11-1.1180axp_FC3 and 2.6.9-22.EC, respectively), has a problem
> with causing large numbers of kernel unaligned accesses.
> 
> Doing an NFS "Everything" install of AC-1.0 caused more than 10 million
> unaligned accesses from the "e100" driver. I'm expecting the NFS install
> of CentOS-4.2 to be roughly the same.
> 

I don't frankly remember anymore how it was with above AlphaCore
kernel, but there definetly is something funky going on with the
2.6.9-22.EC too. I don't see any unalligned access with it (as in
dmesg), but when there is heavy NFS-load (like install or when i do
move stuff between my ES45 and my NFS-server) there is these

NETDEV WATCHDOG: eth0: transmit timed out
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex

eevery 15secs or so and the traffic just stops for few secs and starts
again.

My card being one of those compaq dual/quad (mine is dual) adapters.

0003:04:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05)
0003:04:05.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05)

This is something tagged with 'have to resolve sooner or later' in my
TODO-list.



-- 
Pasi Pirhonen - upi at iki.fi - http://iki.fi/upi/



^ permalink raw reply	[flat|nested] 3+ messages in thread

* "e100" ethernet driver problem in AC-1.0 and Centos-4.2
  2005-10-20 22:39 ` upi
@ 2005-10-21 15:24   ` Jay.Estabrook
  0 siblings, 0 replies; 3+ messages in thread
From: Jay.Estabrook @ 2005-10-21 15:24 UTC (permalink / raw)


On Fri, Oct 21, 2005 at 01:39:09AM +0300, Pasi Pirhonen wrote:
> 
> I don't frankly remember anymore how it was with above AlphaCore
> kernel, but there definetly is something funky going on with the
> 2.6.9-22.EC too. I don't see any unalligned access with it (as in
> dmesg), but when there is heavy NFS-load (like install or when i do
> move stuff between my ES45 and my NFS-server) there is these
> 
> NETDEV WATCHDOG: eth0: transmit timed out
> e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
> 
> every 15secs or so and the traffic just stops for few secs and starts
> again.

Oh, I've been seeing those as well.

I've been assuming that it was related; I guess we'll see.

Easiest way to attack this is to build the "e100" driver into the
kernel, then the faulting addresses will be KSEG/physical and not
dynamic/virtual.

> My card being one of those compaq dual/quad (mine is dual) adapters.

Yup, that's a DE602 (dual).

 --Jay++

---------------------------------------------------------------
Jay A Estabrook                            HPTC - XC I & B
Hewlett-Packard Company - ZKO1-3/D-B.8     (603) 884-0301
110 Spit Brook Road, Nashua NH 03062       Jay.Estabrook at hp.com
---------------------------------------------------------------



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-21 15:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20 22:19 "e100" ethernet driver problem in AC-1.0 and Centos-4.2 Jay.Estabrook
2005-10-20 22:39 ` upi
2005-10-21 15:24   ` Jay.Estabrook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox