LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-22-2006, 04:38 PM   #16
DavidHB
Member
 
Registered: Feb 2006
Location: Chile
Distribution: Slackware 10.2
Posts: 53

Original Poster
Rep: Reputation: 15
the www.kernel.org compile


Well, things went OK I guess..... but still a couple of doubts.

The compile produced a bzImage instead of a vmlinux. Should there be a size difference of close to 50%. Would I assume that bzImage is compressed and vmLinux is not. bzImage is about 1.7M and and vmlinux is about 3.1M.

But where there's a big difference is in the moudels. For instance,the compile produced a lower quantity of modules, which could be because the .config for Slackware specifies more modules. I tried not to change the "stock" configuration much, modifying just a little bit more than I needed for the serial part.

But the big difference seems to be in the size of the module files. Here's an example:

/lib/modules/2.6.13/kernel/drivers/acpi ( an area that I didn't touch )

Quote:
module compiled size Slack size
ac.ko-------------96.2K---------5K
asus_acpi.ko-----151.9K--------18K
battery.ko-------119.7K--------10K
button.ko--------104.0K---------7K
ibm_acpi.ko------170.0K--------20K
toshiba_acpi.ko--104.10K--------7K
container.ko----- -- ----------YES ( didn't note the size)
fan.ko----------- -- ----------YES ( didn't exist in the compile)
processor.ko ---- -- ----------YES
thermal.ko------- -- ----------YES
video.ko--------- -- ----------YES
From container on there were no modules in the compile.

Perhaps I should do it all over, now that I've got the hang of it, unless you can tell me that this isn't all that strange. I hadn't made any efforts to remove pieces that I thought I wouldn't be using, which I do this time around. Maybe I can use my present .config as a reference as well.

The other thing. The whole modules tarball weighs about 150M and I only have 65M left on the host CPU. I wanted to see if I could just copy the new modules.

Dave
 
Old 10-22-2006, 05:08 PM   #17
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 48
Hi DavidHB

I am not an expert on this, but I will say that I have kernel 2.6.16 (they always get bigger)
my /boot/vmlinuz is 1.3 Mb and my modules dir is 12.3 Mb
I have pruned it over the years to do only what I require, and with a fair number of mistakes along the way...
But with a bit of careful reading of the compile options, I am sure you can get your kernel down to a smaller size.
How are your serial ports?

tobyl
 
  


Reply

Tags
compile, module, modules, slack


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Japanese canna won't work : Warning: かな漢字変&am OrganicOrange84 Debian 3 06-30-2005 02:28 PM
How do I get KPPP to use ttyS4? KnowNothing Linux - General 2 11-29-2003 06:52 PM
setserial /dev/ttyS4 (settings) bmike1 Linux - Software 1 08-07-2003 04:07 PM
changeing /dev/modem to ttyS4?? mitchellh87 Linux - General 3 02-05-2003 10:43 AM
ttyS4 & debian 'woody' mace Linux - Hardware 1 09-15-2002 04:34 PM


All times are GMT -5. The time now is 02:01 PM.

Main Menu
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