Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Here is the log:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.08.16 21:42:29 =~=~=~=~=~=~=~=~=~=~=~= 
[junhuawa@wujune]$ls -l igbvf.ko 
-rw-r--r-- 1 junhuawa junhuawa 1523283 Jun 5 12:59 igbvf.ko 

junhuawa@wujune]      $cd /linux_builds/junhuawa/windriver_3_75_0/distro_build/work/build/INSTALL_STAGE/linux-   standard-build/lib/modules/ 
[junhuawa@wujune]$ls -l igbvf.ko 
-rwxr--r-- 1 junhuawa junhuawa 62656 Jun 5 12:59 igbvf.ko
[junhuawa@wujune]$ls -l ../ixgbevf.ko 
-rwxr--r-- 1 junhuawa junhuawa 79000 Jun 5 12:59 ../ixgbevf/ixgbevf.ko
[junhuawa@wujune]       $cd /linux_builds/junhuawa/windriver_3_75_0/distro_build/work/build/linux-standard-build/drivers/net/ixgbevf 
[junhuawa@wujune]$ls -l ixgbevf.ko 
-rw-r--r-- 1 junhuawa junhuawa 1653730 Jun 5 12:59 ixgbevf.ko

From the log above, you can see, after compilation and install, in the linux kernel source dir (linux-standard-build/drivers/net/igbvf), the file igbvf.ko size is 1523283. But, in the installed dir (INSTALL_STAGE/linux-standard-build/lib/modules/, we can see the module's size is only 62656. The size is totally different, but it's only executed by one cmd:

INSTALL drivers/net/igb/igb.ko
INSTALL drivers/net/igbvf/igbvf.ko
INSTALL drivers/net/ixgbe/ixgbe.ko
INSTALL drivers/net/kgdboe.ko
INSTALL drivers/net/ixgbevf/ixgbevf.ko

The driver module ixgbevf.ko is also having the same problem. Could you tell me what cmd executed when installing the kernel driver module from kernel src dir to the filesystem dir? Why did the driver module's size change?

share|improve this question

migrated from stackoverflow.com Aug 20 '12 at 20:17

This question came from our site for professional and enthusiast programmers.

I think the question belongs at superuser... –  Mathias Schwarz Aug 20 '12 at 6:45
I suspect debug symbols get stripped in the install step. –  pmdj Aug 20 '12 at 20:13
The INSTALL step is not exactly "one command", it does a lot of other stuff (like striping the object to its bare essentials) too. –  vonbrand Jan 16 '13 at 14:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.