LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what is my kernel size ??? (http://www.linuxquestions.org/questions/linux-newbie-8/what-is-my-kernel-size-363887/)

b0nd 09-16-2005 06:10 AM

what is my kernel size ???
 
Hello friends,
right now i'm upgrading my 2.4.x kernel to 2.6.x.
i was thinking about my present kernel size....
what is its size..??? and how can i determine it after compilation...???

regards

b0nd 09-16-2005 06:22 AM

oops!!!
compilation failed...

its for the first time that i'm upgrading 2.4.x to 2.6.x
otherwise have experience of compiling 2.4.x to 2.4.x.

did everything right ( i think )

make mrproper
make xconfig
vi Makefile
make bzImage
make modules
make modules_install ( now here its showing error )

last lines of "make modules"
.........
LD [M] net/sched/sch_prio.ko
CC net/sched/sch_red.mod.o
LD [M] net/sched/sch_red.ko
CC net/sched/sch_sfq.mod.o
LD [M] net/sched/sch_sfq.ko
CC net/sched/sch_tbf.mod.o
LD [M] net/sched/sch_tbf.ko
CC net/sched/sch_teql.mod.o
LD [M] net/sched/sch_teql.ko
CC net/sunrpc/sunrpc.mod.o
LD [M] net/sunrpc/sunrpc.ko
CC sound/soundcore.mod.o
LD [M] sound/soundcore.ko
root@bond:/usr/src/linux# make modules_install
ln: when making multiple links, last argument must be a directory
make: *** [_modinst_] Error 1
...............

could any one help me sorting out the problem

i used the "config" from the second cd of slackware 10.0.
inside somewhere in "testing" folder.

regards

bathory 09-16-2005 06:31 AM

Did you upgrade your module-init-tools?
It's necessary if you go from 2.4 to 2.6

harken 09-16-2005 08:31 AM

Regarding the size of the kernel: you should be interested in the size of bzImage a.k.a vmlinuz after copying to /boot (which will be reported to you right after the compilation has sucesfully succeeded, it says something like "bzImage ready...size is XXXX kb") and of the modules, which can be found in /lib/modules. So, if you want to know the size of each one, run "ls -al /boot" and check out the size of vmlinuz and also run "df -h /lib/modules/2.X.Y", depending on the kernel version.


All times are GMT -5. The time now is 03:34 AM.