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 _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies