{"id":111,"date":"2004-11-20T20:47:11","date_gmt":"2004-11-20T11:47:11","guid":{"rendered":"http:\/\/www.kazu.tv\/blog\/?p=111"},"modified":"2004-11-20T20:47:11","modified_gmt":"2004-11-20T11:47:11","slug":"umleaaa","status":"publish","type":"post","link":"https:\/\/kazu.tv\/blog\/2004\/11\/20\/umleaaa\/","title":{"rendered":"UML\u96e3\u3057\u3044\u306a"},"content":{"rendered":"<p>User Mode Linux\u306e\u65b9\u3002<\/p>\n<p>\u3061\u3087\u3063\u3068\u6642\u9593\u304c\u3042\u3063\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u305f\u3002\u7d50\u69cb\u60c5\u5831\u304c\u5c11\u306a\u3044\u3002\u30e1\u30e2\u4ee3\u308f\u308a\u306b\u66f8\u3044\u3066\u307f\u308b\u3002<\/p>\n<p>\u307e\u305a\u306f\u30db\u30b9\u30c8\u5074\u306e\u74b0\u5883\u304b\u3089<br \/>\nRed Hat Linux 9\uff08\u53e4\u30c3\uff09<br \/>\nCPU: PIII 550MHz(Celeron\u3060\u3063\u305f\u304b\u3082)<br \/>\nMem: 256MB<\/p>\n<p>\u307e\u305a\u306f<a href=\"http:\/\/www.atmarkit.co.jp\/flinux\/special\/uml\/uml01.html\">@IT\u306e\u8a18\u4e8b<\/a>\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u305d\u306e\u901a\u308a\u306b\u3084\u3063\u3066\u307f\u308b\u304c\u3001\u3001\u3001\n<\/p>\n<p><!--more--><\/p>\n<p>\u3044\u304d\u306a\u308a\u3053\u308c\u304b\u3001\u3001\u3001<\/p>\n<div class=\"code\">\n# rpm -ivh user_mode_linux-2.4.19.5um-0.i386.rpm<br \/>\nPreparing&#8230;                ########################################### [100%]<br \/>\nfile \/usr\/bin\/jailtest from install of user_mode_linux-2.4.19.5um-0 conflicts with file from package kernel-utils-2.4-8.29<br \/>\nfile \/usr\/bin\/tunctl from install of user_mode_linux-2.4.19.5um-0 conflicts with file from package kernel-utils-2.4-8.29<br \/>\nfile \/usr\/bin\/uml_mconsole from install of user_mode_linux-2.4.19.5um-0 conflicts with file from package kernel-utils-2.4-8.29<br \/>\nfile \/usr\/bin\/uml_moo from install of user_mode_linux-2.4.19.5um-0 conflicts with file from package kernel-utils-2.4-8.29<br \/>\nfile \/usr\/bin\/uml_net from install of user_mode_linux-2.4.19.5um-0 conflicts with file from package kernel-utils-2.4-8.29<br \/>\nfile \/usr\/bin\/uml_switch from install of user_mode_linux-2.4.19.5um-0 conflicts with file from package kernel-utils-2.4-8.29<br \/>\nfile \/usr\/lib\/uml\/port-helper from install of user_mode_linux-2.4.19.5um-0 conflicts with file from package kernel-utils-2.4-8.29\n<\/div>\n<\/p>\n<p>rpm\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u8abf\u3079\u3066\u307f\u308b\u3068 \u3001<\/p>\n<div class=\"code\">\n# rpm -qpl user_mode_linux-2.4.19.5um-0.i386.rpm<br \/>\n\/usr\/bin\/jailtest <br \/>\n\/usr\/bin\/linux <br \/>\n\/usr\/bin\/tunctl <br \/>\n\/usr\/bin\/uml_mconsole<br \/>\n\/usr\/bin\/uml_moo<br \/>\n\/usr\/bin\/uml_net<br \/>\n\/usr\/bin\/uml_switch<br \/>\n\/usr\/lib\/uml\/config<br \/>\n\/usr\/lib\/uml\/modules-2.2.tar<br \/>\n\/usr\/lib\/uml\/modules-2.4.tar<br \/>\n\/usr\/lib\/uml\/port-helper\n<\/div>\n<\/p>\n<p>\/usr\/bin\/linux \u4ee5\u5916\u306f\u5168\u90e8\u6700\u521d\u304b\u3089\u5165\u3063\u3066\u308b\u3002@IT\u306e\u8a18\u4e8b\u306f\u53e4\u3044\u306e\u3067\u5f53\u6642\u306fRPM\u304c\u5fc5\u8981\u3060\u3063\u305f\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3001\u6700\u8fd1\uff08\u3068\u3044\u3063\u3066\u30822.4.20\u306a\u8a33\u3060\u304c\uff09\u306f\u6700\u521d\u304b\u3089\u5165\u3063\u3066\u308b\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u306e\u3067\u3053\u3053\u306f\u98db\u3070\u3059\u3002<\/p>\n<p>\u3067\u3001\/usr\/bin\/linux \u3060\u3051\u306a\u3044\u304b\u3089\u3001\u3053\u308c\u3092\u3069\u3063\u304b\u304b\u3089\u53d6\u3063\u3066\u3053\u3088\u3046\u3002\u3067\u3001<a href=\"http:\/\/kernels.usermodelinux.org\/kernels\/\">\u3053\u306e\u8fba\u308a<\/a>\u304b\u3089\u6301\u3063\u3066\u304d\u305f\u3002<\/p>\n<p>\u3042\u3068\u306f\u3001\/dev\/net\/tun \u306e\u6a29\u9650\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3089\u3057\u3044\u3002666\u306f\u3061\u3087\u3063\u3068\u30a4\u30e4\u3060\u3063\u305f\u306e\u3067\u3001\u3053\u3093\u306a\u611f\u3058\u306b\u3057\u305f\u3002<\/p>\n<div class=\"code\">\n# ls -l \/dev\/net\/tun<br \/>\ncrw-rw&#8212;-    1 root     uml       10, 200  1\u6708 30  2003 \/dev\/net\/tun\n<\/div>\n<\/p>\n<p>root fs\u306froot_fs.rh-9-full.pristine.20030724.bz2 \u3092\u53d6\u3063\u3066\u304d\u305f\u3002\u65b0\u3057\u3082\u306e\u597d\u304d\u306a\u306e\u3067\u3002\u3068\u308a\u3042\u3048\u305a \/var\/uml \u306b\u89e3\u51cd\u3057\u305f\u3002<\/p>\n<p>\u3067\u3001\u3044\u3088\u3044\u3088\u8d77\u52d5\u3002<\/p>\n<div class=\"code\">\n$ linux ubd0=.\/difffs,\/var\/uml\/root_fs.rh-9-full.pristine.20030724 eth0=tuntap,,,192.168.0.8 mem=96M\n<\/div>\n<p>\n\u521d\u56de\u306f\u3001\u300c\u9577\u3044\u671f\u9593fsck\u3057\u3066\u306a\u3044\u305e\u300d\u3068\u3044\u3046\u8b66\u544a\u304c\u51fa\u308b\u306e\u3067\u3001root\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066fsck\u3092\u304b\u3051\u3066\u518d\u8d77\u52d5\u3002<\/p>\n<div class=\"code\">\nChecking root filesystem<br \/>\n\/dev\/ubd\/0 has gone 484 days without being checked, check forced.<br \/>\n\/dev\/ubd\/0: Optimizing directories:  15105 15548 18695 20746 34261 39248 40492 41155 46171 46818 61586 64206 65157 65564 66089<br \/>\n\/dev\/ubd\/0: ***** REBOOT LINUX *****<br \/>\n\/dev\/ubd\/0: 44985\/75520 files (0.6% non-contiguous), 136147\/151040 blocks<br \/>\n[\/sbin\/fsck.ext2 (1) &#8212; \/] fsck.ext2 -a \/dev\/ubd\/0<br \/>\n[FAILED]<\/p>\n<p>*** An error occurred during the file system check.<br \/>\n*** Dropping you to a shell; the system will reboot<br \/>\n*** when you leave the shell.<br \/>\nGive root password for maintenance<br \/>\n(or type Control-D to continue):<br \/>\n(Repair filesystem) 1 # fsck<br \/>\nfsck 1.32 (09-Nov-2002)<br \/>\ne2fsck 1.32 (09-Nov-2002)<br \/>\n\/dev\/ubd\/0: clean, 44985\/75520 files, 136147\/151040 blocks<br \/>\n(Repair filesystem) 2 # shutdown -r now\n<\/div>\n<\/p>\n<p>\u3067\u3082\u3001\u518d\u8d77\u52d5\u5f8c\u306b\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u3066\u56fa\u307e\u308b\u3002tty\u95a2\u4fc2\u3063\u307d\u3044\u304c\u3001\u6642\u9593\u304c\u7121\u304f\u306a\u3063\u305f\u306e\u3067\u3053\u3053\u3067\u65ad\u5ff5\u3002\u7d9a\u304d\u306f\u5f8c\u65e5\u3002<\/p>\n<div class=\"code\">\nINIT: Id &#8220;0&#8221; respawning too fast: disabled for 5 minutes<br \/>\nINIT: Id &#8220;2&#8221; respawning too fast: disabled for 5 minutes<br \/>\nINIT: Id &#8220;1&#8221; respawning too fast: disabled for 5 minutes<br \/>\nINIT: Id &#8220;c&#8221; respawning too fast: disabled for 5 minutes<br \/>\nINIT: no more processes left in this runlevel\n<\/div>\n<\/p>\n<p><a href=\"http:\/\/user-mode-linux.sourceforge.net\/\">\u672c\u5bb6\u306e\u30da\u30fc\u30b8<\/a>\u3092\u3082\u3046\u5c11\u3057\u8aad\u3080\u304b\u3001\u3001\u3001<\/p>\n","protected":false},"excerpt":{"rendered":"<p>User Mode Linux\u306e\u65b9\u3002 \u3061\u3087\u3063\u3068\u6642\u9593\u304c\u3042\u3063\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u305f\u3002\u7d50\u69cb\u60c5\u5831\u304c\u5c11\u306a\u3044\u3002\u30e1\u30e2\u4ee3\u308f\u308a\u306b\u66f8\u3044\u3066\u307f\u308b\u3002 \u307e\u305a\u306f\u30db\u30b9\u30c8\u5074\u306e\u74b0\u5883\u304b\u3089 Red Hat Linux 9\uff08\u53e4\u30c3\uff09 CPU: PIII 550MHz(C&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[32],"tags":[],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-linux-unix"],"_links":{"self":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/comments?post=111"}],"version-history":[{"count":0,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/111\/revisions"}],"wp:attachment":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/media?parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/categories?post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/tags?post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}