PDA

View Full Version : kernel-headers for kernel 2.6.9



tfubard
12-22-2004, 12:57 PM
Hi,

where can i find the kernel headers for kernel 2.6.9

i need it for the module-assistant

thanks in advance

Regards
thomas

firebyrd10
12-22-2004, 04:05 PM
Look in Kpackage for them, I'm not exactly sure how they are worded.

tfubard
12-22-2004, 04:19 PM
are they already installed on the system?
or do i have to fetch them from a server?

firebyrd10
12-23-2004, 12:46 AM
You need to install them,

type
su
root password
apt-get update
kpackage

Then search for 2.6.9

tfubard
12-23-2004, 07:33 AM
This is, what i did.

But uname -a gives me 2.6.9 #2 SMP
and i only find header which are named kernel-header-2.6.9-1 or kernel-header-2.6.9-9 ... .
If i install them and run module-assistant a-i -k /usr/src/kernel-header-2.6.9-x ipw2200 it builds the
module, but on loading the module the loader complains about wrong module version.
I can't figure out what are the kernel headers for that knoppix 3.7

Somone other told me to update my kernel-image and install the belonging kernel-headers.
But for my opinioun there have to be somewhere the right kernel-headers too. But where?

Thanks for your time & help

Regards
Thomas

shah
12-23-2004, 09:36 AM
I believed you need to recompile your kernel.
Get the kernel source from kernel.org.
http://www.desktop-linux.net/debkernel.htm
http://www.falkotimme.com/howtos/debian_kernel2.6_compile/index.php
:D

tfubard
12-23-2004, 11:28 AM
Hmmm...

..this is, what i wanted to avoid.

Thanks.

But another question, why are the kernel-headers not available? Mr. Knopper at least must have them.
Or am i to blind to find?

Regards
Thomas

shah
12-23-2004, 12:21 PM
Knoppix only include kernel header for 2.4.(/usr/src/)
You still can compile your driver if you willing to use kernel 2.4.

:D

tfubard
12-23-2004, 12:49 PM
i would be willing. but the module i want to compile (ipw2200) need at least kernel version 2.6.4+

Thanks
Thomas

tfubard
12-23-2004, 09:11 PM
Ok,

i solved my problem:

apt-get install kernel-headers-2.6.9-1-smp
apt-get install kernel-image-2.6.9-1-smp

then
module-assistant -k /usr/src/kernel-headers-2.6.9-1-smp a-i ipw2200

closed and bye
Thomas

ismxray
03-23-2005, 07:15 PM
Why I cannot find the kernel-headers-2.6.9-1-smp use "apt-get",
What is the site in /etc/apt/sources.list? Thanks.