Find the answer to your Linux question:
Results 1 to 5 of 5
Some one may be can help me. I have compile linux kernel 2.6.21 on slackware 11. I can get 1.3Mb of bzImage in /usr/src/linux/arc/i386/boot. File size of Linux kernel (1.3Mb) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! hendrawan.ashari's Avatar
    Join Date
    Jul 2007
    Posts
    10

    Prblem in Compile 2.6.21


    Some one may be can help me.
    I have compile linux kernel 2.6.21 on slackware 11. I can get 1.3Mb of bzImage in /usr/src/linux/arc/i386/boot. File size of Linux kernel (1.3Mb) accepted by me. But while i run make modules && make modules_install, i get 133Mb of module file (in /lib/modules) the file over big for me.
    Some one can help me to reduce size of module, because all modules compiled by Linux, i just need SCSI, USB, and SIS Chipset driver.
    Thanks for respons

  2. #2
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    Ok, from where did you get your configuration file ?
    in order to activate only what you need do the following:

    make menuconfig.

    for the SCSI go :

    Device Drivers --->
    SCSI device support ---> (and enable what you want )

    for the USB since the you can get many range of usb's hardware enable all of them. USB support --->

    for the SIS chipset :

    -> Device Drivers
    -> Character devices
    -> /dev/agpgart
    and
    -> Character devices
    -> Direct Rendering Manager


    buil them inside the kernel i mean as <*> and not as <M> to avoid editing the /ect/rc.d/rc.modules.

    and i think you'll have also to enable some other stuff like the network cards and the encryption support and ........ ,

    to configure the Kernel from scratch it's not trivial.


    Best Regards.
    Linux is not only an operating system, it's a philosophy.
    Archost.

  3. #3
    Just Joined! hendrawan.ashari's Avatar
    Join Date
    Jul 2007
    Posts
    10
    Ok thanks, i will to try them.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie TrashOverride's Avatar
    Join Date
    May 2004
    Location
    @home...soon in your homes ;) /usr/src/bulgaria
    Posts
    162
    i would suggest building 2.6.21.x, i had problems with kernel 2.6.21

  6. #5
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    I'm using that kernel 2.6.21 without any problem ,i'm not going to change my kernel unless there is a big move to other release.
    Linux is not only an operating system, it's a philosophy.
    Archost.

Posting Permissions

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