cannot insmod sculld in ldd3

Greg KH greg at kroah.com
Mon Mar 13 04:32:39 EDT 2017


On Mon, Mar 13, 2017 at 12:19:58PM +0800, Freeman Zhang wrote:
> Hi Greg,
> 
> 
> On 3/13/17 3:03 AM, Greg KH wrote:
> 
> > 
> > 'depmod' handles all of this when you install a kernel and its modules.
> > 
> 
> Thanks for that information, now I take 'depmod' seriously and stop
> making up inelegant methods. I studied the 'kmod', both its behaviors
> and codes, and got plenty of ideas about module symbol stuff.
> 
> However, I am still wondering why copy Module.symvers file works too, at
> building time?

Because that is what depmod creates, you probably didn't change much, if
anything, from the kernel version you copied it from.  But don't do
that, it is probably wrong.

thanks,

greg k-h



More information about the Kernelnewbies mailing list