e100 driver + kernel 2.6.3 = no full duplex

Submitted by evilcartman
on March 3, 2004 - 2:26pm

My NIC uses the e100 driver. It would not properly autonegotiate with our switches in the office and always came up 100 Mbit half duplex. Based on reading the documentation, I added the following the /etc/modules.conf:

alias eth0 e100
options e100 e100_speed_duplex=4

This works great under kernel 2.4.x and I get 100 Mbit full duplex. However, I recently upgraded to 2.6.3 and dmesg shows that I am only getting half duplex again.

I verified that e100 is compiled as a module, and that the existing entries are still in modules.conf. I checked the driver documentation included in the kernel source and there don't appear to be any changes since the driver for 2.4.

Any ideas on how to get full duplex again with the e100 module?

try mii-tool command to force

Anonymous
on
March 4, 2004 - 4:46am

try mii-tool command to force it to 100 Mbps

check mii-tool manpage for detail

Regards

Thanks. mii-tool did allow me

on
March 5, 2004 - 2:09pm

Thanks. mii-tool did allow me to force the interface to 100/Full. I was just wondering if anyone could comment on why the driver parameter, which doesn't appear from the docs to have changed since 2.4, isn't working in 2.6.x.

try mii-tool command to force

Anonymous
on
April 5, 2004 - 6:13pm

Hi there,

I am using Mandrake 10 with 2.6.3 kernel and mii-tool doesnt work. It says:
[root@appweb2-coomeva logs]# mii-tool
SIOCGMIIPHY on 'eth0' failed: Operation not supported
SIOCGMIIPHY on 'eth1' failed: Operation not supported
no MII interfaces found

The driver that I am using is eepro100, and couriously, this driver depends on the mii driver. Note that both network cards works fine but the transfer speed is slow.

Any idea about how to force 100mbps full duplex with this module??

-William

mii-tool mandrake

Anonymous
on
April 22, 2004 - 5:18pm

some cards dont work.

Try ethtool or some thing like this.

Will works, must have fate ! :)

nodules.conf is now modprobe.conf

Anonymous
on
November 25, 2004 - 3:12am

In kernel 2.6.x (actualy in new modutils) the file modules.conf has been renamed to modprobe.conf. That's why modprobe does not recognise your options for the e100 module

The tg3.h file has this, so I

Ian D. (not verified)
on
June 29, 2005 - 3:16pm

The tg3.h file has this, so I think you need to set it to 5, and in modprobe.conf:

#define MII_TG3_AUX_STAT_10HALF 0x0100
#define MII_TG3_AUX_STAT_10FULL 0x0200
#define MII_TG3_AUX_STAT_100HALF 0x0300
#define MII_TG3_AUX_STAT_100_4 0x0400
#define MII_TG3_AUX_STAT_100FULL 0x0500 <==
#define MII_TG3_AUX_STAT_1000HALF 0x0600
#define MII_TG3_AUX_STAT_1000FULL 0x0700

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.