Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-17 Thread Zhang Rui
On Sat, 2014-08-16 at 02:46 +0200, Rafael J. Wysocki wrote: > On Friday, August 15, 2014 10:17:42 AM Markus Gutschke wrote: > > Just wondering if any of you had any other ideas of what I could try > > to help debug this problem? > > My theory is that there is a device in your system that we don't

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-17 Thread Zhang Rui
On Sat, 2014-08-16 at 02:46 +0200, Rafael J. Wysocki wrote: On Friday, August 15, 2014 10:17:42 AM Markus Gutschke wrote: Just wondering if any of you had any other ideas of what I could try to help debug this problem? My theory is that there is a device in your system that we don't have a

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-16 Thread Markus Gutschke
I collected all the data that you asked for and attached it to the bug: https://bugzilla.kernel.org/show_bug.cgi?id=80911 Yes, both acpidump output and the list of PNP devices changes when I update the kernel. I was hoping to give you a brief "diff" output for the changes; but there are too many

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-16 Thread Markus Gutschke
I collected all the data that you asked for and attached it to the bug: https://bugzilla.kernel.org/show_bug.cgi?id=80911 Yes, both acpidump output and the list of PNP devices changes when I update the kernel. I was hoping to give you a brief diff output for the changes; but there are too many

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-15 Thread Rafael J. Wysocki
On Friday, August 15, 2014 10:17:42 AM Markus Gutschke wrote: > Just wondering if any of you had any other ideas of what I could try > to help debug this problem? My theory is that there is a device in your system that we don't have a driver for, but it had been enumerated as a PNP device before

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-15 Thread Markus Gutschke
Just wondering if any of you had any other ideas of what I could try to help debug this problem? Thanks, Markus On Tue, Aug 12, 2014 at 9:11 AM, Markus Gutschke wrote: > As I said earlier in this thread, echo'ing "devices" into "pm_test" > does not result in a crash; but doing so for

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-15 Thread Markus Gutschke
Just wondering if any of you had any other ideas of what I could try to help debug this problem? Thanks, Markus On Tue, Aug 12, 2014 at 9:11 AM, Markus Gutschke mar...@gutschke.com wrote: As I said earlier in this thread, echo'ing devices into pm_test does not result in a crash; but doing so

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-15 Thread Rafael J. Wysocki
On Friday, August 15, 2014 10:17:42 AM Markus Gutschke wrote: Just wondering if any of you had any other ideas of what I could try to help debug this problem? My theory is that there is a device in your system that we don't have a driver for, but it had been enumerated as a PNP device before

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-12 Thread Markus Gutschke
As I said earlier in this thread, echo'ing "devices" into "pm_test" does not result in a crash; but doing so for "platform" does. Markus On Aug 12, 2014 1:26 AM, "Zhang Rui" wrote: > > On Sat, 2014-08-09 at 03:14 -0700, Markus Gutschke wrote: > > I am back and have physical access to the

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-12 Thread Zhang Rui
On Sat, 2014-08-09 at 03:14 -0700, Markus Gutschke wrote: > I am back and have physical access to the machine now. > great! > I re-ran the test just to be sure, and I can confirm that "platform" > does in fact result in a crash. > what about "devices"? I mean # echo devices >

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-12 Thread Zhang Rui
On Sat, 2014-08-09 at 03:14 -0700, Markus Gutschke wrote: I am back and have physical access to the machine now. great! I re-ran the test just to be sure, and I can confirm that platform does in fact result in a crash. what about devices? I mean # echo devices /sys/power/pm_test and see

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-12 Thread Markus Gutschke
As I said earlier in this thread, echo'ing devices into pm_test does not result in a crash; but doing so for platform does. Markus On Aug 12, 2014 1:26 AM, Zhang Rui rui.zh...@intel.com wrote: On Sat, 2014-08-09 at 03:14 -0700, Markus Gutschke wrote: I am back and have physical access to the

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-09 Thread Markus Gutschke
I am back and have physical access to the machine now. I re-ran the test just to be sure, and I can confirm that "platform" does in fact result in a crash. Furthermore, I ran the test that Rui asked for. I suspended, resumed, and upon crashing power-cycled the machine ASAP. "dmesg" suggests that

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-09 Thread Markus Gutschke
I am back and have physical access to the machine now. I re-ran the test just to be sure, and I can confirm that platform does in fact result in a crash. Furthermore, I ran the test that Rui asked for. I suspended, resumed, and upon crashing power-cycled the machine ASAP. dmesg suggests that the

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-06 Thread Markus Gutschke
"platform" does in fact appear to cause a crash (at least, I can't reach the machine anymore, after having suspended). I am still on the road and have to do this remotely, and I cannot get hold of my helper right now. I'll try again later tonight or maybe the next day(s) and will get back to you

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-06 Thread Rafael J. Wysocki
On Wednesday, August 06, 2014 11:31:07 AM Markus Gutschke wrote: > I tried removing snd_hda_intel, but it didn't make any difference. > > I then followed your instructions to turn on tracing, but I am more > puzzled than I was before. The crash reliably happens, every time I > suspend/resume

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-06 Thread Markus Gutschke
I tried removing snd_hda_intel, but it didn't make any difference. I then followed your instructions to turn on tracing, but I am more puzzled than I was before. The crash reliably happens, every time I suspend/resume without first having tracing turned on. But as soon as I enter "echo devices

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-06 Thread Markus Gutschke
I tried removing snd_hda_intel, but it didn't make any difference. I then followed your instructions to turn on tracing, but I am more puzzled than I was before. The crash reliably happens, every time I suspend/resume without first having tracing turned on. But as soon as I enter echo devices

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-06 Thread Rafael J. Wysocki
On Wednesday, August 06, 2014 11:31:07 AM Markus Gutschke wrote: I tried removing snd_hda_intel, but it didn't make any difference. I then followed your instructions to turn on tracing, but I am more puzzled than I was before. The crash reliably happens, every time I suspend/resume without

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-06 Thread Markus Gutschke
platform does in fact appear to cause a crash (at least, I can't reach the machine anymore, after having suspended). I am still on the road and have to do this remotely, and I cannot get hold of my helper right now. I'll try again later tonight or maybe the next day(s) and will get back to you

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-04 Thread Zhang Rui
Hi, Markus, On Mon, 2014-08-04 at 09:06 -0700, Markus Gutschke wrote: > Thanks for checking in. And no, I have not heard from Zhang since my > last e-mail. I suspect he is still working on finding a solution. Yes, I was trying to find out what differences commit

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-04 Thread Rafael J. Wysocki
On Monday, August 04, 2014 09:06:52 AM Markus Gutschke wrote: > Thanks for checking in. And no, I have not heard from Zhang since my > last e-mail. I suspect he is still working on finding a solution. But > you are of course right, reverting the patch in the meantime might be > a good idea. It

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-04 Thread Markus Gutschke
Thanks for checking in. And no, I have not heard from Zhang since my last e-mail. I suspect he is still working on finding a solution. But you are of course right, reverting the patch in the meantime might be a good idea. I would love to be able to suspend my laptop again. But I defer to Zhang for

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-04 Thread Pavel Machek
On Sat 2014-07-26 08:52:34, Markus Gutschke wrote: > Sorry for the delay. Remotely debugging kernels over a shared and > flaky 1MBps terrestrial wireless connection is quite a new experience > to me. > > In any case, I was able to collect all the data that you asked for. I > then used

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-04 Thread Pavel Machek
On Sat 2014-07-26 08:52:34, Markus Gutschke wrote: Sorry for the delay. Remotely debugging kernels over a shared and flaky 1MBps terrestrial wireless connection is quite a new experience to me. In any case, I was able to collect all the data that you asked for. I then used pm-suspend to put

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-04 Thread Markus Gutschke
Thanks for checking in. And no, I have not heard from Zhang since my last e-mail. I suspect he is still working on finding a solution. But you are of course right, reverting the patch in the meantime might be a good idea. I would love to be able to suspend my laptop again. But I defer to Zhang for

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-04 Thread Rafael J. Wysocki
On Monday, August 04, 2014 09:06:52 AM Markus Gutschke wrote: Thanks for checking in. And no, I have not heard from Zhang since my last e-mail. I suspect he is still working on finding a solution. But you are of course right, reverting the patch in the meantime might be a good idea. It has

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-04 Thread Zhang Rui
Hi, Markus, On Mon, 2014-08-04 at 09:06 -0700, Markus Gutschke wrote: Thanks for checking in. And no, I have not heard from Zhang since my last e-mail. I suspect he is still working on finding a solution. Yes, I was trying to find out what differences commit

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-07-26 Thread Markus Gutschke
Sorry for the delay. Remotely debugging kernels over a shared and flaky 1MBps terrestrial wireless connection is quite a new experience to me. In any case, I was able to collect all the data that you asked for. I then used "pm-suspend" to put the machine to sleep and asked a helper to physically

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-07-26 Thread Markus Gutschke
Sorry for the delay. Remotely debugging kernels over a shared and flaky 1MBps terrestrial wireless connection is quite a new experience to me. In any case, I was able to collect all the data that you asked for. I then used pm-suspend to put the machine to sleep and asked a helper to physically

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-07-21 Thread Zhang Rui
On Thu, 2014-07-17 at 10:27 -0700, Markus Gutschke wrote: > Please note the crash in "dmesg" right after booting. This looks relevant: > I think the crash log also exists in 3.15 kernel, can you please verify this? > https://medusa.gutschke.com/markus/acpi/after-dmesg.txt >

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-07-21 Thread Zhang Rui
On Thu, 2014-07-17 at 10:27 -0700, Markus Gutschke wrote: Please note the crash in dmesg right after booting. This looks relevant: I think the crash log also exists in 3.15 kernel, can you please verify this? https://medusa.gutschke.com/markus/acpi/after-dmesg.txt

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-07-17 Thread Markus Gutschke
Please note the crash in "dmesg" right after booting. This looks relevant: https://medusa.gutschke.com/markus/acpi/after-dmesg.txt https://medusa.gutschke.com/markus/acpi/acpidump.txt https://medusa.gutschke.com/markus/acpi/before-platform-devices-firmware-node.txt

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-07-17 Thread Zhang Rui
Hi, Markus, Can you please attach 1. the acpidump output 2. dmesg output after boot in 3.16-rc 3. the output of a) "grep . /sys/bus/pnp/devices/*/firmware_node/*" b) "grep . /sys/bus/pnp/devices/*/*" c) "grep . /sys/bus/platform/devices/*/firmware_node/*" d) "grep .

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-07-17 Thread Markus Gutschke
Adding the reviewers of the faulty change list to the cc list for this e-mail. I hope that is considered proper etiquette for the LKML. On Tue, Jul 15, 2014 at 6:51 PM, Markus Gutschke wrote: > My Dell M4400 has been pretty well-supported by Linux a couple of > years now, but recent 3.16-rcX

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-07-17 Thread Markus Gutschke
Adding the reviewers of the faulty change list to the cc list for this e-mail. I hope that is considered proper etiquette for the LKML. On Tue, Jul 15, 2014 at 6:51 PM, Markus Gutschke mar...@gutschke.com wrote: My Dell M4400 has been pretty well-supported by Linux a couple of years now, but

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-07-17 Thread Zhang Rui
Hi, Markus, Can you please attach 1. the acpidump output 2. dmesg output after boot in 3.16-rc 3. the output of a) grep . /sys/bus/pnp/devices/*/firmware_node/* b) grep . /sys/bus/pnp/devices/*/* c) grep . /sys/bus/platform/devices/*/firmware_node/* d) grep .

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-07-17 Thread Markus Gutschke
Please note the crash in dmesg right after booting. This looks relevant: https://medusa.gutschke.com/markus/acpi/after-dmesg.txt https://medusa.gutschke.com/markus/acpi/acpidump.txt https://medusa.gutschke.com/markus/acpi/before-platform-devices-firmware-node.txt

3.16-rcX crashes on resume from Suspend-To-RAM

2014-07-15 Thread Markus Gutschke
My Dell M4400 has been pretty well-supported by Linux a couple of years now, but recent 3.16-rcX cause hard crashes when resuming from Suspend-to-RAM. This is tricky to debug, as device drivers are not yet restored by the time that the crash happens. So, I can't use Page-UP to scroll the screen

3.16-rcX crashes on resume from Suspend-To-RAM

2014-07-15 Thread Markus Gutschke
My Dell M4400 has been pretty well-supported by Linux a couple of years now, but recent 3.16-rcX cause hard crashes when resuming from Suspend-to-RAM. This is tricky to debug, as device drivers are not yet restored by the time that the crash happens. So, I can't use Page-UP to scroll the screen