{"id":3245,"date":"2013-03-11T16:00:00","date_gmt":"2013-03-11T16:00:00","guid":{"rendered":"http:\/\/localhost:8105\/?p=3245"},"modified":"2021-12-05T00:01:04","modified_gmt":"2021-12-05T00:01:04","slug":"kernel-xen-2-6-18-348-el5-x86_64","status":"publish","type":"post","link":"https:\/\/blog.shahada.abubakar.net\/?p=3245","title":{"rendered":"kernel-xen-2.6.18-348.el5.x86_64"},"content":{"rendered":"<div id=\"content\"><b>kernel-xen-2.6.18-348.el5.x86_64<\/b>I recently rebooted my virtual server at 2host, only to find all my kernel modules failing to load. The VPS provider had provided kernel\u00a02.6.18-348.el5xen, which I didn&#8217;t have installed.<\/p>\n<p>I did a yum update \/ yum upgrade to get everything updated, and my \/lib\/modules now had:<\/p>\n<pre>drwxr-xr-x 6 root root 4096 Oct 1 2011 2.6.18-194.32.1.el5xen\ndrwxr-xr-x 6 root root 4096 Apr 10 2011 2.6.18-238.5.1.el5xen\ndrwxr-xr-x 6 root virtualftp 4096 Feb 11 2012 2.6.18-274.3.1.el5xen\ndrwxr-xr-x 6 root root 4096 Oct 22 2011 2.6.18-274.7.1.el5xen\ndrwxr-xr-x 6 root root 4096 Mar 12 09:12 2.6.18-348.3.1.el5xen<\/pre>\n<p>Rebooted again &#8230; and still no modules.<\/p>\n<p>I tried &#8220;uname -a&#8221; again, and got:<\/p>\n<pre>Linux vpshost 2.6.18-348.el5xen #1 SMP Tue Jan 8 18:35:04 EST 2013 x86_64 x86_64 x86_64 GNU\/Linux<\/pre>\n<p>Well, &#8220;2.6.18-348&#8221; is not the same as &#8220;2.6.18-348.3.1&#8221;. Trying my luck I did a symlink, and that still didn&#8217;t work. I suspect that on the VPS system, the kernel the OS boots with is not necessarily what is installed \/ specified by grub, but rather what is specified by the VPS system.<\/p>\n<p>I looked inside the CentOS &#8220;updates&#8221; repository, and there was no 2.6.18-348 &#8230; hmm &#8230; where did this 2.6.18-348 come from? In the end, I found it under &#8220;OS&#8221; \/ base folders &#8212; 2.6.18-348 is what ships with a stock CentOS 5.9 !<\/p>\n<p>I couldn&#8217;t figure out how to get yum to install this specific version of the kernel, so instead ended up doing a:<\/p>\n<pre>cd\u00a0\nwget ftp:\/\/ftp.muug.mb.ca\/mirror\/centos\/5.9\/os\/x86_64\/CentOS\/kernel-xen-2.6.18-348.el5.x86_64.rpm\nrpm -ivh\u00a0kernel-xen-2.6.18-348.el5.x86_64.rpm\nreboot<\/pre>\n<p>&#8230; and got all my modules running again!<\/p>\n<hr \/>\n<p><i>This post was originally <a href=\"https:\/\/plus.google.com\/+shahadaabubakar\/posts\/c9AXYxYJEXL\">published<\/a> publicly on <a href=\"http:\/\/plus.google.com\">Google+<\/a> at 2013-03-12 21:23:21+0800<\/i><\/div>\n","protected":false},"excerpt":{"rendered":"<p>kernel-xen-2.6.18-348.el5.x86_64I recently rebooted my virtual server at 2host, only to find all my kernel modules failing to load. The VPS provider had provided kernel\u00a02.6.18-348.el5xen, which I didn&#8217;t have installed. I did a yum update&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[116,1],"tags":[],"class_list":["post-3245","post","type-post","status-publish","format-standard","hentry","category-linux","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/posts\/3245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3245"}],"version-history":[{"count":2,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/posts\/3245\/revisions"}],"predecessor-version":[{"id":6746,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/posts\/3245\/revisions\/6746"}],"wp:attachment":[{"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}