Can't find kernel dump in /var/crash except when I simulate a kernel panicHow can I get a Kernel Core DumpHow...

How can I fix this gap between bookcases I made?

What does "enim et" mean?

What is the white spray-pattern residue inside these Falcon Heavy nozzles?

Modification to Chariots for Heavy Cavalry Analogue for 4-armed race

What are these boxed doors outside store fronts in New York?

Chess with symmetric move-square

What Brexit solution does the DUP want?

Showing the closure of a compact subset need not be compact

Where to refill my bottle in India?

What is the command to reset a PC without deleting any files

Motorized valve interfering with button?

Copenhagen passport control - US citizen

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

Is it possible to make sharp wind that can cut stuff from afar?

How old can references or sources in a thesis be?

When blogging recipes, how can I support both readers who want the narrative/journey and ones who want the printer-friendly recipe?

Copycat chess is back

How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?

Why Is Death Allowed In the Matrix?

I see my dog run

"which" command doesn't work / path of Safari?

Circuitry of TV splitters

Can I make popcorn with any corn?

Why do we use polarized capacitor?



Can't find kernel dump in /var/crash except when I simulate a kernel panic


How can I get a Kernel Core DumpHow to get userID when writing Linux kernel moduleKernel dump using linux-crashdump under VMware?Why kernel source is not installedDebug faulty hardwareHow to get data from semi broken micro SDXC card?After changing kernel , kernel crash is not workingUbuntu16.04.3 Kernel Panic ErrorWhy was kernel 4.9.77 released but not kernel 4.14.14?kdump doesn't log crash






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I wish to find out how I can capture a kernel dump file when the VM running on Ubuntu 16.04 crashed/hanged. Below is what I have done so far.




  1. I installed linux-crashdump on the VM


  2. I edited /etc/default/kdump-tools to include the line



    USE_KDUMP=1


    screenshot of file in text editor



  3. The VM had been crashing/hanging frequently but I failed to obtain any dump file from /var/crash folder after I had to restart the VM through vCenter to access the VM's folder via putty.

  4. The only time I can successfully retrieve a kernel dump file is when I simulate a kernel panic.










share|improve this question









New contributor




Jonn Heng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    1















    I wish to find out how I can capture a kernel dump file when the VM running on Ubuntu 16.04 crashed/hanged. Below is what I have done so far.




    1. I installed linux-crashdump on the VM


    2. I edited /etc/default/kdump-tools to include the line



      USE_KDUMP=1


      screenshot of file in text editor



    3. The VM had been crashing/hanging frequently but I failed to obtain any dump file from /var/crash folder after I had to restart the VM through vCenter to access the VM's folder via putty.

    4. The only time I can successfully retrieve a kernel dump file is when I simulate a kernel panic.










    share|improve this question









    New contributor




    Jonn Heng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      I wish to find out how I can capture a kernel dump file when the VM running on Ubuntu 16.04 crashed/hanged. Below is what I have done so far.




      1. I installed linux-crashdump on the VM


      2. I edited /etc/default/kdump-tools to include the line



        USE_KDUMP=1


        screenshot of file in text editor



      3. The VM had been crashing/hanging frequently but I failed to obtain any dump file from /var/crash folder after I had to restart the VM through vCenter to access the VM's folder via putty.

      4. The only time I can successfully retrieve a kernel dump file is when I simulate a kernel panic.










      share|improve this question









      New contributor




      Jonn Heng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I wish to find out how I can capture a kernel dump file when the VM running on Ubuntu 16.04 crashed/hanged. Below is what I have done so far.




      1. I installed linux-crashdump on the VM


      2. I edited /etc/default/kdump-tools to include the line



        USE_KDUMP=1


        screenshot of file in text editor



      3. The VM had been crashing/hanging frequently but I failed to obtain any dump file from /var/crash folder after I had to restart the VM through vCenter to access the VM's folder via putty.

      4. The only time I can successfully retrieve a kernel dump file is when I simulate a kernel panic.







      kernel






      share|improve this question









      New contributor




      Jonn Heng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Jonn Heng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 2 mins ago









      Zanna

      51.2k13140243




      51.2k13140243






      New contributor




      Jonn Heng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 hours ago









      Jonn HengJonn Heng

      62




      62




      New contributor




      Jonn Heng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Jonn Heng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Jonn Heng is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Jonn Heng is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132025%2fcant-find-kernel-dump-in-var-crash-except-when-i-simulate-a-kernel-panic%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Jonn Heng is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Jonn Heng is a new contributor. Be nice, and check out our Code of Conduct.













          Jonn Heng is a new contributor. Be nice, and check out our Code of Conduct.












          Jonn Heng is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132025%2fcant-find-kernel-dump-in-var-crash-except-when-i-simulate-a-kernel-panic%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...