Debian Configuration :: Module Assistant Can't Find Kernel Headers / Work Around This?

Jul 25, 2010

I'm trying to use module-assistant to add the vboxdrv using instructions also found here in the debian forum. However, m-a can't find the linux-headers because it looks for the package linux-headers-2.6.32-5-trunk-686. I attempted to specify were the headers were by using:
m-a prepare --kernel-dir /usr/src/linux-headers-2.6.32-5-686/
but also doesn't work. Instead, I get the error:
Bad kernel version specification at /usr/bin/m-a line 566.
Anyone knows how to work around this?
By the way, the reason I am doing this is because when I installed virtualbox (following the instructions in debian wiki) there's no vboxdrv. When I try to modprobe it, I get:
FATAL: Module vboxdrv not found.

View 2 Replies


ADVERTISEMENT

Debian Configuration :: Install Ov51x-jpeg-source Using Module Assistant?

Apr 28, 2010

I'm trying to install ov51x-jpeg-source using module assistant but it fails with....

make[3]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
make[3]: Makefile: No such file or directory
make[3]: *** No rule to make target `Makefile'. Stop.
make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
make[2]: *** [all] Error 2

[Code]...

it also stops at the same point when trying to install another driver, /usr/src/linux-headers-2.6.26-2-686 does exist

View 8 Replies View Related

Debian Configuration :: Installing Kernel 2.6.28.9 Headers?

Feb 3, 2010

I'm trying to install vmware server 2 on my lenny and first I must install the kernel headers but I'm having troubels with it.

apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-headers-2.6.28.9

I have even tried with apt-get install linux-headers-2.6.28.9 but same thing Searching apt-cache search linux-headers-2.6.28.9 shows nothing.

View 7 Replies View Related

Debian Configuration :: New Kernel And Headers Not Allowing NVidia Driver To Install

May 19, 2010

I've built a new kernel (2.6.34) on our workstation at work. It boots and runs beautifully, but there is one minor problem. I created the kernel as a Debian package along with the kernel headers. Upon installing both and attempting to build the nVidia driver for said kernel, the installer tells me that it cannot determine the version and quits. This happens even if I manually specify the path to the headers. What's going on here, did I miss something during my compilation of the new kernel?

View 14 Replies View Related

Debian Configuration :: Nvidia Kernel Module With Custom Kernel

Jan 24, 2010

I have a problem with my custom kernel when I want to create the Nvidia kernel module.After this finished I installed the image and headers and created the Nvidia kernel module. Everything worked fine.However, if I remove the linux-source from my home directory then I can't create the kernel module.Even though I have the headers for the kernel installed.

View 2 Replies View Related

Programming :: Build Module Against Headers That Are Not From Running Kernel?

Apr 13, 2011

I'm trying to debug a module I programmed but I don't want to do it on the running host but against UML (don't want to reboot every 5 minutes).

The UML kernel I downloaded is 2.6.38.2. I have already downloaded the ubuntu kernel headers for this version (they belong to natty though I'm running maverick.... when I installed the .deb file with dpkg I had no problem at all).

Now I'd like to build said module against these headers. How can I do it?

Here's the makefile for my module code...

View 1 Replies View Related

Debian Configuration :: Add New AMD PCI-IDs To Kernel Module

Jul 9, 2015

I recently bought an AMD R7 360 videocard and I'd like to use the free Radeon driver.

Problem is, PCI-ID 0x665f is not present in Jessie's 3.16 kernel sources. The hardware however is supported, it's just not recognized. So I'll have to get the Debain sources and patch include/drm/drm_pciids.h

From the 4.1rc1 kernel I know what to patch and where.

Debian page that explains how to use the Debian build system for recompiling the current kernel from Debian packages?

View 6 Replies View Related

Debian Configuration :: How To Load Own Kernel-module (KO) In Jessie

Mar 14, 2016

I built a kernel-module for a new usb wifi-card. This worked well and resulted in a 8821au.ko-file. But now I'm trying to load this kernel module since half an hour and it doesn't work. I copied the ko-file into /lib/modules/3.16.0-4-amd64/kernel/drivers/edimax. If I just type

Code: Select allsudo modprobe 8821au

I get a

Code: Select allmodprobe: FATAL: Module 8821au not found..

But if I enter the full path inside the /lib/modules/3.16.0-4-amd64-folder:

Code: Select allsudo modprobe -v ./kernel/drivers/edimax/8821au.ko

it seems to work:

Code: Select allbuiltin ./kernel/drivers/edimax/8821au.ko.

But lsmod doesn't show me the module after that.

I also added

Code: Select all./kernel/drivers/edimax/8821au.ko

to /etc/modules but this also doesn't seem to work. When booting I get an error-message, but it's too fast to read it and I can't find the right log-file, where the booting-part with the "[ OK ]"-messages is reported.

So my driver is ready, the onliest thing which I can't get working is loading it as a kernel-module.

View 3 Replies View Related

Debian Configuration :: Building A Loadable Kernel Module?

Jul 30, 2010

I upgraded my kernel in my Debian Lenny to version 2.6.32-bpo.4-amd64 to fix a problem with a software and ALSA-related issues. The thing is that now, when I boot, eth1 is not enabled and I have to "load" (I guess) the driver each time. To do this, I go to the folder where all the files for the drivers are and I run:

modprobe lib80211
and then
insmod wl.ko

That I got from the readme file. That gets the wireless working perfectly again, but when I reboot the wireless is dead again and I have to run the commands above again. I imagine that what I should do is to build the driver again, for my new kernel. However, according to the readme file, before I need to install linux-headers-generic and build-essential. With build-essential, it says it's already the newest version, and with the linux-headers, I don't know which one should I install for my kernel! I thought it would be the linux-headers-2.6.32-bpo.4-xen-amd64, but when I tried that, this is what happened:

debian:/home/hernan/Programas/hybrid_wl# apt-get install linux-headers-2.6.32-bpo.4-xen-amd64
Reading package lists... Done
Building dependency tree       

[code]....

So the warning says something about the MODULE_LICENSE being missing... how to build the driver again to make it load each time I boot?

View 3 Replies View Related

Debian Configuration :: New Kernel Requires WiFi Module Update

Jun 15, 2010

Squeeze's latest update has upgraded my kernel from 2.6.32-3-686 to 2.6.32-5-686.My wireless stopped working and then I realised that I had to rebuild the wifi modules. I had followed this earlier.URL...For this new kernel, which I step of the process should I repeat? Rebuild module? Or just do a modprobe?

View 4 Replies View Related

Debian Configuration :: Kernel 2.6.32-trunk Won't Load The Dkms Module And Virtualbox Will Not Run

Jan 22, 2010

My problem is that it won't load the dkms module and Virtualbox will not run.

View 14 Replies View Related

OpenSUSE :: How To Find And Install Kernel Headers

Mar 18, 2011

Search the forums first. Well I did, can't find anything I understand.
So please help an ignoramus in simple terms.
The problem:-
I'm trying to run vmware workstation and I get a desktop box pop up which says "Kernel .heade4s for version 2.6.37.1-1.2 desktop not found"
How do I find them and install please.

View 9 Replies View Related

Fedora :: Can't Find / Install Headers For My Kernel - Sort It?

Jan 27, 2010

I am trying to install a piece of software that uses an install.pl script which looks to /usr/src/linux/include/ for my kernel headers...but it never finds them or that directory/link.

I've run "yum install kernel-devel kernel-headers" so I am pretty sure they are installed.

My "rpm -qa | grep kernel" returns code...

What am I missing?

View 1 Replies View Related

Fedora :: VMware Can't Find Kernel Headers / Solve It?

Apr 26, 2011

After compiling the linux kernel VMware is unable to compile it's modules.

I installed the kernel source to code...

C header files matching your running kernel where not found

Any ideas how to solve?

View 6 Replies View Related

Debian :: Automatic Removal Of Kernel Headers Package When Kernel Packages Are Removed

Dec 28, 2008

As a follow-on to something Telemachos said in another post:

Quote:

Originally Posted by Telemachos

You can see what kernels you have installed - to check if you have a virtual kernel and to clean up - by running this command:

Code:

If you've been installing kernel-headers along with the kernels (say to build modules for graphics or wireless), you should remove those when you remove the corresponding kernel. The command to search for those is parallel:

Code:

I would have thought that removing a given kernel package would trigger the removal of the older kernel headers. Can someone confirm that is, or is not, the behavior? I ask this because it seemed to me that the older kernel header packages were indeed removed when I removed some older kernel packages.

For example, the linux kernels I have installed are:

Code:

Also, the linux-headers packages I have installed are:

Code:

So, when I get around to removing the linux-image-2.6.25-2-amd64 package like this:

Code:

I would expect apt-get to automatically also remove linux-headers-2.6.25-2-amd64 and linux-headers-2.6.25-2-common. Is that what will happen, or do I need to explicitly state all three packages on the apt-get remove command?

View 3 Replies View Related

Debian Configuration :: Cannot Find Kernel-devel For 2.6.33.4 Anywhere

May 27, 2010

I have been getting some compile errors here and there and have read that possibly I need to install the kernel-devel package.I am running 2.6.33.4 which I built from source.I have also built and installed the kernel-headers.I cannot find the kernel-devel for 2.6.33.4 anywhere, can I build it myself from the kernel source?

View 2 Replies View Related

Debian Configuration :: Squeeze: Can't Find Source For 2.6.32-trunk Kernel

Apr 30, 2010

I'm attempting to install ndiswrapper-dkms package. The installation fails due to the following error:Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed. dpkg reports that the source is installed

[code]....

I've been searching google for the past couple of days but haven't found anything specific. Any ideas to get me going in the right direction?

uname -a reports

Linux debtop 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 GNU/Linux

View 5 Replies View Related

Debian Configuration :: Wake Up Don't Work After Recompiling Kernel

Jul 30, 2010

i have recompiled kernel on my netbook (lenovo s10-3t).suspend works correctly but then i cannot wake up. i think i just missed some kernel options.what options must be set for suspend/wake up?

View 7 Replies View Related

Debian Configuration :: Hibernate Doesn't Work After Recent Kernel Upgrade?

Dec 15, 2010

I recieve the following error:

Cannot find swap device, try swapon -a
/bin/echo: write error: No such device

If I type swapon -a, I get something like this:
swapon: cannot find the device for UUID=4d79c009-9464-41d5-9f78-90644bca9ba3

It worked great before I did the upgrade... I've upgraded to 2.6.37-rc5.

View 11 Replies View Related

Debian Configuration :: Locating Kernal 'C' Headers?

Jan 27, 2011

I am in process of installing a VMware tools PKg and am being asked for the path to the C headers for the kernel. I've browsed every folder, found lots of 'C' header files and tried these paths but none are being taken by the script. which path I need to provide for 'the C headers' for my kernel? running Piapix, Deb5. The os is running perfectly so I doubt there is error other than I am not 'wise' enough to locate these little buggers!

View 2 Replies View Related

Fedora :: Yum Can't Find Kmod-kvm (KVM Kernel Module) On 14

Dec 5, 2010

getting KVM Kernel modules installed under Fedora 14? I'm trying to do a post-installation setup of KVM. I'm getting the "No package kmod-kvm available." error, when doing "yum install kmod-kvm".

View 1 Replies View Related

Debian Configuration :: Missing Dependency For Headers-2.6.29 On Lenny?

Jan 13, 2010

Here's my problem: I'm running a Lenny laptop and I need both wifi and virtualbox to work. I had to do a kernel upgrade to run the wifi. It works with either the 2.6.29 or 2.6.30 kernels, but with 2.6.30 I'm having screen brightness issues that I can't seem to get rid of. So I want to run 2.6.29, but virtualbox is a bit of a problem because it requires linux-headers-2.6.29, but when I try to install the amd64 headers it tells me that it cannot install the dependency linux-kbuild-2.6.29. Is there any way I can get that dependency installed on my computer?

View 14 Replies View Related

Debian :: Finding Kernel Headers Files Difference?

Jul 3, 2009

I usually custom compile my kernel and generate the header files with the following command:

Code:

fakeroot make-kpkg --initrd --append-to-version=generic-ide kenrel_image kernel_headers

However, I noticed that there are some difference in the headers files that get generated with the above command as compared to the header files that are available from Debian repo. For example, the header files for 2.6.24 kernel have files like:

Code:

debian:/usr/src/linux-headers-2.6.24-etchnhalf.1-686/arch/x86# ls Kconfig Kconfig.cpu Kconfig.debug kernel Makefile Makefile_32 Makefile_32.cpu Makefile_64 However, if I custom compile the above kernel from Debian sources (2.6.24), the headers files does not have the above files:

Code:

debain:/usr/src/linux-headers-2.6.24-generic-ide/arch/x86# ls
boot ia32 Kconfig.cpu kernel lib mach-es7000 mach-visws Makefile mm pci vdso xen
crypto Kconfig Kconfig.debug lguest mach-default mach-generic mach-voyager math-emu oprofile power video

As you can see from above output, files like Makefile_32, Makefile_32.cpu are not present, if I generate kernel headers files using the make-kpkg command as mentioned in the beginning of the post. I happened to notice the above issue, while I was trying to compile a out-of-tree kernel module and the "make" command for those sources (some graphics card drm module) worked with the default header files (linux-headers-2.6.24-etchnhalf.1-686) but did not work with (linux-headers-2.6.24-generic-ide) because it did not find the Makefile_32. Although I was able to fix the problem by copying the Makefile_32 from linux-headers-2.6.24-etchnhalf.1-686 but I would like to know why there is a difference. This is bit of a concern because it unnecessarily breaks the out-of-tree module compilation process because of trivial reasons.

View 4 Replies View Related

Debian Configuration :: Apt Apt-utils Aptitude Libapt-pkg-perl Libept1 Libqt4-assistant Libqt4-dbus Libqt4-designer Libqt4-dev?

Sep 8, 2010

While doing an aptitude dist-upgrade this morning I was greeted by the following conflict:The following packages will be upgraded:

apt apt-utils aptitude libapt-pkg-perl libept1 libqt4-assistant libqt4-dbus libqt4-designer libqt4-dev
libqt4-help libqt4-multimedia libqt4-network libqt4-opengl libqt4-opengl-dev libqt4-

[code]....

View 2 Replies View Related

Red Hat / Fedora :: Can't Find Appropriate Module For Work?

Oct 21, 2010

I have Gigabyte Tv Tuner card E8000 i can't find appropriate module for it to work. "lspci -k" give me this: 06:00.0 Multimedia controller: Philips Semiconductors Device 7160 (rev 03)

View 2 Replies View Related

OpenSUSE Install :: Kernel Upgrade On 11.1 - Cannot Find Module After Reboot

Nov 10, 2010

I've upgraded kernel 2.6.27.48-0.2-default to 2.6.27.54-0.1.1 on openSUSE 11.1. Before I tried to upgrade to 2.6.27.48-0.3-default where I encountered the same issue. After reboot it can not find the modules for 2.6.27.48-0.2-default which puzzled me to no end. Now I have found that the /boot which is on separate partition of ext2 type is not mounted. The mount command does not recognize ext2 and xfs anymore.

Clearly the initrd does not have the right modules. Since this is standard zypper up process I would expect this to work without issues since it has worked until the 2.6.27.48-0.2-default kernel without issues. Has something changed with the last 2 kernel versions that requires some extra actions from me and if so what do I have to do.

View 1 Replies View Related

OpenSUSE Wireless :: Cannot Find Map File. No Module Symbols Loaded - Kernel Modules Not Enabled

Aug 3, 2010

Used to work perfectly. I attempted to install VPN client, result is can't connect to anything. Networks are seen by network manager, nothing happens when click connect. Results below:

Wireless LAN present in Hardware information. Atheros AR242x 802.11abg Wireless PCI Express Adapter (wlan0)
Kernel Driver: ath5k
168c:001c
/var/log/boot.msg

[code]....

Advice is to use output of dmesg command to find problem, but as above I don't get any results for this in terminal.

attempt to ping external site
linux-cfi6:~ # ping -c 66.70.73.150
Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]

[code]....

View 1 Replies View Related

CentOS 5 :: Can't Install Kernel-headers Glibc And Glibc-headers?

May 11, 2010

Yesterday, I think I did something stupid: I removed kernel-headers, gcc, glibc-devel and glibc-headers. My box is a CentOS 5.4 webserver (it has loads of packages installed, but that was done through Virtualmin config, so it's quite coherent all in all). The thing is that now I need to reinstall at least the headers and glibc, but hey! this is what I get :

[Code]...

View 19 Replies View Related

OpenSUSE :: Virtualbox Problems (Error Kernel Headers For Kernel 2.6.34-12-desktop Cannot Be Found At)?

Jan 2, 2011

I'm just installed OpenSuse 11.3 (64) on a 30gb SSD, hoping to get virtualbox 4.0 running to virtualize an instance of Windows 7.I went through some pain with my Nvidia video card and actually getting vb to install, but through lots of searching and tinkering got here.I created a vm in the vb control panel, but when I go to start it I get:

Code:
Failed to open a session for the virtual machine Win7Main.
The virtual machine 'Win7Main' has terminated unexpectedly during startup with exit code 1.

[code]....

View 9 Replies View Related

Red Hat :: Install Ethernet Adapter Driver - Not Finding Kernel-devel Or Kernel-headers

Aug 30, 2010

I'm attempting to install the driver for my atheros AR8131 PCI-E Gigabit Ethernet adapter (in my Lenovo laptop) on my newly installed RHEL5 system (it's not currently being recognized).

I tried using: 'make install' but hit an error "Makefile:61: *** Linux kernel source not found."

After this, I tried: 'sudo yum install kernel-devel kernel-headers'

To rectify this, but hit this error "No package kernel-devel available" (and the same for the headers). What should I do?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved