{"id":548,"date":"2022-11-07T06:35:10","date_gmt":"2022-11-07T06:35:10","guid":{"rendered":"https:\/\/www.z0.cx\/wp\/?p=548"},"modified":"2023-04-11T09:34:40","modified_gmt":"2023-04-11T09:34:40","slug":"%e8%a7%a3%e5%86%b3pve-%e4%b8%8b%e7%9a%84dkms-build%e6%8a%a5%e9%94%99%e7%9a%84%e4%b8%80%e4%b8%aa%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.z0.cx\/wp\/?p=548","title":{"rendered":"\u89e3\u51b3PVE \u4e0b\u7684dkms build\u62a5\u9519\u7684\u4e00\u4e2a\u65b9\u6cd5"},"content":{"rendered":"<p>\u5f53\u6d89\u53ca\u5230dkms build\u7684\u65f6\u5019\uff0c\u9700\u8981\u5148\u5b89\u88c5kernel header\uff0c\u4f46\u5343\u4e07\u4e0d\u8981\u7528<br \/>\n<code>apt install pve-headers<\/code><br \/>\n\u56e0\u4e3a\u4e0d\u77e5\u9053\u4ec0\u4e48\u539f\u56e0\uff0c\u4f1a\u5bfc\u81f4\u5934\u6587\u4ef6 \/usr\/src\/linux-headers-5.15.64-1-pve\/include\/generated\/autoconf.h \u88ab\u5220\u9664\u3002\u7136\u540edkms build\u7684\u65f6\u5019\u5c31\u4f1a\u62a5\u9519\uff1a<br \/>\n<code>Error! Bad return status for module build on kernel: 5.15.64-1-pve (x86_64)<\/code><br \/>\nmake.log\u91cc\u4f1a\u63d0\u793a\u201cmake oldconfig &amp;&amp; make prepare\u201d\u3002\u4f46\u56e0\u4e3a\u7f3a\u5c11\u4e86\u5934\u6587\u4ef6\uff0c\u5b9e\u9645\u4e0a\u8fd9\u6837\u662f\u89e3\u51b3\u4e0d\u4e86\u7684\u3002<\/p>\n<p>\u9700\u8981\u7528\uff1a<br \/>\n<code>apt install pve-headers-$(uname -r)<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u6d89\u53ca\u5230dkms build\u7684\u65f6\u5019\uff0c\u9700\u8981\u5148\u5b89\u88c5kernel header\uff0c\u4f46\u5343\u4e07\u4e0d\u8981\u7528 apt install pve-headers \u56e0\u4e3a\u4e0d\u77e5\u9053\u4ec0\u4e48\u539f\u56e0\uff0c\u4f1a\u5bfc\u81f4\u5934\u6587\u4ef6 \/usr\/src\/linux-headers-5.15.64-1-pve\/include\/generated\/autoconf.h \u88ab\u5220\u9664\u3002\u7136\u540edkms build\u7684\u65f6\u5019\u5c31\u4f1a\u62a5\u9519\uff1a Error! Bad return status for module build on kernel: 5.15.64-1-pve (x86_64) make.log\u91cc\u4f1a\u63d0\u793a\u201cmake oldconfig &amp;&amp; make prepare\u201d\u3002\u4f46\u56e0\u4e3a\u7f3a\u5c11\u4e86\u5934\u6587\u4ef6\uff0c\u5b9e\u9645\u4e0a\u8fd9\u6837\u662f\u89e3\u51b3\u4e0d\u4e86\u7684\u3002 \u9700\u8981\u7528\uff1a apt install pve-headers-$(uname -r)<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-548","post","type-post","status-publish","format-standard","hentry","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u89e3\u51b3PVE \u4e0b\u7684dkms build\u62a5\u9519\u7684\u4e00\u4e2a\u65b9\u6cd5 - Zone0<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.z0.cx\/wp\/?p=548\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u89e3\u51b3PVE \u4e0b\u7684dkms build\u62a5\u9519\u7684\u4e00\u4e2a\u65b9\u6cd5 - Zone0\" \/>\n<meta property=\"og:description\" content=\"\u5f53\u6d89\u53ca\u5230dkms build\u7684\u65f6\u5019\uff0c\u9700\u8981\u5148\u5b89\u88c5kernel header\uff0c\u4f46\u5343\u4e07\u4e0d\u8981\u7528 apt install pve-headers \u56e0\u4e3a\u4e0d\u77e5\u9053\u4ec0\u4e48\u539f\u56e0\uff0c\u4f1a\u5bfc\u81f4\u5934\u6587\u4ef6 \/usr\/src\/linux-headers-5.15.64-1-pve\/include\/generated\/autoconf.h \u88ab\u5220\u9664\u3002\u7136\u540edkms build\u7684\u65f6\u5019\u5c31\u4f1a\u62a5\u9519\uff1a Error! Bad return status for module build on kernel: 5.15.64-1-pve (x86_64) make.log\u91cc\u4f1a\u63d0\u793a\u201cmake oldconfig &amp;&amp; make prepare\u201d\u3002\u4f46\u56e0\u4e3a\u7f3a\u5c11\u4e86\u5934\u6587\u4ef6\uff0c\u5b9e\u9645\u4e0a\u8fd9\u6837\u662f\u89e3\u51b3\u4e0d\u4e86\u7684\u3002 \u9700\u8981\u7528\uff1a apt install pve-headers-$(uname -r)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.z0.cx\/wp\/?p=548\" \/>\n<meta property=\"og:site_name\" content=\"Zone0\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-07T06:35:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-11T09:34:40+00:00\" \/>\n<meta name=\"author\" content=\"z0p0\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"z0p0\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.z0.cx\/wp\/?p=548\",\"url\":\"https:\/\/www.z0.cx\/wp\/?p=548\",\"name\":\"\u89e3\u51b3PVE \u4e0b\u7684dkms build\u62a5\u9519\u7684\u4e00\u4e2a\u65b9\u6cd5 - Zone0\",\"isPartOf\":{\"@id\":\"https:\/\/www.z0.cx\/wp\/#website\"},\"datePublished\":\"2022-11-07T06:35:10+00:00\",\"dateModified\":\"2023-04-11T09:34:40+00:00\",\"author\":{\"@id\":\"https:\/\/www.z0.cx\/wp\/#\/schema\/person\/19d65333f5e2a25b9dcc03e0bf2d16f7\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.z0.cx\/wp\/?p=548#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.z0.cx\/wp\/?p=548\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.z0.cx\/wp\/?p=548#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.z0.cx\/wp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u89e3\u51b3PVE \u4e0b\u7684dkms build\u62a5\u9519\u7684\u4e00\u4e2a\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.z0.cx\/wp\/#website\",\"url\":\"https:\/\/www.z0.cx\/wp\/\",\"name\":\"Zone0\",\"description\":\"\u4e3a\u4e86\u4e0d\u88ab\u9057\u5fd8\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.z0.cx\/wp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.z0.cx\/wp\/#\/schema\/person\/19d65333f5e2a25b9dcc03e0bf2d16f7\",\"name\":\"z0p0\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.z0.cx\/wp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a919f0e111e047843db6c9e13e88355fda2baca437fd715b4f5fecf3f51585db?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a919f0e111e047843db6c9e13e88355fda2baca437fd715b4f5fecf3f51585db?s=96&d=mm&r=g\",\"caption\":\"z0p0\"},\"url\":\"https:\/\/www.z0.cx\/wp\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u89e3\u51b3PVE \u4e0b\u7684dkms build\u62a5\u9519\u7684\u4e00\u4e2a\u65b9\u6cd5 - Zone0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.z0.cx\/wp\/?p=548","og_locale":"en_US","og_type":"article","og_title":"\u89e3\u51b3PVE \u4e0b\u7684dkms build\u62a5\u9519\u7684\u4e00\u4e2a\u65b9\u6cd5 - Zone0","og_description":"\u5f53\u6d89\u53ca\u5230dkms build\u7684\u65f6\u5019\uff0c\u9700\u8981\u5148\u5b89\u88c5kernel header\uff0c\u4f46\u5343\u4e07\u4e0d\u8981\u7528 apt install pve-headers \u56e0\u4e3a\u4e0d\u77e5\u9053\u4ec0\u4e48\u539f\u56e0\uff0c\u4f1a\u5bfc\u81f4\u5934\u6587\u4ef6 \/usr\/src\/linux-headers-5.15.64-1-pve\/include\/generated\/autoconf.h \u88ab\u5220\u9664\u3002\u7136\u540edkms build\u7684\u65f6\u5019\u5c31\u4f1a\u62a5\u9519\uff1a Error! Bad return status for module build on kernel: 5.15.64-1-pve (x86_64) make.log\u91cc\u4f1a\u63d0\u793a\u201cmake oldconfig &amp;&amp; make prepare\u201d\u3002\u4f46\u56e0\u4e3a\u7f3a\u5c11\u4e86\u5934\u6587\u4ef6\uff0c\u5b9e\u9645\u4e0a\u8fd9\u6837\u662f\u89e3\u51b3\u4e0d\u4e86\u7684\u3002 \u9700\u8981\u7528\uff1a apt install pve-headers-$(uname -r)","og_url":"https:\/\/www.z0.cx\/wp\/?p=548","og_site_name":"Zone0","article_published_time":"2022-11-07T06:35:10+00:00","article_modified_time":"2023-04-11T09:34:40+00:00","author":"z0p0","twitter_card":"summary_large_image","twitter_misc":{"Written by":"z0p0","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.z0.cx\/wp\/?p=548","url":"https:\/\/www.z0.cx\/wp\/?p=548","name":"\u89e3\u51b3PVE \u4e0b\u7684dkms build\u62a5\u9519\u7684\u4e00\u4e2a\u65b9\u6cd5 - Zone0","isPartOf":{"@id":"https:\/\/www.z0.cx\/wp\/#website"},"datePublished":"2022-11-07T06:35:10+00:00","dateModified":"2023-04-11T09:34:40+00:00","author":{"@id":"https:\/\/www.z0.cx\/wp\/#\/schema\/person\/19d65333f5e2a25b9dcc03e0bf2d16f7"},"breadcrumb":{"@id":"https:\/\/www.z0.cx\/wp\/?p=548#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.z0.cx\/wp\/?p=548"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.z0.cx\/wp\/?p=548#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.z0.cx\/wp\/"},{"@type":"ListItem","position":2,"name":"\u89e3\u51b3PVE \u4e0b\u7684dkms build\u62a5\u9519\u7684\u4e00\u4e2a\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.z0.cx\/wp\/#website","url":"https:\/\/www.z0.cx\/wp\/","name":"Zone0","description":"\u4e3a\u4e86\u4e0d\u88ab\u9057\u5fd8","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.z0.cx\/wp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.z0.cx\/wp\/#\/schema\/person\/19d65333f5e2a25b9dcc03e0bf2d16f7","name":"z0p0","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.z0.cx\/wp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a919f0e111e047843db6c9e13e88355fda2baca437fd715b4f5fecf3f51585db?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a919f0e111e047843db6c9e13e88355fda2baca437fd715b4f5fecf3f51585db?s=96&d=mm&r=g","caption":"z0p0"},"url":"https:\/\/www.z0.cx\/wp\/?author=2"}]}},"views":162,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.z0.cx\/wp\/index.php?rest_route=\/wp\/v2\/posts\/548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.z0.cx\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.z0.cx\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.z0.cx\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.z0.cx\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=548"}],"version-history":[{"count":2,"href":"https:\/\/www.z0.cx\/wp\/index.php?rest_route=\/wp\/v2\/posts\/548\/revisions"}],"predecessor-version":[{"id":562,"href":"https:\/\/www.z0.cx\/wp\/index.php?rest_route=\/wp\/v2\/posts\/548\/revisions\/562"}],"wp:attachment":[{"href":"https:\/\/www.z0.cx\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.z0.cx\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.z0.cx\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}