Could someone explain to me why it's impossible to rebuild the kernel for a distribution (in this case, Red Hat Enterprise Linux) and get a vmlinux file that matches what's in /boot? Try this:
1) cd /usr/src/linux-2.4.21-4.EL 2) make mrproper 3) cp /boot/config-2.4.21-4.ELsmp .config 4) make menuconfig (exit immediately without changing anything) 5) make dep 6) make clean 7) make 8) ls -l vmlinux /boot/vmlinux-2.4.21-4.ELsmp
When I issue the last command, this is what I get:
-rwxr-xr-x 1 root root 3519068 Oct 3 2003 /boot/vmlinux-2.4.21-4.ELsmp -rwxr-xr-x 1 root root 4218404 Jun 22 14:05 vmlinux
Why in the world is my vmlinux 682KB larger than Red Hat's? After all, I supposedly used the same configuration file they did, so I should get the same kernel they did, right?
-- Timur Tabi Staff Software Engineer timur.tabi@ammasso.com
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/