compile kernel error in RHEL 3



I want install kernel 2.4.31 in rhel3
when I compile it, it shows some errors:

Root device is (8, 2)
Boot sector 512 bytes.
Setup is 2518 bytes.
System is 1476 kB
warning: kernel is too big for standalone boot from floppy
sh -x ./install.sh 2.4.31 bzImage /usr/src/linux-2.4.31/System.map ""
+ '[' -x /root/bin/installkernel ']'
+ '[' -x /sbin/installkernel ']'
+ exec /sbin/installkernel 2.4.31 bzImage
/usr/src/linux-2.4.31/System.map ''
depmod: cannot read ELF header from /lib/modules/2.4.31/modules.dep
depmod: cannot read ELF header from
/lib/modules/2.4.31/modules.generic_string
depmod: /lib/modules/2.4.31/modules.ieee1394map is not an ELF file
depmod: /lib/modules/2.4.31/modules.isapnpmap is not an ELF file
depmod: cannot read ELF header from
/lib/modules/2.4.31/modules.parportmap
depmod: /lib/modules/2.4.31/modules.pcimap is not an ELF file
depmod: cannot read ELF header from
/lib/modules/2.4.31/modules.pnpbiosmap
depmod: /lib/modules/2.4.31/modules.usbmap is not an ELF file
No module aic7xxx found for kernel 2.4.31, aborting.
mkinitrd failed
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.31/arch/i386/boot'
make: *** [install] Error 2

.



Relevant Pages

  • compile kernel error in RHEL 3
    ... I want install kernel 2.4.31 in rhel3 ... Boot sector 512 bytes. ... depmod: cannot read ELF header from ...
    (alt.os.linux.redhat)
  • Kernel building issues in low memory boxes - partly cipe under 9.3
    ... I recently had cause to start investigating cipe tunnels that are no ... As cipe needs kernel module versions ... Thinking it was a dependency issue I launched depmod -a. ... Since this box only had a 128MB swap partition I ...
    (alt.os.linux.suse)
  • Re: [Fastboot] [PATCH] Reserving backup region for kexec based crashdumps.
    ... There shall be one Elf header for whole of the image. ... needs to happen after we have switched to the crash capture kernel. ... These shall be put in separate segment. ...
    (Linux-Kernel)
  • RE: searching exported symbols from modules
    ... also use `depmod` to verify that you won't have any problems loading. ... This is not supposed to be accessed from inside the kernel, ... linking if globals are not found. ... tools people and see if they could add handling weak symbols. ...
    (Linux-Kernel)
  • Re: SYPOS - a new OS
    ... One is supposed to boot from this floppy. ... The intended code of>> the boot sector is in the majority a sequence of int 10h calls to output ... About 30 byte of the code deal with>> loading the "kernel" and jumping into it. ... > Kasper Dupont -- der bruger for meget tid paa usenet. ...
    (comp.os.linux.development.system)