Loading ...
Sorry, an error occurred while loading the content.
 

Error while installing kernel modules

Expand Messages
  • gulshan
    Hi all I have compiled 2.4.7, everything went fine, but when i tried to do make modules install i am getting the error that i have included below. ... ld -m
    Message 1 of 5 , Jun 11, 2002
      Hi all
      I have compiled 2.4.7, everything went fine, but when
      i tried to do "make modules install" i am getting the
      error that i have included below.

      -------------------------------------------------------
      ld -m elf_i386 -T
      /usr/src/linux-2.4.7-10/arch/i386/vmlinux.lds -e stext
      arch/i386/kernel/head.o arch/i386/kernel/init_task.o
      init/main.o init/version.o \
      --start-group \
      arch/i386/kernel/kernel.o arch/i386/mm/mm.o
      kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
      drivers/char/char.o drivers/block/block.o
      drivers/misc/misc.o drivers/net/net.o
      drivers/media/media.o drivers/char/drm/drm.o
      drivers/net/fc/fc.o drivers/net/appletalk/appletalk.o
      drivers/net/tokenring/tr.o drivers/net/wan/wan.o
      drivers/atm/atm.o drivers/ide/idedriver.o
      drivers/scsi/scsidrv.o drivers/cdrom/driver.o
      drivers/pci/driver.o
      drivers/net/wireless/wireless_net.o drivers/pnp/pnp.o
      drivers/video/video.o drivers/md/mddev.o
      arch/i386/math-emu/math.o \
      net/network.o \
      /usr/src/linux-2.4.7-10/arch/i386/lib/lib.a
      /usr/src/linux-2.4.7-10/lib/lib.a
      /usr/src/linux-2.4.7-10/arch/i386/lib/lib.a \
      --end-group \
      -o vmlinux
      nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( [aUw]
      \)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | sort > System.map
      make[1]: Entering directory
      `/usr/src/linux-2.4.7-10/arch/i386/boot'
      gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.7-10/include
      -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA
      setup.S -o bsetup.s
      as -o bsetup.o bsetup.s
      bsetup.s: Assembler messages:
      bsetup.s:2858: Warning: indirect lcall without `*'
      ld -m elf_i386 -Ttext 0x0 -s --oformat binary -e
      begtext -o bsetup bsetup.o
      make[2]: Entering directory
      `/usr/src/linux-2.4.7-10/arch/i386/boot/compressed'
      tmppiggy=_tmp_$$piggy; \
      rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk; \
      objcopy -O binary -R .note -R .comment -S
      /usr/src/linux-2.4.7-10/vmlinux $tmppiggy; \
      gzip -f -9 < $tmppiggy > $tmppiggy.gz; \
      echo "SECTIONS { .data : { input_len = .;
      LONG(input_data_end - input_data) input_data = .;
      *(.data) input_data_end = .; }}" > $tmppiggy.lnk; \
      ld -m elf_i386 -r -o piggy.o -b binary $tmppiggy.gz -b
      elf32-i386 -T $tmppiggy.lnk; \
      rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk
      ld -m elf_i386 -Ttext 0x100000 -e startup_32 -o
      bvmlinux head.o misc.o piggy.o
      make[2]: Leaving directory
      `/usr/src/linux-2.4.7-10/arch/i386/boot/compressed'
      objcopy -O binary -R .note -R .comment -S
      compressed/bvmlinux compressed/bvmlinux.out
      tools/build -b bbootsect bsetup
      compressed/bvmlinux.out CURRENT > bzImage
      Root device is (3, 10)
      Boot sector 512 bytes.
      Setup is 4644 bytes.
      System is 771 kB
      sh -x ./install.sh 2.4.7-10custom bzImage
      /usr/src/linux-2.4.7-10/System.map ""
      + '[' -x /root/bin/installkernel ']'
      + '[' -x /sbin/installkernel ']'
      + exec /sbin/installkernel 2.4.7-10custom bzImage
      /usr/src/linux-2.4.7-10/System.map ''
      Warning: device 0x0308 exceeds 1024 cylinder limit
      Fatal: sector 20668420 too large for linear mode (try
      'lba32' instead)
      make[1]: *** [install] Error 1
      make[1]: Leaving directory
      `/usr/src/linux-2.4.7-10/arch/i386/boot'
      make: *** [install] Error 2
      -------------------------------------------------------
      Do i have any takers for this problem.
      Cheers
      Gulshan



      __________________________________________________
      Do You Yahoo!?
      Yahoo! - Official partner of 2002 FIFA World Cup
      http://fifaworldcup.yahoo.com
    • Niraj Kumar
      ... From the last part of your error message it seems to me that you need to use LBA (Logical Block Addressing )option in your boot loader . For GRUB:
      Message 2 of 5 , Jun 11, 2002
        --- gulshan <gulshan_28@...> wrote:
        > + exec /sbin/installkernel 2.4.7-10custom bzImage
        > /usr/src/linux-2.4.7-10/System.map ''
        > Warning: device 0x0308 exceeds 1024 cylinder limit
        > Fatal: sector 20668420 too large for linear mode
        > (try
        > 'lba32' instead)

        From the last part of your error message it seems to
        me
        that you need to use LBA (Logical Block Addressing
        )option in your boot loader .

        For GRUB:
        http://www.gnu.org/manual/grub/html_node/setup.html#setup
        For LILO , see this:
        http://www.redhat.com/mailing-lists/pinstripe-list/msg01248.html



        Regards
        Niraj

        =====
        Visit my webpage at http://www.niraj.4t.com

        __________________________________________________
        Do You Yahoo!?
        Yahoo! - Official partner of 2002 FIFA World Cup
        http://fifaworldcup.yahoo.com
      • Aneesh Kumar K.V
        ... The rule is make modules_install NOT make modules install -aneesh
        Message 3 of 5 , Jun 11, 2002
          >On Tue, 2002-06-11 at 18:51, gulshan wrote: Hi all
          >I have compiled 2.4.7, everything went fine, but when
          >i tried to do "make modules install" i am getting the
          >error that i have included below.

          The rule is make modules_install

          NOT make modules install

          -aneesh
        Your message has been successfully submitted and would be delivered to recipients shortly.