[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-06-18 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

Daniel Vetter  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |CODE_FIX

--- Comment #27 from Daniel Vetter  ---
Patch is merged upstream, thanks for the report and testing.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-06-01 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #26 from Tasev Nikola  ---
(In reply to Daniel Vetter from comment #25)
> Created attachment 137721 [details]
> resume fbcon later
> 
> Hm, somehow forgotten to attach this yesterday. Please test this patch
> instead of any reverts.

The patch work's fine.
Thank you

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-05-30 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #25 from Daniel Vetter  ---
Created attachment 137721
  --> https://bugzilla.kernel.org/attachment.cgi?id=137721&action=edit
resume fbcon later

Hm, somehow forgotten to attach this yesterday. Please test this patch instead
of any reverts.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-05-27 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #24 from Tasev Nikola  ---
Created attachment 137481
  --> https://bugzilla.kernel.org/attachment.cgi?id=137481&action=edit
dmesg with devices for sys-power-pm-test

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-05-27 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #23 from Tasev Nikola  ---
Hi 

I try again different value for /sys/power/pm_test with the
3.15-rc7 kernel and i notice that with devices selected for
/sys/power/pm_test it took long time to resume (12-15 seconds).

Looking into dmesg i can see GPU lockup and uvd errors (at 363.74 line).
I don't no if this is related to my resume problem.
Dmesg is attached.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-05-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #22 from Tasev Nikola  ---
Hi Daniel,

I didn't notice your last reply until today when i was testing
the 3.15-rc6 kernel to report that is still not working.

cat /sys/power/pm_test give me :
[none] core processors platform devices freezer

So i echo the different mode to /sys/power/pm_test one by one 
and then do pm-suspend every time but i could not reproduce the bug,
the computer resume normaly after 3-4 seconds.

If you need the dmesg after every different suspend resume i can
send it to you, just tell me.

Just for info, i also test the rc6 kernel with reverting the patch
in comment 14 and it works ok after resume.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-05-15 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #21 from Daniel Vetter  ---
Ok, the offending commit is actually 177cf92de4aa97ec1435987e91696ed8b5023130,
at least that one matches the diff of your change. It references the other
commit, but that's not the commit itself.

For debugging it might be useful to do the suspend partially. You can disable
certain parts of suspend (it will immediately resume if you do this)

# echo  > /sys/power/pm_test

See

# cat /sys/power/pm_test

for a list of all possible values. If you manage to reproduce the bug with this
please attach the drm.debug=0xe dmesg.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-05-13 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #20 from Tasev Nikola  ---
I tried the patch just in case but it didn't help.
Thank you anyway.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-05-12 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #19 from William Shuman  ---
try the patch mentioned in https://bugzilla.kernel.org/show_bug.cgi?id=75651

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-05-12 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #18 from Tasev Nikola  ---
Hi

Just tested now 3.15-rc5, still not working.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-05-05 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #17 from Tasev Nikola  ---
Hi, 

I just tested 3.15-rc4 today and the bug is still there.

Is it something that i could do/test to help debug this ?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-29 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #16 from Tasev Nikola  ---
For bisecting i did this:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
linux-git

git bisect start | tee -a /root/bisect.log
git bisect bad v3.15-rc1 | tee -a /root/bisect.log
git bisect good v3.14 | tee -a /root/bisect.log

Then i compile the kernel each time with 
CONCURRENCY_LEVEL=4 make-kpkg --initrd kernel_image  modules_image

After testing the kernel 

git bisect good or git bisect bad

then make clean and build again, testing an so on.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-29 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #15 from Tasev Nikola  ---
Created attachment 134191
  --> https://bugzilla.kernel.org/attachment.cgi?id=134191&action=edit
commit 25f397a429dfa43f22c278d0119a60a343aa568f from gitk

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-29 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #14 from Tasev Nikola  ---
Hi,

Here is the patch from the commit that i found with git bisect.
It's a copy paste from gitk for the commit
25f397a429dfa43f22c278d0119a60a343aa568f



-- drivers/gpu/drm/drm_crtc_helper.c --
index c0f2d62..8108db9 100644
@@ -695,12 +695,13 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)
 if (new_encoder == NULL)
 /* don't break so fail path works correct */
 fail = 1;
-break;

 if (connector->dpms != DRM_MODE_DPMS_ON) {
 DRM_DEBUG_KMS("connector dpms not on, full mode
switch\n");
 mode_changed = true;
 }
+
+break;
 }
 }

I just changed the break in the code like before the patch and after
recompiling
the 3.15-rc2 the suspend resume work again.
But like i said i'm just an average user so sorry if i did something wrong.
I attached a full copy paste from gitk for the commit
25f397a429dfa43f22c278d0119a60a343aa568f

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-29 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #13 from Daniel Vetter  ---
Now I'm even more confused, since 25f397a429dfa is a lot more than a one-line
patch. And it _really_ is included in 3.14 already, so git bisect can't
possible list that one as the offending commit for a post-3.14 regression, the
tool doesn't work like that.

Can you please double-check the sha1 and perhaps cite the full commit message +
patch to make sure we're talking about the same?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-29 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #12 from Niko Montonen  ---
Created attachment 134171
  --> https://bugzilla.kernel.org/attachment.cgi?id=134171&action=edit
dmesg from broken kernel

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-29 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #11 from Niko Montonen  ---
Created attachment 134161
  --> https://bugzilla.kernel.org/attachment.cgi?id=134161&action=edit
dmesg from working kernel

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-29 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

Niko Montonen  changed:

   What|Removed |Added

 CC||montonen.niko at gmail.com

--- Comment #10 from Niko Montonen  ---
I have a Lenovo ThinkPad Edge E325 with the upgraded version of Tasev's APU,
the E450, with the HD6320 Wrestler graphics chipset, and I'm suffering from an
issue that would appear to be the same as this.

I'm currently running 3.14.1 on the machine, and it works just fine, but
3.15-rc1 and 3.15-rc3 both fail to resume from suspend (I haven't tested rc2).
The machine hangs completely (network interfaces do not resume etc.), so I'm
unable to get dmesg after suspend.

I feel it's worth noting that the machine also completely ignores the lid
closing with 3.15-rc3, and I believe there are lots of ACPI changes in 3.15,
which would explain a lot.

Are there notes somewhere on how to get some useful debug info for situations
like this?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-28 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #9 from Tasev Nikola  ---
Hi,

I just tried now 3.15-rc3, the bug is still there.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #8 from Tasev Nikola  ---
Created attachment 133801
  --> https://bugzilla.kernel.org/attachment.cgi?id=133801&action=edit
dmesg broken kernel before suspend/resume

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #7 from Tasev Nikola  ---
Created attachment 133791
  --> https://bugzilla.kernel.org/attachment.cgi?id=133791&action=edit
dmesg working kernel after suspend/resume

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #6 from Tasev Nikola  ---
Hi Daniel,

First, sorry if i confuse you , i'm just an averrage user.

But yes this is really the first bad commit git bisect found.
I saw that it is just one line simple patch but it probably masked another
problem elsewhere because the break in the patch is just before the dpms screen
code. And yes changing the break 3 lines above like before the patch and
recompiling the kernel fixes the problem for now. 

I dont know from where could come the problem. And yes, all the kernels before
the 3.15-rc1 work without a problem. 

With the broken 3.15-rc2 kernel (non patched), my computer frooze immediately
after resume. I only have a black screen, i can't log into console and i must
shutdown the computer pressing the power button 10 sec. I attached the dmesg
before suspend/resume. 

For the working 3.15-rc2 with the patch, I attached the dmesg with
drm.debug=0xe after suspend/resume.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #5 from Daniel Vetter  ---
Hm, 25f397a429dfa43f22c was already merged into 3.11, but you say that 3.14
works fine. Is this really the right first bad commit git bisect found? I'm
confused ...

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

Daniel Vetter  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO
 CC||daniel at ffwll.ch

--- Comment #4 from Daniel Vetter  ---
Can you please boot with drm.debug=0xe on broken kernels and on working
kernels, do a suspend/resume and then attach dmesg for each? Please make sure
early boot messages are not cut off, increasing dmesg logsize with log_buf_len
if needed.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-25 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

Tasev Nikola  changed:

   What|Removed |Added

 Regression|No  |Yes

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #3 from Tasev Nikola  ---
Created attachment 133641
  --> https://bugzilla.kernel.org/attachment.cgi?id=133641&action=edit
dmidecode

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #2 from Tasev Nikola  ---
Created attachment 133631
  --> https://bugzilla.kernel.org/attachment.cgi?id=133631&action=edit
lspci grep VGA

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 74751] resume from suspend broken with 3.15-rc1 and rc2 kernels

2014-04-24 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=74751

--- Comment #1 from Tasev Nikola  ---
Created attachment 133621
  --> https://bugzilla.kernel.org/attachment.cgi?id=133621&action=edit
dmesg

-- 
You are receiving this mail because:
You are watching the assignee of the bug.