Here is some information:
xxxx1:~ # modinfo 8139too
filename: /lib/modules/2.4.20-4GB-athlon/kernel/drivers/net/8139too.o
description: "RealTek RTL-8139 Fast Ethernet driver"
author: "Jeff Garzik "
license: "GPL"
parm: multicast_filter_limit int, description "8139too maximum
number of
filtered multicast addresses"
parm: max_interrupt_work int, description "8139too maximum events
handled
per interrupt"
parm: media int array (min = 1, max = 8), description "8139too:
Bits 4+9:
force full duplex, bit 5: 100Mbps"
parm: full_duplex int array (min = 1, max = 8), description "8139too:
Force full duplex for board(s) (1)"
parm: debug int, description "8139too bitmapped message enable
number"
xxxx1:~ #
lsmod gave:
8139too 15752 1
mii 2528 0 [8139too]
the message log gave the following from boot:
Jul 28 08:03:46 xxxx1 kernel: Inspecting /boot/System.map-2.4.20-4GB-athlon
Jul 28 08:03:46 xxxx1 kernel: Loaded 20860 symbols from
/boot/System.map-2.4.20-4GB-athlon.
Jul 28 08:03:46 xxxx1 kernel: Symbols match kernel version 2.4.20.
Jul 28 08:03:46 xxxx1 kernel: Loaded 350 symbols from 16 modules.
Jul 28 08:03:46 xxxx1 kernel: 8139too Fast Ethernet driver 0.9.26
Jul 28 08:03:46 xxxx1 kernel: PCI: Found IRQ 11 for device 00:0b.0
Jul 28 08:03:46 xxxx1 kernel: eth0: RealTek RTL8139 Fast Ethernet at
0xd912e000,
00:e0:7d:78:ae:0d, IRQ 11
Jul 28 08:03:46 xxxx1 kernel: eth0: Identified 8139 chip type 'RTL-8139B'
Jul 28 08:03:46 xxxx1 kernel: eth0: Setting half-duplex based on
auto-negotiated
partner ability 0000.
As you can seen the auto negotiation set half-duplex.
using
xxxx1:~ # ethtool -s eth0 autoneg on
xxxx1:~ # modinfo 8139too
filename: /lib/modules/2.4.20-4GB-athlon/kernel/drivers/net/8139too.o
description: "RealTek RTL-8139 Fast Ethernet driver"
author: "Jeff Garzik "
license: "GPL"
parm: multicast_filter_limit int, description "8139too maximum
number of
filtered multicast addresses"
parm: max_interrupt_work int, description "8139too maximum events
handled
per interrupt"
parm: media int array (min = 1, max = 8), description "8139too:
Bits 4+9:
force full duplex, bit 5: 100Mbps"
parm: full_duplex int array (min = 1, max = 8), description
"8139too: For
ce full duplex for board(s) (1)"
parm: debug int, description "8139too bitmapped message enable
number"
xxxx1:~ #
So, as you can see, the autonegotiation during boot forced half-duplex.
the ethtool command to autonegotiate forced full duplex.
I do not know why. Maybe its a timing thing.
In any case the "fix" is to execute the ethtool command later or after
the 8139too module has been loaded.
That is why I asked where one can insert the ethtool command.
apparently not in /boot.local
apparently not
post-install 8139too /usr/sbin/ethtool -s eth0 autoneg on
in modules.conf
Note, mii-diag is not provided with 8.2 or earlier versions.
-- John
Philipp Thomas wrote:
John Sved [Sun, 27 Jul 2003 23:39:31 +0200]:
post-install 8139too /usr/sbin/ethtool -s eth0 autoneg on
It still does not work.
Sorry, I should have asked first which driver is being used. I simply
assumed that 8139too was being used.
Is there a line beginning with
alias eth0
in your /etc/modules.conf? If yes, which network driver does it point to
(the second parameter for alias)? If there isn't such a line, what does
'lsmod' show?
Philipp