How to verify working kernel source tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    Thanks Seth,

    I already tried #make mrproper, but it didn't work.  

    My question is how can I verify I have working kernel source tree on my system ( redhat Linux kernel 2.4.18-3) Or is is possible to do so because the device driver I intend to install requires a working kernel source tree.    I can do this:
#rpm -qa | grep kernel

It should return kernel-2.4.18-3, kernel-source-2.4.18-3     But not sure there is a kernel-headers-2.4.18-3.

#make   clean
#make   mrproper
#make   dep

with no errors.

Does above steps should work?   Your comments will be appreciated.  Thanks
     -Hong


Seth Arnold wrote:
On Wed, May 07, 2003 at 12:02:42AM -0400, Hong Hsu wrote:
  
#rpm -ivh  --force  kernel-2.4.18-3.src.rpm
#rpm -qi   kernel-2.4.18-3
The Install date was 12/16/2002.  It didn't updated!
    

Well, no, it won't. You just forced the install of a src.rpm. That just
gets unpacked in /usr/src/redhat/ or whatever you've set your  %_topdir
to in your ~/.rpmmacros file.

Installing .src.rpm packages will _not_ effect the machine's RPM
database. It only effects files in the filesystem, wherever you've set
it to unpack them.

Be careful -- there are also kernel-source _binary_ RPMs, that contain
something a little more in line for users to manipulate for their own
personal use. (It won't build ~14 flavours of kernels..)

  
#cd   /usr/src/linux-2.4.18-3
    

You should run "make mrproper" before copying the config file over. At
least Red Hat's kernel-source rpms need this step. (The kernel .src.rpms
are built through an entirely different mechanism, so you won't need to
touch any of this stuff. :)

  
#cp  configs/kernel-2.4.18-3-athlon.config  ../.config
#make  dep
    

  


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux