Re: 2.4.20 gets duplex wrong on NIC

Bill Davidsen (davidsen@tmr.com)
Thu, 5 Dec 2002 12:24:16 -0500 (EST)


On Tue, 3 Dec 2002, Jeff Garzik wrote:

> Bill Davidsen wrote:
> > In spite of modules.conf the system boots with the NIC in half duplex. I
> > verified this with the mii-tool, I can set it full with mii-tool and it
> > works right (copied a CD image 650MB), and the blade in the switch has
> > been set either full or auto without gain. Yes, I tried the e100 driver as
> > well.
> >
> > Info I think shows this attached to prevent munging, let me know if more
> > is needed.
>
>
> Lots of feedback/questions/response:
>
> When you're on a network, more is always needed :)
>
> Please give _plenty_ of details about what is on the other side of the
> cable: hub? switch? vendor of hub/switch? crossover to another NIC?
> what is the port configuration and what are the capabilities of the
> other end? is it set to autonegotiate (on the other end)?

Cisco 5509 set auto.
>
> Why do you force full duplex? It is often the wrong thing to do.

It gives about 4x throughput...

The network folks say they have the same problem with most NICs and OS, so
they have to teach Windows users to diddle the NIC. At least I came to
them with the workaround. It's possible a known problem with those 10baseT
blades.

>
> For eepro100, you should use module option 'options' to specify
> 10baseT-FD... full_duplex appears to be somewhat redundant in the
> context of your problem.

Okay, I assumed that since a grep showed:
MODULE_PARM(full_duplex, "1-" __MODULE_STRING(8) "i");
that the option was supported. What does it do, if I need to diddle bits
in the options?

> For e100, you should use 'e100_speed_duplex' module option to specify media.
>
> Finally, I would be very interested to know the results of using ethtool
> to set, and get, your media settings. It's in every distro these days,
> plus you can d/l it from http://sf.net/projects/gkernel/

Well, it's not installed at any rate, so I'll have to download it. Timing
uncertain, I'm "off" for the next five days and leaving the site for home
shortly because I have a 131 mile commute and heavy snow. Perhaps from
home tonight.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/