[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#768121: marked as done (RealTek RTL-8169 driver incapable of changing advertised speed without including duplex setting)



Your message dated Sun, 27 Feb 2022 11:57:42 -0800 (PST)
with message-id <621bd7b6.1c69fb81.80ccf.ff37@mx.google.com>
and subject line Closing this bug (BTS maintenance for src:linux bugs)
has caused the Debian Bug report #762791,
regarding RealTek RTL-8169 driver incapable of changing advertised speed without including duplex setting
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
762791: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762791
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: laptop-mode-tools
Version: 1.66-1
Severity: normal

I've found that laptop-mode-tools shuts off the ethernet interface any time
I go on battery, even if it is in use.  After some digging, I found the
cause.

On at least my system (r8169 driver), any time ethtool is called to set the
advertised link speed, it causes a momentary loss of carrier.  This causes
l-m-t to incorrectly think the link was not in use, and shut it off.  The
temporary loss of carrier is an annoying behavior, but not l-m-t's fault. 
It does seem like something that may happen with many NICs, however, not
just mine, so it seems like l-m-t ought to take the possibility into
account.

On a related note, the invocation of ethtool doesn't work at all on at least
that chipset.  Apparently it is necessary to include the duplex setting as
well.  Not including the duplex setting causes ethtool to emit "Cannot
advertise speed X" ...  but still causes the momentary carrier loss.  I
don't know if this requirement/limitation is specific to the r8169 driver. 
Including the duplex setting allows it to actually restrict the link speed.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages laptop-mode-tools depends on:
ii  lsb-base    4.1+Debian13
ii  psmisc      22.21-2
ii  util-linux  2.25.1-5

Versions of packages laptop-mode-tools recommends:
ii  ethtool         1:3.16-1
ii  hdparm          9.43-1.1
ii  net-tools       1.60-26
ii  python-qt4      4.11.2+dfsg-1
pn  sdparm          <none>
ii  udev            215-5+b1
ii  wireless-tools  30~pre9-8

Versions of packages laptop-mode-tools suggests:
ii  acpid  1:2.0.23-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi

This bug was filed for a very old kernel or the bug is old itself
without resolution.

If you can reproduce it with

- the current version in unstable/testing
- the latest kernel from backports

please reopen the bug, see https://www.debian.org/Bugs/server-control
for details.

Regards,
Salvatore

--- End Message ---

Reply to: