*make的命令前必修要有tab

*sudo su

*touch创建新文件

*insmod命令加载模块 # insmod helloworld.ko

*lsmod命令查看 模块 // lsmod|grep “hello” 搜索模块命中带“hello”的模块

*rmmod卸载模块 helloworld

*dmesg|tail -5

MEMO:【stray error可能存在有中文字符】

 

 


0 条评论

发表评论

Avatar placeholder