Hey hey.

On Wed, 2003-10-29 at 18:26, [EMAIL PROTECTED] wrote:
> I'm trying to build the kernel for RedHat 9 (2.4.20) so 
> that I can install a device driver. I did the "make 
> config" to the best of my ability to guess

Out of curiousity, what instructions are you following to compile the
kernel?  They sound a bit archaic. :-)

You may find the "make menuconfig" target much easier to use.  Or even
"make xconfig" if you're running in X-Windows.

>  - is there a 
> way to obtain the configuration from which the original 
> installation was built?

There is.  The redhat kernel package will have also installed a copy of
the configuration used to build it.  Look in /boot for files with names
like "config-2.4.20".

> When I ran "make clean; make dep; make boot" it ended 
> with:
> 
> Boot device is (3, 3)
> Boot sector 512 bytes.
> Setup is 2533 bytes.
> System 1092 kB
> System is too big. Try using bzImage or modules.
> make[1]: *** [zImage] Error 1
> ...
> 
> Any ideas what I did wrong?

Looks like "make boot" is giving you a kernel that's too big - there's a
size limit on what the BIOS is able to boot, as I understand it.
Try replacing "make boot" with "make bzImage" to give you a compressed
kernel image that may work.

If that fails, the problem can probably be helped by compiling some
drivers as modules.
One good guide for compiling kernels is an appendix to the RedHat 9
Customisation Manual
(http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-custom-kernel.html).
  The SLUG archives are also quite handy, or of course ask again! :-)

-- 
Pete

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to