{"id":2811,"date":"2020-08-26T14:16:44","date_gmt":"2020-08-26T21:16:44","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2811"},"modified":"2020-08-26T14:16:44","modified_gmt":"2020-08-26T21:16:44","slug":"arm64-fedora-33-pre-release-kernel-boot-problem-and-workaround","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2811","title":{"rendered":"ARM64 &#8211; Fedora 33 Pre-release Kernel Boot Problem &#8211; and Workaround.."},"content":{"rendered":"<p>I have been testing <strong>Fedora 33<\/strong> pre-release, and on x86_64 it seems relatively stable (usual caveats&#8230;) but on arm64 systems (Odroid N2 and Pi4) I found that after compiling a new kernel (5.8.3), the system booted, but login was impossible, and screen output was missing\u00a0 (uart\/console was OK).<\/p>\n<p>Kernels compiled with Fedora 32 all booted OK, and after booting into recovery mode with the F33-compiled kernel, I found that no kernel modules were loaded, and that it was impossible to load them:<\/p>\n<p><code><span style=\"font-family: Courier New, Courier, monospace;\"><strong># modprobe -v ip_tables<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>insmod \/lib\/modules\/5.8.3\/kernel\/net\/netfilter\/x_tables.ko<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>modprobe: ERROR: could not insert 'ip_tables': Exec format error<\/strong><\/span><\/code><\/p>\n<p>I then tried a workaround, to cross-compile the arm64 kernel etc. on my (F32) x86_64 system, and then boot into a known\/good (F32) kernel on the Odroid N2, and copy across the kernel and modules, run dracut.. etc..\u00a0\u00a0\u00a0 This resulted in a normal boot, and everything worked as it should.<\/p>\n<p>I tested further by using the F33 native-compiled kernel with the cross-compiled modules, and this worked OK, so the problem seems to be with the kernel modules compile..<\/p>\n<p>Obviously, Fedora 33 is still very much pre-Beta, so I will check bugzilla for any fixes..<\/p>\n<p><em>Robert Gadsdon.\u00a0 August 26th 2020<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been testing Fedora 33 pre-release, and on x86_64 it seems relatively stable (usual caveats&#8230;) but on arm64 systems (Odroid N2 and Pi4) I found that after compiling a new kernel (5.8.3), the system booted, but login was impossible, and screen output was missing\u00a0 (uart\/console was OK). Kernels compiled with Fedora 32 all booted OK, and <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2811\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1132,1131,1280,5,6,10,11,14,16,2171,19],"tags":[1133,2296,131,2295,2298,2300,2297,2301,418,2299],"class_list":["post-2811","post","type-post","status-publish","format-standard","hentry","category-aarch64","category-arm64","category-boot","category-compilation","category-crash-and-burn","category-fedora","category-hacks","category-kernel","category-linux-arm","category-odroid-n2","category-opinion","tag-arm64","tag-boot-problem","tag-cross-compile","tag-fedora-33","tag-kernel-5-8-3","tag-login-imposssible","tag-modules-not-loading","tag-timeout","tag-workaround","tag-x86_64-ok"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2811"}],"version-history":[{"count":3,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2811\/revisions"}],"predecessor-version":[{"id":2814,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2811\/revisions\/2814"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}