{"id":280,"date":"2013-06-07T09:19:08","date_gmt":"2013-06-07T09:19:08","guid":{"rendered":"http:\/\/www.selinuxplus.com\/?p=280"},"modified":"2013-06-07T09:55:20","modified_gmt":"2013-06-07T09:55:20","slug":"linux-kernel%e5%ae%9a%e5%88%b6%ef%bc%88%e4%b8%89%ef%bc%89","status":"publish","type":"post","link":"http:\/\/www.selinuxplus.com\/?p=280","title":{"rendered":"linux kernel\u5b9a\u5236\uff08\u4e09\uff09"},"content":{"rendered":"<p>3 \u5b9a\u5236\u5185\u6838<br \/>\n\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904<a href=\"http:\/\/www.selinuxplus.com\/?p=280\" title=\"selinuxplus.com\" target=\"_blank\">[By SELinux+]<\/a><br \/>\n\t\u6211\u4eec\u5728\u9009\u62e9\u9a71\u52a8\u4e2d\u627e\u5230\u76842\u4e2a\u9a71\u52a8\uff0c\u8fd9\u6b21\u6211\u4eec\u8981\u53bb\u5b9e\u9a8c\u4e00\u4e0b\u3002<br \/>\n\u5b9e\u9a8c\u73af\u5883:kernel-2.6.40.fc15\u5185\u6838\uff0ckernel-2.6.40\u662ff15\u6700\u65b0\u7684\u5185\u6838\u3002\u4e3a\u4e86\u66f4\u597d\u7684\u65b9\u4fbf\u4f7f\u7528\uff0c\u6211\u4eec\u4e0d\u4f7f\u7528\u524d\u9762\u793a\u4f8b\u4e2d\u7684kernel-2.6.38\u7684\u5185\u6838\uff0c\u5176\u6846\u67b6\u57fa\u672c\u4e00\u81f4\u3002<br \/>\n\t1 \u4ee5\u592a\u7f51\u7f51\u5361\u9a71\u52a8e1000e<br \/>\n\t2 CDROM\u9a71\u52a8 BLK_DEV_SR<br \/>\n\t\u9996\u5148\u6211\u4eec\u5b9a\u5236\u5185\u6838\u914d\u7f6e\u9009\u9879<br \/>\n\t1\u52a0\u8f7de1000e,\u53bb\u6389\u5176\u4ed6\u7684\u7f51\u5361\u9a71\u52a8\u3002<br \/>\n\t2 \u53d6\u6d88CDROM\u9a71\u52a8<br \/>\n\u4e0b\u56fe\u4e3a\u6211\u4eec\u53d6\u6d88\u7f51\u5361\u7684\u5176\u4ed6\u9009\u9879\uff0c\u4ec5\u9009\u62e9Ethernet(1000Mbit)<\/p>\n<p><a href=\"http:\/\/www.selinuxplus.com\/wp-content\/uploads\/2013\/06\/make_kernel_6.png\"><img loading=\"lazy\" src=\"http:\/\/www.selinuxplus.com\/wp-content\/uploads\/2013\/06\/make_kernel_6-300x202.png\" alt=\"\" title=\"make_kernel_6\" width=\"300\" height=\"202\" class=\"alignnone size-medium wp-image-281\" srcset=\"http:\/\/www.selinuxplus.com\/wp-content\/uploads\/2013\/06\/make_kernel_6-300x202.png 300w, http:\/\/www.selinuxplus.com\/wp-content\/uploads\/2013\/06\/make_kernel_6-150x101.png 150w, http:\/\/www.selinuxplus.com\/wp-content\/uploads\/2013\/06\/make_kernel_6-400x269.png 400w, http:\/\/www.selinuxplus.com\/wp-content\/uploads\/2013\/06\/make_kernel_6.png 746w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n\u4e0b\u56fe\u4e3a\u53d6\u6d88CDROM \u652f\u6301<br \/>\n<a href=\"http:\/\/www.selinuxplus.com\/wp-content\/uploads\/2013\/06\/make_kernel_7.png\"><img loading=\"lazy\" src=\"http:\/\/www.selinuxplus.com\/wp-content\/uploads\/2013\/06\/make_kernel_7-300x202.png\" alt=\"\" title=\"make_kernel_7\" width=\"300\" height=\"202\" class=\"alignnone size-medium wp-image-282\" srcset=\"http:\/\/www.selinuxplus.com\/wp-content\/uploads\/2013\/06\/make_kernel_7-300x202.png 300w, http:\/\/www.selinuxplus.com\/wp-content\/uploads\/2013\/06\/make_kernel_7-150x101.png 150w, http:\/\/www.selinuxplus.com\/wp-content\/uploads\/2013\/06\/make_kernel_7-400x269.png 400w, http:\/\/www.selinuxplus.com\/wp-content\/uploads\/2013\/06\/make_kernel_7.png 746w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u4fdd\u5b58\u914d\u7f6e\uff0c\u8fdb\u884c\u7f16\u8bd1<\/p>\n<pre class=\"lang:default decode:true \" >cp .config ..\/..\/..\/SOURCES\/config-x86_64-generic\r\nrpmbuild -bb kernel.spec<\/pre>\n<p>\u7f16\u8bd1\u5b89\u88c5\u540e\u7684\u6548\u679c\u5982\u4e0b\uff1a<\/p>\n<pre class=\"lang:default decode:true \" >[root@qfong.com ~]# uname -r\r\n\r\n2.6.40.6-0.qf.fc15.x86_64\r\n\r\n[root@qfong.com ~]# ping 8.8.8.8\r\n\r\nPING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.\r\n64 bytes from 8.8.8.8: icmp_req=1 ttl=47 time=111 ms\r\n64 bytes from 8.8.8.8: icmp_req=2 ttl=47 time=111 ms\r\n64 bytes from 8.8.8.8: icmp_req=3 ttl=47 time=109 ms\r\n^C\r\n--- 8.8.8.8 ping statistics ---\r\n3 packets transmitted, 3 received, 0% packet loss, time 2003ms\r\nrtt min\/avg\/max\/mdev = 109.565\/111.052\/111.850\/1.087 ms\r\n\r\n[root@qfong.com ~]# ls \/dev\/sr\r\n\r\nls: cannot access \/dev\/sr: No such file or directory<\/pre>\n<p>\u6211\u4eec\u53d1\u73b0sr\u7684\u8bbe\u5907\u4e0d\u5b58\u5728\u4e86\u3002\u800c\u7f51\u7edc\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528<\/p>\n","protected":false},"excerpt":{"rendered":"<p>3 \u5b9a\u5236\u5185\u6838 \u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904[By SELinux&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[45,5],"tags":[48,37,38],"_links":{"self":[{"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/posts\/280"}],"collection":[{"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=280"}],"version-history":[{"count":4,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/posts\/280\/revisions"}],"predecessor-version":[{"id":290,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/posts\/280\/revisions\/290"}],"wp:attachment":[{"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}