DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to install linuxant driverloader but it requires a path to my kernel source to build modules. I'm not finding it in /usr/src/linux since that directory doesn't exist. I'm using Sid with a 2.6.7 kernel that I loaded off the Sarge cd.
It will install the kernel source as a compressed file in /usr/src/kernel-source-2.6.7.tar.bz2 You can then uncompress the source and symbolically link it to /usr/src/linux following the kernel upgrade guide posted as a sticky at the top of this forum page. Good luck!
I guess I posted too soon.
It still won't work. It says that /usr/src/linux/include/linux/autoconf.h is missing. It says that a proper /boot/config-2.6.7-1-386 file was found and asks if I'd like to try using it in a temporary kernel tree. When I say yes it says that it's unable to prepare a temporary kernel tree and recomends that I ensure that the proper kernel source and compiler packages are installed.
Also, I can't use the 'make' command to install the tar package from source.
Take a look at this page: http://www.desktop-linux.net/debkernel.htm and check the list of system packages needed. You may need to install make if you can't do that, or install some of the other packages listed if some are missing.
I had the same problem installing my conexant driver. Because I did not originally use the source to make my kernel I had to use the autoconf.h and version.h from the kernel-headers package (this should certainly get you going)
Linuxant DriverLoader for Wireless LAN devices, version 2.10
No pre-built modules for: Debian-3.1 linux-2.6.9-1-386 i686
Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)
Where is the linux source build directory that matches your running kernel?
[/usr/src/linux]
WARNING: the kernel version (2.6.9-1) defined in
/usr/src/linux/include/linux/version.h
does not match the currently running kernel (2.6.9-1-386)
The cause of this problem is an incorrect kernel source path.
Please check that /usr/src/linux points to the right tree.
The cause of this is usually a missing or unconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).
However, proper /boot/config-2.6.9-1-386 was found.
Would you like to try using it (in a temporary kernel tree)? [yes]
Unable to prepare temporary kernel tree
First, ensure that the proper kernel source and compiler packages
from your distribution vendor and/or the community are installed.
The Linux kernel can then be reconfigured by running "make menuconfig"
under the kernel source directory (usually /usr/src/linux).
Verify that the proper options for your system are selected.
Then compile and install your new kernel (for more information about
this procedure, see the README file under the kernel source directory),
reboot the system using the new kernel, and re-run "dldrconfig".
I know it's a simple fix but I can't seem to get it. I tried editing the version.h file to say 2.6.9-1-386 but that didn't work. Any ideas?
If you did not use the kernel-source to compile your own kernel then use the kernel-headers directory (if you don't have it install the kernel-headers package) as your source directory... I could have sworn I posted that before...
If you did not use the kernel-source to compile your own kernel then use the kernel-headers directory (if you don't have it install the kernel-headers package) as your source directory... I could have sworn I posted that before...
Yeah, I had the 2.6.9-1 headers and I needed the 2.6.9-1-386 headers instead.
You probably did post it before. I googled and searched this forum but couldn't really find an exact answer.
Thanks for the duplicate reply.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.