Package: laptop-mode-tools Version: 1.66-2 Severity: normal Hi!
This *may* be related to #786444, but I'm not sure so I'm reporting separately. On my Thinkpad, I'm seeing laptop-mode always disable the wired interface eth0 when power is removed, even when I'm using the interface and it clearly has link. However, I can see something is buggering with things here on the networking front. If I run "ip link show eth0" multiple times while I disconnect and reconnect the power cable, I get the following weirdness. Both shortly after disconnection and shortly after reconnection, I'm seeing a short period of NO-CARRIER. Maybe something is causing a re-negotiate here - some of the other calls to ethtool in the ethernet module? tack:/etc/laptop-mode/conf.d# ip link show eth0 18: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether f0:de:f1:e3:0d:ab brd ff:ff:ff:ff:ff:ff tack:/etc/laptop-mode/conf.d# ip link show eth0 18: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000 link/ether f0:de:f1:e3:0d:ab brd ff:ff:ff:ff:ff:ff tack:/etc/laptop-mode/conf.d# ip link show eth0 18: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether f0:de:f1:e3:0d:ab brd ff:ff:ff:ff:ff:ff tack:/etc/laptop-mode/conf.d# ip link show eth0 18: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether f0:de:f1:e3:0d:ab brd ff:ff:ff:ff:ff:ff tack:/etc/laptop-mode/conf.d# ip link show eth0 18: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether f0:de:f1:e3:0d:ab brd ff:ff:ff:ff:ff:ff tack:/etc/laptop-mode/conf.d# ip link show eth0 18: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether f0:de:f1:e3:0d:ab brd ff:ff:ff:ff:ff:ff tack:/etc/laptop-mode/conf.d# ip link show eth0 18: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether f0:de:f1:e3:0d:ab brd ff:ff:ff:ff:ff:ff tack:/etc/laptop-mode/conf.d# ip link show eth0 18: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000 link/ether f0:de:f1:e3:0d:ab brd ff:ff:ff:ff:ff:ff tack:/etc/laptop-mode/conf.d# ip link show eth0 18: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000 link/ether f0:de:f1:e3:0d:ab brd ff:ff:ff:ff:ff:ff tack:/etc/laptop-mode/conf.d# ip link show eth0 18: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000 link/ether f0:de:f1:e3:0d:ab brd ff:ff:ff:ff:ff:ff tack:/etc/laptop-mode/conf.d# ip link show eth0 18: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether f0:de:f1:e3:0d:ab brd ff:ff:ff:ff:ff:ff -- System Information: Debian Release: 8.2 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages laptop-mode-tools depends on: ii lsb-base 4.1+Debian13+nmu1 ii psmisc 22.21-2 ii util-linux 2.25.2-6 Versions of packages laptop-mode-tools recommends: ii ethtool 1:3.16-1 ii hdparm 9.43-2 ii net-tools 1.60-26+b1 ii python-qt4 4.11.2+dfsg-1 ii sdparm 1.08-1 ii udev 215-17+deb8u2 ii wireless-tools 30~pre9-8 Versions of packages laptop-mode-tools suggests: ii acpid 1:2.0.23-2 ii apmd 3.2.2-15 -- Configuration Files: /etc/laptop-mode/conf.d/ethernet.conf changed: DEBUG=1 CONTROL_ETHERNET="auto" BATT_THROTTLE_ETHERNET=0 LM_AC_THROTTLE_ETHERNET=0 NOLM_AC_THROTTLE_ETHERNET=0 THROTTLE_SPEED="slowest" DISABLE_WAKEUP_ON_LAN=1 ETHERNET_DEVICES="eth0" DISABLE_ETHERNET_ON_BATTERY=0 /etc/laptop-mode/conf.d/usb-autosuspend.conf 732bf2223dc7dca51eb08b2e39b0a51f [Errno 2] No such file or directory: u'/etc/laptop-mode/conf.d/usb-autosuspend.conf 732bf2223dc7dca51eb08b2e39b0a51f' -- no debconf information