Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209
Rep:
vmlinuz size doubled
Dear all.
I just compiled linux kernel 2.4.20 on slackeare 9.0.
Everything was fine except the vmlinuz size was over 2 MB.
About 1 month ago I also compiled the same source,
but the result was only 1 MB.
I realized that when I run configure the lilo.
It failed with error message "image too large".
Here is the ls l from the boot.
- vmlinuz-stock => original
- vmlinuz-old => first compilation
- vmlinuz => new compilation, the problematic one
--------------------------
lrwxrwxrwx 1 root root 21 Jul 13 12:17 System.map -> System.map-ide-2.4.20
-rw-r--r-- 1 root root 563791 Mar 18 14:03 System.map-ide-2.4.20
-rw-r--r-- 1 root root 512 Jul 13 14:39 boot.0300
-rw-r--r-- 1 root root 226 Jul 13 14:39 boot_message.txt
lrwxrwxrwx 1 root root 17 Jul 13 12:17 config -> config-ide-2.4.20
-rw-r--r-- 1 root root 36222 Mar 18 14:03 config-ide-2.4.20
-rw------- 1 root root 41472 Aug 2 09:46 map
-rwxrwx--- 1 root root 2012887 Aug 6 09:18 vmlinux
-r-------- 1 root root 1170308 Jul 13 14:37 vmlinuz-stock
-rw-r--r-- 1 root root 1170308 Mar 18 14:03 vmlinuz-ide-2.4.20
-rw-r--r-- 1 root root 1174439 Jul 13 11:33 vmlinuz-old
--------------------------
This is strange.
The newer vmlinuz should be smaller since I removed many things such as SCSI support, Wireless, etc.
Curious,
I reinstalled a fresh kernel source,
then copied the original /boot/config,
and did "make dep clean bzImage" again.
The result was more than 3 MB !!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.