LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 09-16-2005, 07:10 AM   #1
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
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
 
Old 09-16-2005, 07:22 AM   #2
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
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
 
Old 09-16-2005, 07:31 AM   #3
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,971

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Did you upgrade your module-init-tools?
It's necessary if you go from 2.4 to 2.6
 
Old 09-16-2005, 09:31 AM   #4
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the size of your kernel? kornerr General 20 06-06-2005 07:10 AM
Kernel size ghight Linux - Software 2 10-22-2004 03:56 PM
how to know size of kernel govindabkari Linux - Software 3 08-25-2004 03:43 AM
2.6.6 Kernel size plan9 Slackware 1 06-08-2004 02:04 PM
kernel size Nerun Linux - General 4 02-20-2002 12:09 PM


All times are GMT -5. The time now is 11:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration