{"id":3551,"date":"2023-12-11T10:16:16","date_gmt":"2023-12-11T16:16:16","guid":{"rendered":"https:\/\/lab.rapternet.us\/?p=3551"},"modified":"2023-12-07T22:17:21","modified_gmt":"2023-12-08T04:17:21","slug":"proxmox-host-network-issues","status":"publish","type":"post","link":"https:\/\/lab.rapternet.us\/?p=3551","title":{"rendered":"Proxmox Host Network Issues"},"content":{"rendered":"\n<p>I got a new host for my proxmox server recently, a used sff PC that I upgraded the RAM in. It seemed to be a pretty neat little box with what should be the same amount of CPU horsepower as my beefy dual CPU system. I did however run into a big network problem that basically made the NIC useless.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>I installed proxmox without issues, however a few days after initial bootup ( luckily before I had time to migrate to it) the screen I had hooked up started barfing out huge numbers of errors, and I stopped being able to connect to the webui. The only way to fix the outage seemed to be a reboot.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"771\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2023\/12\/PXL_20231127_135044070.MP_-1024x771.jpg\" alt=\"\" class=\"wp-image-3553\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2023\/12\/PXL_20231127_135044070.MP_-1024x771.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2023\/12\/PXL_20231127_135044070.MP_-300x226.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2023\/12\/PXL_20231127_135044070.MP_-768x578.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2023\/12\/PXL_20231127_135044070.MP_-1536x1157.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2023\/12\/PXL_20231127_135044070.MP_-2048x1542.jpg 2048w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">The same errors being repeated perpetually<\/figcaption><\/figure>\n\n\n\n<p>After some digging it looked like it was issues because the built in NIC was a realtek NIC, and the Linux kernel that happened to ship with the version of proxmox I installed has a bug with realtek NICs that breaks functionality with them. This is a <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/linux\/+bug\/2031537\" target=\"_blank\" rel=\"noreferrer noopener\">known bug with a few optional work arounds<\/a> along with a kernel patch available in newer versions, but we know how long it can take new kernel versions to make it all the way out.<\/p>\n\n\n\n<p>I decided to try what seemed like an easy workaround, force pcie_aspm to turn off as a Linux kernel option from grub.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pcie_aspm=off<\/pre>\n\n\n\n<p>This didn&#8217;t seem to help, the network still went on the fritz after some time. Since proxmox also didn&#8217;t have newer kernel versions available, I decided to go fishing.<\/p>\n\n\n\n<p>I dug through the UEFI settings until I found one related to aspm, and decided to disable it completely. Booted the system back up and everything worked as expected and no more random network outages. Now that it&#8217;s working, it&#8217;s going to be time to work on migrating everything over to it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I got a new host for my proxmox server recently, a used sff PC that I upgraded the RAM in. It seemed to be a pretty neat little box with what should be the same amount of CPU horsepower as my beefy dual CPU system. I did however run into a big network problem that &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lab.rapternet.us\/?p=3551\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Proxmox Host Network Issues&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3553,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[67,26],"class_list":["post-3551","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","tag-network","tag-proxmox"],"_links":{"self":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/3551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3551"}],"version-history":[{"count":4,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/3551\/revisions"}],"predecessor-version":[{"id":3566,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/3551\/revisions\/3566"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/media\/3553"}],"wp:attachment":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}