8086:2592 [Toshiba Portégé R200-126] Black screen/freeze after resume with i915

Bug #1272945 reported by peterthevicar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

When I suspend (using either the session menu or by closing the lid) and resume, my Toshiba Portege R200 fails to wake. The flashing orange light changes to blue but the screen remains black and the keyboard is unresponsive (Caps Lock doesn't work, Ctrl-Alt-F keys don't work etc). The only way to get out is to long-press the power button. This may be due to the i915 kms module. This is a regression as it used to work in 12.04 and 12.10. I did a chop using the mainline kernels and found that kernel 3.9.9 (dated 3.Jul.13) works fine but 3.10-rc1 (13.May.13) doesn't. In the mean time I'm running with 3.9.9.

WORKAROUND: Use the VESA driver.

As per my computer's sticker https://launchpadlibrarian.net/171657213/Toshiba-R200.jpg it notes I have a Toshiba Portege R200-126 PPR21E-00K00QEN, not the following as queried from my system:
dmi.product.version: PPR20E-01S02REN

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: linux-image (not installed)
ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
Uname: Linux 3.11.0-15-generic i686
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: peter 1454 F.... pulseaudio
CurrentDmesg: [ 136.627313] init: plymouth-stop pre-start process (2057) terminated with status 1
Date: Sun Jan 26 16:56:01 2014
HibernationDevice: RESUME=UUID=d4ddcbdb-5cdd-4c53-a3b4-2b7ef2bcb2c9
InstallationDate: Installed on 2013-10-14 (103 days ago)
InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Beta i386 (20130925.1)
MachineType: TOSHIBA PORTEGE R200
MarkForUpload: True
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-15-generic root=UUID=78b72944-a92e-433a-837d-e66c5d9fefde ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-15-generic N/A
 linux-backports-modules-3.11.0-15-generic N/A
 linux-firmware 1.116
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/25/2005
dmi.bios.vendor: TOSHIBA
dmi.bios.version: Version 1.60
dmi.board.name: Portable PC
dmi.board.vendor: TOSHIBA
dmi.board.version: Version A0
dmi.chassis.asset.tag: 0000000000
dmi.chassis.type: 10
dmi.chassis.vendor: TOSHIBA
dmi.chassis.version: Version 1.0
dmi.modalias: dmi:bvnTOSHIBA:bvrVersion1.60:bd10/25/2005:svnTOSHIBA:pnPORTEGER200:pvrPPR20E-01S02REN:rvnTOSHIBA:rnPortablePC:rvrVersionA0:cvnTOSHIBA:ct10:cvrVersion1.0:
dmi.product.name: PORTEGE R200
dmi.product.version: PPR20E-01S02REN
dmi.sys.vendor: TOSHIBA

Revision history for this message
peterthevicar (peterbcs) wrote :
Revision history for this message
peterthevicar (peterbcs) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: Black screen and freeze after resume with i915 on Portege r200

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.13 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13-trusty/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
peterthevicar (peterbcs) wrote :

Thanks Joseph,

As requested:
$ uname -a
Linux slim 3.13.0-031300-generic #201401192235 SMP Mon Jan 20 03:46:44 UTC 2014 i686 i686 i686 GNU/Linux

Same symptoms on resume: brief flash of backlight then black screen and unresponsive.

Adding tags kernel-bug-exists-upstream and marking Confirmed as requested

ATB, Peter

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-bug-exists-upstream
Revision history for this message
penalvch (penalvch) wrote : Re: 8086:2592 [Toshiba Portégé R200-110] Black screen/freeze after resume with i915

peterthevicar, the next step is to fully commit bisect from mainline 3.9.9 to 3.10-rc1 in order to identify the offending commit. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

tags: added: kernel-bug-exists-upstream-3.13 needs-bisect
removed: kernel-bug-exists-upstream
tags: added: bios-outdated-1.70
summary: - Black screen and freeze after resume with i915 on Portege r200
+ 8086:2592 [Toshiba Portégé R200-110] Black screen/freeze after resume
+ with i915
description: updated
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
peterthevicar (peterbcs) wrote :

Hi there, I finally managed to do a bisect on this. It took a while because the good and bad kernels were in non-linear branches so I had to do 14 kernel builds on my ancient laptop!

This is the end of the trail:

$ git bisect bad
24576d23976746cb52e7700c4cadbf4bc1bc3472 is the first bad commit
commit 24576d23976746cb52e7700c4cadbf4bc1bc3472
Author: Jesse Barnes <email address hidden>
Date: Tue Mar 26 09:25:45 2013 -0700

    drm/i915: enable VT switchless resume v3

    With the other bits in place, we can do this safely.

    v2: disable backlight on suspend to prevent premature enablement on resume
    v3: disable CRTCs on suspend to allow RTD3 (Kristen)

    Signed-off-by: Jesse Barnes <email address hidden>
    Reviewed-by: Rodrigo Vivi <email address hidden>
    Signed-off-by: Daniel Vetter <email address hidden>

:040000 040000 72fb279ebc4c48824015f43eac459d046dde3204 6797fd617ffd75b6e2a457aaabf5e90f9a4021c0 M drivers

What do I do now?

Best wishes, Peter

Changed in linux (Ubuntu):
status: Expired → Incomplete
penalvch (penalvch)
tags: added: bisect-done
removed: needs-bisect
Revision history for this message
peterthevicar (peterbcs) wrote :

Hi there, the Toshiba site has only version 1.20-WIN BIOS [1], my installed one reports 1.60 and trying to run the 1.20-WIN from Win XP results in a message saying BIOS incompatible so I assume it's preventing a downgrade. Do you have a link to a v1.70 BIOS? (This is a Portege R200 PPR21E)

I've tried running the latest kernel vmlinuz-3.14.0-031400-generic and the error is still there.

The description of the first bad commit sounds quite likely to have done the damage as it's to do with video suspend in the i915 module which is exactly where the problem seems to be.

ATB, Peter

[1] http://www.toshiba.co.uk/innovation/download_driver_details.jsp?service=UK&selCategory=8&selFamily=194&selSeries=235&selProduct=626&selShortMod=450&language=13&selOS=-1&selType=4&yearupload=&monthupload=&dayupload=&useDate=null&mode=allMachines&search=&action=search&macId=&country=8&selectedLanguage=13&type=4&page=1&ID=61383&OSID=-1&driverLanguage=42

Revision history for this message
peterthevicar (peterbcs) wrote :

Thanks for the link. As I said in my post this is a PPR21E (latest version 1.20) not a PPR20E (latest version 1.70) do you think the PPR20E BIOS will be OK?

Revision history for this message
peterthevicar (peterbcs) wrote :

Looking on the Toshiba site the difference seems to be a slightly different processor Pentium® M processor Ultra Low Voltage 753 for the PPR20E and Pentium® M processor Ultra Low Voltage 773 for the PPR21E. Also the spec says the PPR21E supports wireless a/b/g whereas the PPR20E only supports b/g

Revision history for this message
peterthevicar (peterbcs) wrote :

Attached is a photo of the label. I'm not sure where the description in the bug title came from as I'm only now beginning to understand the complexities of model numbering - in my innocence I thought it was just an R200 ! The numeric version seems to be R200-126 according to the Toshiba website [1]

ATB, Peter

[1] http://www.toshiba.co.uk/discontinued-products/portege-r200-126/

Revision history for this message
penalvch (penalvch) wrote :

peterthevicar, thanks for the picture. Could you please test the latest mainline kernel via http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.14-trusty/ and advise to the results?

description: updated
summary: - 8086:2592 [Toshiba Portégé R200-110] Black screen/freeze after resume
+ 8086:2592 [Toshiba Portégé R200-126] Black screen/freeze after resume
with i915
tags: added: latest-bios-1.20
removed: bios-outdated-1.70
Revision history for this message
peterthevicar (peterbcs) wrote :

Thanks Christopher, bug still present in latest trusty mainline kernel.

Revision history for this message
peterthevicar (peterbcs) wrote :

Just in case this is useful I reverted the changes in that commit which affects two files:
drivers/gpu/drm/i915/i915_drv.c and
drivers/gpu/drm/i915/intel_fb.c

I thought originally it must be the changes in i915_drv so just reverted those. This resulted in the system coming back from resume but I had to do a VT switch to get the display back. The change to intel_fb is exactly to say that we DON'T need a VT switch. Presumably my particular chip DOES need it. Not sure where to go with this now...

penalvch (penalvch)
tags: added: kernel-bug-exists-upstream-3.14
removed: kernel-bug-exists-upstream-3.13
Revision history for this message
penalvch (penalvch) wrote :

peterthevicar, the issue you are reporting is an upstream one. Could you please report this problem through the appropriate channel by following the instructions _verbatim_ at https://wiki.ubuntu.com/Bugs/Upstream/kernel ?

Please provide a direct URL to your e-mail to the mailing list once you have made it so that it may be tracked.

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Mark Felton (markfelton) wrote :

New Xubuntu 14.04 install on ThinkPad T61 same issue (black screen on wake from sleep, long press power button only way to get back). Looks like this is a patch? How do I install it/test it? (Newbie)

Revision history for this message
penalvch (penalvch) wrote :

Mark Felton, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into the default Ubuntu kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.