Article View: comp.os.linux.setup
Article #141Re: "Kernel size too large"
From: Chris Lee
Date: Fri, 04 Jun 1999 00:00
Date: Fri, 04 Jun 1999 00:00
34 lines
2571 bytes
2571 bytes
Craig Sharpe wrote: > Hi > > I'm in the process of configuring my own kernel. I'm using RedHat 6 and > need to reconfigure the kernel to suport scsi, parallel ports, and zip > drivers so that I can install my zip 250 parallel drive. > > I've selected the options I want in xconfig .. and have typed "make > dep", then "make clean" and then "make zImage" but then after it has > looked at the sectors of my HD it comes up with two error messages > saying " Use bzImage or modules". I took the advice and ran "make > xconfigure" with very few y options and after the rest of the procedure > the error message came up again. It takes about a whole morning to do > the process and so I was wondering if it was possible to see the amount > of bytes used in the kernel by the different drivers.. and hence know > how much I can add without going over the kernel size limit?? > > Or does anyone know were to find xconfig lists that display the drivers > installed and produce a working kernel? > > thanks for your time. Instead of using 'make zImage' when you're at that last step, try using 'make bzImage'. Bzipped files are MUCH smaller than their zipped counterparts. That's what the error message means when it says use bzImage, btw. And also, just in case you don't know what to do to get your kernel working after it has been compiled and such, there are still some more steps left over. What you'll want to do is issue the command: # cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage and then use your fav. editor (vi, emacs, joe, whatever you like) to edit the file /etc/lilo.conf so that it points to your new kernel instead of the one it points to now. That should get you going; any more questions and let me know, I'll be glad to answer them (if I can....) Good luck!
Technical Details
Message-ID:
<37589C12.C161589C@inficad.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37561113.B1B1100B@hotmail.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b32,573729d9e62ce2ce X-Google-Attributes: gid102b32,public X-Google-Thread: 102983,573729d9e62ce2ce X-Google-Attributes: gid102983,public X-Google-Thread: f9b51,573729d9e62ce2ce X-Google-Attributes: gidf9b51,public From: Chris Lee <nytehorse@inficad.com> Subject: Re: "Kernel size too large" Date: 1999/06/04 Message-ID: <37589C12.C161589C@inficad.com> X-Deja-AN: 485912019 Content-Transfer-Encoding: 7bit References: <37561113.B1B1100B@hotmail.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Inficad Communications Mime-Version: 1.0 Reply-To: craig7s@hotmail.com Newsgroups: comp.os.linux.setup,aus.computers.linux,comp.os.linux.hardware