{"id":156,"date":"2022-07-03T17:01:10","date_gmt":"2022-07-03T08:01:10","guid":{"rendered":"https:\/\/th0x0472.net\/?p=156"},"modified":"2022-07-12T07:30:47","modified_gmt":"2022-07-11T22:30:47","slug":"%e4%b8%8d%e8%a6%81%e3%81%9d%e3%81%86%e3%81%aa%e3%83%89%e3%83%a9%e3%82%a4%e3%83%90%e3%81%a8%e3%82%b5%e3%83%bc%e3%83%93%e3%82%b9%e3%82%92%e7%84%a1%e5%8a%b9%e5%8c%96%e3%81%97%e3%81%9f","status":"publish","type":"post","link":"https:\/\/th0x0472.net\/index.php\/2022\/07\/03\/156\/","title":{"rendered":"\u4e0d\u8981\u305d\u3046\u306a\u30c9\u30e9\u30a4\u30d0\u3068\u30b5\u30fc\u30d3\u30b9\u3092\u7121\u52b9\u5316\u3057\u305f"},"content":{"rendered":"<p>\u3053\u306e\u30d6\u30ed\u30b0\u306fAWS EC2\u3067\u52d5\u3044\u3066\u307e\u3059\u3002\u4e0d\u8981\u305d\u3046\u306a\u30b5\u30fc\u30d3\u30b9\u3068\u30c9\u30e9\u30a4\u30d0\u3092\u7121\u52b9\u5316\u3057\u307e\u3057\u305f\u3002<!--more-->\u307e\u305a\u306f\u30b5\u30fc\u30d3\u30b9\u3092\u3072\u3068\u3064\u7121\u52b9\u5316\u3001\u3072\u3068\u3064\u4fdd\u7559\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ systemctl list-units --type=service | grep Modem\r\nModemManager.service loaded active running Modem Manager<\/code><\/pre>\n<\/div>\n<p>\u30e2\u30c7\u30e0\u5c45\u308b\u3093\u304b\u3044\u3002\u3044\u306a\u3044\u3060\u308d\u3002\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u62b9\u6bba\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ sudo systemctl disable ModemManager.service\r\nRemoved \/etc\/systemd\/system\/dbus-org.freedesktop.ModemManager1.service.\r\nRemoved \/etc\/systemd\/system\/multi-user.target.wants\/ModemManager.service.<\/code><\/pre>\n<\/div>\n<p>\u3061\u306a\u307f\u306b\u8c46\u8150\u30e1\u30f3\u30bf\u30eb\u306e\u30c1\u30ad\u30f3\u30cf\u30fc\u30c8\u91ce\u90ce\u306a\u306e\u3067\u3001\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3092\u53d6\u5f97\u3057\u3066\u304b\u3089\u5b9f\u9a13\u3057\u3066\u307e\u3059\u3002\u3044\u3064\u3067\u3082\u5207\u308a\u623b\u305b\u308b\u3088\u3046\u306b\u3002<\/p>\n<p>\u4e00\u3064\u7121\u52b9\u5316\u3059\u308b\u3054\u3068\u306b\u3001\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002\u30c9\u30ad\u30c9\u30ad\u3067\u3059\u3002<\/p>\n<p>\u30e2\u30c7\u30e0\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u7121\u52b9\u5316\u3057\u3066\u7121\u4e8b\u518d\u8d77\u52d5\u3057\u307e\u3057\u305f\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ systemctl list-units --type=service | grep -i Modem<\/code><\/pre>\n<\/div>\n<p>\u4f55\u3082\u51fa\u529b\u3055\u308c\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3001\u3088\u3057\u3088\u3057\u3002<\/p>\n<p>\u3082\u3046\u4e00\u3064\u6c17\u306b\u306a\u308b\u30e4\u30c4\u304c\u3044\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ systemctl list-units --type=service | grep -i serial\r\nserial-getty@ttyS0.service loaded active running Serial Getty on ttyS0<\/code><\/pre>\n<\/div>\n<p>\u306f\u305f\u3057\u3066\u4f7f\u3046\u6a5f\u4f1a\u304c\u3042\u308b\u306e\u3067\u3057\u3087\u3046\u304b\u3002\u3044\u3084\u3001\u305d\u306e\u524d\u306b\u3001\u4f7f\u3044\u65b9\u3092\u77e5\u3089\u306a\u3044\u304b\u3089\u7121\u52b9\u5316\u3059\u308b\u3068\u3044\u3046\u306e\u3082\u9055\u3046\u6c17\u304c\u3059\u308b\u3002\u3068\u3044\u3046\u308f\u3051\u3067\u4f7f\u3044\u65b9\u3092\u8abf\u3079\u3066\u307f\u308b\u3068\u30fb\u30fb\u30fb\u3001\u3067\u307e\u3057\u305f\u3002<\/p>\n<blockquote><p><a href=\"https:\/\/docs.aws.amazon.com\/ja_jp\/AWSEC2\/latest\/UserGuide\/connect-to-serial-console.html#sc-connect-SSH\" target=\"_blank\" rel=\"noopener\">\u72ec\u81ea\u306e\u30ad\u30fc\u3068 SSH \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u63a5\u7d9a\u3059\u308b<\/a><\/p><\/blockquote>\n<p>\u30d6\u30e9\u30a6\u30b6\u30d9\u30fc\u30b9\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u305f\u63a5\u7d9a\u306f\u3001\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u3084\u308a\u305f\u304f\u3042\u308a\u307e\u305b\u3093\u3002\u3084\u308b\u306a\u3089ssh\u3092\u5229\u7528\u3057\u305f\u65b9\u3067\u3057\u3087\u3046\u3002\u304c\u3001\u3053\u308c\u306b\u306fawscli\u5165\u308c\u3066\u3001\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002\u6765\u9031\u306e\u5bbf\u984c\u306b\u3057\u307e\u3059\u3002<br \/>\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001serial-getty@ttyS0.service\u306f\u6709\u52b9\u306e\u307e\u307e\u3067\u3059\u3002<\/p>\n<p>\u3064\u3065\u3044\u3066\u30c9\u30e9\u30a4\u30d0\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ipmi_devintf\r\nipmi_msghandler<\/code><\/pre>\n<\/div>\n<p>\u4eee\u60f3\u30de\u30b7\u30f3\u306bIPMI\u5c45\u308b\u306e\u304b\uff1fAWS\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u64cd\u4f5c\u3059\u308b\u3068\u304d\u306b\u5fc5\u8981\u306a\u306e\u304b\u306a\uff1f\u3068\u308a\u3042\u3048\u305a\u30d6\u30e9\u30c3\u30af\u30ea\u30b9\u30c8\u306b\u653e\u308a\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ grep ipmi \/etc\/modprobe.d\/blacklist-mylist.conf\r\nblacklist ipmi_devintf\r\nblacklist ipmi_msghandler<\/code><\/pre>\n<\/div>\n<p>\u30c9\u30ad\u30c9\u30ad\u306e\u518d\u8d77\u52d5\u30bf\u30a4\u30e0\u3067\u3059\u3002<code>sudo shutdown -r now<\/code> \u30fb\u30fb\u30fb\u7121\u4e8b\u518d\u8d77\u52d5\u3057\u3066\u304d\u307e\u3057\u305f\u3002\u4eca\u5ea6\u306fAWS\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u518d\u8d77\u52d5\u3055\u305b\u3066\u307f\u307e\u3059\u3002\u3053\u3061\u3089\u3082\u7121\u4e8b\u518d\u8d77\u52d5\u304c\u304b\u304b\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3042\u3068\u4e8c\u3064\u3001\u8981\u3089\u306a\u305d\u3046\u306a\u30c9\u30e9\u30a4\u30d0\u3092\u524a\u9664\u3057\u307e\u3059\u3002<code>input_leds<\/code>\u3068<code>drm<\/code>\u3067\u3059\u3002\u524d\u8005\u306fLED\u3092\u4f7f\u3063\u3066\u4f55\u304b\u3092\u3057\u305f\u3044\u6642\u306b\u4f7f\u3046\u3089\u3057\u3044\u3051\u308c\u3069\u3001\u305d\u3093\u306a\u6a5f\u4f1a\u306f\u306a\u3055\u305d\u3046\u3067\u3059\u3002\u5f8c\u8005\u306f\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u51fa\u529b\u306b\u91cd\u8981\u306a\u3082\u306e\u3060\u305d\u3046\u3067\u3059\u304c\u3001ssh\u3068Web\u304c\u63d0\u4f9b\u3067\u304d\u308c\u3070\u3088\u3044\u306e\u3067\u3001\u30d6\u30e9\u30c3\u30af\u30ea\u30b9\u30c8\u5165\u308a\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ egrep '(led|drm)' \/etc\/modprobe.d\/blacklist-mylist.conf\r\nblacklist input_leds\r\nblacklist drm<\/code><\/pre>\n<\/div>\n<p>\u307e\u305f\u30c9\u30ad\u30c9\u30ad\u3057\u306a\u304c\u3089\u518d\u8d77\u52d5\u30fb\u30fb\u30fb\u7121\u4e8b\u8d77\u52d5\u3057\u3066\u304d\u307e\u3057\u305f\u3002\u826f\u304b\u3063\u305f\u3002\u3044\u307e<code>lsmod<\/code>\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ lsmod\r\nModule Size Used by\r\nbinfmt_misc 24576 1\r\ntls 106496 0\r\nnls_iso8859_1 16384 1\r\ncrct10dif_pclmul 16384 1\r\ncrc32_pclmul 16384 0\r\nghash_clmulni_intel 16384 0\r\naesni_intel 376832 0\r\ncrypto_simd 16384 1 aesni_intel\r\ncryptd 24576 2 crypto_simd,ghash_clmulni_intel\r\nserio_raw 20480 0\r\ndm_multipath 40960 0\r\nscsi_dh_rdac 20480 0\r\nscsi_dh_emc 16384 0\r\nscsi_dh_alua 20480 0\r\nsch_fq_codel 20480 2\r\nmsr 16384 0\r\nautofs4 49152 2<\/code><\/pre>\n<\/div>\n<p>SCSI\u95a2\u9023\u8981\u3089\u306a\u305d\u3046\u30fb\u30fb\u30fb\u5b9f\u969b<code>lsscsi<\/code>\u3057\u3066\u3082\u4f55\u3082\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002\u3057\u304b\u3057\u3001\u3053\u308c\u3092\u30d6\u30e9\u30c3\u30af\u30ea\u30b9\u30c8\u306b\u653e\u308a\u8fbc\u3093\u3067\u3082\u3001\u306a\u305c\u304b\u518d\u8d77\u52d5\u3059\u308b\u3068\u30ed\u30fc\u30c9\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<code>rmmod<\/code>\u306f\u3059\u3093\u306a\u308a\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u3002\u30ef\u30f3\u30e9\u30a4\u30ca\u30fc\u3067\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>$ lsmod | grep ^scsi | cut -d' ' -f1 | xargs sudo rmmod<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3092\u3084\u308c\u3070\u3061\u3083\u3093\u3068\u3044\u306a\u304f\u306a\u308b\u306e\u306b\u3001\u306a\u305c\u30d6\u30e9\u30c3\u30af\u30ea\u30b9\u30c8\u306b\u5165\u308c\u3066\u3082\u30ed\u30fc\u30c9\u3055\u308c\u308b\u306e\u304b\u30fb\u30fb\u30fb\u3002\u3053\u308c\u3092\u8abf\u3079\u308b\u306e\u3082\u5bbf\u984c\u3067\u3059\u306d\u3002<\/p>\n<p>\u4eca\u9031\u306f\u3053\u306e\u304f\u3089\u3044\u3067\u3002\u307e\u305f\u6765\u9031\u9811\u5f35\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30d6\u30ed\u30b0\u306fAWS EC2\u3067\u52d5\u3044\u3066\u307e\u3059\u3002\u4e0d\u8981\u305d\u3046\u306a\u30b5\u30fc\u30d3\u30b9\u3068\u30c9\u30e9\u30a4\u30d0\u3092\u7121\u52b9\u5316\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,4,10],"tags":[],"class_list":["post-156","post","type-post","status-publish","format-standard","hentry","category-aws","category-linux","category-10"],"_links":{"self":[{"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/posts\/156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/comments?post=156"}],"version-history":[{"count":3,"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/posts\/156\/revisions"}],"predecessor-version":[{"id":161,"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/posts\/156\/revisions\/161"}],"wp:attachment":[{"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/media?parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/categories?post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/th0x0472.net\/index.php\/wp-json\/wp\/v2\/tags?post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}