Your message dated Thu, 19 Jun 2014 21:34:04 +0000
with message-id <[email protected]>
and subject line Bug#728692: fixed in acpi-support 0.141-3
has caused the Debian Bug report #728692,
regarding acpi-support breaks Intel I210 Gigabit by enabling power saving
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 [email protected]
immediately.)


-- 
728692: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728692
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Meskes <[email protected]> (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 [email protected])


-----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 <[email protected]>
Changed-By: Michael Meskes <[email protected]>
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 [email protected] (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 [email protected] (Closes: #738696)
   * Bumped Standards-Version to 3.9.5, no changes needed.
   * Added systemd support and improved acpi_fakekey.
     Thanks to David Härdeman <[email protected]> (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 <[email protected]> (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-----

--- End Message ---

Reply via email to