{"id":31,"date":"2012-07-21T15:00:51","date_gmt":"2012-07-21T13:00:51","guid":{"rendered":"http:\/\/blogs.gentoo.org\/ago\/?p=31"},"modified":"2012-07-22T13:05:47","modified_gmt":"2012-07-22T11:05:47","slug":"how-to-test-kernel-sources","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/ago\/2012\/07\/21\/how-to-test-kernel-sources\/","title":{"rendered":"How to test Kernel (*-sources)"},"content":{"rendered":"<p>In the past, a lot of people ask me how test a new kernel. This tip could help new arch tester.<\/p>\n<p>First, emerge the new sources ( 3.4.5 is just an example, replace it with your ${version} ):<br \/>\n<code>echo \"=sys-kernel\/gentoo-sources-3.4.5\" &gt;&gt; \/etc\/portage\/package.keywords<br \/>\nemerge -av =sys-kernel\/gentoo-sources-3.4.5<\/code><\/p>\n<p>Now go to kernel directory, try to enable all modules and check if them compile:<br \/>\n<code>cd \/usr\/src\/linux<br \/>\nmake allyesconfig<br \/>\nmake # don't forget to add '-j'<\/code><\/p>\n<p>Might seem strange, but in the past, with allyesconfig, I found bug like <a href=\"https:\/\/bugs.gentoo.org\/show_bug.cgi?id=423117\">this<\/a>, not reproducible with normal config.<\/p>\n<p>The next step is clean the past build and make your custom kernel.<br \/>\n<code>make distclean<br \/>\nmake menuconfig<br \/>\nmake<br \/>\nmake modules_install # if you use modules<\/code><\/p>\n<p>Now try to boot with new kernel, and check if there are not bad message with:<br \/>\n<code>dmesg<\/code><\/p>\n<p>Now, try to reach a bit of uptime and if all is ok, please give a feedback.<\/p>\n<p>This is a base guide to test {vanilla,gentoo}-sources. If you are testing a kernel with other\/special features ( e.g. hardened\/zen\/tuxonice ), make sure that these features work perfectly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the past, a lot of people ask me how test a new kernel. This tip could help new arch tester. First, emerge the new sources ( 3.4.5 is just an example, replace it with your ${version} ): echo &#8220;=sys-kernel\/gentoo-sources-3.4.5&#8221; &hellip; <a href=\"https:\/\/blogs.gentoo.org\/ago\/2012\/07\/21\/how-to-test-kernel-sources\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":140,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[4,3],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2EaBc-v","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/posts\/31"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/users\/140"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/comments?post=31"}],"version-history":[{"count":8,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/posts\/31\/revisions"}],"predecessor-version":[{"id":39,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/posts\/31\/revisions\/39"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/media?parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/categories?post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/tags?post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}