All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] e1000e driver won't set speed?
@ 2018-02-19 22:27 Phillip Susi
  2018-02-20  1:14 ` Alexander Duyck
  0 siblings, 1 reply; 3+ messages in thread
From: Phillip Susi @ 2018-02-19 22:27 UTC (permalink / raw)
  To: intel-wired-lan

I have a cable drop in a room in my house that apparently has some bad
pairs.  I made sure to wire it such that the two good pairs it has are
the ones that 10BaseT needs.  I know that higher speeds need all pairs,
but 10BaseT should work fine with just the two.  It keeps trying and
failing to link, I think because it is trying to go to gigabit and that
won't work with only the two good pairs.

I tried to force it to stay at 10 Mbps, but it doesn't work.  Why?  I
get the same results trying this on both a laptop and a desktop system
using the e1000e driver:

ethtool -s enp0s31f6 speed 10
Cannot advertise speed 10

Am I doing something wrong or is this a bug?


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

* [Intel-wired-lan] e1000e driver won't set speed?
  2018-02-19 22:27 [Intel-wired-lan] e1000e driver won't set speed? Phillip Susi
@ 2018-02-20  1:14 ` Alexander Duyck
  2018-02-20  1:54   ` Neftin, Sasha
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Duyck @ 2018-02-20  1:14 UTC (permalink / raw)
  To: intel-wired-lan

On Mon, Feb 19, 2018 at 2:27 PM, Phillip Susi <psusi@ubuntu.com> wrote:
> I have a cable drop in a room in my house that apparently has some bad
> pairs.  I made sure to wire it such that the two good pairs it has are
> the ones that 10BaseT needs.  I know that higher speeds need all pairs,
> but 10BaseT should work fine with just the two.  It keeps trying and
> failing to link, I think because it is trying to go to gigabit and that
> won't work with only the two good pairs.
>
> I tried to force it to stay at 10 Mbps, but it doesn't work.  Why?  I
> get the same results trying this on both a laptop and a desktop system
> using the e1000e driver:
>
> ethtool -s enp0s31f6 speed 10
> Cannot advertise speed 10
>
> Am I doing something wrong or is this a bug?

You will need to either turn off  "autoneg" or also provide a "duplex"
option. So you should be able to get it to work with something like:
    ethtool -s enp0s31f6 speed 10 duplex full

Thanks.

- Alex

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

* [Intel-wired-lan] e1000e driver won't set speed?
  2018-02-20  1:14 ` Alexander Duyck
@ 2018-02-20  1:54   ` Neftin, Sasha
  0 siblings, 0 replies; 3+ messages in thread
From: Neftin, Sasha @ 2018-02-20  1:54 UTC (permalink / raw)
  To: intel-wired-lan

On 2/19/2018 17:14, Alexander Duyck wrote:
> On Mon, Feb 19, 2018 at 2:27 PM, Phillip Susi <psusi@ubuntu.com> wrote:
>> I have a cable drop in a room in my house that apparently has some bad
>> pairs.  I made sure to wire it such that the two good pairs it has are
>> the ones that 10BaseT needs.  I know that higher speeds need all pairs,
>> but 10BaseT should work fine with just the two.  It keeps trying and
>> failing to link, I think because it is trying to go to gigabit and that
>> won't work with only the two good pairs.
>>
>> I tried to force it to stay at 10 Mbps, but it doesn't work.  Why?  I
>> get the same results trying this on both a laptop and a desktop system
>> using the e1000e driver:
>>
>> ethtool -s enp0s31f6 speed 10
>> Cannot advertise speed 10
>>
>> Am I doing something wrong or is this a bug?
> 
> You will need to either turn off  "autoneg" or also provide a "duplex"
> option. So you should be able to get it to work with something like:
>      ethtool -s enp0s31f6 speed 10 duplex full
> 
> Thanks.
> 
> - Alex
> _______________________________________________
> Intel-wired-lan mailing list
> Intel-wired-lan at osuosl.org
> https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
> 
in case you want work in half duplex mode probably you want use follow 
command: ethtool -s enp0s31f6 speed 10 duplex half autoneg off
Also, more appropriate place to submit your questions is 
e1000-devel at lists.sourceforge.net mailing list.
Thanks,
Sasha

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

end of thread, other threads:[~2018-02-20  1:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-19 22:27 [Intel-wired-lan] e1000e driver won't set speed? Phillip Susi
2018-02-20  1:14 ` Alexander Duyck
2018-02-20  1:54   ` Neftin, Sasha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.