SCIENTIFIC-LINUX-USERS Archives

May 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Mon, 21 May 2007 12:25:48 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (53 lines)
John Logsdon wrote:
> Hi
> 
> SL5.0 - I am compiling up a couple of new kernels to try only I don't
> see where the modules are going.  So no modules, no initrd etc etc.
> 
> make clean
> make xconfig
> make
> make modules
> 
> produces nothing in /lib/modules but this may be because:
> 
> make modules
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   Building modules, stage 2.
>   MODPOST 771 modules
> WARNING: vmlinux - Section mismatch: reference to .init.data:boot_params
> from .text between '_text' (at offset 0xc0400029) and 'startup_32_smp'
> 
> ... and lots more lines like the last one.
> 
> Any clues?
> 
> Best wishes
> 
> John

As near as I can see, you haven't actually told it to install the kernel 
modules, just build them.  Here's the proper steps I believe

*For 2.6 kernel building*
   make xconfig
   make
   make modules_install
   make install

a little bit of explanation

make modules_install ( Used to install built modules to 
/lib/modules/<kernel> )

make install - ( To install new kernel to /boot, setup grub, create 
initrd file in /boot, and copy system.map)

Troy
-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI DSS Group
__________________________________________________

ATOM RSS1 RSS2