{"id":266,"date":"2023-11-09T19:22:36","date_gmt":"2023-11-09T11:22:36","guid":{"rendered":"https:\/\/turbostudio.xyz\/?p=266"},"modified":"2023-11-15T13:59:32","modified_gmt":"2023-11-15T05:59:32","slug":"%e7%95%85%e7%bd%91p5-n100%e4%bd%bf%e7%94%a8pve%e6%9b%b4%e6%96%b0%e6%98%be%e5%8d%a1%e7%9b%b4%e9%80%9a%e7%bc%96%e8%af%91bug%e8%a7%a3%e5%86%b3","status":"publish","type":"post","link":"https:\/\/turbostudio.xyz\/?p=266","title":{"rendered":"\u7545\u7f51P5 N100\u4f7f\u7528PVE\u66f4\u65b0\u663e\u5361\u76f4\u901a\u7f16\u8bd1bug\u89e3\u51b3"},"content":{"rendered":"\n<p>\u6700\u65e9\u662f\u53c2\u8003\u6069\u5c71\u8bba\u575b\u5927\u795eOzzy_Yang\u7684\u65b9\u6848\uff0c\u51c6\u5907\u641eAll in One\u7684\uff0c\u7136\u540e\u6211\u6309\u7167\u5927\u795e\u7684\u65b9\u6cd5\u5b89\u88c5PVE\u5f88\u6210\u529f\uff0c\u4f46\u662f\u5728\u914d\u7f6e\u7f16\u8bd1DKMS\u7684\u65f6\u5019\uff0c\u603b\u662f\u7f16\u8bd1\u62a5\u9519<\/p>\n\n\n\n<p>\u9519\u8bef\u4fe1\u606f\u5982\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>make -j8 KERNELRELEASE=6.2.16-18-pve -j8 -C \/lib\/modules\/6.2.16-18-pve\/build M=\/var\/lib\/dkms\/i915-sriov-dkms\/6.1\/build KVER=6.2.16-18-pve..................(bad exit status: 2)\nError! Bad return status for module build on kernel: 6.2.16-18-pve (x86_64)\nConsult \/var\/lib\/dkms\/i915-sriov-dkms\/6.1\/build\/make.log for more information.\n<\/code><\/pre>\n\n\n\n<p>\u4e8e\u662f\u5f00\u59cb\u5230\u5904\u641c\u7d22\u539f\u56e0<\/p>\n\n\n\n<p>\u5728\u9879\u76ee\u4e3b\u9875Issues\u4e0b\u627e\u5230\u548c\u6211\u7c7b\u4f3c\u7684\u60c5\u51b5<\/p>\n\n\n\n<p>\u9700\u8981\u7528\u7f16\u8f91\u5668\u6253\u5f00i915-sriov-dkms\u76ee\u5f55\u4e0b\/drivers\/gpu\/drm\/i915\/display\/intel_dp.c\u6587\u4ef6<\/p>\n\n\n\n<p>\u4fee\u6539\u4e24\u5904\u4ee3\u7801<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,1,40) &amp;&amp; LINUX_VERSION_CODE &lt;= KERNEL_VERSION(6,1,99)) || LINUX_VERSION_CODE > KERNEL_VERSION(6,4,5)<\/code><\/pre>\n\n\n\n<p>\u66ff\u6362\u4e3a:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#if (LINUX_VERSION_CODE &gt;= KERNEL_VERSION(6,1,40) &amp;&amp; LINUX_VERSION_CODE &lt;= KERNEL_VERSION(6,1,99)) || LINUX_VERSION_CODE &gt;= KERNEL_VERSION(6,2,0)<\/code><\/pre>\n\n\n\n<p>\u8fd9\u6bb5\u4ee3\u7801\u4e00\u5171\u5728\u4e24\u5904\u51fa\u73b0\uff0c\u90fd\u9700\u8981\u66ff\u6362\u6389\uff0c\u7136\u540e\u6309\u6559\u7a0b\u4e2d\u4fee\u6539dkms.conf\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PACKAGE_NAME=\"i915-sriov-dkms\"\nPACKAGE_VERSION=\"6.2\" #\u628a6.1\u6539\u62106.2(i915-sriov-dkms\u9879\u76ee\u4e2d\u4fee\u6539\u62106.1\uff0c\u4f60\u5982\u679c\u5b89\u88c5\u7684\u662fPVE8.0+\u7248\u672c\u7684\u8bdd\uff0cPVE8.0+\u57fa\u4e8e\u7684\u662fDebian12 \uff0cLinux6.2\u5185\u6838\uff0c\u6240\u4ee5\u8fd9\u91cc\u4fee\u6539\u62106.2)\n<\/code><\/pre>\n\n\n\n<p>\u9000\u51fa\u4fdd\u5b58<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ..\nmv i915-sriov-dkms\/ \/usr\/src\/i915-sriov-dkms-6.1 #\u540c\u7406\uff0c\u628a6.1\u6539\u62106.2\napt update &amp;&amp; apt install pve-headers-$(uname -r)\napt install git dkms build-* unzip -y\n<\/code><\/pre>\n\n\n\n<p>\u6700\u540e\uff0c\u7f16\u8bd1\u5b89\u88c5<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dkms install --force -m i915-sriov-dkms -v 6.1<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"753\" height=\"175\" src=\"https:\/\/i0.wp.com\/turbostudio.xyz\/wp-content\/uploads\/2023\/11\/image.png?resize=753%2C175&#038;ssl=1\" alt=\"\" class=\"wp-image-268\" srcset=\"https:\/\/i0.wp.com\/turbostudio.xyz\/wp-content\/uploads\/2023\/11\/image.png?w=753&amp;ssl=1 753w, https:\/\/i0.wp.com\/turbostudio.xyz\/wp-content\/uploads\/2023\/11\/image.png?resize=300%2C70&amp;ssl=1 300w\" sizes=\"auto, (max-width: 753px) 100vw, 753px\" \/><\/figure>\n\n\n\n<p>\u4f7f\u7528 dkms status\u6765\u68c0\u67e5\u5b89\u88c5\u72b6\u6001<\/p>\n\n\n\n<p>\u63d0\u793a \uff1a <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"31\" src=\"https:\/\/i0.wp.com\/turbostudio.xyz\/wp-content\/uploads\/2023\/11\/image-1.png?resize=630%2C31&#038;ssl=1\" alt=\"\" class=\"wp-image-269\" srcset=\"https:\/\/i0.wp.com\/turbostudio.xyz\/wp-content\/uploads\/2023\/11\/image-1.png?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/turbostudio.xyz\/wp-content\/uploads\/2023\/11\/image-1.png?resize=300%2C15&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p>\u5373\u8868\u793a\u5b89\u88c5\u6210\u529f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u65e9\u662f\u53c2\u8003\u6069\u5c71\u8bba\u575b\u5927\u795eOzzy_Yang\u7684\u65b9\u6848\uff0c\u51c6\u5907\u641eAll in One\u7684\uff0c\u7136\u540e\u6211\u6309\u7167\u5927\u795e\u7684\u65b9\u6cd5\u5b89\u88c5PVE\u5f88 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":342,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[39,26,8],"tags":[36,34,35,33,38],"class_list":["post-266","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nas","category-all_blog","category-trap","tag-n100","tag-nas","tag-p5","tag-pve","tag-38"],"blocksy_meta":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/turbostudio.xyz\/wp-content\/uploads\/2023\/11\/0_sNDzyfp-wC73mUGI.webp?fit=720%2C540&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/turbostudio.xyz\/index.php?rest_route=\/wp\/v2\/posts\/266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/turbostudio.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/turbostudio.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/turbostudio.xyz\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/turbostudio.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=266"}],"version-history":[{"count":3,"href":"https:\/\/turbostudio.xyz\/index.php?rest_route=\/wp\/v2\/posts\/266\/revisions"}],"predecessor-version":[{"id":271,"href":"https:\/\/turbostudio.xyz\/index.php?rest_route=\/wp\/v2\/posts\/266\/revisions\/271"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/turbostudio.xyz\/index.php?rest_route=\/wp\/v2\/media\/342"}],"wp:attachment":[{"href":"https:\/\/turbostudio.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/turbostudio.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/turbostudio.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}