Bug 64859 - [HSW ULT]Resume from S3 result in system reboot, with warm boot
Summary: [HSW ULT]Resume from S3 result in system reboot, with warm boot
Status: CLOSED NOTOURBUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: high major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-22 09:58 UTC by cancan,feng
Modified: 2017-10-06 14:46 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description cancan,feng 2013-05-22 09:58:01 UTC
Bug detailed description:
--------------------------------------------
System failed to resume from S3 with warm boot on latest -next-queued kernel. When I reboot the machine with command "reboot", then do S3, system can not resume from S3, but reboot the machine.  
But if I cut off power, then boot the machine, do S3, system can resume from S3 successfully.
We got this machine not long ago, this is the first time we tested it. And I also tested older kernel but I can't find a good commit, so I don't think it's a regression. 

lspci:
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:0a26] (rev 09)


Reproduce steps:
--------------------------------------------
1. warm boot
2. echo mem > /sys/power/state
3. press "power button" 
4. system can not resume but reboot
Comment 1 Daniel Vetter 2013-05-23 07:47:51 UTC
We seem to have a pile of "hsw ult only" bugs. Are those all on the same machine?

Paulo can you please confirm whether this is supposed to work on ult or not (I don't have a machine myself to test)?
Comment 2 cancan,feng 2013-05-23 09:11:57 UTC
(In reply to comment #1)
> We seem to have a pile of "hsw ult only" bugs. Are those all on the same
> machine?
>

No, they don't seem to happen on the same machine. To this issue, it happens on machine which info followed:
HSW ULT: C0 stepping 1 (id=0x0a26, rev 09),cpu MHz:1400 GT3(0x20) 1100MHz 

I also tested it on another hsw ult machine, but can't reproduce, which info followed:
HSW ULT: B0 stepping (id=0x0a16, rev 03), CPU 0.80GHz, GT2(0x10) 600MHz; 

> Paulo can you please confirm whether this is supposed to work on ult or not
> (I don't have a machine myself to test)?
Comment 3 cancan,feng 2013-05-27 05:27:20 UTC
By the way, when I removed i915 and retested it, this issue still there.
Comment 4 Paulo Zanoni 2013-06-05 21:40:23 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > We seem to have a pile of "hsw ult only" bugs. Are those all on the same
> > machine?
> >
> 
> No, they don't seem to happen on the same machine. To this issue, it happens
> on machine which info followed:
> HSW ULT: C0 stepping 1 (id=0x0a26, rev 09),cpu MHz:1400 GT3(0x20) 1100MHz 
> 
> I also tested it on another hsw ult machine, but can't reproduce, which info
> followed:
> HSW ULT: B0 stepping (id=0x0a16, rev 03), CPU 0.80GHz, GT2(0x10) 600MHz; 
> 

Could this be related with the BIOS version? What's the BIOS version of the machine that doesn't work?


> > Paulo can you please confirm whether this is supposed to work on ult or not
> > (I don't have a machine myself to test)?

The C stepping ULT machine I have here suspends and resumes fine (S3) on today's drm-intel-next-queued.


> By the way, when I removed i915 and retested it, this issue still there.

Instead of "removing" i915, what happens if you completely blacklist i915 (i.e., never load it)? If the problem still happens, then it's not the fault of the graphics driver.
Comment 5 cancan,feng 2013-06-06 07:53:48 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > We seem to have a pile of "hsw ult only" bugs. Are those all on the same
> > > machine?
> > >
> > 
> > No, they don't seem to happen on the same machine. To this issue, it happens
> > on machine which info followed:
> > HSW ULT: C0 stepping 1 (id=0x0a26, rev 09),cpu MHz:1400 GT3(0x20) 1100MHz 
> > 
> > I also tested it on another hsw ult machine, but can't reproduce, which info
> > followed:
> > HSW ULT: B0 stepping (id=0x0a16, rev 03), CPU 0.80GHz, GT2(0x10) 600MHz; 
> > 
> 
> Could this be related with the BIOS version? What's the BIOS version of the
> machine that doesn't work?

Here is the current BIOS information:

BIOS Version  HSWLPTU1.86C.0114.R07.1303182216

I will upgrade the BIOS version to verify whether if this is related with BIOS version.

> 
> 
> > > Paulo can you please confirm whether this is supposed to work on ult or not
> > > (I don't have a machine myself to test)?
> 
> The C stepping ULT machine I have here suspends and resumes fine (S3) on
> today's drm-intel-next-queued.

Did you warm boot the machine to test suspend and resume? Because this issue only happens with warm boot a machine..
> 
> 
> > By the way, when I removed i915 and retested it, this issue still there.
> 
> Instead of "removing" i915, what happens if you completely blacklist i915
> (i.e., never load it)? If the problem still happens, then it's not the fault
> of the graphics driver.
Comment 6 cancan,feng 2013-06-06 08:27:17 UTC
Yeah, I tried again with completely blacklist i915, the problem still happens..So, maybe this is not our bug.
Comment 7 Daniel Vetter 2013-06-06 09:40:33 UTC
Paulo implied that USB might be part of the problem. Can you please try out what happens with a kernel without any usb support enabled (i.e. CONFIG_USB=n)?
Comment 8 Paulo Zanoni 2013-06-06 17:18:46 UTC
(In reply to comment #7)
> Paulo implied that USB might be part of the problem. Can you please try out
> what happens with a kernel without any usb support enabled (i.e.
> CONFIG_USB=n)?

I'd try a newer BIOS first.
Comment 9 Gordon Jin 2013-06-07 04:55:54 UTC
decreasing severity as this is likely not our driver bug.
Comment 10 cancan,feng 2013-06-07 05:59:21 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Paulo implied that USB might be part of the problem. Can you please try out
> > what happens with a kernel without any usb support enabled (i.e.
> > CONFIG_USB=n)?
> 
> I'd try a newer BIOS first.

Upgrade BIOS to 128.00, upgrade KSC to 1.13, now S3 can resume successfully. So can we close this bug?
Comment 11 Daniel Vetter 2013-06-07 06:00:31 UTC
Yeah, I think so.
Comment 12 Elizabeth 2017-10-06 14:46:20 UTC
Closing old verified.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.