<?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: Fast kernel debugging for VMware, part 7: Review and Final Comments</title>
	<atom:link href="http://www.nynaeve.net/index.php?feed=rss2&#038;p=174" rel="self" type="application/rss+xml" />
	<link>http://www.nynaeve.net/?p=174</link>
	<description>Adventures in Windows debugging and reverse engineering.</description>
	<lastBuildDate>Tue, 24 Aug 2010 12:05:39 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 介绍一个超酷的工具: vmkd &#124; DbgTech's Blog</title>
		<link>http://www.nynaeve.net/?p=174&#038;cpage=1#comment-31800</link>
		<dc:creator>介绍一个超酷的工具: vmkd &#124; DbgTech's Blog</dc:creator>
		<pubDate>Wed, 31 Dec 2008 03:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.nynaeve.net/?p=174#comment-31800</guid>
		<description></description>
		<content:encoded><![CDATA[<p>[...] Skywing 最近在网站上发布了一个工具 vmkd（http://www.nynaeve.net/?page_id=168 ）可以解决上面的问题，而且还写了一系列文 说明实现原理（http://www.nynaeve.net/?p=174）。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Skywing</title>
		<link>http://www.nynaeve.net/?p=174&#038;cpage=1#comment-18886</link>
		<dc:creator>Skywing</dc:creator>
		<pubDate>Fri, 12 Oct 2007 19:56:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.nynaeve.net/?p=174#comment-18886</guid>
		<description>John: I never had much luck turning on the option to speed up the virtual serial port; last time I tried it, stuff started randomly breaking left and right.  There&#039;s some documentation if you want to try it yourself here:

http://www.vmware.com/support/ws4/doc/devices_serial_ws.html

...but I never really had a whole lot of luck with respect to reliable operation when greatly reducing the serial input delay.  It might also be worth mentioning that when I was originally going the route of patching the internal KDCOM routines to send/receive one character from the serial port to bypass the serial I/O and use the OS not found I/O port (which is indeed faster), things would often get into a state where the target and KD would get stuck trying to resynchronize and you&#039;d have to restart KD or sometimes even restart the target to get things working again.  The KD protocol seems to have some unfortunate timing sensitive parts (especially during synchronization) that seemed to get unhappy about that.</description>
		<content:encoded><![CDATA[<p>John: I never had much luck turning on the option to speed up the virtual serial port; last time I tried it, stuff started randomly breaking left and right.  There&#8217;s some documentation if you want to try it yourself here:</p>
<p><a href="http://www.vmware.com/support/ws4/doc/devices_serial_ws.html" rel="nofollow">http://www.vmware.com/support/ws4/doc/devices_serial_ws.html</a></p>
<p>&#8230;but I never really had a whole lot of luck with respect to reliable operation when greatly reducing the serial input delay.  It might also be worth mentioning that when I was originally going the route of patching the internal KDCOM routines to send/receive one character from the serial port to bypass the serial I/O and use the OS not found I/O port (which is indeed faster), things would often get into a state where the target and KD would get stuck trying to resynchronize and you&#8217;d have to restart KD or sometimes even restart the target to get things working again.  The KD protocol seems to have some unfortunate timing sensitive parts (especially during synchronization) that seemed to get unhappy about that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nksingh</title>
		<link>http://www.nynaeve.net/?p=174&#038;cpage=1#comment-18883</link>
		<dc:creator>nksingh</dc:creator>
		<pubDate>Fri, 12 Oct 2007 17:56:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.nynaeve.net/?p=174#comment-18883</guid>
		<description>@John: 

From what I gather by reading Skywing&#039;s articles, the unthrottled virtual serial interface would not be particularly fast because every byte written would involve a VM exit (a dumping of the virtualized register and memory TLB context) in addition to the expected context switch.  You have to do this at every byte because that&#039;s the granularity of the serial channel: there&#039;s no in-built information about how long a transmission should be in total so that there could be some batching.  

Skywing&#039;s approach of trapping and exiting at a higher protocol layer is much better.  Thanks for this series of articles.  I hope your call to action is answered.</description>
		<content:encoded><![CDATA[<p>@John: </p>
<p>From what I gather by reading Skywing&#8217;s articles, the unthrottled virtual serial interface would not be particularly fast because every byte written would involve a VM exit (a dumping of the virtualized register and memory TLB context) in addition to the expected context switch.  You have to do this at every byte because that&#8217;s the granularity of the serial channel: there&#8217;s no in-built information about how long a transmission should be in total so that there could be some batching.  </p>
<p>Skywing&#8217;s approach of trapping and exiting at a higher protocol layer is much better.  Thanks for this series of articles.  I hope your call to action is answered.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.nynaeve.net/?p=174&#038;cpage=1#comment-18879</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 12 Oct 2007 15:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.nynaeve.net/?p=174#comment-18879</guid>
		<description>I&#039;m curious about something...  What if the virtual serial port in the guest VM wasn&#039;t throttled to the speed of a real serial port?  How much faster would the existing COM-port kernel debugger connection run?</description>
		<content:encoded><![CDATA[<p>I&#8217;m curious about something&#8230;  What if the virtual serial port in the guest VM wasn&#8217;t throttled to the speed of a real serial port?  How much faster would the existing COM-port kernel debugger connection run?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.nynaeve.net/?p=174&#038;cpage=1#comment-18877</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 12 Oct 2007 14:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.nynaeve.net/?p=174#comment-18877</guid>
		<description>Just wanted to say: I really enjoyed this series and will find a fast alternative to the serial port for kernel debugging a welcome relief.

I like to enable some fairly verbose logging while running a test series, to keep track of the events leading up to a bug. With the serial port, this takes forever.

The theory behind VMs and how VMWare is implemented was also very interesting.

I look forward to reading your future entries.</description>
		<content:encoded><![CDATA[<p>Just wanted to say: I really enjoyed this series and will find a fast alternative to the serial port for kernel debugging a welcome relief.</p>
<p>I like to enable some fairly verbose logging while running a test series, to keep track of the events leading up to a bug. With the serial port, this takes forever.</p>
<p>The theory behind VMs and how VMWare is implemented was also very interesting.</p>
<p>I look forward to reading your future entries.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.329 seconds -->
