General :: Can't Install Kernel Headers In Arch / Sort It?
Mar 4, 2010
I'm trying to install the "kernel26-headers" package in Arch so I can (try to) compile the Intel 865G graphics drivers from off their website (I can't get H/W acceleration working with xf86-video-intel, but I know the thing has a GPU, because if I boot a Knoppix CD that I have, it enables Compiz by default, and it works damn well).
Any time I try "pacman -S kernel26-headers" I just get a bunch of errors spat back at me code...
Now, I have tried enabling all the US mirrors (HTTP and FTP), and I have even tried a couple of FTP servers in Canada and even Great Britain. None of them seem to work at all!
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.
What I don't get are any kernel-headers-<version>.<arch>.rpm Files. Don't I need them to rebuild modules and drivers on System B? Otherwise, how should I copy my new headers to System B? BTW, System B crashes when I try to build the Kernel on it, that's why I'm building debugger Kernels on System A.
Last night at 1:47 AM yum installed the current version of kernel-headers on my RHEL5 server:
Mar 17 01:47:47 linux1 yum: Updated: kernel-headers-2.6.18-164.15.1.el5.i386 Mar 17 13:47:22 linux1 syslogd 1.4.1: restart.
This locked the server up until I could physically get to it this afternoon and reboot the server. I then finished downloading and installing the new kernel, rebooted again, and the server appears to be running fine.
This is the second time this has happened on this server.
Has anyone else seen this problem when you setup yum to automatically update your servers? Other than manually updating servers, does anyone have any suggestions on how to keep this problem from happening again?
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?
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 :
I have recompiled a few kernels, but all on 32bit systems so not sure if that has anything to do with it.
Running Arch Linux 64bit, most recent version.
Kernel Output:
Code:
My first thoughts was that it might be my grub bootloader configuration, so had a big play around with that but it didn't fix it. Also made sure support was built for filesystems. However almost all that Fstab mounts are ext3 anyway, and certainly the root and /boot are. Now thinking it may be a memory error so will run a check when I shutdown.
Is there a way to get the matching Linux kernel headers automatic on a regular kernel update via the Ubuntu packed manager? Every time I get a new kernel I must do an aptitude install linux-headers-`uname -r`
I've installed Vmware Workstation and tried to run it only to have the following appear;
Kernel Headers 2.6.27.25-170.2.72.fc10.i586
Kernel headers for version 2.6.27.25-170.2.72.fc10.i586 were not found. If you installed them in a non-default path you can specify the path below etc.......
I've tried to search and find the kernel headers but can't find them.
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.
Can anyone point me to a source for linux-kernel-headers. for kernel 2.6.34-12 I can't find it in the normal repositories and need it for installing vmware 6.0.4
I'd like to upgrade a live ISO file before burning a new CD.
So, following the instructions in "How to Customise the Ubuntu Desktop CD", I chrooted to the squashfs and ran "apt-get update/upgrade/dist-upgrade", expecting apt-get to upgrade the chroot kernel... only to find out that apparently, even when being chrooted, this command upgrades the actual kernel. I guess it makes sense, but I was under the - wrong - impression that chroot would build a filesystem totally isolated from the underneath host.
So I rebooted to use this new kernel:
Next, since the Nouveau video driver requires the kernel header files, I ran the following:
Code:
I don't understand why apt-get upgrades the kernel but won't install its header files.
I'd like to upgrade a live ISO file before burning a new CD.
So, following the instructions in "How to Customise the Ubuntu Desktop CD", I chrooted to the squashfs and ran "apt-get update/upgrade/dist-upgrade", expecting apt-get to upgrade the chroot kernel... only to find out that apparently, even when being chrooted, this command upgrades the actual kernel. I guess it makes sense, but I was under the - wrong - impression that chroot would build a filesystem totally isolated from the underneath host.
So I rebooted to use this new kernel:
Code: # uname -r 2.6.32-24-generic
Next, since the Nouveau video driver requires the kernel header files, I ran the following:
Code: # apt-get install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree Reading state information... Done
I have a program that needs kernel headers. The machine is running CentOS release 5.4 (Final). uname -r output: 2.6.18-164.9.1.el5 When I try to do a - yum install kernel-devel or kernel-headers I get: kernel-headers i386 2.6.18-194.3.1.el5 updates 1.0 M Why don't they match?
from what I understand kernel-devel does not bring in ALL the header files for install modules. so what i would like to know is how to install true headers instead of using kernel-devel. I found one tutorial, but it was way out of date.
I am running Ubuntu 11.04 with a Dlink DGE-530T NIC. My browsing in Ubuntu on ALL browsers is horribly slow. It works perfectly fine on windows and other PCs on the LAN. So I know for sure my router and my internet line is fine.I figured it could be a problem with my NIC drivers and decided to install the drivers from the CD. (All this while it was running on the default drivers that ship with Ubuntu). I'm trying to install the sk98lin drivers and my understanding of the kernel so far is still very weak. When I try to run the install.sh script it gives me an error saying :
Code: Create tmp dir (/tmp/Sk98IknhDHEiLKnkWUSoYMTLi) [ OK ] Check user id (0) [ OK ] Check kernel version (2.6.38-8-generic) [ OK ] Check kernel symbol file (/proc/kallsyms) [ OK ] Check kernel type (SMP) [ OK ] Check number of CPUs (2)
[Code]...
But the installation script is still not able to find it. I tried searching a few threads on google but wasn't able to make too much sense of whats going on because of my lack of understanding of the linux kernel.
Since new kernel 3.0 update I cannot rebuild vmware modules
Quote:
sudo vmware-modconfig --console --install-all Unable to initialize kernel module configuration
how to do that. Where do I insert the "CONFIG_LOCALVERSION" line.
Quote:
Same here. This seems to be due to the kernel version being "3.0" instead of "3.0.0". Recompiling the Kernel (and all modules based on it, e.g. nvidia) with CONFIG_LOCALVERSION=".0-ARCH" allows me to compile the modules and run VMware.
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?
I've been trying to install Vmware Workstation and keep getting an error about Kernel Headers missing! Although I am pretty sure I have the headers installed for my system. It's looking for the PAE version of my headers which I believe it doesn't exist!
I have a problem to install the VMware Server (VMware-server-2.0.2-203138.x86_64.rpm) on "Fedora 13 Desktop Edition 64-bit".I traied all tips I found, but nothing was OK.Please look my linux configuration and the error messages:
The installation of VMware Server 2.0.2 for Linux completed successfully.Before running VMware Server for the first time, you need to configure it for your running kernel by invoking the following command: "/usr/bin/vmware-config.pl". code....
currently I'm using a kernel from kernel-mainline [url], because thermal won't work satisfying with the shipped kernel from ubuntu and would like to install tp_smapi (including modules hdaps and thinkpad_ec), but the installation failed, because the system pretending, that kernel-headers missing.
Code:
Results in telling the system, that kernel-headers are installed.
Code:
But then the upcoming dialog-box of module-assistant telling me, that the kernel-headers are not installed and therefore installation of tp_smapi fails.
Many here know I distribute alot of live stuff and thus many say I should try to putout as high a kernel version as possible for wireless, netbooks, etc.my questions are about using a much higher kernel version than the installed headers for instance; I use kernel 2.6.34-ZEN in my arch/slackware builds but the slackware version contains headers 2.6.33.4 from slackware and so is that a problem or no?I built the kernel from source using headers 2.6.33.4 in slackware and headers 2.6.34 in arch...now, I may be upgrading those kernels to meerkats 2.6.35-r5 and need to know if having headers 2.6.33.4 is an issue?also, after compiling kernel does it install a new set of headers when you do make modules_install?
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.
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?
I get the following error message trying to install dazuko on xubuntu 10.04: "headers for target kernel version could not be found" But when I run sudo apt-get install linux-headers-$(uname -r), I get the message that I already installed the headers. My current kernel is 2.6.34-020634-generic
How can I install dazuko withouth having this problem??
A recent kernel update seems to have misplaced the Kernel Headers. VMWare needs these headers and cannot find them. Attempting to run VMWARE gets the message: Kernel headers for version 2.6.31.12-0.2-desktop were not found.
Ive also tried downloading RPMs to a usb stick and it said it was the wrong ones for my machine.
How do i find out if my machine is x32 x64 x86?
Anyway im trying to install kernel headers and devel from the fedora installation disk but i dont know how to get to the cdrom thru terminal as i cant copy the RPMs to desktop by drag n drop or using software installer.
I dont have an internet connection to the pc so i cant use yum (which would make things so much easier) so can anyone tell me how how to install these packages thru terminal?