Mar 21 09:37:18 link modprobe: modprobe: Can't locate module char-major-81-1 Mar 21 09:38:03 link last message repeated 3 times Mar 21 09:39:18 link last message repeated 5 times Mar 21 09:40:33 link last message repeated 5 times Mar 21 09:41:48 link last message repeated 5 times Mar 21 09:42:49 link last message repeated 4 times Mar 21 09:44:04 link last message repeated 5 times Mar 21 09:45:19 link last message repeated 5 times Mar 21 09:46:34 link last message repeated 5 times Mar 21 09:47:35 link last message repeated 4 times :と出ているのに、今更ながら気が付いた。
[root@link drivers]# cat /etc/modules.conf alias char-major-81 videodev alias char-major-81-0 mv51dxu2 alias char-major-81-1 mv51dxu2 [root@link drivers]#こんな感じかな???
ところが、/etc/modules.conf を書いても
modprobe: Can't locate module char-major-81-1
は止まらない。
リブートしてみても同じ。
[root@link drivers]# cat /etc/modules.conf path[toplevel]=/lib/modules alias char-major-81 videodev alias char-major-81-0 mv51dxu2 alias char-major-81-1 mv51dxu2 [root@link drivers]#まだ
[root@link drivers]# depmod -a depmod: /lib/modules/mv51dxu2.o is not owned by root depmod: /lib/modules/video-buf.o is not owned by root depmod: /lib/modules/videodev.o is not owned by root depmod: /lib/modules/2.4.17_mvl21-sandpoint/modules.dep is not an ELF file depmod: cannot read ELF header from /lib/modules/2.4.17_mvl21-sandpoint/modules.generic_string depmod: /lib/modules/2.4.17_mvl21-sandpoint/modules.ieee1394map is not an ELF file depmod: /lib/modules/2.4.17_mvl21-sandpoint/modules.isapnpmap is not an ELF file depmod: cannot read ELF header from /lib/modules/2.4.17_mvl21-sandpoint/modules.parportmap depmod: /lib/modules/2.4.17_mvl21-sandpoint/modules.pcimap is not an ELF file depmod: cannot read ELF header from /lib/modules/2.4.17_mvl21-sandpoint/modules.pnpbiosmap depmod: /lib/modules/2.4.17_mvl21-sandpoint/modules.usbmap is not an ELF file [root@link drivers]# ls -l /lib/modules/ 合計 608 drwxr-xr-x 4 root root 4096 Feb 26 00:53 2.4.17_mvl21-sandpoint -rw-r--r-- 1 root root 39760 Dec 28 14:54 LSUVCD.o -rwxr--r-- 1 nobody nobody 394388 Feb 6 16:24 mv51dxu2.o -rw-r--r-- 1 root root 31384 Feb 10 09:49 mv7dxu2_0.o -rw-r--r-- 1 root root 31504 Feb 10 09:49 mv7dxu2_1.o -rw-r--r-- 1 root root 31512 Feb 10 09:49 mv7dxu2_2.o -rw-r--r-- 1 root root 31512 Feb 10 09:49 mv7dxu2_3.o -rw-r--r-- 1 root root 3620 Feb 10 09:49 mv7dxu2_d.o -rwxr--r-- 1 nobody nobody 25292 Feb 6 16:24 video-buf.o -rwxr--r-- 1 nobody nobody 9456 Feb 6 16:24 videodev.oモジュールのオーナは root じゃないといけないのか。
[root@link drivers]# chown root.root /lib/modules/*.o [root@link drivers]# ls -l /lib/modules/ 合計 608 drwxr-xr-x 4 root root 4096 Feb 26 00:53 2.4.17_mvl21-sandpoint -rw-r--r-- 1 root root 39760 Dec 28 14:54 LSUVCD.o -rwxr--r-- 1 root root 394388 Feb 6 16:24 mv51dxu2.o -rw-r--r-- 1 root root 31384 Feb 10 09:49 mv7dxu2_0.o -rw-r--r-- 1 root root 31504 Feb 10 09:49 mv7dxu2_1.o -rw-r--r-- 1 root root 31512 Feb 10 09:49 mv7dxu2_2.o -rw-r--r-- 1 root root 31512 Feb 10 09:49 mv7dxu2_3.o -rw-r--r-- 1 root root 3620 Feb 10 09:49 mv7dxu2_d.o -rwxr--r-- 1 root root 25292 Feb 6 16:24 video-buf.o -rwxr--r-- 1 root root 9456 Feb 6 16:24 videodev.o [root@link drivers]# depmod -a depmod: /lib/modules/2.4.17_mvl21-sandpoint/modules.dep is not an ELF file depmod: cannot read ELF header from /lib/modules/2.4.17_mvl21-sandpoint/modules.generic_string depmod: /lib/modules/2.4.17_mvl21-sandpoint/modules.ieee1394map is not an ELF file depmod: /lib/modules/2.4.17_mvl21-sandpoint/modules.isapnpmap is not an ELF file depmod: cannot read ELF header from /lib/modules/2.4.17_mvl21-sandpoint/modules.parportmap depmod: /lib/modules/2.4.17_mvl21-sandpoint/modules.pcimap is not an ELF file depmod: cannot read ELF header from /lib/modules/2.4.17_mvl21-sandpoint/modules.pnpbiosmap depmod: /lib/modules/2.4.17_mvl21-sandpoint/modules.usbmap is not an ELF file [root@link drivers]# !tail tail -f /var/log/messages : :とまぁった。
← サンワサプライ ADR-MLTXBK |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 外出先に録画ファイルを持ち出す |