{"id":121,"date":"2014-01-21T13:15:28","date_gmt":"2014-01-21T13:15:28","guid":{"rendered":"http:\/\/queen.run.montefiore.ulg.ac.be\/~barbette\/?p=121"},"modified":"2014-02-17T12:16:26","modified_gmt":"2014-02-17T12:16:26","slug":"vm-and-kernel-compiling-troubleshooting","status":"publish","type":"post","link":"https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/","title":{"rendered":"VM and Kernel compiling troubleshooting"},"content":{"rendered":"<p><strong>Start\u2019up Troubleshooting<\/strong><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>Log in as \u201cstudent\u201d with the password mentioned in the auditorium and the slides.<\/li>\n<li>If your virtual machine does not boot, you can check the boot log with a right-click on the virtual machine entry in VirtualBox.<br \/>\nThe kernel installed on ubuntu server *requires* PAE\/NX extension to be enabled in your virtual box. This can be tuned in Settings&gt;System&gt;Processor for your virtual machine.<\/li>\n<li>Ubuntu remembers which \u201cnetwork card\u201d you have installed, so that interface IDs (i.e. eth0, eth1\u2026) is consistent when you reboot. This may cause you to lose network connectivity when you copy your .vdi from one machine to another. If that happens (boot stalls on networking setup) reset the content of your \/etc\/udev\/rules.d\/*persistent-net.rules file.<\/li>\n<\/ul>\n<p><strong>Building Kernel Troubleshooting<\/strong><\/p>\n<ul>\n<li>The config file you\u2019ve been given should provide all the options for a i386 build of the reference kernel sources. If you\u2019re prompted with [Y\/n\/m] questions in \u201cmake oldconfig\u201d step, you\u2019re very likely to be trying to compile an amd64 kernel itself, which won\u2019t work on the reference virtual machine. It is mandatory to compile the kernel in i386, see <a title=\"Shell, Linux, VM &amp; Kernel\" href=\"https:\/\/www.tombarbette.be\/courses\/info-0940-operating-systems\/#slides\" target=\"_blank\">Shell, Linux and Kernel<\/a> slides for more informations.<\/li>\n<li>\u201cCONFIG_DEBUG_SECTION_MISMATCH errors\u201d essentially occurs when you\u2019re including unsafe drivers in your kernel. Unless you\u2019re experiencing this during \u201cmake bzImage\u201d, you can safely ignore this.<\/li>\n<li>quota exceeded while building may occur on ms8xx, with various error messages. use quota -v -s to check how much more space you can eat on the shared filesystem (\/home). kdirstat $HOME can assist you in finding files that take too much room. You have 500Mo allowed, clearly not enough to build the kernel in your home directory. Beware, the compiler suite installed on ms8xx makes use of a \u201ccompiler cache\u201d, in the (hidden) $HOME\/.ccache directory. You\u2019d more likely want to use some location in \/tmp for that purpose. If that\u2019s the case, create a personal sub-folder and export CCACHE_DIR=\/tmp\/OS$USER\/ccache before you start compiling the kernel. Alternatively, you may prefer to restrict the size .ccache can grow. Check out the manpage for details.<\/li>\n<li>permission denied during make install might occur. Part of the \u2018install\u2019 process is designed by your distribution maintainers for upgrading the distribution itself. This usually happens after vmlinuz and friends have been copied to $INSTALL_PATH, so most of the times, you do not need to bother.<\/li>\n<\/ul>\n<p><strong>Booting Kernel Troubleshooting<\/strong><\/p>\n<ul>\n<li>\u201cinit: failed to create pty\u2026\u201d errors on boot? may occur with your custom-built kernel. It\u2019s annoying, but it\u2019s not just you: it\u2019s a bug not yet fixed in the distributed image. Retrieve the update definitions with sudo aptitude update and then selectively upgrade the buggy package (upstart): sudo aptitude upgrade upstart.<br \/>\nthe screen is completely black with your new kernel ? don\u2019t panic (yet). Chances are that you\u2019re missing some modules. The kernel has started, but cannot access some hardware (including fancy graphic modes). Try out the \u201crecovery mode\u201d for the corresponding kernel, then dig kern.log for an explanation. Use \u201cinsert CTRL+ALT+DEL\u201d on your vbox\u2019s \u201cMachine\u201d menu to return to the boot.<\/li>\n<li>booting takes ages. Most likely, you\u2019re stuck at network configuration. That may take several minutes when no network card is found (cf. Startup) or when modules for the network card cannot be located.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Start\u2019up Troubleshooting &nbsp; Log in as \u201cstudent\u201d with the password mentioned in the auditorium and the slides. If your virtual machine does not boot, you can check the boot log with a right-click on the virtual machine entry in VirtualBox. The kernel installed on ubuntu server *requires* PAE\/NX extension to be enabled in your virtual &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;VM and Kernel compiling troubleshooting&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-121","post","type-post","status-publish","format-standard","hentry","category-os"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>VM and Kernel compiling troubleshooting - Tom Barbette<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VM and Kernel compiling troubleshooting - Tom Barbette\" \/>\n<meta property=\"og:description\" content=\"Start\u2019up Troubleshooting &nbsp; Log in as \u201cstudent\u201d with the password mentioned in the auditorium and the slides. If your virtual machine does not boot, you can check the boot log with a right-click on the virtual machine entry in VirtualBox. The kernel installed on ubuntu server *requires* PAE\/NX extension to be enabled in your virtual &hellip; Continue reading &quot;VM and Kernel compiling troubleshooting&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/\" \/>\n<meta property=\"og:site_name\" content=\"Tom Barbette\" \/>\n<meta property=\"article:published_time\" content=\"2014-01-21T13:15:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-02-17T12:16:26+00:00\" \/>\n<meta name=\"author\" content=\"Tom Barbette\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@TomBarbette\" \/>\n<meta name=\"twitter:site\" content=\"@TomBarbette\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tom Barbette\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/vm-and-kernel-compiling-troubleshooting\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/vm-and-kernel-compiling-troubleshooting\\\/\"},\"author\":{\"name\":\"Tom Barbette\",\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/#\\\/schema\\\/person\\\/7f791766092e1207bc7a94a65e74f4fd\"},\"headline\":\"VM and Kernel compiling troubleshooting\",\"datePublished\":\"2014-01-21T13:15:28+00:00\",\"dateModified\":\"2014-02-17T12:16:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/vm-and-kernel-compiling-troubleshooting\\\/\"},\"wordCount\":579,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/#organization\"},\"articleSection\":[\"INFO-0940 Operating Systems\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/vm-and-kernel-compiling-troubleshooting\\\/\",\"url\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/vm-and-kernel-compiling-troubleshooting\\\/\",\"name\":\"VM and Kernel compiling troubleshooting - Tom Barbette\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/#website\"},\"datePublished\":\"2014-01-21T13:15:28+00:00\",\"dateModified\":\"2014-02-17T12:16:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/vm-and-kernel-compiling-troubleshooting\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/vm-and-kernel-compiling-troubleshooting\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/vm-and-kernel-compiling-troubleshooting\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"VM and Kernel compiling troubleshooting\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/#website\",\"url\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/\",\"name\":\"Tom Barbette\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/#organization\",\"name\":\"Efficiency of Networked Systems Group\",\"url\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/cropped-logo-uclouvain-2021-barbette.png\",\"contentUrl\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/wp-content\\\/uploads\\\/2022\\\/04\\\/cropped-logo-uclouvain-2021-barbette.png\",\"width\":512,\"height\":512,\"caption\":\"Efficiency of Networked Systems Group\"},\"image\":{\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/TomBarbette\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/tom-barbette\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/#\\\/schema\\\/person\\\/7f791766092e1207bc7a94a65e74f4fd\",\"name\":\"Tom Barbette\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aecd99cba3b4d91d3775fde3219bfa362cd99acfbe95848ec303b9685f366fcd?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aecd99cba3b4d91d3775fde3219bfa362cd99acfbe95848ec303b9685f366fcd?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aecd99cba3b4d91d3775fde3219bfa362cd99acfbe95848ec303b9685f366fcd?s=96&r=g\",\"caption\":\"Tom Barbette\"},\"sameAs\":[\"https:\\\/\\\/www.tombarbette.be\"],\"url\":\"https:\\\/\\\/perso.uclouvain.be\\\/tom.barbette\\\/author\\\/tom\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"VM and Kernel compiling troubleshooting - Tom Barbette","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/","og_locale":"en_US","og_type":"article","og_title":"VM and Kernel compiling troubleshooting - Tom Barbette","og_description":"Start\u2019up Troubleshooting &nbsp; Log in as \u201cstudent\u201d with the password mentioned in the auditorium and the slides. If your virtual machine does not boot, you can check the boot log with a right-click on the virtual machine entry in VirtualBox. The kernel installed on ubuntu server *requires* PAE\/NX extension to be enabled in your virtual &hellip; Continue reading \"VM and Kernel compiling troubleshooting\"","og_url":"https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/","og_site_name":"Tom Barbette","article_published_time":"2014-01-21T13:15:28+00:00","article_modified_time":"2014-02-17T12:16:26+00:00","author":"Tom Barbette","twitter_card":"summary_large_image","twitter_creator":"@TomBarbette","twitter_site":"@TomBarbette","twitter_misc":{"Written by":"Tom Barbette","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/#article","isPartOf":{"@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/"},"author":{"name":"Tom Barbette","@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/#\/schema\/person\/7f791766092e1207bc7a94a65e74f4fd"},"headline":"VM and Kernel compiling troubleshooting","datePublished":"2014-01-21T13:15:28+00:00","dateModified":"2014-02-17T12:16:26+00:00","mainEntityOfPage":{"@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/"},"wordCount":579,"commentCount":0,"publisher":{"@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/#organization"},"articleSection":["INFO-0940 Operating Systems"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/","url":"https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/","name":"VM and Kernel compiling troubleshooting - Tom Barbette","isPartOf":{"@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/#website"},"datePublished":"2014-01-21T13:15:28+00:00","dateModified":"2014-02-17T12:16:26+00:00","breadcrumb":{"@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/vm-and-kernel-compiling-troubleshooting\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/perso.uclouvain.be\/tom.barbette\/"},{"@type":"ListItem","position":2,"name":"VM and Kernel compiling troubleshooting"}]},{"@type":"WebSite","@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/#website","url":"https:\/\/perso.uclouvain.be\/tom.barbette\/","name":"Tom Barbette","description":"","publisher":{"@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/perso.uclouvain.be\/tom.barbette\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/#organization","name":"Efficiency of Networked Systems Group","url":"https:\/\/perso.uclouvain.be\/tom.barbette\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/#\/schema\/logo\/image\/","url":"https:\/\/perso.uclouvain.be\/tom.barbette\/wp-content\/uploads\/2022\/04\/cropped-logo-uclouvain-2021-barbette.png","contentUrl":"https:\/\/perso.uclouvain.be\/tom.barbette\/wp-content\/uploads\/2022\/04\/cropped-logo-uclouvain-2021-barbette.png","width":512,"height":512,"caption":"Efficiency of Networked Systems Group"},"image":{"@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/TomBarbette","https:\/\/www.linkedin.com\/in\/tom-barbette"]},{"@type":"Person","@id":"https:\/\/perso.uclouvain.be\/tom.barbette\/#\/schema\/person\/7f791766092e1207bc7a94a65e74f4fd","name":"Tom Barbette","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/aecd99cba3b4d91d3775fde3219bfa362cd99acfbe95848ec303b9685f366fcd?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/aecd99cba3b4d91d3775fde3219bfa362cd99acfbe95848ec303b9685f366fcd?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aecd99cba3b4d91d3775fde3219bfa362cd99acfbe95848ec303b9685f366fcd?s=96&r=g","caption":"Tom Barbette"},"sameAs":["https:\/\/www.tombarbette.be"],"url":"https:\/\/perso.uclouvain.be\/tom.barbette\/author\/tom\/"}]}},"_links":{"self":[{"href":"https:\/\/perso.uclouvain.be\/tom.barbette\/wp-json\/wp\/v2\/posts\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/perso.uclouvain.be\/tom.barbette\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/perso.uclouvain.be\/tom.barbette\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/perso.uclouvain.be\/tom.barbette\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/perso.uclouvain.be\/tom.barbette\/wp-json\/wp\/v2\/comments?post=121"}],"version-history":[{"count":5,"href":"https:\/\/perso.uclouvain.be\/tom.barbette\/wp-json\/wp\/v2\/posts\/121\/revisions"}],"predecessor-version":[{"id":228,"href":"https:\/\/perso.uclouvain.be\/tom.barbette\/wp-json\/wp\/v2\/posts\/121\/revisions\/228"}],"wp:attachment":[{"href":"https:\/\/perso.uclouvain.be\/tom.barbette\/wp-json\/wp\/v2\/media?parent=121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/perso.uclouvain.be\/tom.barbette\/wp-json\/wp\/v2\/categories?post=121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/perso.uclouvain.be\/tom.barbette\/wp-json\/wp\/v2\/tags?post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}