首页 > 其他 > 详细

Building modules for a precompiled kernel

时间:2015-07-03 17:28:39      阅读:189      评论:0      收藏:0      [点我收藏+]

When we inserting a module into linux kernel, the linux (almost) always check the vermagic info of module, if it does not match kernel’s, inserting process fails.

So, the question is :

How to build modules for a precompiled kernel ?

Solution:

Edit VERMAGIC_STRING in include/linux/vermagic.h

Ref:

  1. http://linux.die.net/lkmpg/x380.html
  2. http://hychen.wuweig.org/blog/2009/10/09/rao-guo-linux-driver-vermagicjian-cha/

版权声明:本文为博主原创文章,未经博主允许不得转载。

Building modules for a precompiled kernel

原文:http://blog.csdn.net/stpallas/article/details/46743497

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!