Debian Bug report logs - #728692
acpi-support breaks Intel I210 Gigabit by enabling power saving

version graph

Package: acpi-support; Maintainer for acpi-support is Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>; Source for acpi-support is src:acpi-support (PTS, buildd, popcon).

Reported by: Martin von Wittich <martin.von.wittich@iserv.eu>

Date: Mon, 4 Nov 2013 09:51:01 UTC

Severity: normal

Found in version acpi-support/0.140-5

Fixed in version acpi-support/0.141-3

Done: Michael Meskes <meskes@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, martin.von.wittich@iserv.eu, Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>:
Bug#728692; Package acpi-support. (Mon, 04 Nov 2013 09:51:06 GMT) (full text, mbox, link).


Acknowledgement sent to Martin von Wittich <martin.von.wittich@iserv.eu>:
New Bug report received and forwarded. Copy sent to martin.von.wittich@iserv.eu, Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>. (Mon, 04 Nov 2013 09:51:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Martin von Wittich <martin.von.wittich@iserv.eu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: acpi-support breaks Intel I210 Gigabit by enabling power saving
Date: Mon, 04 Nov 2013 04:47:58 -0500
Package: acpi-support
Version: 0.140-5
Severity: normal

We recently received new servers with Asus P9D-I mainboards. These mainboards
have two Intel I210 NICs onboard:

root@debian:~# lspci
00:00.0 Host bridge: Intel Corporation Haswell DRAM Controller (rev 06)
00:14.0 USB controller: Intel Corporation Lynx Point USB xHCI Host Controller (rev 05)
00:1a.0 USB controller: Intel Corporation Lynx Point USB Enhanced Host Controller #2 (rev 05)
00:1c.0 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #1 (rev d5)
00:1c.1 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #2 (rev d5)
00:1c.2 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #3 (rev d5)
00:1d.0 USB controller: Intel Corporation Lynx Point USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation Lynx Point LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation Lynx Point 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation Lynx Point SMBus Controller (rev 05)
01:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
02:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
03:00.0 PCI bridge: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge (rev 02)
04:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 21)

Both NICs are connected to a switch. Unfortunately, these NICs had weird issues
whenever we installed our Debian-based system (essentially Debian wheezy, but
with a lot of packages preinstalled). Sometimes both NICs were affected,
sometimes only one (usually eth1). They would show up in ifconfig:

root@debian:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr ac:22:0b:8b:30:a7  
          inet addr:10.255.236.255  Bcast:10.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::ae22:bff:fe8b:30a7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
          RX packets:1324 errors:0 dropped:0 overruns:0 frame:0
          TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:107124 (104.6 KiB)  TX bytes:25199 (24.6 KiB)
          Memory:dfe00000-dfe80000 

eth1      Link encap:Ethernet  HWaddr ac:22:0b:8b:30:a8  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Memory:dfd00000-dfd80000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

But enabling the affected NIC or accessing it with ethtool would fail:

root@debian:~# ifconfig eth1 up
SIOCSIFFLAGS: No such device

root@debian:~# dhclient eth1
RTNETLINK answers: No such device

root@debian:~# ethtool eth1
Settings for eth1:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available


After we noticed that a clean Wheezy installation was not affected, we looked
for differences between the clean installation and our system, and we tracked
the issue down to acpi-support. The following command from the init script:

root@debian:~# grep -m1 on_ac_power /etc/init.d/acpi-support
    on_ac_power || /etc/acpi/power.sh true

behaves unexpectedly because on_ac_power returns 255 on these servers:

root@debian:~# on_ac_power ; echo $?
255

It therefore believes that the server is on battery power, and enables power
saving. This in turn modifies the NICs - I believe the relevant section from
/var/log/pm-powersave.log is this one:

Running hook /usr/lib/pm-utils/power.d/pci_devices true:
Setting Host Bridge 0000:00:00.0 to auto
Setting Ethernet device 0000:01:00.0 to auto
Setting Ethernet device 0000:02:00.0 to auto

This seems to be the cause for our issue. We will resolve the issue by
replacing acpi-support with acpi-support-base in our system dependencies, but I
filed this bug anyway because this issue was very hard to track down and the
information could be useful for others.

-- System Information:
Debian Release: 7.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-0.bpo.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 acpi-support depends on:
ii  acpi-fakekey       0.140-5
ii  acpi-support-base  0.140-5
ii  acpid              1:2.0.16-1+deb7u1
ii  lsb-base           4.1+Debian8+deb7u1
ii  pm-utils           1.4.1-9
ii  x11-xserver-utils  7.7~3

Versions of packages acpi-support recommends:
ii  dbus          1.6.8-1+deb7u1
ii  radeontool    1.6.2-1.1
ii  vbetool       1.1-2
ii  xscreensaver  5.15-3

Versions of packages acpi-support suggests:
pn  rfkill  <none>
pn  xinput  <none>

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>:
Bug#728692; Package acpi-support. (Thu, 06 Mar 2014 16:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Harald Dunkel <harald.dunkel@aixigo.de>:
Extra info received and forwarded to list. Copy sent to Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>. (Thu, 06 Mar 2014 16:09:04 GMT) (full text, mbox, link).


Message #10 received at 728692@bugs.debian.org (full text, mbox, reply):

From: Harald Dunkel <harald.dunkel@aixigo.de>
To: 728692@bugs.debian.org
Subject: Re: acpi-support breaks Intel I210 Gigabit by enabling power saving
Date: Thu, 06 Mar 2014 17:07:53 +0100
I am affected by this, too. Board is an Intel S5520HC with 2
82575EB NICs. After dropping the acpi-support package both
NICs seem to work fine.

Please mail if I can help to track this down.


Regards
Harri
-- 
aixigo AG, Karl-Friedrich-Strasse 68, 52072 Aachen, Germany
Amtsgericht Aachen - HRB 8057, Vorstand: Erich Borsch, Christian Friedrich, Tobias Haustein, Vors. des Aufsichtsrates: Prof. Dr. Ruediger von Nitzsch



Added tag(s) pending. Request was from Michael Meskes <meskes@debian.org> to control@bugs.debian.org. (Thu, 19 Jun 2014 11:51:04 GMT) (full text, mbox, link).


Reply sent to Michael Meskes <meskes@debian.org>:
You have taken responsibility. (Thu, 19 Jun 2014 21:39:31 GMT) (full text, mbox, link).


Notification sent to Martin von Wittich <martin.von.wittich@iserv.eu>:
Bug acknowledged by developer. (Thu, 19 Jun 2014 21:39:31 GMT) (full text, mbox, link).


Message #17 received at 728692-close@bugs.debian.org (full text, mbox, reply):

From: Michael Meskes <meskes@debian.org>
To: 728692-close@bugs.debian.org
Subject: Bug#728692: fixed in acpi-support 0.141-3
Date: Thu, 19 Jun 2014 21:34:04 +0000
Source: acpi-support
Source-Version: 0.141-3

We believe that the bug you reported is fixed in the latest version of
acpi-support, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 728692@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Meskes <meskes@debian.org> (supplier of updated acpi-support package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 19 Jun 2014 13:47:49 +0200
Source: acpi-support
Binary: acpi-support acpi-support-base acpi-fakekey
Architecture: source all amd64
Version: 0.141-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Acpi Team <pkg-acpi-devel@lists.alioth.debian.org>
Changed-By: Michael Meskes <meskes@debian.org>
Description:
 acpi-fakekey - tool to generate fake key events
 acpi-support - scripts for handling many ACPI events
 acpi-support-base - scripts for handling base ACPI events such as the power button
Closes: 593303 700696 706910 716777 717398 720639 728692 732690 737945 738696 741597
Changes:
 acpi-support (0.141-3) unstable; urgency=medium
 .
   * Added check for i3lock. (Closes: #732690)
   * Downgrade acpi-fakekey dependency to recommendation because the package is
     of use without it.
   * Fixed typo in /etc/acpi/asus-wireless.sh
   * Simplified check for active display.
   * Remove old asus brightness conffiles (Closes: #706910)
   * Added mate-power-manager and systemd-logind as power managers.
     Thanks to pasky@ucw.cz (Closes: #738696)
   * Bumped Standards-Version to 3.9.5, no changes needed.
   * Downgrade acpi-fakekey dependency to recommendation (Closes: #716777)
   * Fixed typo in /etc/acpi/asus-wireless.sh (Closes: #720639)
   * Simplified check for active display.
   * Remove old asus brightness conffiles (Closes: #706910)
   * Added mate-power-manager and systemd-logind as power managers.
     Thanks to pasky@ucw.cz (Closes: #738696)
   * Bumped Standards-Version to 3.9.5, no changes needed.
   * Added systemd support and improved acpi_fakekey.
     Thanks to David Härdeman <david@hardeman.nu> (Closes: #717398)
   * Make sure on_ac_power error return is not intepreted as not running on AC
     power. (Closes: #728692, #741597)
   * Added systemd support and improved acpi_fakekey.
     Thanks to David Härdeman <david@hardeman.nu> (Closes: #717398)
   * Security is more important than speed, therefore make sure display is
     locked before suspending. (Closes: #593303, #700696)
   * All screen lockers should be suggested alternatives (Closes: #737945)
   * Removed deprecated setting of init priorities.
   * Canonicalized VCS information.
Checksums-Sha1:
 217d2a3bab9fb99f43bbb0b08606c511a304f7a8 1456 acpi-support_0.141-3.dsc
 24e9570812b30652c804044ec9cd995ca6517388 50989 acpi-support_0.141-3.diff.gz
 1dd4408425c65122ed11b9faff37cc1e6d707fe5 49542 acpi-support_0.141-3_all.deb
 3e64071bd330de7200f4bf9987d4607bbcf123f8 22680 acpi-support-base_0.141-3_all.deb
 224de2a197bb7f5a87f369fb210ed30ea4535354 24912 acpi-fakekey_0.141-3_amd64.deb
Checksums-Sha256:
 5314ba1388b85b17e0ad472188a91c8279749b8fef2ff2be9b7b9645a923f923 1456 acpi-support_0.141-3.dsc
 0bf0895f363e9982653e662f157c6a77c70ccec99d912700533fdfe3541c2fa0 50989 acpi-support_0.141-3.diff.gz
 d2e9c206e4058370ab54a0bfa67f3524cd43ce66a463dae3b500e9fa11ed106c 49542 acpi-support_0.141-3_all.deb
 f6a6a80ea3d9dbfee6c068d0882285e2906121f615ca359c46eccb97a28446a0 22680 acpi-support-base_0.141-3_all.deb
 66692e99e6fb37bef21c27058eb991246ea2e6d8994e7b28043e17b0a03ff438 24912 acpi-fakekey_0.141-3_amd64.deb
Files:
 a15b4dab08f2ea94656aa7f97f3e2dad 49542 admin optional acpi-support_0.141-3_all.deb
 f04d695781678e7dbc9498ebbbc2b626 22680 admin optional acpi-support-base_0.141-3_all.deb
 3b5df45bb4c86059ed97de0d1a19a694 24912 admin optional acpi-fakekey_0.141-3_amd64.deb
 543ec2f222db83085df1cda190905ec6 1456 admin optional acpi-support_0.141-3.dsc
 58d581d914ffcca2b439e90911dd2ef4 50989 admin optional acpi-support_0.141-3.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFTo06uVkEm8inxm9ERAp+rAJwPkycENb4Yw4LGq//+cWxvtpfq2QCbBs7L
wJZH/f6ImzX4XBXuZlKqkp4=
=kF/s
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 23 Jul 2014 07:36:31 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 03:42:10 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.