<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Defrag Tools: #27 - WinDbg - Configure Kernel Debugging</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging/RSS"></atom:link>
	<image>
		<url>http://media.ch9.ms/ch9/132b/17027c6b-3db6-44dd-93c0-ace61735132b/DefragTools27_220.jpg</url>
		<title>Channel 9 - Defrag Tools: #27 - WinDbg - Configure Kernel Debugging</title>
		<link></link>
	</image>
	<description>In this episode of Defrag Tools, Andrew Richards, Chad Beeder and Larry Larsen continue looking at the Debugging Tools for Windows (in particular WinDbg). WinDbg is a debugger that supports user mode debugging of a process, or kernel mode debugging of a computer. This installment goes over the cables and configuration steps required to set up kernel mode debugging. We use these BCDEdit commands: bcdedit bcdedit /dbgsettings bcdedit /dbgsettings 1394 channel:42 bcdedit /dbgsettings net hostip:192.168.0.10 port:50000 key:a.b.c.d bcdedit /debug on bcdedit /debug off In the debug session, we use these commands: .crash .dump /f lm !lmi .reload /f !drvobj !drvobj &amp;lt;module&amp;gt; 2 bl bc * be &amp;lt;N&amp;gt; bd &amp;lt;N&amp;gt; bp &amp;lt;function&amp;gt; bm &amp;lt;wildcard&amp;gt; x &amp;lt;wildcard&amp;gt; g Make sure you watch Defrag Tools Episode #1 and Defrag Tools Episode #23 for instructions on how to get the Debugging Tools for Windows and how to set the required environment variables for symbol and source code resolution. Resources:NT Debugging Blog - How to Setup a Debug Crash Cart to Prevent Your Server from Flat LiningNT Debugging Blog - Remoting Your Debug Crash Cart With KDNET&amp;nbsp;[10th May 2013]USBViewUSB3 Debugging Cable- Note, you must use a USB3 A-A cable designed for debugging, otherwise it will fry your box! Timeline:[00:45] - Kernel Debugging Cables[02:14] - USB 2.0[04:13] - USB 3.0 - New in Windows 8/Windows RT[05:30] - 1394 (Firewire)[10:39] - Break[11:38] - Driver Objects[16:00] - Network - New in Windows 8/Windows RT[17:30] - Breakpoint commands[26:00] - Network - BCDEdit[33:37] - SecureBoot and BitLocker </description>
	<link></link>
	<language>en</language>
	<pubDate>Thu, 20 Jun 2013 02:01:04 GMT</pubDate>
	<lastBuildDate>Thu, 20 Jun 2013 02:01:04 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Defrag Tools: #27 - WinDbg - Configure Kernel Debugging</title>
		<description>
			<![CDATA[Great show.<br>btw as a little tid-bit of info... IEEE1394&#47;FireWire is actually the first form of serialized SCSI. Thus why it has channels 0..63 - it&#39;s the number of SCSI id&#39;s&#47;slots on a SCSI bus. The electrical transport specifications of 1394 has seen been obsoleted when connecting to hard drives. SAS &#40;Serial Attached SCSI&#41; Hard Drives now use the Nexus electrical standard - which is everywhere - GigE, PCIe, HDMI, SATA, SAS. The 1394 protocol lives on today in the SAS communciation protocol.<br><p>posted by Edward</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634962073364946843</link>
		<pubDate>Mon, 11 Feb 2013 19:22:16 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634962073364946843</guid>
		<dc:creator>Edward</dc:creator>
	</item>
	<item>
		<title>Re: Defrag Tools: #27 - WinDbg - Configure Kernel Debugging</title>
		<description>
			<![CDATA[<p>Brownie points to the first person who can tell me why my modem.sys breakpoint didn't get hit! I went back and watched the show later and figured out my mistake. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /></p><p>posted by ChadBeeder</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634962213923311785</link>
		<pubDate>Mon, 11 Feb 2013 23:16:32 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634962213923311785</guid>
		<dc:creator>ChadBeeder</dc:creator>
	</item>
	<item>
		<title>Re: Defrag Tools: #27 - WinDbg - Configure Kernel Debugging</title>
		<description>
			<![CDATA[<p>Really like the whole series. This episode was good because the few times I've had to do this it was a bit of a pain so I'm glad this was covered.</p><p>Serial Tablet Larry? That's some solid hardware; just keeps on ticking. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /></p><p>posted by dtower</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634962394849761868</link>
		<pubDate>Tue, 12 Feb 2013 04:18:04 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634962394849761868</guid>
		<dc:creator>dtower</dc:creator>
	</item>
	<item>
		<title>Re: Defrag Tools: #27 - WinDbg - Configure Kernel Debugging</title>
		<description>
			<![CDATA[<p>@<a class="profile" href="http://channel9.msdn.com/Niners/ChadBeeder">ChadBeeder</a> Re-watched that part a few times. At first I though you had left that breakpoint disabled but that doesn't seem to be the case. Perhaps the modem wasn't powered on in the first place and that function is never called?</p><p>Anyway I'll be checking back to see if someone figures it out.</p><p>posted by ajasmin</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634963009075860933</link>
		<pubDate>Tue, 12 Feb 2013 21:21:47 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634963009075860933</guid>
		<dc:creator>ajasmin</dc:creator>
	</item>
	<item>
		<title>Re: Defrag Tools: #27 - WinDbg - Configure Kernel Debugging</title>
		<description>
			<![CDATA[<p>Even I couldn't work it out - I guessed the same as you, that it was a disabled breakpoint or it wasn't powered on.&nbsp;Chad said he'd &nbsp;answer it on the episode we tape tomorrow, and air on Monday.</p><p>posted by windev</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634963221707754700</link>
		<pubDate>Wed, 13 Feb 2013 03:16:10 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634963221707754700</guid>
		<dc:creator>windev</dc:creator>
	</item>
	<item>
		<title>Re: Defrag Tools: #27 - WinDbg - Configure Kernel Debugging</title>
		<description>
			<![CDATA[<p>Liked the show. Really nice.&nbsp;</p><p>I watch the part where the breakpoint was set on modem!ModemPower twice. My guess is the breakpoint needed to be on a different function? modem!PowerPnP? Maybe?</p><p>posted by FFE</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634965027082919840</link>
		<pubDate>Fri, 15 Feb 2013 05:25:08 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634965027082919840</guid>
		<dc:creator>FFE</dc:creator>
	</item>
	<item>
		<title>Re: Defrag Tools: #27 - WinDbg - Configure Kernel Debugging</title>
		<description>
			<![CDATA[<p>@<a href="/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634965027082919840">FFE</a>: You got it! I set the breakpoint on the dispatch routine for IRP_MJ_POWER&nbsp;(modem!ModemPower), then disabled the modem in device manager, which would result in, not a power IRP, but a Plug and Play IRP (IRP_MJ_PNP).</p><p>I should have set the breakpoint on modem!ModemPnP instead of modem!ModemPower.</p><p>posted by ChadBeeder</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634965580953126933</link>
		<pubDate>Fri, 15 Feb 2013 20:48:15 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634965580953126933</guid>
		<dc:creator>ChadBeeder</dc:creator>
	</item>
	<item>
		<title>Re: Defrag Tools: #27 - WinDbg - Configure Kernel Debugging</title>
		<description>
			<![CDATA[Crispin Glover&#63;<p>posted by Simon</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634966726267245359</link>
		<pubDate>Sun, 17 Feb 2013 04:37:06 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634966726267245359</guid>
		<dc:creator>Simon</dc:creator>
	</item>
	<item>
		<title>Re: Defrag Tools: #27 - WinDbg - Configure Kernel Debugging</title>
		<description>
			<![CDATA[<p><strong>Enabling Debug mode causes Windows to hang if no Debugger is connected</strong></p><p><a href="http://support.microsoft.com/kb/2816225/en-us">http&#58;&#47;&#47;support.microsoft.com&#47;kb&#47;2816225&#47;en-us</a></p><p>posted by MagicAndre1981</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634978969401392377</link>
		<pubDate>Sun, 03 Mar 2013 08:42:20 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634978969401392377</guid>
		<dc:creator>MagicAndre1981</dc:creator>
	</item>
	<item>
		<title>Re: Defrag Tools: #27 - WinDbg - Configure Kernel Debugging</title>
		<description>
			<![CDATA[thank you<p>posted by charles</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634987897977135964</link>
		<pubDate>Wed, 13 Mar 2013 16:43:17 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634987897977135964</guid>
		<dc:creator>charles</dc:creator>
	</item>
	<item>
		<title>Re: Defrag Tools: #27 - WinDbg - Configure Kernel Debugging</title>
		<description>
			<![CDATA[<p>great page thank you</p><p>posted by crb9922</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634987899443229773</link>
		<pubDate>Wed, 13 Mar 2013 16:45:44 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-27-WinDbg-Configure-Kernel-Debugging#c634987899443229773</guid>
		<dc:creator>crb9922</dc:creator>
	</item>
</channel>
</rss>