Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

install kernel-source by debian sarge

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
cc
Posts: 820
Joined: 2005-06-08 19:14

install kernel-source by debian sarge

#1 Post by cc »

hi

I have debian sarge:

Code: Select all

# uname -a
Linux debian 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i686 GNU/Linux
and I need kernel-source to install some drivers.

apt-cache shows me a patch for my kernel:

Code: Select all

# apt-cache search kernel-source
cpad-common - common files to support the Synaptics cPad driver kernel modules
cpad-kernel-source - source for the Synaptics cPad driver
freeswan - IPSEC utilities for FreeSWan
kernel-patch-debian-2.4.27 - Debian patches to Linux 2.4.27
kernel-patch-debian-2.6.8 - Debian patches to Linux 2.6.8
kernel-source-2.2.25 - Linux kernel source for version 2.2.25
kernel-source-2.4.27 - Linux kernel source for version 2.4.27 with Debian patches
kernel-source-2.6.8 - Linux kernel source for version 2.6.8 with Debian patches
kernel-tree-2.4.27 - Linux kernel source tree for building Debian kernel images
kernel-tree-2.6.8 - Linux kernel source tree for building Debian kernel images
misdn-kernel-source - Source code for the mISDN modules
oprofile - system-wide profiler for Linux systems
wacom-kernel-source - source for the wacom binary modules
wacom-tools - utilities for wacom tablets and other hid devices
Now I have following question:

1.) do I have this patch already installed on my system ?
how can I check it ?

and I've done following:

Code: Select all

# apt-get install kernel-source-2.6.8
# tar xvjf kernel-source-2.6.8.tar.bz2 
but during the driver installation I get following error:

Code: Select all

Makefile.inc:122: *** KERNELCONF: /usr/src/kernel-source-2.6.8/.config does not exist.. Stop.

User avatar
dawgie
Posts: 430
Joined: 2004-06-16 21:30
Location: New Hampshire USA

Re: install kernel-source by debian sarge

#2 Post by dawgie »

cc wrote:
1.) do I have this patch already installed on my system ?
how can I check it ?
Use apt-cache policy to find out if you have a deb package installed and what version:

# apt-cache policy packagename

-Bob

cc
Posts: 820
Joined: 2005-06-08 19:14

#3 Post by cc »

thanks,

and howto install the kernel-source correctly ?

I still get this error:

Code: Select all

Makefile.inc:122: *** KERNELCONF: /usr/src/kernel-source-2.6.8/.config does not exist.. Stop.
during the driver installation.

User avatar
dawgie
Posts: 430
Joined: 2004-06-16 21:30
Location: New Hampshire USA

#4 Post by dawgie »

cc wrote:
I still get this error:

Code: Select all

Makefile.inc:122: *** KERNELCONF: /usr/src/kernel-source-2.6.8/.config does not exist.. Stop.
during the driver installation.
You need to make a config file before you can compile.
If you are already using a 2.6 kernel, copy your existing config:
# cp /boot/config-2.6* /usr/src/kernel-source-2.6.8/.config
Before you do a
make-kpkg kernel-image

http://www.holtmann.org/linux/kernel/debian.html

-Bob

cc
Posts: 820
Joined: 2005-06-08 19:14

#5 Post by cc »

other solution is to install kernel-headers

Post Reply