{"id":1156,"date":"2017-10-28T11:16:36","date_gmt":"2017-10-28T06:16:36","guid":{"rendered":"http:\/\/alexeyka.zantsev.com\/?p=1156"},"modified":"2021-02-28T01:35:40","modified_gmt":"2021-02-27T20:35:40","slug":"openbsd-lack-of-ram-reordering-libraries-at-boot-time-and-pkg_add-errors","status":"publish","type":"post","link":"https:\/\/alexeyka.zantsev.com\/?p=1156","title":{"rendered":"OpenBSD: lack of RAM, reordering libraries at boot time and pkg_add errors"},"content":{"rendered":"<p>Freshly installed (in VirtualBox) OpenBSD 6.2 spent too much time during boot, on the &#8216;reordering libraries&#8217; step. Several minutes, not less.<br \/>\nI havent&#8217; seen such a behavior in prior releases.<\/p>\n<p>As usual, thanks to guys from <a href=\"http:\/\/daemonforums.org\/showthread.php?t=10472\" target=\"_blank\" rel=\"noopener noreferrer\">daemonforums.org<\/a>.<br \/>\nAnd here are some explanations from Theo de Raadt: <a href=\"https:\/\/marc.info\/?l=openbsd-tech&amp;m=146159002802803&amp;w=2\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/marc.info\/?l=openbsd-tech&amp;m=146159002802803&amp;w=2<\/a>.<\/p>\n<p>But the problem was in lack of free memory: the VM had only 64 mb (default value in VirtualBox setting for OBSD) and it was not enough.<br \/>\n<a href=\"https:\/\/alexeyka.zantsev.com\/wp-content\/uploads\/2017\/10\/rl1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1157\" src=\"http:\/\/alexeyka.zantsev.com\/wp-content\/uploads\/2017\/10\/rl1.png\" alt=\"\" width=\"470\" height=\"250\" \/><\/a><br \/>\nAfter adding more memory the boot process became quicker.<\/p>\n<p><a href=\"https:\/\/alexeyka.zantsev.com\/wp-content\/uploads\/2017\/10\/inst_local_err.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1164\" src=\"http:\/\/alexeyka.zantsev.com\/wp-content\/uploads\/2017\/10\/inst_local_err.png\" alt=\"\" width=\"470\" height=\"170\" \/><\/a><\/p>\n<p><a href=\"https:\/\/alexeyka.zantsev.com\/wp-content\/uploads\/2017\/10\/inst_mirror_err.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1165\" src=\"http:\/\/alexeyka.zantsev.com\/wp-content\/uploads\/2017\/10\/inst_mirror_err.png\" alt=\"\" width=\"470\" height=\"60\" \/><\/a><\/p>\n<p><a href=\"https:\/\/man.openbsd.org\/pkg_add\" target=\"_blank\" rel=\"noopener noreferrer\">pkg_add(1)<\/a> and <a href=\"https:\/\/man.openbsd.org\/pkg_info\" target=\"_blank\" rel=\"noopener noreferrer\">pkg_info(1)<\/a> havent&#8217; worked properly either, until I added extra memory to the configuration.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Freshly installed (in VirtualBox) OpenBSD 6.2 spent too much time during boot, on the &#8216;reordering libraries&#8217; step. Several minutes, not less. I havent&#8217; seen such a behavior in prior releases. As usual, thanks to guys from daemonforums.org. And here are some explanations from Theo de Raadt: https:\/\/marc.info\/?l=openbsd-tech&amp;m=146159002802803&amp;w=2. But the problem was in lack of free [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1156","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/1156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1156"}],"version-history":[{"count":11,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/1156\/revisions"}],"predecessor-version":[{"id":3646,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/1156\/revisions\/3646"}],"wp:attachment":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}