Lenovo Thinkpad x100e freezes when X blanks screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
[Moved from #535653. I have no problem with X starting up, but only when X blanks screen]
Machine is a Lenovo Thinkpad X100e model NTS5EUK:
AMD Turion(tm) Neo X2 Dual Core Processor L625 stepping 02
+ 2GB RAM, internal WLAN (realtek) and WWAN (Gobi 2000) cards. BIOS version reported is 1.21. Originally I had turned on the AMD virtualisation extensions in the BIOS, but I've now switched this back, so BIOS is at defaults including
Config > CPU > AMD V(TM) Technology = Disabled
Security > Memory Protection > Exection Protection = Enabled
In #535653 I reported this problem with amd64, but I've now installed i386 from scratch with exactly the same behaviour.
The laptop is connected to an Ethernet LAN and a USB CD-ROM. I have not configured wireless at all.
I can reproduce the problem as follows.
* Install Lucid 10.4 desktop i386 from CD
* apt-get update && apt-get dist-upgrade && apt-get install openssh-server
* echo "options radeon modeset=0" > /etc/modprobe.
* cat >/etc/X11/xorg.conf
Section "ServerFlags"
Option "BlankTime" "1"
EndSection
* reboot, let it come up to the gdm screen, then don't touch it
From another machine on the same LAN, copy a large file using scp, e.g.
scp ubuntu-
You can also periodically check the network health from another window:
while date && ssh brian@x.x.x.x hostname; do sleep 9; done
What happens is: after 1 minute the X screen blanks. At this very instant, the laptop network connection freezes: the scp session stalls, and the laptop won't respond to ping. Moving the trackpoint, the screen comes back to life, but then the laptop is in a very fragile state and soon crashes. For example, pressing Ctrl-Alt-F1 usually freezes it instantly. Selecting "reboot" from the power menu will start the reboot process, but leave it frozen on a blank purple screen (possibly at the point of changing video mode again?). At this point the machine has to be hard powered off by pressing and holding the power button.
Extra data points:
* Login, open a terminal and type "xset s noblank" then repeat the test: the machine does NOT freeze. (I get a big "X" and a chequerboard pattern instead of the screen being fully blanked).
I think this all suggests that the X blanking is the culprit, although it's not clear why the machine should stop talking to ethernet instantly but continue along in a crippled state otherwise. (Interrupts?)
I did previous testing with amd64, recorded under #535653, but I have not repeated these tests with i386 yet. I found that:
* leaving the screen in text mode (via ctrl-alt-F1) does not crash, even if the text mode screen blanks
* installing fglrx driver didn't make a difference
Also, I was able to reproduce the problem on the train this morning on battery. All of the rest of my tests have been with mains connected.
There are two warning messages which flash up while the machine boots, I think they are these two lines from dmesg:
[ 11.310661] shpchp 0000:00:01.0: Cannot reserve MMIO region
[ 11.764446] thinkpad_acpi: Not yet supported ThinkPad detected!
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-
Regression: No
Reproducible: Yes
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT 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 'SB'/'HDA ATI SB at 0xd0600000 irq 16'
Mixer name : 'Conexant CX20582 (Pebble)'
Components : 'HDA:14f15066,
Controls : 12
Simple ctrls : 10
Date: Wed Jun 9 12:32:46 2010
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: LENOVO 35085EG
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=en_GB.utf8
SHELL=/bin/bash
RelatedPackageV
RfKill:
SourcePackage: linux
dmi.bios.date: 03/26/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6XET37WW (1.21 )
dmi.board.name: INVALID
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: 35085EG
dmi.product.
dmi.sys.vendor: LENOVO
tags: | removed: needs-upstream-testing |
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
importance: | Undecided → Medium |
tags: |
added: kernel-graphics removed: graphics |
tags: | removed: xorg-needs-kernel-fix |
tags: | added: kernel-handoff-graphics |
Did "apt-get fglrx" and reboot, same behaviour.
I will attach /var/log/Xorg.0.log and /var/log/messages both for radeon (original) and after installing fglrx.
The messages file has a few "[drm] Resetting GPU" lines, not sure if they are relevant.