Click to See Complete Forum and Search --> : kernel not found


lxvannia
07-22-2004, 11:06 AM
Hi !
I've been trying to setup my lucent modem to work under mdk 9.2.
when i run ./build_module the script searches for the kernel source/headers but does not find them.

i've run rpm -ivh kernel........rpm to install kernel headers and if i try to run rpm again the message i get is "already installed" (or somethng like it ) ...

So where are they??? ( not under /usr/src ).. :confused:

Dark Ninja
07-22-2004, 11:15 AM
Hum...I remember doing this (when I used Mandrake) and they were always installed to /usr/src/<linux-kernel-version>. However, if I remember correctly, the /usr/src/linux link was not created for you. I always had to run this command as root...

ln -s /usr/src/<linux-kernel-version> /usr/src/linux

If you don't have that it place, then that's one reason your modules may not be found.

JohnT
07-22-2004, 11:32 AM
You might not even have a kernel source in that directory at all.

lxvannia
07-22-2004, 11:40 AM
if i list /usr/src
i see an RPM file ( for another kernel version i sntalled ) and the directory "RPMS" that's all.

The kernel rpm corresponding to the mdk kernel is not there... ( do i need to have the rpm file in the /usr/src or /root directory when i run rpm -i ? )

bwkaz
07-22-2004, 06:41 PM
Install kernel-source, not kernel-headers.