Re: Insmod error......

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

 



On Thursday 27 January 2005 18:10, Gaurav Dhiman wrote:
> --- Jean-Francois Ndi <jeanf.ndi@xxxxxxxxx> wrote:
> > Hi,
> >
> > On Thursday 27 January 2005 17:01, Gaurav Dhiman
> >
> > wrote:
> > > whats the reason that we shud not use /usr/src/*
> > > location to compile the modules. Is the kernel
> >
> > source
> >
> > > code in this directory not complete ?
> >
> > It can be. Don't rely on it.
> >
> > > And how does /lib/modules/* have more than one
> >
> > kernel
> >
> > > sources in it ..... when i installed the linux 7.2
> >
> > on
> >
> > > my machine, it did not create different
> >
> > directories
> >
> > > under /lib/modules/, i can not find any kernel
> >
> > sources
> >
> > > or include files under /lib/modules/. I only have
> > > kernel sources installed in /usr/src/*
> >
> >  The problem would be different if you were running
> > different kernels (for
> > instance in 2.6, one with PREEMPT enable and the
> > other not)
>
> Yes the prob will be there if my running kernel is of
> different version from the sources of the kernel I
> have in /usr/src/* , but I always assume (as i did not
> faced any prob yet) 

I had.

> that the running kernel have its 
> sources in /usr/src/*

This is a deprecated rule AFAIK. If i am wrong please tell me.

> Well I think it does not matter where the sources are
> placed in your filesystem, 

The contrary would be a nightmare ;)

Regards,
 
J-F

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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