{"id":10836,"date":"2014-02-05T19:22:03","date_gmt":"2014-02-05T10:22:03","guid":{"rendered":"http:\/\/oichinote.com\/plus\/?p=10836"},"modified":"2017-02-10T03:10:15","modified_gmt":"2017-02-09T18:10:15","slug":"install-kernel-module-on-pqi-air-pen","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2014\/02\/install-kernel-module-on-pqi-air-pen.html","title":{"rendered":"PQI Air Pen\u306bKernel\u30e2\u30b8\u30e5\u30fc\u30eb\u8ffd\u52a0"},"content":{"rendered":"<p>\u6b21\u306e\u8a18\u4e8b\u306e\u901a\u308a\u3001PQI Air Pen\u7528\u306b\u3001\u30af\u30ed\u30b9\u30b3\u30f3\u30d1\u30a4\u30eb\u74b0\u5883\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/oichinote.com\/plus\/2014\/01\/cross-compile-for-mips-on-ubuntu-12-04.html\" rel=\"_RAclick\">PQI Air Pen\u7528\u306bUbuntu 12.04\u3067mips\u306e\u30af\u30ed\u30b9\u30b3\u30f3\u30d1\u30a4\u30eb\u74b0\u5883\u8a2d\u5b9a: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593<\/a> <em>(2014\u5e741\u670824\u65e5)<\/em><\/li>\n<\/ul>\n<p>\u3053\u306e\u76ee\u7684\u306f\u3001PQI Air Pen\u306b\u3001Kernel\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8ffd\u52a0\u3057\u305f\u304b\u3063\u305f\u304b\u3089\u3067\u3059\u3002<\/p>\n[amazonjs asin=\"B00BNAST0O\" locale=\"JP\"]\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/oichinote.com\/plus\/files\/2014\/01\/20170210pqi-air-pen.jpg\" alt=\"PQI Air Pen\" width=\"480\" height=\"360\" class=\"alignnone size-full wp-image-19253\" srcset=\"https:\/\/oichinote.com\/plus\/files\/2014\/01\/20170210pqi-air-pen.jpg 480w, https:\/\/oichinote.com\/plus\/files\/2014\/01\/20170210pqi-air-pen-150x113.jpg 150w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>\u3053\u306e\u3042\u3068\u8a66\u884c\u932f\u8aa4\u3057\u3066\u3001Kernel\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u7d44\u307f\u8fbc\u3080\u4e8b\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u305f\u3060\u3001\u5b8c\u5168\u306a\u6210\u529f\u3067\u306f\u306a\u304f\u3001\u300c\u7d44\u307f\u8fbc\u3081\u305f\u300d\u3060\u3051\u3067\u3059\u3002Kernel\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u6b63\u3057\u304f\u52d5\u3044\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u306f\u4e0d\u660e\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306e\u624b\u9806\u3067\u3001Kernel\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u7d44\u307f\u8fbc\u307f\u5b9f\u9a13\u3092\u3057\u307e\u3057\u305f\u3002<\/p>\n<ol>\n<li>Ubuntu 12.04\u306bncurses\u8ffd\u52a0<\/li>\n<li>Linux Kernel 2.6.31\u306e\u30bd\u30fc\u30b9\u306e\u5c55\u958b<\/li>\n<li>Kernel\u30b3\u30f3\u30d5\u30a3\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3<\/li>\n<li>Kernel\u30bd\u30fc\u30b9\u306b\u30d1\u30c3\u30c1<\/li>\n<li>\u6a19\u6e96Kernel\u30e2\u30b8\u30e5\u30fc\u30eb\u30d3\u30eb\u30c9<\/li>\n<li>Hello World! Kernel\u30e2\u30b8\u30e5\u30fc\u30eb\u30d3\u30eb\u30c9<\/li>\n<li>PQI Air Pen\u306b\u7d44\u307f\u8fbc\u307f<\/li>\n<\/ol>\n<p>\u9806\u3092\u8ffd\u3063\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3>1. Ubuntu 12.04\u306bncurses\u8ffd\u52a0<\/h3>\n<p>\u30af\u30ed\u30b9\u30b3\u30f3\u30d1\u30a4\u30eb\u74b0\u5883\u3068\u3057\u3066\u3001Ubuntu 12.04\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002Kernel\u3092\u30d3\u30eb\u30c9\u3059\u308b\u524d\u306b\u3001\u30b3\u30f3\u30d5\u30a3\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30f3\u30d5\u30a3\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u3092GUI\u7684\u306b\u3084\u308d\u3046\u3068\u3059\u308b\u3068\u3001&#8221;ncurses-devel&#8221;\u304c\u5fc5\u8981\u306e\u69d8\u3067\u3059\u3002Ubuntu\u306e\u5834\u5408\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u304c\u9055\u3063\u3066\u3044\u307e\u3059\u3002\u6b21\u306e\u624b\u9806\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n$ sudo apt-get install libncurses5-dev\r\n<\/pre>\n<p>\u6b21\u306e\u30da\u30fc\u30b8\u3067\u77e5\u308a\u307e\u3057\u305f\u3002Thank you!<\/p>\n<ul>\n<li><a href=\"http:\/\/askubuntu.com\/questions\/270381\/how-do-i-install-ncurses-header-files\" target=\"_blank\">12.04 &#8211; How do I install ncurses header files? &#8211; Ask Ubuntu<\/a><\/li>\n<\/ul>\n<h3>2. Linux Kernel 2.6.31\u306e\u30bd\u30fc\u30b9\u306e\u5c55\u958b<\/h3>\n<p>\u6b21\u306e\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u304b\u3089\u3001Kernel 2.6.31\u306e\u30bd\u30fc\u30b9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/www.kernel.org\/pub\/linux\/kernel\/v2.6\/\" target=\"_blank\">Index of \/pub\/linux\/kernel\/v2.6<\/a><\/li>\n<\/ul>\n<pre>\r\n$ wget https:\/\/www.kernel.org\/pub\/linux\/kernel\/v2.6\/linux-2.6.31.tar.bz2\r\n<\/pre>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3089\u3001\u5c55\u958b\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n$ tar xvjf linux-2.6.31.tar.bz2\r\n<\/pre>\n<h3>3. Kernel\u30b3\u30f3\u30d5\u30a3\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3<\/h3>\n<p>Kernel\u306e\u30b3\u30d5\u30a3\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n$ make ARCH=mips CROSS_COMPILE=mips-linux-gnu- menuconfig\r\n<\/pre>\n<p>\u8a2d\u5b9a\u3057\u7d42\u308f\u3063\u305f\u3089\u3001\u6700\u5f8c\u306b&#8221;.config&#8221;\u306b\u4fdd\u5b58\u3057\u3066\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n<p>\u6700\u7d42\u7684\u306b\u305f\u3069\u308a\u7740\u3044\u305f\u3001CPU\u5468\u308a\u306e\u8a2d\u5b9a\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre>\r\nCONFIG_NXP_STB220=y\r\nCONFIG_CPU_BIG_ENDIAN=y\r\nCONFIG_CPU_MIPS32_R2=y\r\nCONFIG_SYS_HAS_CPU_MIPS32_R2=y\r\nCONFIG_CPU_SUPPORTS_32BIT_KERNEL=y\r\nCONFIG_CPU_MIPSR2_IRQ_VI=y\r\n<\/pre>\n<p>\u4ed6\u3001\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u306a\u3069\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u304c\u3042\u308a\u307e\u3059\u3002\u79c1\u306f\u3001USB\u3068\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4ee5\u5916\u306e\u3059\u3079\u3066\u306e\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u3092\u975e\u9078\u629e\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u306e\u4e2d\u306b\u306f\u3001\u4e0a\u8a18\u306e\u8a2d\u5b9a\u3060\u3068\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u306b\u306a\u308b\u7269\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u7269\u3060\u3051\u6b8b\u3057\u305f\u3068\u8a00\u3046\u611f\u3058\u3067\u3059\u3002<\/p>\n<h3>4. Kernel\u30bd\u30fc\u30b9\u306b\u30d1\u30c3\u30c1<\/h3>\n<p>Kernel\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u7d44\u307f\u8fbc\u3080\u305f\u3081\u306b\u306f\u3001vermagic\u304c\u4e00\u81f4\u3057\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u6b21\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/d.hatena.ne.jp\/enakai00\/20110509\/1304910773\" target=\"_blank\">vermagic \u3068 modversions \u306b\u95a2\u3059\u308b\u899a\u3048\u66f8\u304d &#8211; \u3081\u3082\u3081\u3082<\/a><\/li>\n<li><a href=\"http:\/\/wiki.bit-hive.com\/north\/pg\/%A5%AB%A1%BC%A5%CD%A5%EB%A5%E2%A5%B8%A5%E5%A1%BC%A5%EB%A4%CE%A5%DE%A5%B8%A5%C3%A5%AF%C8%D6%B9%E6(%A4%BD%A4%CE1)\" target=\"_blank\">\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30de\u30b8\u30c3\u30af\u756a\u53f7(\u305d\u306e1) &#8211; Linux\u306e\u5099\u5fd8\u9332\u3068\u304b\u30fb\u30fb\u30fb(\u76ee\u6b21\u3078\uff09<\/a><\/li>\n<\/ul>\n<p>linux-2.6.31.test1\u3068\u8a00\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u3001\u5b9f\u969b\u306b\u4f5c\u696d\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3059\u3002\u540d\u524d\u3092\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"hljs\"><code class=\"diff\">$ diff -c linux-2.6.31\/include\/linux\/vermagic.h linux-2.6.31.test1\/include\/linux\/vermagic.h\r\n*** linux-2.6.31\/include\/linux\/vermagic.h\t2009-09-10 07:13:59.000000000 +0900\r\n--- linux-2.6.31.test1\/include\/linux\/vermagic.h\t2014-01-26 22:08:24.128000000 +0900\r\n***************\r\n*** 27,34 ****\r\n  #endif\r\n  \r\n  #define VERMAGIC_STRING \t\t\t\t\t\t\\\r\n! \tUTS_RELEASE &quot; &quot;\t\t\t\t\t\t\t\\\r\n  \tMODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT \t\t\t\\\r\n! \tMODULE_VERMAGIC_MODULE_UNLOAD MODULE_VERMAGIC_MODVERSIONS\t\\\r\n! \tMODULE_ARCH_VERMAGIC\r\n  \r\n--- 27,34 ----\r\n  #endif\r\n  \r\n  #define VERMAGIC_STRING \t\t\t\t\t\t\\\r\n! \tUTS_RELEASE &quot;.AirPen_V0.1.22-g5eca71a &quot;\t\t\t\t\t\t\t\\\r\n  \tMODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT \t\t\t\\\r\n! \tMODULE_VERMAGIC_MODULE_UNLOAD \t\\\r\n! \tMODULE_ARCH_VERMAGIC \r\n<\/code><\/pre>\n<p>\u305d\u308c\u3068\u3001oprofilefs.c\u3067\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u306b\u306a\u308b\u306e\u3067\u3001Makefile\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"hljs\"><code class=\"diff\">$ diff -c linux-2.6.31\/arch\/mips\/oprofile\/Makefile linux-2.6.31.test1\/arch\/mips\/oprofile\/Makefile\r\n*** linux-2.6.31\/arch\/mips\/oprofile\/Makefile\t2009-09-10 07:13:59.000000000 +0900\r\n--- linux-2.6.31.test1\/arch\/mips\/oprofile\/Makefile\t2014-01-25 21:37:27.188767000 +0900\r\n***************\r\n*** 1,4 ****\r\n! EXTRA_CFLAGS := -Werror\r\n  \r\n  obj-$(CONFIG_OPROFILE) += oprofile.o\r\n  \r\n--- 1,4 ----\r\n! #EXTRA_CFLAGS := -Werror\r\n  \r\n  obj-$(CONFIG_OPROFILE) += oprofile.o\r\n<\/code><\/pre>\n<p>\u3053\u306e\u8a2d\u5b9a\u3092\u3057\u306a\u3044\u3068\u3001\u6b21\u306e\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>\r\n  CC [M]  arch\/mips\/oprofile\/..\/..\/..\/drivers\/oprofile\/oprofilefs.o\r\nIn file included from arch\/mips\/oprofile\/..\/..\/..\/drivers\/oprofile\/oprofilefs.c:17:0:\r\ninclude\/linux\/pagemap.h: In function 'fault_in_pages_readable':\r\ninclude\/linux\/pagemap.h:413:16: error: variable 'c' set but not used [-Werror=unused-but-set-variable]\r\n  volatile char c;\r\n                ^\r\ncc1: all warnings being treated as errors\r\nmake[1]: *** [arch\/mips\/oprofile\/..\/..\/..\/drivers\/oprofile\/oprofilefs.o] Error 1\r\nmake: *** [arch\/mips\/oprofile] Error 2\r\n<\/pre>\n<h3>5. \u6a19\u6e96Kernel\u30e2\u30b8\u30e5\u30fc\u30eb\u30d3\u30eb\u30c9<\/h3>\n<p>\u3053\u306e\u4fee\u6b63\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u3044\u3088\u3044\u3088\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30d3\u30eb\u30c9(\u30b3\u30f3\u30d1\u30a4\u30eb)\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>\r\n$ make ARCH=mips CROSS_COMPILE=mips-linux-gnu- modules\r\n<\/pre>\n<p>\u3053\u308c\u3067\u3001\u30a8\u30e9\u30fc\u304c\u7121\u304f\u306a\u308b\u307e\u3067\u74b0\u5883\u3092\u898b\u76f4\u3057\u307e\u3059\u3002<\/p>\n<h3>6. Hello World! Kernel\u30e2\u30b8\u30e5\u30fc\u30eb\u30d3\u30eb\u30c9<\/h3>\n<p>\u72ec\u81ea\u30c9\u30e9\u30a4\u30d0\u3068\u3057\u3066\u3001Hello World! Kernel\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u7d44\u307f\u8fbc\u3093\u3067\u307f\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u30da\u30fc\u30b8\u306e\u901a\u308a\u306b\u30d3\u30eb\u30c9\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/www.pied-piper.net\/note\/note.cgi?15\" target=\"_blank\">\u9b54\u8853\u5e2b\u898b\u7fd2\u3044\u306e\u30ce\u30fc\u30c8<\/a><\/li>\n<\/ul>\n<p>hello.c\u306e\u30e9\u30a4\u30bb\u30f3\u30b9\u306f&#8221;Dual BSD\/GPL&#8221;\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305d\u306e\u307e\u307e\u63b2\u8f09\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"hljs\"><code class=\"cpp\">#include &lt;linux\/init.h&gt;\r\n#include &lt;linux\/module.h&gt;\r\nMODULE_LICENSE(&quot;Dual BSD\/GPL&quot;);\r\n\r\nstatic int hello_init(void)\r\n{\r\n  printk(KERN_ALERT &quot;Hello, World\\n&quot;);\r\n  return 0;\r\n}\r\n\r\nstatic void hello_exit(void)\r\n{\r\n  printk(KERN_ALERT &quot;Goodbye, World\\n&quot;);\r\n}\r\n\r\nmodule_init(hello_init);\r\nmodule_exit(hello_exit);\r\n<\/code><\/pre>\n<p>Makefile\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002Kernel\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30d3\u30eb\u30c9\u3059\u308b\u3060\u3051\u3060\u3063\u305f\u3089\u30011\u884c\u3067\u69cb\u3044\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"hljs\"><code>obj-m := hello.o\r\n<\/code><\/pre>\n<p>\u3053\u308c\u3089\u306e\u6e96\u5099\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u30d3\u30eb\u30c9\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n$ ls\r\nhello.c   linux-2.6.31.test1  Makefile\r\n$ make ARCH=mips CROSS_COMPILE=mips-linux-gnu- -C $PWD\/linux-2.6.31.test1 M=$PWD modules\r\n$ ls\r\nhello.c   hello.mod.c  hello.o             Makefile        modules.order\r\nhello.ko  hello.mod.o  linux-2.6.31.test1  Module.markers  Module.symvers\r\n<\/pre>\n<p>&#8220;hello.ko&#8221;\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u51fa\u6765\u4e0a\u304c\u3063\u305fhello.ko\u306efile\u60c5\u5831\u306f\u3001\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre>\r\n$ file hello.ko \r\nhello.ko: ELF 32-bit MSB relocatable, MIPS, MIPS32 rel2 version 1 (SYSV), BuildID[sha1]=0xbb912c16c1e8619c20dd1dfd1c31c555ab497a58, with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, not stripped\r\n<\/pre>\n<h3>7. PQI Air Pen\u306b\u7d44\u307f\u8fbc\u307f<\/h3>\n<p>\u51fa\u6765\u4e0a\u304c\u3063\u305fhello.ko\u3092\u3001microSD\u30ab\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002\u30c8\u30c3\u30d7\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u7f6e\u3044\u305f\u3068\u4eee\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n% telnet 192.168.200.1\r\nTrying 192.168.200.1...\r\nConnected to 192.168.200.1.\r\nEscape character is '^]'.\r\n(none) login: root\r\nPassword: pqiap\r\n\r\nBusyBox v1.01 (2013.01.03-08:27+0000) Built-in shell (ash)\r\nEnter 'help' for a list of built-in commands.\r\n\r\n~ # cd \/tmp\/www\/ftp\/sda1\/\r\n\/tmp\/www\/ftp\/sda1 # ls\r\nPhoto             dcim              hello.ko          Music             Video\r\n\/tmp\/www\/ftp\/sda1 # lsmod\r\nModule                  Size  Used by    Tainted: P  \r\numac 576480 0 - Live 0xc02b6000\r\nath_dev 207072 1 umac, Live 0xc01c3000 (P)\r\nath_rate_atheros 20032 1 ath_dev, Live 0xc0174000 (P)\r\nath_hal 371936 2 umac,ath_dev, Live 0xc010b000 (P)\r\nadf 9904 3 umac,ath_dev,ath_hal, Live 0xc0096000\r\nasf 6816 3 umac,ath_dev,ath_hal, Live 0xc0089000 (P)\r\nathrs_gmac 49616 0 - Live 0xc0072000\r\nusb_storage 38400 1 - Live 0xc003e000\r\nehci_hcd 32928 0 - Live 0xc001d000\r\n<\/pre>\n<p>hello.ko\u3092\u7d44\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n<pre>\r\n\/tmp\/www\/ftp\/sda1 # insmod hello.ko\r\n\/tmp\/www\/ftp\/sda1 # lsmod\r\nModule                  Size  Used by    Tainted: P  \r\nhello 1376 0 - Live 0xc03a2000\r\numac 576480 0 - Live 0xc02b6000\r\nath_dev 207072 1 umac, Live 0xc01c3000 (P)\r\nath_rate_atheros 20032 1 ath_dev, Live 0xc0174000 (P)\r\nath_hal 371936 2 umac,ath_dev, Live 0xc010b000 (P)\r\nadf 9904 3 umac,ath_dev,ath_hal, Live 0xc0096000\r\nasf 6816 3 umac,ath_dev,ath_hal, Live 0xc0089000 (P)\r\nathrs_gmac 49616 0 - Live 0xc0072000\r\nusb_storage 38400 1 - Live 0xc003e000\r\nehci_hcd 32928 0 - Live 0xc001d000\r\n<\/pre>\n<p>\u7d44\u307f\u8fbc\u307e\u308c\u307e\u3057\u305f! \u3046\u307e\u304f\u884c\u3051\u3070\u3001dmesg\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u529b\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre>\r\n\/tmp\/www\/ftp\/sda1 # dmesg | tail\r\ndevice ath0 entered promiscuous mode\r\nbr0: port 1(ath0) entering learning state\r\n ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1 \r\nbr0: port 1(ath0) entering disabled state\r\n DEVICE IS DOWN ifname=ath0\r\n DEVICE IS DOWN ifname=ath0\r\nbr0: port 1(ath0) entering learning state\r\nbr0: port 1(ath0) entering forwarding state\r\nwarning: `vsftpd' uses 32-bit capabilities (legacy support in use)\r\nAlgorithmics\/MIPS FPU Emulator v1.5\r\n<\/pre>\n<p>&#8220;Hello, World&#8221;\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u306a\u306e\u3067\u3059\u304c\u3001\u3042\u308a\u307e\u305b\u3093\u3002\u5ff5\u306e\u305f\u3081\u3001\/proc\/kmsg\u3082\u78ba\u8a8d\u3057\u307e\u3057\u305f\u304c\u3001\u3084\u306f\u308a\u4f55\u3082\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u4eca\u5ea6\u306f\u3001\u7d44\u307f\u8fbc\u3093\u3060Kernel\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5916\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre>\r\n\/tmp\/www\/ftp\/sda1 # rmmod hello.ko \r\n\/tmp\/www\/ftp\/sda1 # lsmod\r\nModule                  Size  Used by    Tainted: P  \r\numac 576480 0 - Live 0xc02b6000\r\nath_dev 207072 1 umac, Live 0xc01c3000 (P)\r\nath_rate_atheros 20032 1 ath_dev, Live 0xc0174000 (P)\r\nath_hal 371936 2 umac,ath_dev, Live 0xc010b000 (P)\r\nadf 9904 3 umac,ath_dev,ath_hal, Live 0xc0096000\r\nasf 6816 3 umac,ath_dev,ath_hal, Live 0xc0089000 (P)\r\nathrs_gmac 49616 0 - Live 0xc0072000\r\nusb_storage 38400 1 - Live 0xc003e000\r\nehci_hcd 32928 0 - Live 0xc001d000\r\n<\/pre>\n<p>\u5916\u308c\u307e\u3057\u305f\u3002dmesg\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre>\r\n\/tmp\/www\/ftp\/sda1 # dmesg | tail\r\ndevice ath0 entered promiscuous mode\r\nbr0: port 1(ath0) entering learning state\r\n ieee80211_ioctl_siwmode: imr.ifm_active=393856, new mode=3, valid=1 \r\nbr0: port 1(ath0) entering disabled state\r\n DEVICE IS DOWN ifname=ath0\r\n DEVICE IS DOWN ifname=ath0\r\nbr0: port 1(ath0) entering learning state\r\nbr0: port 1(ath0) entering forwarding state\r\nwarning: `vsftpd' uses 32-bit capabilities (legacy support in use)\r\nAlgorithmics\/MIPS FPU Emulator v1.5\r\n<\/pre>\n<p>\u672c\u5f53\u306f\u3001&#8221;Goodbye, World&#8221;\u3068\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u304c\u3001\u4f55\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>Kernel\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3057\u3066\u7d44\u307f\u8fbc\u3080\u4e8b\u306f\u3067\u304d\u307e\u3057\u305f\u304c\u3001\u52d5\u4f5c\u3057\u3066\u3044\u308b\u306e\u304b\u3069\u3046\u304b\u3001\u4e0d\u660e\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6b21\u306e\u8a18\u4e8b\u306e\u901a\u308a\u3001PQI Air Pen\u7528\u306b\u3001\u30af\u30ed\u30b9\u30b3\u30f3\u30d1\u30a4\u30eb\u74b0\u5883\u3092\u69cb\u7bc9\u3067\u304d\u307e\u3057\u305f\u3002 PQI Air Pen\u7528\u306bUbuntu 12.04\u3067mips\u306e\u30af\u30ed\u30b9\u30b3\u30f3\u30d1\u30a4\u30eb\u74b0\u5883\u8a2d\u5b9a: \u30d7\u30e9\u30b9\u03b1\u7a7a\u9593 (2014\u5e741\u670824\u65e5) \u3053\u306e\u76ee [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":19253,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300ePQI Air Pen\u306bKernel\u30e2\u30b8\u30e5\u30fc\u30eb\u8ffd\u52a0\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5,4],"tags":[],"class_list":["post-10836","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer","category-mobile-phone-and-digital-camera"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/oichinote.com\/plus\/files\/2014\/01\/20170210pqi-air-pen.jpg","jetpack-related-posts":[{"id":10858,"url":"https:\/\/oichinote.com\/plus\/2014\/02\/make-usb-ether-converter-is-eif.html","url_meta":{"origin":10836,"position":0},"title":"PQI Air Pen\u3092USB-Ether\u306b\u3059\u308b! \u8a08\u753b\u306f\u9813\u632b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e742\u67087\u65e5","format":false,"excerpt":"PQI Air Pen\u3067\u3001\u3054\u306b\u3087\u3054\u306b\u3087\u3057\u3066\u3044\u307e\u3059\u3002 PQI Air Pen\u7528\u306bUbuntu 12.0\u2026","rel":"","context":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","block_context":{"text":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","link":"https:\/\/oichinote.com\/plus\/category\/computer"},"img":{"alt_text":"PQI Air Pen USB","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2014\/01\/20170210pqi-air-pen-usb.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":10697,"url":"https:\/\/oichinote.com\/plus\/2014\/01\/cross-compile-for-mips-on-ubuntu-12-04.html","url_meta":{"origin":10836,"position":1},"title":"PQI Air Pen\u7528\u306bUbuntu 12.04\u3067mips\u306e\u30af\u30ed\u30b9\u30b3\u30f3\u30d1\u30a4\u30eb\u74b0\u5883\u8a2d\u5b9a","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e741\u670824\u65e5","format":false,"excerpt":"PQI Air Pen\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u69d8\u306b\u306a\u308b\u3068\u3001\u3044\u308d\u3044\u308d\u904a\u3079\u307e\u3059\u3002 PQI Air Pen\u306b\u306f\u307e\u308a\u2026","rel":"","context":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","block_context":{"text":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","link":"https:\/\/oichinote.com\/plus\/category\/computer"},"img":{"alt_text":"MIPS GCC Installer","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2014\/01\/20140123mips-gcc-trim-th.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1430,"url":"https:\/\/oichinote.com\/plus\/2009\/12\/ubuntu-910intuo.html","url_meta":{"origin":10836,"position":2},"title":"Ubuntu 9.10\u3067Intuos4\u3092\u4f7f\u3046","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2009\u5e7412\u670810\u65e5","format":false,"excerpt":"Ubuntu\u304c\u5feb\u9069\u904e\u304e\u3066\u3001\u6700\u8fd1\u3001Mac OS X\u3092\u8d77\u52d5\u3057\u3066\u3044\u308b\u6642\u9593\u3088\u308aUbuntu\u3092\u8d77\u52d5\u3057\u3066\u3044\u308b\u6642\u9593\u2026","rel":"","context":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","block_context":{"text":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","link":"https:\/\/oichinote.com\/plus\/category\/computer"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10872,"url":"https:\/\/oichinote.com\/plus\/2014\/02\/how-wonderful-is-pqi-air-pen-express.html","url_meta":{"origin":10836,"position":3},"title":"PQI Air Pen Express\u3063\u3066\u3001\u306a\u3093\u3060\u304b\u3059\u3054\u3044","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e742\u670810\u65e5","format":false,"excerpt":"\u6b21\u306e\u8a18\u4e8b\u3067\u66f8\u3044\u305f\u901a\u308a\u3001PQI Air Pen\u306f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d6\u30ea\u30c3\u30b8\u3068\u3057\u3066\u52d5\u4f5c\u3057\u307e\u3059\u3002 PQI Ai\u2026","rel":"","context":"iPad\/iPod\/iPhone","block_context":{"text":"iPad\/iPod\/iPhone","link":"https:\/\/oichinote.com\/plus\/category\/ipad-ipod-iphone"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":19523,"url":"https:\/\/oichinote.com\/plus\/2017\/03\/2nd-pqi-air-pen-black.html","url_meta":{"origin":10836,"position":4},"title":"PQI Air Pen(\u30d6\u30e9\u30c3\u30af)\u8cb7\u3044\u307e\u3057\u305f\u30022\u53f0\u76ee\u306b\u306a\u308a\u307e\u3059","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e743\u67081\u65e5","format":false,"excerpt":"PQI Air Pen\u3001\u6700\u8fd1\u6d41\u884c\u308a\u307f\u305f\u3044\u3067\u3059\u306d\u3002NTT-X\u30b9\u30c8\u30a2\u3067\u3001\u9001\u6599\u7121\u6599\u3067500\u5186\u3068\u3044\u3046\u30bb\u30fc\u30eb\u3092\u2026","rel":"","context":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","block_context":{"text":"\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","link":"https:\/\/oichinote.com\/plus\/category\/computer"},"img":{"alt_text":"PQI Air Pen\u6bd4\u8f03","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/03\/20170301pqi-air-pen-compare.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":10693,"url":"https:\/\/oichinote.com\/plus\/2014\/01\/get-into-pqi-air-pen.html","url_meta":{"origin":10836,"position":5},"title":"PQI Air Pen\u306b\u306f\u307e\u308a\u4e2d[\u8ffd\u8a18\u3042\u308a]","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e741\u670823\u65e5","format":false,"excerpt":"\u8cb7\u3063\u305f\u306e\u306f\u3001\u305a\u3044\u3076\u3093\u524d\u306b\u306a\u308b\u306e\u3067\u3059\u304c\u3001PQI\u306eAir Pen\u3068\u8a00\u3046\u88fd\u54c1\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002 \u4e00\u822c\u7684\u306a\u4f7f\u3044\u2026","rel":"","context":"Mac","block_context":{"text":"Mac","link":"https:\/\/oichinote.com\/plus\/category\/mac"},"img":{"alt_text":"PQI Air Pen","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2014\/01\/20170210pqi-air-pen.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/10836","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/comments?post=10836"}],"version-history":[{"count":7,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/10836\/revisions"}],"predecessor-version":[{"id":19000,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/10836\/revisions\/19000"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media\/19253"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=10836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=10836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=10836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}