Find the answer to your Linux question:
Results 1 to 2 of 2
I installed the default 2.6.9-42.0.2.ELsmp kernel that comes with RedHat and found that the size of the /lib/modules directory is about 30M. But when I downloaded the source 2.6.9-42.0.2.EL.src rpm ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370

    difference in the size of the /lib/modules directory.


    I installed the default 2.6.9-42.0.2.ELsmp kernel that comes with RedHat and found that the size of the /lib/modules directory is about 30M.

    But when I downloaded the source 2.6.9-42.0.2.EL.src rpm and compiled my own kernel I found that the size of the /lib/modules directory was 220M

    I did a ls -lR | wc -l on both the directories above and observed that the no of files were the same, its only that the size of each file was 10 times more.

    Has any of you seen this problem? Are there any flags that need to be set or something with the new 2.6 kernel? I tried using the -Os flag with cc but that did not seem to help.

    Any help is appreciated.

    Thanks.
    Fixing Unix is better than working with Windows.
    http://nikhilk.homedns.org/projects/index.html

  2. #2
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370
    ok..I found out why the size was so big....the ko files had debug symbols in them...i stripped all the debug info out and the size was much much smaller...
    Fixing Unix is better than working with Windows.
    http://nikhilk.homedns.org/projects/index.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •