[Lenovo ThinkPad X220] e1000e problem, system either reboots instead of power off or disables WOL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
When trying to shutdown a system, either the system does not power off, but reboots immediately, or Wake-On-LAN gets disabled on power off.
This problem is happening on a Lenovo X220, with Ubuntu Precise. But the problem exists with all current Kernels for precise (3.5.0*, 3.8.0*, 3.11.0*). The problem is not reproducible with the current (2.5.4) e1000e driver from sf.net.
Steps to reproduce the problem:
- Put the powered off noteook in the port replicator
- Power on the system
- Wait until the system is booted and showing the lightdm login screen
- Disconnect the notebook from the port replicator
- Wait a couple of seconds
- Connect the notebook to the port replicator
- Shut the system down from the lightdm menu
Expected result:
The system should shut down and power off, and Wake-On-LAN should be functioning (when it was activated).
Observed result:
The system either doesn't power off, but reboots immediately, or in cases it actually does power off, WOL gets disabled.
Additional info:
It's hard to say what triggers the one or the other behaviour. It might be related to the timing of the above steps. We have some users with the problem, who normally use the notebooks during the day and experience the problems in the evening, when shutting down the system. The above steps are the best way we found to reproduce the problem. It seems that disconnecting the notebook from the port replicator, so it does run on battery, at least for a short time, seems to be a part of what triggers the problem.
The 3.5 Kernel might not show the "reboot instead of power off" part of the problem, but WOL is not functioning after power off (ethernet port on the port replicator is disabled, no link).
The "reboot instead of power off" part of the problem seems to not happen when WOL gets disabled before the shutdown (using ethtool) or when the e1000e gets unloaded before the shutdown.
In the case the system did power off, and WOL is not functioning, it is possible to restore the WOL function by taking the notebook out of the port replicator and putting it back in (while it is switched off). After that the ethernet port on the port replicator gets enabled again, and the system wakes up when it gets send a WOL magic packet.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.11.0-23-generic.
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20590 Analog [CX20590 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'PCH'/'HDA Intel PCH at 0xf2620000 irq 51'
Mixer name : 'Intel CougarPoint HDMI'
Components : 'HDA:14f1506e,
Controls : 43
Simple ctrls : 12
Card29.Amixer.info:
Card hw:29 'ThinkPadEC'
Mixer name : 'ThinkPad EC (unknown)'
Components : ''
Controls : 1
Simple ctrls : 1
Card29.
Simple mixer control 'Console',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 12.04.4 LTS "Precise Pangolin" - Release amd64 (20140204)
MachineType: LENOVO 4291QQ1
MarkForUpload: True
Package: linux (not installed)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.79.15
Tags: precise
Uname: Linux 3.11.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
dmi.bios.date: 07/18/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET69WW (1.39 )
dmi.board.
dmi.board.name: 4291QQ1
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 4291QQ1
dmi.product.
dmi.sys.vendor: LENOVO
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
tags: | added: cherry-pick |
Some additional information:
I tested the latest e1000e driver from sf.net on other hardware (Lenovo T61), which is in use here too. The T61s didn't show the "reboot instead of power off" before, with the e1000e driver, that is included in the kernels mentioned above. However they do show the problem with the e1000e driver from sf.net (version 2.5.4).
Maybe in 1 out of 10 cases the notebook is able to power off, and then WOL works too. But in the other cases the notebook just reboots.
So it seems the driver from sf.net doesn't really solve the problem, but somehow only changes some conditions under which the bug is triggered.