Re: [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-10-30 Thread Rafael J. Wysocki
On Fri, Oct 26, 2018 at 5:49 PM Martin Steigerwald  wrote:
>
> This regression is gone with 4.19-rc8.

Thanks for the update!


> Martin Steigerwald - 11.09.18, 09:53:
> […]
> > Linus Torvalds - 02.09.18, 23:45:
> > > As usual, the rc2 release is pretty small. People are taking a
> >
> > With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes hangs
> > with black screen when resuming from suspend or hibernation.  With
> > 4.18.1 it did not. Of course there have been userspace related updates
> > that could be related.
> >
> > I currently have no time to dig into this and on this production
> > laptop I generally do not do bisects between major kernel releases.
> > So currently I only answer questions that do not require much time to
> > answer.
> >
> > For now I switched back to 4.18. If that is stable – and thus likely
> > no userspace component is related –, I go with 4.19-rc3 or whatever
> > is most recent version to see if the issue has been fixed already.
> >
> > % inxi -z -b -G
> > System:Host: […] Kernel: 4.18.1-tp520-btrfstrim x86_64 bits: 64
> > Desktop: KDE Plasma 5.13.5
> >Distro: Debian GNU/Linux buster/sid
> > Machine:   Type: Laptop System: LENOVO product: 42433WG v: ThinkPad
> > T520 serial: 
> >Mobo: LENOVO model: 42433WG serial:  UEFI [Legacy]:
> > LENOVO v: 8AET69WW (1.49 )
> >date: 06/14/2018
> > […]
> > CPU:   Dual Core: Intel Core i5-2520M type: MT MCP speed: 2990 MHz
> > min/max: 800/3200 MHz
> > Graphics:  Device-1: Intel 2nd Generation Core Processor Family
> > Integrated Graphics driver: i915 v: kernel
> >Display: x11 server: X.Org 1.20.1 driver: modesetting
> > resolution: 1920x1080~60Hz
> >OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3
> > Mesa 18.1.7
> > […]
> > Info:  Processes: 322 Uptime: 16m Memory: 15.45 GiB used: 3.12 GiB
> > (20.2%) Shell: zsh inxi: 3.0.22
> >
> > Thanks,
> > Martin
> >
> > > breather after the merge window, and it takes a bit of time for bug
> > > reports to start coming in and get identified.  Plus people were
> > > probably still on vacation (particularly Europe), and some people
> > > were at Open Source Summit NA last week too. Having a calm week was
> > > good.
> > >
> > > Regardless of the reason, it's pretty quiet/ The bulk of it is
> > > drivers (network and gpu stand out), with the rest being a random
> > > collection all over (arch/x86 and generic networking stands out,
> > > but there's misc stuff all over).
> > >
> > > Go out and test.
> > >
> > >  Linus
> > >
> > > ---
> […]
> --
> Martin
>
>


Re: [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-10-30 Thread Rafael J. Wysocki
On Fri, Oct 26, 2018 at 5:49 PM Martin Steigerwald  wrote:
>
> This regression is gone with 4.19-rc8.

Thanks for the update!


> Martin Steigerwald - 11.09.18, 09:53:
> […]
> > Linus Torvalds - 02.09.18, 23:45:
> > > As usual, the rc2 release is pretty small. People are taking a
> >
> > With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes hangs
> > with black screen when resuming from suspend or hibernation.  With
> > 4.18.1 it did not. Of course there have been userspace related updates
> > that could be related.
> >
> > I currently have no time to dig into this and on this production
> > laptop I generally do not do bisects between major kernel releases.
> > So currently I only answer questions that do not require much time to
> > answer.
> >
> > For now I switched back to 4.18. If that is stable – and thus likely
> > no userspace component is related –, I go with 4.19-rc3 or whatever
> > is most recent version to see if the issue has been fixed already.
> >
> > % inxi -z -b -G
> > System:Host: […] Kernel: 4.18.1-tp520-btrfstrim x86_64 bits: 64
> > Desktop: KDE Plasma 5.13.5
> >Distro: Debian GNU/Linux buster/sid
> > Machine:   Type: Laptop System: LENOVO product: 42433WG v: ThinkPad
> > T520 serial: 
> >Mobo: LENOVO model: 42433WG serial:  UEFI [Legacy]:
> > LENOVO v: 8AET69WW (1.49 )
> >date: 06/14/2018
> > […]
> > CPU:   Dual Core: Intel Core i5-2520M type: MT MCP speed: 2990 MHz
> > min/max: 800/3200 MHz
> > Graphics:  Device-1: Intel 2nd Generation Core Processor Family
> > Integrated Graphics driver: i915 v: kernel
> >Display: x11 server: X.Org 1.20.1 driver: modesetting
> > resolution: 1920x1080~60Hz
> >OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3
> > Mesa 18.1.7
> > […]
> > Info:  Processes: 322 Uptime: 16m Memory: 15.45 GiB used: 3.12 GiB
> > (20.2%) Shell: zsh inxi: 3.0.22
> >
> > Thanks,
> > Martin
> >
> > > breather after the merge window, and it takes a bit of time for bug
> > > reports to start coming in and get identified.  Plus people were
> > > probably still on vacation (particularly Europe), and some people
> > > were at Open Source Summit NA last week too. Having a calm week was
> > > good.
> > >
> > > Regardless of the reason, it's pretty quiet/ The bulk of it is
> > > drivers (network and gpu stand out), with the rest being a random
> > > collection all over (arch/x86 and generic networking stands out,
> > > but there's misc stuff all over).
> > >
> > > Go out and test.
> > >
> > >  Linus
> > >
> > > ---
> […]
> --
> Martin
>
>


Re: [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-10-26 Thread Martin Steigerwald
This regression is gone with 4.19-rc8.

Thanks,
Martin

Martin Steigerwald - 11.09.18, 09:53:
[…]
> Linus Torvalds - 02.09.18, 23:45:
> > As usual, the rc2 release is pretty small. People are taking a
> 
> With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes hangs
> with black screen when resuming from suspend or hibernation.  With
> 4.18.1 it did not. Of course there have been userspace related updates
> that could be related.
> 
> I currently have no time to dig into this and on this production
> laptop I generally do not do bisects between major kernel releases.
> So currently I only answer questions that do not require much time to
> answer.
> 
> For now I switched back to 4.18. If that is stable – and thus likely
> no userspace component is related –, I go with 4.19-rc3 or whatever
> is most recent version to see if the issue has been fixed already.
> 
> % inxi -z -b -G
> System:Host: […] Kernel: 4.18.1-tp520-btrfstrim x86_64 bits: 64
> Desktop: KDE Plasma 5.13.5
>Distro: Debian GNU/Linux buster/sid
> Machine:   Type: Laptop System: LENOVO product: 42433WG v: ThinkPad
> T520 serial: 
>Mobo: LENOVO model: 42433WG serial:  UEFI [Legacy]:
> LENOVO v: 8AET69WW (1.49 )
>date: 06/14/2018
> […]
> CPU:   Dual Core: Intel Core i5-2520M type: MT MCP speed: 2990 MHz
> min/max: 800/3200 MHz
> Graphics:  Device-1: Intel 2nd Generation Core Processor Family
> Integrated Graphics driver: i915 v: kernel
>Display: x11 server: X.Org 1.20.1 driver: modesetting
> resolution: 1920x1080~60Hz
>OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3
> Mesa 18.1.7
> […]
> Info:  Processes: 322 Uptime: 16m Memory: 15.45 GiB used: 3.12 GiB
> (20.2%) Shell: zsh inxi: 3.0.22
> 
> Thanks,
> Martin
> 
> > breather after the merge window, and it takes a bit of time for bug
> > reports to start coming in and get identified.  Plus people were
> > probably still on vacation (particularly Europe), and some people
> > were at Open Source Summit NA last week too. Having a calm week was
> > good.
> > 
> > Regardless of the reason, it's pretty quiet/ The bulk of it is
> > drivers (network and gpu stand out), with the rest being a random
> > collection all over (arch/x86 and generic networking stands out,
> > but there's misc stuff all over).
> > 
> > Go out and test.
> > 
> >  Linus
> > 
> > ---
[…]
-- 
Martin




Re: [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-10-26 Thread Martin Steigerwald
This regression is gone with 4.19-rc8.

Thanks,
Martin

Martin Steigerwald - 11.09.18, 09:53:
[…]
> Linus Torvalds - 02.09.18, 23:45:
> > As usual, the rc2 release is pretty small. People are taking a
> 
> With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes hangs
> with black screen when resuming from suspend or hibernation.  With
> 4.18.1 it did not. Of course there have been userspace related updates
> that could be related.
> 
> I currently have no time to dig into this and on this production
> laptop I generally do not do bisects between major kernel releases.
> So currently I only answer questions that do not require much time to
> answer.
> 
> For now I switched back to 4.18. If that is stable – and thus likely
> no userspace component is related –, I go with 4.19-rc3 or whatever
> is most recent version to see if the issue has been fixed already.
> 
> % inxi -z -b -G
> System:Host: […] Kernel: 4.18.1-tp520-btrfstrim x86_64 bits: 64
> Desktop: KDE Plasma 5.13.5
>Distro: Debian GNU/Linux buster/sid
> Machine:   Type: Laptop System: LENOVO product: 42433WG v: ThinkPad
> T520 serial: 
>Mobo: LENOVO model: 42433WG serial:  UEFI [Legacy]:
> LENOVO v: 8AET69WW (1.49 )
>date: 06/14/2018
> […]
> CPU:   Dual Core: Intel Core i5-2520M type: MT MCP speed: 2990 MHz
> min/max: 800/3200 MHz
> Graphics:  Device-1: Intel 2nd Generation Core Processor Family
> Integrated Graphics driver: i915 v: kernel
>Display: x11 server: X.Org 1.20.1 driver: modesetting
> resolution: 1920x1080~60Hz
>OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3
> Mesa 18.1.7
> […]
> Info:  Processes: 322 Uptime: 16m Memory: 15.45 GiB used: 3.12 GiB
> (20.2%) Shell: zsh inxi: 3.0.22
> 
> Thanks,
> Martin
> 
> > breather after the merge window, and it takes a bit of time for bug
> > reports to start coming in and get identified.  Plus people were
> > probably still on vacation (particularly Europe), and some people
> > were at Open Source Summit NA last week too. Having a calm week was
> > good.
> > 
> > Regardless of the reason, it's pretty quiet/ The bulk of it is
> > drivers (network and gpu stand out), with the rest being a random
> > collection all over (arch/x86 and generic networking stands out,
> > but there's misc stuff all over).
> > 
> > Go out and test.
> > 
> >  Linus
> > 
> > ---
[…]
-- 
Martin




Re: [Intel-gfx] [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-09-12 Thread Martin Steigerwald
Ville Syrjälä - 12.09.18, 19:10:
> On Tue, Sep 11, 2018 at 12:17:05PM +0200, Martin Steigerwald wrote:
> > Cc´d Intel Gfx mailing list, in case somebody there knows something:
> > 
> > Cc´d Thorsten for regression tracking… forgot initially. Can also
> > open bug report at a later time but so far I cannot provide many
> > details about the issue.
> > 
> > Rafael J. Wysocki - 11.09.18, 10:17:
> > > On Tue, Sep 11, 2018 at 10:01 AM Martin Steigerwald
> > 
> >  wrote:
> > > > Hi.
> > > > 
> > > > Linus Torvalds - 02.09.18, 23:45:
> > > > > As usual, the rc2 release is pretty small. People are taking a
> > > > 
> > > > With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes
> > > > hangs
> > > > with black screen when resuming from suspend or hibernation. 
> > > > With
> > > > 4.18.1 it did not. Of course there have been userspace related
> > > > updates that could be related.
> > > > 
> > > > I currently have no time to dig into this and on this production
> > > > laptop I generally do not do bisects between major kernel
> > > > releases.
> > > > So currently I only answer questions that do not require much
> > > > time
> > > > to answer.
> > > > 
> > > > For now I switched back to 4.18. If that is stable – and thus
> > > > likely
> > > > no userspace component is related –, I go with 4.19-rc3 or
> > > > whatever
> > > > is most recent version to see if the issue has been fixed
> > > > already.
> > > 
> > > There were almost no general changes related to system-wide PM
> > > between 4.18 and current, so I would suspect one of the device
> > > drivers or the x86 core.  It also may be something like CPU
> > > online/offline, however.> 
> > I see. I wondered about intel-gfx driver already. Of course it could
> > also be something else.
> > 
> > I forgot to mention: The mouse pointer was visible, but the screen
> > remained black.
> 
> Did the mouse cursor still move or not?

No, it did not move.

> Could also try suspend without any GUI stuff in the way. Or try the
> intel ddx instead of the modesetting ddx (assuming that's what
> you're using now) and no compositor to rule out GPU hangs killing
> the compositor. The intel ddx can also deal with the GPU not
> recovering from a hang by switching to software rendering,
> whereas modesetting cannot.

Thanks for these suggestions. Currently laptop is still on 4.18 again 
(4.18.7) and I did not see this hang after resume so far. If it 
continues to be stable for a few more days, I try with latest 4.19 again 
as then its very likely kernel related.

> Hmm. Also T520 is an optimus laptop maybe? If there's an nvidia
> GPU involved it's going to be hard to get anyone to care. Better
> switch that off in the BIOS if you haven't already.

I decided back then for Intel only graphics. I never regretted this.

For me NVidia graphics is not an option, unless NVidia significantly 
changes their policy regarding free software drivers.

Thanks,
-- 
Martin




Re: [Intel-gfx] [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-09-12 Thread Martin Steigerwald
Ville Syrjälä - 12.09.18, 19:10:
> On Tue, Sep 11, 2018 at 12:17:05PM +0200, Martin Steigerwald wrote:
> > Cc´d Intel Gfx mailing list, in case somebody there knows something:
> > 
> > Cc´d Thorsten for regression tracking… forgot initially. Can also
> > open bug report at a later time but so far I cannot provide many
> > details about the issue.
> > 
> > Rafael J. Wysocki - 11.09.18, 10:17:
> > > On Tue, Sep 11, 2018 at 10:01 AM Martin Steigerwald
> > 
> >  wrote:
> > > > Hi.
> > > > 
> > > > Linus Torvalds - 02.09.18, 23:45:
> > > > > As usual, the rc2 release is pretty small. People are taking a
> > > > 
> > > > With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes
> > > > hangs
> > > > with black screen when resuming from suspend or hibernation. 
> > > > With
> > > > 4.18.1 it did not. Of course there have been userspace related
> > > > updates that could be related.
> > > > 
> > > > I currently have no time to dig into this and on this production
> > > > laptop I generally do not do bisects between major kernel
> > > > releases.
> > > > So currently I only answer questions that do not require much
> > > > time
> > > > to answer.
> > > > 
> > > > For now I switched back to 4.18. If that is stable – and thus
> > > > likely
> > > > no userspace component is related –, I go with 4.19-rc3 or
> > > > whatever
> > > > is most recent version to see if the issue has been fixed
> > > > already.
> > > 
> > > There were almost no general changes related to system-wide PM
> > > between 4.18 and current, so I would suspect one of the device
> > > drivers or the x86 core.  It also may be something like CPU
> > > online/offline, however.> 
> > I see. I wondered about intel-gfx driver already. Of course it could
> > also be something else.
> > 
> > I forgot to mention: The mouse pointer was visible, but the screen
> > remained black.
> 
> Did the mouse cursor still move or not?

No, it did not move.

> Could also try suspend without any GUI stuff in the way. Or try the
> intel ddx instead of the modesetting ddx (assuming that's what
> you're using now) and no compositor to rule out GPU hangs killing
> the compositor. The intel ddx can also deal with the GPU not
> recovering from a hang by switching to software rendering,
> whereas modesetting cannot.

Thanks for these suggestions. Currently laptop is still on 4.18 again 
(4.18.7) and I did not see this hang after resume so far. If it 
continues to be stable for a few more days, I try with latest 4.19 again 
as then its very likely kernel related.

> Hmm. Also T520 is an optimus laptop maybe? If there's an nvidia
> GPU involved it's going to be hard to get anyone to care. Better
> switch that off in the BIOS if you haven't already.

I decided back then for Intel only graphics. I never regretted this.

For me NVidia graphics is not an option, unless NVidia significantly 
changes their policy regarding free software drivers.

Thanks,
-- 
Martin




Re: [Intel-gfx] [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-09-12 Thread Ville Syrjälä
On Tue, Sep 11, 2018 at 12:17:05PM +0200, Martin Steigerwald wrote:
> Cc´d Intel Gfx mailing list, in case somebody there knows something:
> 
> Cc´d Thorsten for regression tracking… forgot initially. Can also open 
> bug report at a later time but so far I cannot provide many details 
> about the issue.
> 
> Rafael J. Wysocki - 11.09.18, 10:17:
> > On Tue, Sep 11, 2018 at 10:01 AM Martin Steigerwald 
>  wrote:
> > > Hi.
> > > 
> > > Linus Torvalds - 02.09.18, 23:45:
> > > > As usual, the rc2 release is pretty small. People are taking a
> > > 
> > > With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes hangs
> > > with black screen when resuming from suspend or hibernation.  With
> > > 4.18.1 it did not. Of course there have been userspace related
> > > updates that could be related.
> > > 
> > > I currently have no time to dig into this and on this production
> > > laptop I generally do not do bisects between major kernel releases.
> > > So currently I only answer questions that do not require much time
> > > to answer.
> > > 
> > > For now I switched back to 4.18. If that is stable – and thus likely
> > > no userspace component is related –, I go with 4.19-rc3 or whatever
> > > is most recent version to see if the issue has been fixed already.
> > 
> > There were almost no general changes related to system-wide PM between
> > 4.18 and current, so I would suspect one of the device drivers or the
> > x86 core.  It also may be something like CPU online/offline, however.
> 
> I see. I wondered about intel-gfx driver already. Of course it could 
> also be something else.
> 
> I forgot to mention: The mouse pointer was visible, but the screen 
> remained black.

Did the mouse cursor still move or not?

Could also try suspend without any GUI stuff in the way. Or try the
intel ddx instead of the modesetting ddx (assuming that's what
you're using now) and no compositor to rule out GPU hangs killing
the compositor. The intel ddx can also deal with the GPU not
recovering from a hang by switching to software rendering,
whereas modesetting cannot.

Hmm. Also T520 is an optimus laptop maybe? If there's an nvidia
GPU involved it's going to be hard to get anyone to care. Better
switch that off in the BIOS if you haven't already.

-- 
Ville Syrjälä
Intel


Re: [Intel-gfx] [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-09-12 Thread Ville Syrjälä
On Tue, Sep 11, 2018 at 12:17:05PM +0200, Martin Steigerwald wrote:
> Cc´d Intel Gfx mailing list, in case somebody there knows something:
> 
> Cc´d Thorsten for regression tracking… forgot initially. Can also open 
> bug report at a later time but so far I cannot provide many details 
> about the issue.
> 
> Rafael J. Wysocki - 11.09.18, 10:17:
> > On Tue, Sep 11, 2018 at 10:01 AM Martin Steigerwald 
>  wrote:
> > > Hi.
> > > 
> > > Linus Torvalds - 02.09.18, 23:45:
> > > > As usual, the rc2 release is pretty small. People are taking a
> > > 
> > > With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes hangs
> > > with black screen when resuming from suspend or hibernation.  With
> > > 4.18.1 it did not. Of course there have been userspace related
> > > updates that could be related.
> > > 
> > > I currently have no time to dig into this and on this production
> > > laptop I generally do not do bisects between major kernel releases.
> > > So currently I only answer questions that do not require much time
> > > to answer.
> > > 
> > > For now I switched back to 4.18. If that is stable – and thus likely
> > > no userspace component is related –, I go with 4.19-rc3 or whatever
> > > is most recent version to see if the issue has been fixed already.
> > 
> > There were almost no general changes related to system-wide PM between
> > 4.18 and current, so I would suspect one of the device drivers or the
> > x86 core.  It also may be something like CPU online/offline, however.
> 
> I see. I wondered about intel-gfx driver already. Of course it could 
> also be something else.
> 
> I forgot to mention: The mouse pointer was visible, but the screen 
> remained black.

Did the mouse cursor still move or not?

Could also try suspend without any GUI stuff in the way. Or try the
intel ddx instead of the modesetting ddx (assuming that's what
you're using now) and no compositor to rule out GPU hangs killing
the compositor. The intel ddx can also deal with the GPU not
recovering from a hang by switching to software rendering,
whereas modesetting cannot.

Hmm. Also T520 is an optimus laptop maybe? If there's an nvidia
GPU involved it's going to be hard to get anyone to care. Better
switch that off in the BIOS if you haven't already.

-- 
Ville Syrjälä
Intel


Re: [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-09-11 Thread Martin Steigerwald
Cc´d Intel Gfx mailing list, in case somebody there knows something:

Cc´d Thorsten for regression tracking… forgot initially. Can also open 
bug report at a later time but so far I cannot provide many details 
about the issue.

Rafael J. Wysocki - 11.09.18, 10:17:
> On Tue, Sep 11, 2018 at 10:01 AM Martin Steigerwald 
 wrote:
> > Hi.
> > 
> > Linus Torvalds - 02.09.18, 23:45:
> > > As usual, the rc2 release is pretty small. People are taking a
> > 
> > With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes hangs
> > with black screen when resuming from suspend or hibernation.  With
> > 4.18.1 it did not. Of course there have been userspace related
> > updates that could be related.
> > 
> > I currently have no time to dig into this and on this production
> > laptop I generally do not do bisects between major kernel releases.
> > So currently I only answer questions that do not require much time
> > to answer.
> > 
> > For now I switched back to 4.18. If that is stable – and thus likely
> > no userspace component is related –, I go with 4.19-rc3 or whatever
> > is most recent version to see if the issue has been fixed already.
> 
> There were almost no general changes related to system-wide PM between
> 4.18 and current, so I would suspect one of the device drivers or the
> x86 core.  It also may be something like CPU online/offline, however.

I see. I wondered about intel-gfx driver already. Of course it could 
also be something else.

I forgot to mention: The mouse pointer was visible, but the screen 
remained black. That may again point away from Intel gfx driver. There 
has been a MESA update in between in userspace.

Currently running 4.18.7 to make sure it is no userspace issue.

Thanks,
-- 
Martin




Re: [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-09-11 Thread Martin Steigerwald
Cc´d Intel Gfx mailing list, in case somebody there knows something:

Cc´d Thorsten for regression tracking… forgot initially. Can also open 
bug report at a later time but so far I cannot provide many details 
about the issue.

Rafael J. Wysocki - 11.09.18, 10:17:
> On Tue, Sep 11, 2018 at 10:01 AM Martin Steigerwald 
 wrote:
> > Hi.
> > 
> > Linus Torvalds - 02.09.18, 23:45:
> > > As usual, the rc2 release is pretty small. People are taking a
> > 
> > With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes hangs
> > with black screen when resuming from suspend or hibernation.  With
> > 4.18.1 it did not. Of course there have been userspace related
> > updates that could be related.
> > 
> > I currently have no time to dig into this and on this production
> > laptop I generally do not do bisects between major kernel releases.
> > So currently I only answer questions that do not require much time
> > to answer.
> > 
> > For now I switched back to 4.18. If that is stable – and thus likely
> > no userspace component is related –, I go with 4.19-rc3 or whatever
> > is most recent version to see if the issue has been fixed already.
> 
> There were almost no general changes related to system-wide PM between
> 4.18 and current, so I would suspect one of the device drivers or the
> x86 core.  It also may be something like CPU online/offline, however.

I see. I wondered about intel-gfx driver already. Of course it could 
also be something else.

I forgot to mention: The mouse pointer was visible, but the screen 
remained black. That may again point away from Intel gfx driver. There 
has been a MESA update in between in userspace.

Currently running 4.18.7 to make sure it is no userspace issue.

Thanks,
-- 
Martin




Re: [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-09-11 Thread Rafael J. Wysocki
Hi,

On Tue, Sep 11, 2018 at 10:01 AM Martin Steigerwald  wrote:
>
> Hi.
>
> Linus Torvalds - 02.09.18, 23:45:
> > As usual, the rc2 release is pretty small. People are taking a
>
> With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes hangs
> with black screen when resuming from suspend or hibernation.  With
> 4.18.1 it did not. Of course there have been userspace related updates
> that could be related.
>
> I currently have no time to dig into this and on this production laptop
> I generally do not do bisects between major kernel releases. So
> currently I only answer questions that do not require much time to
> answer.
>
> For now I switched back to 4.18. If that is stable – and thus likely no
> userspace component is related –, I go with 4.19-rc3 or whatever is most
> recent version to see if the issue has been fixed already.

There were almost no general changes related to system-wide PM between
4.18 and current, so I would suspect one of the device drivers or the
x86 core.  It also may be something like CPU online/offline, however.

Thanks,
Rafael


Re: [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-09-11 Thread Rafael J. Wysocki
Hi,

On Tue, Sep 11, 2018 at 10:01 AM Martin Steigerwald  wrote:
>
> Hi.
>
> Linus Torvalds - 02.09.18, 23:45:
> > As usual, the rc2 release is pretty small. People are taking a
>
> With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes hangs
> with black screen when resuming from suspend or hibernation.  With
> 4.18.1 it did not. Of course there have been userspace related updates
> that could be related.
>
> I currently have no time to dig into this and on this production laptop
> I generally do not do bisects between major kernel releases. So
> currently I only answer questions that do not require much time to
> answer.
>
> For now I switched back to 4.18. If that is stable – and thus likely no
> userspace component is related –, I go with 4.19-rc3 or whatever is most
> recent version to see if the issue has been fixed already.

There were almost no general changes related to system-wide PM between
4.18 and current, so I would suspect one of the device drivers or the
x86 core.  It also may be something like CPU online/offline, however.

Thanks,
Rafael


[REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-09-11 Thread Martin Steigerwald
Hi.

Linus Torvalds - 02.09.18, 23:45:
> As usual, the rc2 release is pretty small. People are taking a

With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes hangs 
with black screen when resuming from suspend or hibernation.  With 
4.18.1 it did not. Of course there have been userspace related updates 
that could be related.

I currently have no time to dig into this and on this production laptop 
I generally do not do bisects between major kernel releases. So 
currently I only answer questions that do not require much time to 
answer.

For now I switched back to 4.18. If that is stable – and thus likely no 
userspace component is related –, I go with 4.19-rc3 or whatever is most 
recent version to see if the issue has been fixed already.

% inxi -z -b -G 
System:Host: […] Kernel: 4.18.1-tp520-btrfstrim x86_64 bits: 64 
Desktop: KDE Plasma 5.13.5 
   Distro: Debian GNU/Linux buster/sid 
Machine:   Type: Laptop System: LENOVO product: 42433WG v: ThinkPad T520 
serial:  
   Mobo: LENOVO model: 42433WG serial:  UEFI [Legacy]: 
LENOVO v: 8AET69WW (1.49 ) 
   date: 06/14/2018 
[…]
CPU:   Dual Core: Intel Core i5-2520M type: MT MCP speed: 2990 MHz 
min/max: 800/3200 MHz 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family 
Integrated Graphics driver: i915 v: kernel 
   Display: x11 server: X.Org 1.20.1 driver: modesetting 
resolution: 1920x1080~60Hz 
   OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3 
Mesa 18.1.7 
[…]
Info:  Processes: 322 Uptime: 16m Memory: 15.45 GiB used: 3.12 GiB 
(20.2%) Shell: zsh inxi: 3.0.22 

Thanks,
Martin

> breather after the merge window, and it takes a bit of time for bug
> reports to start coming in and get identified.  Plus people were
> probably still on vacation (particularly Europe), and some people were
> at Open Source Summit NA last week too. Having a calm week was good.
> 
> Regardless of the reason, it's pretty quiet/ The bulk of it is drivers
> (network and gpu stand out), with the rest being a random collection
> all over (arch/x86 and generic networking stands out, but there's
> misc stuff all over).
> 
> Go out and test.
> 
>  Linus
> 
> ---
> 
> Adrian Hunter (1):
>   mmc: block: Fix unsupported parallel dispatch of requests
> 
> Ahmad Fatoum (1):
>   net: macb: Fix regression breaking non-MDIO fixed-link PHYs
> 
> Akshu Agrawal (1):
>   clk: x86: Set default parent to 48Mhz
> 
> Andi Kleen (2):
>   x86/spectre: Add missing family 6 check to microcode check
>   x86/speculation/l1tf: Increase l1tf memory limit for Nehalem+
> 
> Andrey Grodzovsky (1):
>   drm/amdgpu: Fix page fault and kasan warning on pci device
> remove.
> 
> Andy Lutomirski (1):
>   x86/nmi: Fix NMI uaccess race against CR3 switching
> 
> Anirudh Venkataramanan (5):
>   ice: Fix multiple static analyser warnings
>   ice: Cleanup magic number
>   ice: Fix bugs in control queue processing
>   ice: Fix a few null pointer dereference issues
>   ice: Trivial formatting fixes
> 
> Anson Huang (1):
>   thermal: of-thermal: disable passive polling when thermal zone
> is disabled
> 
> Anssi Hannula (1):
>   net: macb: do not disable MDIO bus at open/close time
> 
> Ard Biesheuvel (3):
>   crypto: arm64/sm4-ce - check for the right CPU feature bit
>   crypto: arm64/aes-gcm-ce - fix scatterwalk API violation
>   powerpc: disable support for relative ksymtab references
> 
> Arnd Bergmann (1):
>   net_sched: fix unused variable warning in stmmac
> 
> Ben Hutchings (1):
>   x86: Allow generating user-space headers without a compiler
> 
> Bo Chen (2):
>   e1000: check on netif_running() before calling e1000_up()
>   e1000: ensure to free old tx/rx rings in set_ringparam()
> 
> Brett Creeley (1):
>   ice: Set VLAN flags correctly
> 
> Bruce Allan (3):
>   ice: Remove unnecessary node owner check
>   ice: Update to interrupts enabled in OICR
>   ice: Change struct members from bool to u8
> 
> Chaitanya Kulkarni (1):
>   nvmet: free workqueue object if module init fails
> 
> Chengguang Xu (1):
>   block: remove unnecessary condition check
> 
> Chris Wilson (2):
>   drm/i915: Stop holding a ref to the ppgtt from each vma
>   drm/i915/audio: Hook up component bindings even if displays are
> disabled
> 
> Christian König (3):
>   drm/amdgpu: fix VM clearing for the root PD
>   drm/amdgpu: fix preamble handling
>   drm/amdgpu: fix holding mn_lock while allocating memory
> 
> Colin Ian King (2):
>   qed: fix spelling mistake "comparsion" -> "comparison"
>   x86/xen: remove redundant variable save_pud
> 
> Cong Wang (10):
>   net_sched: improve and refactor tcf_action_put_many()
>   net_sched: remove unnecessary ops->delete()
>   net_sched: remove unused parameter for tcf_action_delete()
>   net_sched: remove unused tcf_idr_check()
>   net_sched: remove list_head from 

[REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-09-11 Thread Martin Steigerwald
Hi.

Linus Torvalds - 02.09.18, 23:45:
> As usual, the rc2 release is pretty small. People are taking a

With 4.19-rc2 this ThinkPad T520 with i5 Sandybrdige sometimes hangs 
with black screen when resuming from suspend or hibernation.  With 
4.18.1 it did not. Of course there have been userspace related updates 
that could be related.

I currently have no time to dig into this and on this production laptop 
I generally do not do bisects between major kernel releases. So 
currently I only answer questions that do not require much time to 
answer.

For now I switched back to 4.18. If that is stable – and thus likely no 
userspace component is related –, I go with 4.19-rc3 or whatever is most 
recent version to see if the issue has been fixed already.

% inxi -z -b -G 
System:Host: […] Kernel: 4.18.1-tp520-btrfstrim x86_64 bits: 64 
Desktop: KDE Plasma 5.13.5 
   Distro: Debian GNU/Linux buster/sid 
Machine:   Type: Laptop System: LENOVO product: 42433WG v: ThinkPad T520 
serial:  
   Mobo: LENOVO model: 42433WG serial:  UEFI [Legacy]: 
LENOVO v: 8AET69WW (1.49 ) 
   date: 06/14/2018 
[…]
CPU:   Dual Core: Intel Core i5-2520M type: MT MCP speed: 2990 MHz 
min/max: 800/3200 MHz 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family 
Integrated Graphics driver: i915 v: kernel 
   Display: x11 server: X.Org 1.20.1 driver: modesetting 
resolution: 1920x1080~60Hz 
   OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3 
Mesa 18.1.7 
[…]
Info:  Processes: 322 Uptime: 16m Memory: 15.45 GiB used: 3.12 GiB 
(20.2%) Shell: zsh inxi: 3.0.22 

Thanks,
Martin

> breather after the merge window, and it takes a bit of time for bug
> reports to start coming in and get identified.  Plus people were
> probably still on vacation (particularly Europe), and some people were
> at Open Source Summit NA last week too. Having a calm week was good.
> 
> Regardless of the reason, it's pretty quiet/ The bulk of it is drivers
> (network and gpu stand out), with the rest being a random collection
> all over (arch/x86 and generic networking stands out, but there's
> misc stuff all over).
> 
> Go out and test.
> 
>  Linus
> 
> ---
> 
> Adrian Hunter (1):
>   mmc: block: Fix unsupported parallel dispatch of requests
> 
> Ahmad Fatoum (1):
>   net: macb: Fix regression breaking non-MDIO fixed-link PHYs
> 
> Akshu Agrawal (1):
>   clk: x86: Set default parent to 48Mhz
> 
> Andi Kleen (2):
>   x86/spectre: Add missing family 6 check to microcode check
>   x86/speculation/l1tf: Increase l1tf memory limit for Nehalem+
> 
> Andrey Grodzovsky (1):
>   drm/amdgpu: Fix page fault and kasan warning on pci device
> remove.
> 
> Andy Lutomirski (1):
>   x86/nmi: Fix NMI uaccess race against CR3 switching
> 
> Anirudh Venkataramanan (5):
>   ice: Fix multiple static analyser warnings
>   ice: Cleanup magic number
>   ice: Fix bugs in control queue processing
>   ice: Fix a few null pointer dereference issues
>   ice: Trivial formatting fixes
> 
> Anson Huang (1):
>   thermal: of-thermal: disable passive polling when thermal zone
> is disabled
> 
> Anssi Hannula (1):
>   net: macb: do not disable MDIO bus at open/close time
> 
> Ard Biesheuvel (3):
>   crypto: arm64/sm4-ce - check for the right CPU feature bit
>   crypto: arm64/aes-gcm-ce - fix scatterwalk API violation
>   powerpc: disable support for relative ksymtab references
> 
> Arnd Bergmann (1):
>   net_sched: fix unused variable warning in stmmac
> 
> Ben Hutchings (1):
>   x86: Allow generating user-space headers without a compiler
> 
> Bo Chen (2):
>   e1000: check on netif_running() before calling e1000_up()
>   e1000: ensure to free old tx/rx rings in set_ringparam()
> 
> Brett Creeley (1):
>   ice: Set VLAN flags correctly
> 
> Bruce Allan (3):
>   ice: Remove unnecessary node owner check
>   ice: Update to interrupts enabled in OICR
>   ice: Change struct members from bool to u8
> 
> Chaitanya Kulkarni (1):
>   nvmet: free workqueue object if module init fails
> 
> Chengguang Xu (1):
>   block: remove unnecessary condition check
> 
> Chris Wilson (2):
>   drm/i915: Stop holding a ref to the ppgtt from each vma
>   drm/i915/audio: Hook up component bindings even if displays are
> disabled
> 
> Christian König (3):
>   drm/amdgpu: fix VM clearing for the root PD
>   drm/amdgpu: fix preamble handling
>   drm/amdgpu: fix holding mn_lock while allocating memory
> 
> Colin Ian King (2):
>   qed: fix spelling mistake "comparsion" -> "comparison"
>   x86/xen: remove redundant variable save_pud
> 
> Cong Wang (10):
>   net_sched: improve and refactor tcf_action_put_many()
>   net_sched: remove unnecessary ops->delete()
>   net_sched: remove unused parameter for tcf_action_delete()
>   net_sched: remove unused tcf_idr_check()
>   net_sched: remove list_head from