{"id":661,"date":"2021-04-05T19:37:37","date_gmt":"2021-04-05T10:37:37","guid":{"rendered":"https:\/\/sirius10.dip.jp\/blog\/wordpress\/?p=661"},"modified":"2021-05-07T08:38:03","modified_gmt":"2021-05-06T23:38:03","slug":"cdemu","status":"publish","type":"post","link":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/2021\/04\/05\/661\/","title":{"rendered":"CDEmu"},"content":{"rendered":"\n<p>\u3000CD \u30c9\u30e9\u30a4\u30d6\u30a8\u30df\u30e5\u30ec\u30fc\u30bf CDEmu \u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3000Windows \u306b\u306f\u3001DAEMON Tools \u3068\u3044\u3046 \u4eee\u60f3 CD \u30c9\u30e9\u30a4\u30d6\u304c\u3042\u308a\u3001\u4f7f\u3063\u3066\u3044\u307e\u3057\u305f\u3002Linux \u3067\u540c\u69d8\u306a\u3082\u306e\u304c\u306a\u3044\u304b\u3092\u63a2\u3057\u305f\u3089\u3001CDEmu \u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u306a\u3044\u306e\u3067\u30bd\u30fc\u30b9\u304b\u3089\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u308b\u304b\u3069\u3046\u304b\u8a66\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30bd\u30fc\u30b9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/h2>\n\n\n\n<p><a href=\"https:\/\/cdemu.sourceforge.io\/\">https:\/\/cdemu.sourceforge.io\/<\/a> \u304b\u3089\u30bd\u30fc\u30b9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30bd\u30fc\u30b9\u306f\u3001\u4ee5\u4e0b\u306e 6 \u3064\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><span style=\"font-size: 17px\" class=\"font-size\">libmirage-3.2.4.tar.bz2<\/span><\/li><li><span style=\"font-size: 17px\" class=\"font-size\">image-analyzer-3.2.4.tar.bz2<\/span><\/li><li><span style=\"font-size: 17px\" class=\"font-size\">cdemu-client-3.2.4.tar.bz2<\/span><\/li><li><span style=\"font-size: 17px\" class=\"font-size\">cdemu-daemon-3.2.4.tar.bz2<\/span><\/li><li><span style=\"font-size: 17px\" class=\"font-size\">gcdemu-3.2.4.tar.bz2<\/span><\/li><li><span style=\"font-size: 17px\" class=\"font-size\">vhba-module-20200106.tar.bz2<\/span><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>\u3000\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u969b\u306b\u3044\u304f\u3064\u304b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"console\">$ sudo apt-get install libnotify-dev libao-dev intltool<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u74b0\u5883\u306e\u69cb\u7bc9<\/h2>\n\n\n\n<p>\u3000\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u3001\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/qiita.com\/newtypehiro919\/items\/336e09340e728a94a9f7\">https:\/\/qiita.com\/newtypehiro919\/items\/336e09340e728a94a9f7<\/a>\u3092\u53c2\u8003\u306b\u6e96\u5099\u3092\u6574\u3048\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>2021.04.09 \u8ffd\u8a18<br>\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u30d3\u30eb\u30c9\u306e\u6e96\u5099\u306e\u8a18\u4e8b\u3092\u30a2\u30c3\u30d7\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-sirius-\u306e\u30d6\u30ed\u30b0 wp-block-embed-sirius-\u306e\u30d6\u30ed\u30b0\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"vBhbqg7B34\"><a href=\"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/2021\/04\/09\/966\/\">\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u30d3\u30eb\u30c9\u306e\u6e96\u5099<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u30d3\u30eb\u30c9\u306e\u6e96\u5099&#8221; &#8212; Sirius \u306e\u30d6\u30ed\u30b0\" src=\"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/2021\/04\/09\/966\/embed\/#?secret=9v2X7NFgHk#?secret=vBhbqg7B34\" data-secret=\"vBhbqg7B34\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b3\u30f3\u30d1\u30a4\u30eb\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>\u3000vhba-module \u4ee5\u5916\u306f\u3001\u5c55\u958b\u3057\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3044\u3044\u3067\u3059\u304c\u3001\u306f\u3058\u3081\u306b cdemu-daemon \u306b\u5fc5\u8981\u306a libmirage\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002(xxx \u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u540d)<\/p>\n\n\n\n<p class=\"console\">$ tar xvfj xxx.tar.bz2<br>$ cd xxx<br>$ mkdir build<br>$ cd build<br>$ cmake ..<br>$ make -j4<br>$ sudo make install<br>$ cd ..<\/p>\n\n\n\n<p>libmirage \u3092\u5165\u308c\u305f\u3042\u3068\u3001ldconfig \u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"console\">$ sudo ldconfig<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb<\/h2>\n\n\n\n<p>\u3000vhba-module \u306f\u5c55\u958b\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3066\u3001\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"console\">$ sudo make modules<br>$ sudo make modukes_install<br>$ sudo depmod -A<\/p>\n\n\n\n<p>\u3000\u5f53\u7136\u3001\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u306e\u6e96\u5099\u304c\u6e08\u3093\u3067\u3044\u306a\u3044\u3068\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">udev \u306e\u30eb\u30fc\u30eb\u8ffd\u52a0<\/h2>\n\n\n\n<p>\u3000\u5168\u90e8\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u305f\u3089\u3001\/etc\/udev\/rules.d \u306b 99-cdemu.rules \u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e 1 \u884c\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"file\">KERNEL==&#8221;vhba_ctl&#8221;, MODE=&#8221;0660&#8243;, OWNER=&#8221;root&#8221;, GROUP=&#8221;cdrom&#8221;<\/p>\n\n\n\n<p>\u5ff5\u306e\u70ba\u518d\u8d77\u52d5\u3057\u305f\u3042\u3068\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30ed\u30fc\u30c9\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"console\">$ sudo modprobe vhba<\/p>\n\n\n\n<p>lsmod \u3067\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u3042\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"console\">$ lsmod | grep vhba<\/p>\n\n\n\n<p>\u3000gcdemu \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308c\u3070\u3001\u30b7\u30b9\u30c6\u30e0\u30c8\u30ec\u30a4\u306b gcdemu \u304c\u5e38\u99d0\u3057\u307e\u3059\u3002\u30af\u30ea\u30c3\u30af\u3067\u30a4\u30e1\u30fc\u30b8\u3092\u30de\u30a6\u30f3\u30c8\u3059\u308b\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">rc.local \u306e\u4fee\u6b63<\/h2>\n\n\n\n<p>\u3000\u6700\u5f8c\u306b\u3001\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306e vhba \u3092\u8d77\u52d5\u6642\u306b\u30ed\u30fc\u30c9\u3059\u308b\u3088\u3046\u306b\u3001\/etc\/rc.local \u306b\u6b21\u306e\u4e00\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"file\">modprobe vhba<\/p>\n\n\n\n<p>\u3000\u3082\u3063\u3068\u82e6\u6226\u3059\u308b\u304b\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u3001\u610f\u5916\u3068\u697d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3057\u305f\u3002\u3053\u308c\u3067\u4eee\u60f3 CD \u30c9\u30e9\u30a4\u30d6\u306b CD \u30a4\u30e1\u30fc\u30b8\u3092\u30de\u30a6\u30f3\u30c8\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000CD \u30c9\u30e9\u30a4\u30d6\u30a8\u30df\u30e5\u30ec\u30fc\u30bf CDEmu \u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3059\u3002 \u3000Windows \u306b\u306f\u3001DAEMON Tools \u3068\u3044\u3046 \u4eee\u60f3 CD \u30c9\u30e9\u30a4\u30d6\u304c\u3042\u308a\u3001\u4f7f\u3063\u3066\u3044\u307e\u3057\u305f\u3002Linux \u3067\u540c\u69d8\u306a\u3082\u306e\u304c\u306a\u3044\u304b\u3092\u63a2\u3057\u305f\u3089\u3001CDEmu  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-661","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=661"}],"version-history":[{"count":8,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/661\/revisions"}],"predecessor-version":[{"id":1114,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/661\/revisions\/1114"}],"wp:attachment":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}