modprobe
cp hello_md.ko /lib/modules/2.6.32-24-generic/kernel/
root@jcjung:~/work/sample_module# cp hello_md.ko /lib/modules/2.6.32-24-generic/kernel/root@jcjung:~/work/sample_module# modprobe hello_md
FATAL: Module hello_md not found.
root@jcjung:~/work/sample_module# depmod
root@jcjung:~/work/sample_module# modprobe hello_md
root@jcjung:~/work/sample_module# lsmod | grep hello
hello_md 653 0
root@jcjung:~/work/sample_module# lsmod | grep hello
hello_md 653 0
root@jcjung:~/work/sample_module# modprobe -r hello_md
root@jcjung:~/work/sample_module# lsmod | grep hello
root@jcjung:~/work/sample_module#
'Linux' 카테고리의 다른 글
tftp setting and test (1) | 2012.01.17 |
---|---|
install package for minicom (0) | 2012.01.17 |
add system call (1) | 2012.01.16 |
vimrc (1) | 2012.01.16 |
usage ctags (1) | 2012.01.16 |