<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Professional VMware &#187; Crash Dump</title> <atom:link href="http://professionalvmware.com/category/crash-dump/feed/" rel="self" type="application/rss+xml" /><link>http://professionalvmware.com</link> <description>How Many Turtles Can You Fit On A Rock?</description> <lastBuildDate>Thu, 24 May 2012 13:39:29 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>vSphere 4 and Core Dumps (vmkdump)</title><link>http://professionalvmware.com/2010/02/vsphere-4-and-core-dumps-vmkdump/</link> <comments>http://professionalvmware.com/2010/02/vsphere-4-and-core-dumps-vmkdump/#comments</comments> <pubDate>Fri, 26 Feb 2010 17:59:29 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[Crash Dump]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[PSOD]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[vSphere]]></category> <guid
isPermaLink="false">http://professionalvmware.com/?p=1121</guid> <description><![CDATA[Today I was reviewing my post on ESX Crash Dumps and found that well, for vSphere, it is quite broken. How? Well&#8230; No /usr/sbin/vmkdump in ESX 4 As referenced in this KB article, vmkdump has been replaced with some additional flags on esxcfg-dumppart: In ESX 4.X, esxcfg-dumppart is now used to extract the logs files. [...]]]></description> <content:encoded><![CDATA[<p></p><p>Today I was reviewing my post on <a
href="http://professionalvmware.com/2009/02/how-to-read-a-dump-esx-crash-dumps-that-is/">ESX Crash Dumps</a> and found that well, for vSphere, it is quite broken. How? Well&#8230;</p><h4>No /usr/sbin/vmkdump in ESX 4</h4><p>As referenced in this KB article, vmkdump has been replaced with some additional flags on esxcfg-dumppart:</p><blockquote><p>In ESX 4.X, esxcfg-dumppart is now used to extract the logs files.<br
/> The syntax is:<br
/> esxcfg-dumppart &#8211;log &lt;ESX dump file&gt;<br
/> esxcfg-dumppart -L &lt;ESX dump file&gt;</p></blockquote><h4>Here it is in action:</h4><p>The file:<br
/> -rw-r&#8211;r&#8211; 1 root root 6790236 Feb 18 10:11 vmkernel-zdump-021810.10.11.1</p><p># esxcfg-dumppart &#8211;log vmkernel-zdump-021810.10.11.1<br
/> Created file vmkernel-log.1<br
/> Log wrapped</p><p># ls -l | grep log-rw-r&#8211;r&#8211; 1 root root 262144 Feb 25 06:49 vmkernel-log.1</p><p>There it is. Woot! Questions? Comments? Drop us a line.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2010/02/vsphere-4-and-core-dumps-vmkdump/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>How To Read Dumps – ESX Crash Dumps That Is</title><link>http://professionalvmware.com/2009/02/how-to-read-a-dump-esx-crash-dumps-that-is/</link> <comments>http://professionalvmware.com/2009/02/how-to-read-a-dump-esx-crash-dumps-that-is/#comments</comments> <pubDate>Wed, 11 Feb 2009 20:12:13 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[Crash Dump]]></category> <category><![CDATA[ESX]]></category> <category><![CDATA[PSOD]]></category> <category><![CDATA[Troubleshooting]]></category> <guid
isPermaLink="false">http://professionalvmware.com/?p=495</guid> <description><![CDATA[About thirty years ago in the jungle in South Korea I was spending some time living as a monk. One of the things I learned from these monks, was the ancient art of Dump reading. Yes! That’s right, I can tell the future by reading the finer texture and smell of a dump. Ok, while [...]]]></description> <content:encoded><![CDATA[<p></p><p><a
href="http://professionalvmware.com/wp-content/uploads/2009/02/2331307556-84c8bb52c7-o1.jpg"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="2331307556_84c8bb52c7_o[1]" src="http://professionalvmware.com/wp-content/uploads/2009/02/2331307556-84c8bb52c7-o1-thumb.jpg" border="0" alt="2331307556_84c8bb52c7_o[1]" width="184" height="244" align="right" /></a></p><p>About thirty years ago in the jungle in South Korea I was spending some time living as a monk. One of the things I learned from these monks, was the ancient art of Dump reading. Yes! That’s right, I can tell the future by reading the finer texture and smell of a dump.</p><p>Ok, while not true (I’m naught by 26) and I can’t tell the future by reading dumps. I can tell you, however, that reading ESX dumps would be conducive to your future.</p><h3>What Makes A Dump?</h3><p>Lots and lots of fiber in your diet. That… and PSOD’s (Purple Screens of Death). They’ll generate an ESX kernel dump and drop a crash dump file into the /root/ directory, named something like: ‘vmkernel-zdump-&lt;reversed date&gt;.#.#.#’</p><p>This file is created on the first reboot following your psod and is generated from the contents of your VMKCORE partition, you did make a VMKCORE partition, right? It&#8217;s the one labeled &#8216;fc&#8217;. Can&#8217;t find it? Sure? Did you look in your sock drawer? Ok&#8230; well in that case &#8220;vmkdump -d /dev/sda5&#8243; where /dev/sda5 is the output from esxcfg-dumppart -l</p><h3>I Have My Dump, Now What?</h3><p>So you can do a few things. First is to generate a <a
href="http://professionalvmware.com/2009/01/27/log-bundles-of-the-virtual-center-variety/">support bundle</a> and send it off to VMware for analysis (which you should do anyways). However, if you’re like me, and can’t wait, from the service console you can do the following:</p><p>Here is where the dump hides:</p><p><span
style="font-family: Courier New; color: #ff8040;"># ls -alh<br
/> total 14M<br
/> -rw-r&#8211;r&#8211;    1 root     root          13M Feb  6 04:40 vmkernel-zdump-020609.04.40.1</span></p><p>Lets extract it:</p><p><span
style="font-family: Courier New; color: #ff8040;"># vmkdump -l vmkernel-zdump-020609.04.40.1<br
/> created file vmkernel-log.1</span></p><p><span
style="font-family: Courier New; color: #ff8040;"># ls -alh<br
/> -rw-r&#8211;r&#8211;    1 root     root         186K Feb 11 14:32 vmkernel-log.1<br
/> -rw-r&#8211;r&#8211;    1 root     root          13M Feb  6 04:40 vmkernel-zdump-020609.04.40.1</span></p><p>So there it is… now lets take a look at the insides:</p><p><span
style="font-family: Courier New; color: #ff8040;">54:01:08:11.385 cpu15:1166)&lt;6&gt;Debug scsi underrun<br
/> 54:01:08:11.385 cpu15:1166)&lt;6&gt;Debug scsi underrun<br
/> 54:01:08:11.385 cpu15:1166)&lt;6&gt;Debug scsi underrun<br
/> 54:01:08:11.386 cpu15:1166)&lt;6&gt;Debug scsi underrun<br
/> 54:01:08:11.386 cpu15:1166)&lt;6&gt;Debug scsi underrun<br
/> 54:06:35:47.637 cpu7:1074)&lt;6&gt;qla24xx_abort_command(0): handle to abort=1457<br
/> _[45m_[33;1mVMware ESX Server [Releasebuild-113339]_[0m<br
/> Exception type 13 in world 1169:vmm0:197830- @ 0x6ff49b<br
/> frame=0x3c47cec ip=0x6ff49b cr2=0x8617c88 cr3=0x3f686000 cr4=0x2660<br
/> es=0x3ee64028 ds=0x4028 fs=0x1580000 gs=0x4041<br
/> eax=0x2a ebx=0xb3f0f80 ecx=0x9ff47e90 edx=0x50<br
/> ebp=0x3c47ed4 esi=0xe edi=0x15806c8 err=0 eflags=0x10286<br
/> 0:1024/console 1:1196/vmware-vm 2:1200/mks:19783 3:1186/mks:19783<br
/> *4:1169/vmm0:1978 5:1161/vmware-vm 6:1170/vmm1:1978 7:1179/mks:19783<br
/> 8:1176/vmm0:1978 9:1184/vmm1:1978 10:1182/vmware-vm 11:1177/vmm1:1978<br
/> 12:1162/vmm0:1978 13:1198/vmm1:1978 14:1197/vmm0:1978 15:1039/idle15<br
/> @BlueScreen: Exception type 13 in world 1169:vmm0:197830- @ 0x6ff49b<br
/> 0x3c47ed4:[0x6ff49b]E1000PollTxRing+0&#215;366 stack: 0&#215;7030140, 0xb3f0fb4, 0&#215;0<br
/> 0x3c47f2c:[0x701474]E1000_PollRings+0x1d7 stack: 0x3ee6a308, 0&#215;704, 0x267d49c0<br
/> 0x3c47f84:[0x618647]BH_Check+0x2ee stack: 0&#215;1, 0&#215;82000000, 0x85f7d70<br
/> 0x3c47fd8:[0x62249c]VMKCall+0&#215;147 stack: 0x2d, 0x85f7d70, 0&#215;82000000<br
/> 0x3c47ffc:[0x67af0b]VMKVMMEnterVMKernel+0x8e stack: 0&#215;0, 0&#215;0, 0&#215;0<br
/> VMK uptime: 57:17:09:07.125 TSC: 11937242658207618<br
/> Starting coredump to disk Starting coredump to disk Dumping using slot 1 of 1&#8230; using slot 1 of 1&#8230; log</span></p><p>The first column is your uptime. The last event before the crash was the aborted handle:</p><p><span
style="font-family: Courier New; color: #ff8040;">54:06:35:47.637 cpu7:1074)&lt;6&gt;qla24xx_abort_command(0): handle to abort=1457</span></p><p>The uptime of the kernel when the crash occurred is the second last line:</p><p><span
style="font-family: Courier New; color: #ff8040;">VMK uptime: 57:17:09:07.125 TSC: 11937242658207618</span></p><p>We can see that there is 11 hours between the last message and the time of the crash. This means that those debug scsi underrun messages can basically be ignored.</p><p>Now let’s move on to the backtrace itself:</p><p><span
style="font-family: Courier New; color: #ff8040;">@BlueScreen: Exception type 13 in world 1169:vmm0:notthemama- @ 0x6ff49b<br
/> 0x3c47ed4:[0x6ff49b]E1000PollTxRing+0&#215;366 stack: 0&#215;7030140, 0xb3f0fb4, 0&#215;0<br
/> 0x3c47f2c:[0x701474]E1000_PollRings+0x1d7 stack: 0x3ee6a308, 0&#215;704, 0x267d49c0<br
/> 0x3c47f84:[0x618647]BH_Check+0x2ee stack: 0&#215;1, 0&#215;82000000, 0x85f7d70<br
/> 0x3c47fd8:[0x62249c]VMKCall+0&#215;147 stack: 0x2d, 0x85f7d70, 0&#215;82000000<br
/> 0x3c47ffc:[0x67af0b]VMKVMMEnterVMKernel+0x8e stack: 0&#215;0, 0&#215;0, 0&#215;0</span></p><p>The last instruction was E1000PollTxRing then E1000_PollRings then BH_Check then VMKCall and finally VMKVMMEnterVMKernel</p><p>Based on the name of the last instruction, this host probably crashed due to some type of packet or frame corruption in the Intel E1000 driver in the VM that was running with world ID 1169 in vmm0 named &#8216;notthemama&#8217;.</p><p>Thanks for playing along. If you have questions hit me up in the comments or on twitter @cody_bunch</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2009/02/how-to-read-a-dump-esx-crash-dumps-that-is/feed/</wfw:commentRss> <slash:comments>24</slash:comments> </item> </channel> </rss>
