<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to debugging Linux failure to resume from suspend?</title>
	<atom:link href="http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/feed" rel="self" type="application/rss+xml" />
	<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend</link>
	<description>Viewpoints on technology, society, and government</description>
	<lastBuildDate>Tue, 14 May 2013 02:23:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Tim H</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-11794</link>
		<dc:creator>Tim H</dc:creator>
		<pubDate>Fri, 28 Dec 2012 07:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-11794</guid>
		<description><![CDATA[I just &quot;upgraded&quot; from Ubuntu Lucid to precise.  Under Lucid, I had 100% success with suspend and resume.  Under Precise it kernel panics on resume every time (blinking keyboard lights, no display).  It panics about 2 seconds after pressing the power button.

Of course I have no serial port on this computer.

So basically I am screwed, as best I can tell.  This is a pretty critical feature for me.]]></description>
		<content:encoded><![CDATA[<p>I just &#8220;upgraded&#8221; from Ubuntu Lucid to precise.  Under Lucid, I had 100% success with suspend and resume.  Under Precise it kernel panics on resume every time (blinking keyboard lights, no display).  It panics about 2 seconds after pressing the power button.</p>
<p>Of course I have no serial port on this computer.</p>
<p>So basically I am screwed, as best I can tell.  This is a pretty critical feature for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Goerzen</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10857</link>
		<dc:creator>John Goerzen</dc:creator>
		<pubDate>Wed, 29 Aug 2012 21:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10857</guid>
		<description><![CDATA[No, sadly.]]></description>
		<content:encoded><![CDATA[<p>No, sadly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Menzel</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10853</link>
		<dc:creator>Paul Menzel</dc:creator>
		<pubDate>Wed, 29 Aug 2012 16:05:47 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10853</guid>
		<description><![CDATA[Were you able to solve this problem?]]></description>
		<content:encoded><![CDATA[<p>Were you able to solve this problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10751</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Thu, 02 Aug 2012 10:13:15 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10751</guid>
		<description><![CDATA[Try adding this to the kernel boot command-line, it solved a similar problem for me. No idea what it does but it doesn&#039;t seem to affect performance.

acpi_osi=linux noapic]]></description>
		<content:encoded><![CDATA[<p>Try adding this to the kernel boot command-line, it solved a similar problem for me. No idea what it does but it doesn&#8217;t seem to affect performance.</p>
<p>acpi_osi=linux noapic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Brooks</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10551</link>
		<dc:creator>Aaron Brooks</dc:creator>
		<pubDate>Fri, 22 Jun 2012 03:23:08 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10551</guid>
		<description><![CDATA[Because of the disappearance of legacy serial devices, the USB EHCI standard has an optional specification for EHCI debug ports. A good starting point is this page: http://www.coreboot.org/EHCI_Debug_Port though you&#039;ll probably need to dig through the current kernel docs and, if things are in the same state as the last time I used one of these, the kernel sources. (I also had to do some minor patching to get things to work.)

The device I have is a Ajays Tech NET20DC: http://www.ajaystech.com/net20dc.htm . Having worked with several of these I&#039;ve found that they can vary in the orientation of the primary and secondary interfaces in a way not observable from the outer case. You may need to turn things around. The only difference that I&#039;ve found between the primary and secondary interface is that the device draws power from the primary interface and, usually, it&#039;s more convenient to have the primary interface connected to the debugging host rather than the debugee so the device remains powered.

Not all motherboards support these devices but all the ones that I&#039;ve tried so far do. The main trick is to figure out which USB port is the 0th port as only that port will support the debug interface. On desktops this is likely accomplishable. With notebooks, you are at the mercy of the system designer to wire up and provide a USB connector to the 0th port. Note that most motherboards have additional headers for USB interfaces that may not be connected to the backplate or the chassis. Also, the debug device will not work through a hub.

I wish I remembered the details of the correct kernel commandline options for EHCI debug support but those are gone from my memory.

Good luck!

-A.]]></description>
		<content:encoded><![CDATA[<p>Because of the disappearance of legacy serial devices, the USB EHCI standard has an optional specification for EHCI debug ports. A good starting point is this page: <a href="http://www.coreboot.org/EHCI_Debug_Port" rel="nofollow">http://www.coreboot.org/EHCI_Debug_Port</a> though you&#8217;ll probably need to dig through the current kernel docs and, if things are in the same state as the last time I used one of these, the kernel sources. (I also had to do some minor patching to get things to work.)</p>
<p>The device I have is a Ajays Tech NET20DC: <a href="http://www.ajaystech.com/net20dc.htm" rel="nofollow">http://www.ajaystech.com/net20dc.htm</a> . Having worked with several of these I&#8217;ve found that they can vary in the orientation of the primary and secondary interfaces in a way not observable from the outer case. You may need to turn things around. The only difference that I&#8217;ve found between the primary and secondary interface is that the device draws power from the primary interface and, usually, it&#8217;s more convenient to have the primary interface connected to the debugging host rather than the debugee so the device remains powered.</p>
<p>Not all motherboards support these devices but all the ones that I&#8217;ve tried so far do. The main trick is to figure out which USB port is the 0th port as only that port will support the debug interface. On desktops this is likely accomplishable. With notebooks, you are at the mercy of the system designer to wire up and provide a USB connector to the 0th port. Note that most motherboards have additional headers for USB interfaces that may not be connected to the backplate or the chassis. Also, the debug device will not work through a hub.</p>
<p>I wish I remembered the details of the correct kernel commandline options for EHCI debug support but those are gone from my memory.</p>
<p>Good luck!</p>
<p>-A.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gena2x</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10475</link>
		<dc:creator>gena2x</dc:creator>
		<pubDate>Sun, 17 Jun 2012 02:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10475</guid>
		<description><![CDATA[Treakiest thing in kernel is debugging suspend/resume.

Things to try for ordinary users are:
1. Try different kernel versions. Downgrade, upgrade.
2. Try to disable as much hardware as possible (for example, just move out kernel modules
Kernel hacker would do:
1. Try serial console to view kernel log.
2. Try to save kernel log to some storage and replay on reboot.
3. Try to disable framebuffer to see log
4. Try to enable kernel debugging options.

Hope that options would be enough to entertain you for a few days =)]]></description>
		<content:encoded><![CDATA[<p>Treakiest thing in kernel is debugging suspend/resume.</p>
<p>Things to try for ordinary users are:<br />
1. Try different kernel versions. Downgrade, upgrade.<br />
2. Try to disable as much hardware as possible (for example, just move out kernel modules<br />
Kernel hacker would do:<br />
1. Try serial console to view kernel log.<br />
2. Try to save kernel log to some storage and replay on reboot.<br />
3. Try to disable framebuffer to see log<br />
4. Try to enable kernel debugging options.</p>
<p>Hope that options would be enough to entertain you for a few days =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eMHa</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10470</link>
		<dc:creator>eMHa</dc:creator>
		<pubDate>Fri, 15 Jun 2012 12:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10470</guid>
		<description><![CDATA[Have you tried to suspend/resume using an up-to-date Live-CD (Debian, Ubuntu, or any other distro)? Thats what I usually &quot;try on laptops&quot; to figure where the problem might be.]]></description>
		<content:encoded><![CDATA[<p>Have you tried to suspend/resume using an up-to-date Live-CD (Debian, Ubuntu, or any other distro)? Thats what I usually &#8220;try on laptops&#8221; to figure where the problem might be.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Hedderly</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10465</link>
		<dc:creator>Paul Hedderly</dc:creator>
		<pubDate>Fri, 15 Jun 2012 07:35:12 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10465</guid>
		<description><![CDATA[Do you have a serial port on that machine? You could try setting kernel logging/console to ttyS0 and watch that with another machine obviously.

If that mobo doesnt have serial... lament!]]></description>
		<content:encoded><![CDATA[<p>Do you have a serial port on that machine? You could try setting kernel logging/console to ttyS0 and watch that with another machine obviously.</p>
<p>If that mobo doesnt have serial&#8230; lament!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Goerzen</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10463</link>
		<dc:creator>John Goerzen</dc:creator>
		<pubDate>Fri, 15 Jun 2012 03:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10463</guid>
		<description><![CDATA[Some good tips there, Ben, Thanks.

I don&#039;t think the syslog will help; the problem seems to be on the way up, and the network is broken at that point, though I suppose it wouldn&#039;t hurt to validate that assumption.]]></description>
		<content:encoded><![CDATA[<p>Some good tips there, Ben, Thanks.</p>
<p>I don&#8217;t think the syslog will help; the problem seems to be on the way up, and the network is broken at that point, though I suppose it wouldn&#8217;t hurt to validate that assumption.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Hutchings</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10462</link>
		<dc:creator>Ben Hutchings</dc:creator>
		<pubDate>Fri, 15 Jun 2012 01:36:41 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10462</guid>
		<description><![CDATA[I don&#039;t know whether you&#039;ve gone through this already, but: http://www.kernel.org/doc/Documentation/power/basic-pm-debugging.txt]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t know whether you&#8217;ve gone through this already, but: <a href="http://www.kernel.org/doc/Documentation/power/basic-pm-debugging.txt" rel="nofollow">http://www.kernel.org/doc/Documentation/power/basic-pm-debugging.txt</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10460</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 14 Jun 2012 22:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10460</guid>
		<description><![CDATA[Write up what you tested, and post it to LKML with CCs to Rafael Wysocki and Pavel Machek, requesting assistance debugging the resume failure and offering to try any troubleshooting or information-gathering steps they might suggest.]]></description>
		<content:encoded><![CDATA[<p>Write up what you tested, and post it to LKML with CCs to Rafael Wysocki and Pavel Machek, requesting assistance debugging the resume failure and offering to try any troubleshooting or information-gathering steps they might suggest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jisakiel</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10459</link>
		<dc:creator>jisakiel</dc:creator>
		<pubDate>Thu, 14 Jun 2012 22:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10459</guid>
		<description><![CDATA[Perhaps you might try netconsole and configuring syslog to logging to a different computer, as it doesn&#039;t seem x related...]]></description>
		<content:encoded><![CDATA[<p>Perhaps you might try netconsole and configuring syslog to logging to a different computer, as it doesn&#8217;t seem x related&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Goerzen</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10458</link>
		<dc:creator>John Goerzen</dc:creator>
		<pubDate>Thu, 14 Jun 2012 21:54:12 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10458</guid>
		<description><![CDATA[I&#039;ve tried that.  In fact, I&#039;ve tried it in single-user mode where X never even had the chance to load.  And I&#039;ve tried it with a bunch of modules unloaded.  That exact pm-suspend command.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried that.  In fact, I&#8217;ve tried it in single-user mode where X never even had the chance to load.  And I&#8217;ve tried it with a bunch of modules unloaded.  That exact pm-suspend command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Medberry</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10457</link>
		<dc:creator>David Medberry</dc:creator>
		<pubDate>Thu, 14 Jun 2012 21:52:56 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10457</guid>
		<description><![CDATA[How are you suspending? Try going to the first virtual terminal Ctrl-Alt-F1 and the running &quot;sudo pm-suspend&quot;. That should do a proper suspend and then try and wake up.]]></description>
		<content:encoded><![CDATA[<p>How are you suspending? Try going to the first virtual terminal Ctrl-Alt-F1 and the running &#8220;sudo pm-suspend&#8221;. That should do a proper suspend and then try and wake up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Goerzen: How to debugging Linux failure to resume from suspend? &#124; Linux-Support.com</title>
		<link>http://changelog.complete.org/archives/7550-how-to-debugging-linux-failure-to-resume-from-suspend/comment-page-1#comment-10455</link>
		<dc:creator>John Goerzen: How to debugging Linux failure to resume from suspend? &#124; Linux-Support.com</dc:creator>
		<pubDate>Thu, 14 Jun 2012 20:45:11 +0000</pubDate>
		<guid isPermaLink="false">http://changelog.complete.org/?p=7550#comment-10455</guid>
		<description><![CDATA[[...] source: Go to Source Feed source: http://planet.debian.org/rss20.xml License: The original licenses are retained &#8211; [...]]]></description>
		<content:encoded><![CDATA[<p>[...] source: Go to Source Feed source: <a href="http://planet.debian.org/rss20.xml" rel="nofollow">http://planet.debian.org/rss20.xml</a> License: The original licenses are retained &#8211; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
