Re: install the driver in etch but couldn't find the directory /lib/modules/2.6.18-4-686/build
On Fri, Jun 15, 2007 at 08:55:28AM -0400, chloe K wrote:
> Hi Kushal
>
> Thank you so much
>
> What is the different linux-headers-2.6.18-4-686 and
> linux-headers-2.6.18-4-686-bigmem - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4 ?
>
> ls it related to the memory?
>From the description of the linux-image-2.6.18-4-686-bigmem package:
This package provides the binary image and pre-built loadable modules
for Linux kernel 2.6.18 on Pentium Pro/Celeron/Pentium II/Pentium
III/Pentium 4 with 4-64G RAM machines.
You should use the linux-headers corresponding to the kernel package
that you use.
>
> If my machine has 4G memory, which one should I use?
> I only want to have stable/reliable one. ls the first one better than the second one?
The non-bigmem kernel works with upto 4G of memory. I don't know if
there's any advantage in using the bigmem kernel if you have 4G.
AFAIK, the non-bigmem kernel is compiled with the HIGMEM4G option, and
the bigmem kernel is compiled with HIGHMEM64G option, but I don't have
an i386 machine available to check right now.
>
> how about apt-file? I don't have idea how I can use?
Install the apt-file package:
aptitude install apt-file
Make it update its file lists:
apt-file update
Search away:
apt-file search /lib/modules/2.6.18-4-build
>
> Thank you again
>
>
> Kushal Kumaran <kushal@it.iitb.ac.in> wrote: On Thu, Jun 14, 2007 at 04:04:49PM -0400, chloe K wrote:
> > Hi all
> >
> > I try to install the driver
> >
> > but got the message
> >
> > make: *** /lib/modules/2.6.18-4-686/build: No such file or directory. Stop.
> >
> > I install the linux-source but what I lack of?
> > Setting up linux-source-2.6.18 (2.6.18.dfsg.1-12etch2)
> >
>
> You need the linux-headers-2.6.18-4-686 package. You can use the
> apt-file package to find which package containing a file.
>
--
Kushal Kumaran kushal@it.iitb.ac.in
Reply to: