General :: No Kernel Sources When Compiling Software
Feb 25, 2010
When compiling software I get the following notice : You do not appear to have the sources for the 2.6.31.5xls-domU kernel installed.
Yum says :
Package kernel-headers-2.6.18-164.11.1.el5.x86_64 already installed and latest version
Package kernel-devel-2.6.18-164.11.1.el5.x86_64 already installed and latest version
But uname says :
Code:
-bash-3.2# ls /usr/src/kernels/
2.6.18-164.11.1.el5-x86_64
-bash-3.2# uname -a
Linux vds.hosting.net 2.6.31.5xls-domU #4 SMP Fri Dec 4 12:17:04 CET 2009 x86_64 x86_64 x86_64 GNU/Linux
Extra info :
title CentOS (2.6.18-164.11.1.el5xen)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-164.11.1.el5xen ro root=/dev/xvda1 console=xvc0
initrd /boot/initrd-2.6.18-164.11.1.el5xen.img
This is a VDS I'm renting from my Hosting company. How can I get the right sources? RPMforge repo?
View 10 Replies
ADVERTISEMENT
Oct 25, 2010
It has been years since I have need to compile the kernel or its modules. Here goes: I recently upgraded to ubuntu 10.10 and needed the kernel source and its modules source. The relevant directories are in a mess. Several diff versions, broken links, the works. Is there a nice easy way, to remove all of the sources, there, and err "install" the ones for my latest kernel, in the correct places. Then I might have a chance at getting the two modules I need complied! Nvidia being one for the geforce 4 mx420 nv17
View 4 Replies
View Related
Apr 18, 2010
I want to compile a kernel to add a few options that are not enabled in the huge-smp-2.6.29.6 that comes with slackware. specifically, i want to add TASK_DELAY_ACCT and TASK_IO_ACCOUNTING so that I can use iotop. I just want to add those 2 options to the new kernel, everything else I'd like to keep the way it is as the system has been running just fine. Will running 'make menuconfig' in /usr/src/linux default to the options that are used in the stock kernel?
View 3 Replies
View Related
May 10, 2010
Is there any way to install a kernel using rpms and avoid compiling its sources? I am using OpenSUSE 11.2.
View 7 Replies
View Related
Apr 8, 2011
I am trying to compile a patch for HDMI audio, reference this thread [URL]
Code:
Instructions:
- download alsa-driver-1.0.21 from alsa homepage
- unpack downloaded alsa:
$ tar jxvf alsa-driver-1.0.21.tar.bz2
- download and apply my patch
$ wget http: [URL]
$ cd alsa-driver-1.0.21
$ patch -p 1 < ../alsa-driver-1.0.21-nvidia-ion2-hdmi.patch
- compile alsa
$ ./configure
$ make
$ make install
when I do ./configure it outputs this
Code:
The file /lib/modules/2.6.33.7-pclos6.bfs/source/include/linux/autoconf.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.33.7-pclos6.bfs/source). How can I direct it to install with the 'full kernel sources' ?
View 8 Replies
View Related
Jun 9, 2010
I'm trying to build the latest XEN 4.0.0 from the tarball in xen.org.
After resolve the dependencies, I finalled compiled the xen kernel.
But the problem, it is not making the intrd for booting (and it is not suposed to do ), it just comments the following on the README source:
Depending on your config, you may need to use 'mkinitrd' to create an initial ram disk, just like a native system e.g.
# depmod 2.6.18-xen
# mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.18-xen.img 2.6.18-xen
[Code].......
I really want to test the pastrough and snapshot new features in XEN, since i really start to hate vmware eating all resources with more than 1 vm (I know, there is VirtualBox, but I used Vmware first since you can record videos and for portability).
I already used XEN 3.4 a lot in my own labs inside my laptop, (since I learned how to use virtual network in nat mode), and since is the default hypervisor on the job (we are migrating the lasts Vmware vms !!! cool!!! ) and I really really love XEN (is amazing, 4 vms, 1 host in a laptop turion 64 x2 with just 3GB ram!!! and my processor is not flaming!!!).
View 1 Replies
View Related
Jan 19, 2009
I need to download the Kernel sources add a few lines and then recompile and install the new files. I found the following lines that are suppose to do it on nVidia's forums:
Code:
# Install Kernel Sources
sudo apt-get build-dep linux-image-2.6.24-17-rt
sudo apt-get source linux-image-2.6.24-17-rt[code]........
what the Kernel Module Source packages are called?... This guide I am trying to follow is obviously dated but it is the only solid lead I have been able to find towards making my ram work...This is the original thread on the NVNEWs boards: Unable to install Nvidia driver on 9500M + Ubuntu - Page 2 - nV News Forums,Read through that thread I linked to the NVidia forums for a detailed run down of what is wrong.
The semi short version: There is some sort of issue with the NVidia driver on the G1Sn (and several other Asus Models) and the way the Linux Kernel address memory, the issue results in not being able to use more than 2 Gigs of ram with the Nivida drivers. There is a patch (again check the nvidia forum link) that people said they had applied to fix this issue. At this point I am seriously considering Vista again if I can't get this working I love Ubuntu but I hate having my hardware limited by my software...where to download the files I need to recompile in the Kernel with the patch I need for my ram to work?
I tried posting there but it seems like the thread is long dead.. how I can download the needed files and maybe how I add these lines to it?I also started a thread on the ubuntu forums here: [ubuntu] Downloading Current Kernel Sources.
View 2 Replies
View Related
Sep 16, 2010
i'm using this guide videos - howto: debian linux kernel compilation, part 1 and the author says i need kernel 2.6.26 this version of kernel doesnt longer exist in kernel.org website and the only 2.6.26 i found is a patch here. should i use the patch? or download another version of kernel?
View 2 Replies
View Related
Apr 28, 2010
I have this problem constantly and it tells me to install such and so a prog, but I do locate [prog] and it shows up in 80 places so it's obviously installed. I just have no clue how to attach the two or to set up anything in the ./config set up so it leaves me completely stuck. So what's the trick when it's already in there? Also..it says I just joined? in 2008.
View 5 Replies
View Related
Feb 24, 2010
I am trying to compile older version of kernel 2.6.23.4 on my fedora 11.
I am following below steps:
1)make menuconfig
2)make bzImage
3)make modules
4)make modules_install
5)make install
Kernel is compiling. After doing make modules_install it says:
My grub.config looks like:
But after that the cursor only blinks nothing happens.
View 5 Replies
View Related
Jan 4, 2010
I'm currently using Fedora 12 with kernel 2.6.31.9 and I was trying to upgrade to 2.6.32.2. These are the steps I followed. After rebooting and choosing this kernel from the Grub menu, I'm just greeted with a black screen with a blinking cursor and it won't proceed beyond that.
These are the commands I issued. I received an error on the first make modules about the mismatch. I then ran CONFIG_DEBUG_SECTION_MISMATCH=y and once finished I ran make modules again and it completed successfully.
Code:
Downloaded kernel package 2.6.32.2 from www.kernel.org
untar archive
make menuconfig (no changes made, saved config file)
make
[Code]...
View 9 Replies
View Related
Apr 14, 2010
I have a virtual box running CentOS 5.3. I am experimenting with compiling and installing a kernel 2.6.33 on this.
However, the kernel compiled ok, but when I did the install it gave me these warning, not sure if they are important or not.
The steps I did was:
Code:
Code:
In my grub.conf I have the following:
Code:
When I try and boot I get the following problem:
Code:
View 11 Replies
View Related
Apr 29, 2010
I am in verse to compile a new kernel 2.6.34-rc5 on RHEL 6 Beta.I have been following [URL] for the same. how can i select all the options during :
Code:
make menuconfig/make gconf/make xconfig
I just saved it under .config and when I ran : make modules it threw errro saying "modules not included". So i want to select complete options during make xconfig.
View 3 Replies
View Related
Mar 13, 2011
I update my last kernl to 2.6.38-rc7 but when I launch VirtualBox, on stdout.The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (2.6.38-rc7) or it failed to load. Please recompile the kernel module and install it by sudo /etc/init.d/vboxdrv setup.
View 1 Replies
View Related
Aug 13, 2011
I'm having a problem getting firewire modules to load. Basically, I need firewire_core and firewire_ohci so I can use dvgrab. I tried the following:
Code:
[root@x:/]# modprobe firewire_core
[root@x:/]# modprobe firewire_ohci
But the modules aren't showing with lsmod:
[Code]...
View 5 Replies
View Related
Apr 13, 2010
I have downloaded the newest most stable Linux kernel, 2.6.33.2.
I thought I would test this using VirtualBox. So I create a dynamically sized harddisk of 4 GB. And installed CentOS 5.3 with just the minimum packages.
I setup the make menuconfig with just the default settings.
After that I ran make and got the following error:
The amount of space I have left is:
My virtual size is 4 GB, but the actual size is 3.5 GB.
How much size should I give when compiling and installing a Linux kernel? Are there any guidelines to follow when doing this? This is my first time, so just experimenting with this.
View 2 Replies
View Related
Aug 7, 2010
These days, I tried to compile my own kernel. Now, it seems work. However, when the kernel is booting, I always get the error message like below:
acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
It looks that something is wrong with my acpi subsystem's configuration. But no matter How I reconfig it, this message still occurs.
My distribution is UBUNTU 10.04 LTS
original kernel with the distribution is 2.6.32
My own kernel is 2.6.35
View 7 Replies
View Related
Mar 24, 2010
I am compiling kernel to learn it and as well as for edubook, a netbook I am working on. I wanted to put the compilation under my home directory and followed the syntax suggested in the README in /usr/src/linux,like,
Quote:
'make o=/home/pbhat/temp/kcompile menuconfig'
Like this I have gone through full compilation successfully,but see no output going to the specified folder.Could anybody point out where I went wrong? I was compiling under /usr/src/linux and in Opensuse 11.2.I followed the README apparently written by Linus where I saw the above make syntax.Maybe that is old and hold good no more.
View 3 Replies
View Related
Sep 28, 2010
I would like to add latest tc+esfq functionality to machines running older distributions, FC3, FC5 etc. I am told I should down load the latest kernel and recompile with the proper patches which I can do. Are there problems with using latest kernels with older distributions, they are all running 2.6.x, but the x has of course gone up since FC3.
View 1 Replies
View Related
May 25, 2011
I'm trying to compile a kernel for my Crux Linux install. I figured I'd do a 'make defconfig' to setup a .config file with the default configuration and then try to add anything I will need for my specific system. I found a script that scans my system and prints out a list of any current modules I am using. That way I can make sure to add these to my new kernel. It looks something like this:
Code:
ac.ko.gz
agpgart.ko.gz
ata_generic.ko.gz
ata_piix.ko.gz
battery.ko.gz
button.ko.gz
compal-laptop.ko.gz
dcdbas.ko.gz
dell-laptop.ko.gz
drm_kms_helper.ko.gz
drm.ko.gz
ehci-hcd.ko.gz
Is there a way to add these to my current configuration without having to go into 'make menuconfig' and search for each one? It's not too hard to search for many of them. But the ones with short names I'm not finding. Like ac.ko for example. 'ac.ko' returns 0 search results and 'ac' returns anything and everything with those 2 letters in it.
View 3 Replies
View Related
Jan 7, 2010
I have installed CentOS 5.4 & am trying to install VirtualBox on it. To install VirtualBox I run the command:
yum localinstall path/Virtualbox.rpm
It runs through the dependency check & says everything is fine. It installs the rpm & then says that compiling of the kernel module failed & that VirtualBox will not start until this is fixed, & that the most like cause is that the kernel sources are not installed.
I have installed the kernel-devel package & have the kernel source tree located at /usr/src/kernel/2.6....
View 3 Replies
View Related
Aug 28, 2009
I am installing a hp officejet pro 8500 all in one printer to knoppix 6.0.1. install hangs saying i need to disable cd sources in etc/apt/source.list. How do i do this?
View 1 Replies
View Related
Mar 7, 2010
Building an nVidia driver requires sources for the currently-running kernel. In my case (Fedora 12), it is, according to 'uname -a',
2.6.31.5-127.fc12.i686
I thought I could get the sources with 'yum install kernel-sources', but there is no such package. Then I tried 'yum install kernel-devel'. That package exists, but the kernel is
2.6.32.9-67.fc12.i686
This is clearly not the correct version.
View 2 Replies
View Related
Sep 9, 2009
What is the difference between kernels which come from the update repository and the plus repository ? Often the same version comes from both, but one says centosplus at the end the other, from the update repository, does not.
View 1 Replies
View Related
Mar 2, 2009
Is it possible to get a package via yum that has the kernel sources? In the "Add/Remove Software" GUI program, I have enabled the "Fedora source" s/w repository. Even then, the only kernel package I can find is the "The Linux Kernel", linux-2.6.27.15-170... which essentially provides only the kernel binaries and headers but not the source.
View 5 Replies
View Related
Apr 5, 2010
I am not new to Debian and used to use commands like "apt-get install <package>", "apt-get update", "apt-get upgrade" and "apt-cache search <string>" regularly. But I never understood those Debian programs and the Debian package system with it's numerous programs and way to install things and work on software and configurations. Now, I just wanted to do something that I thought to be really easy. Get the source of an existing package. And despite spending over 3 hours - including reading the man-pages of commands - I cannot find a way!
Two things:
dpkg --get-selections | grep openvz
linux-image-2.6-openvz-amd64 install
linux-image-2.6.26-2-openvz-amd64 install
I already don't understand why I have two such packages installed. I would like to download the source of my kernel: apt-get source linux-image-2.6.26-2-openvz-amd64. This downloaded linux-2.6_2.6.26-21lenny4.dsc, linux-2.6_2.6.26.orig.tar.gz and linux-2.6_2.6.26-21lenny4.diff.gz
Then, I wanted to patch this - having found no explanation, I did:
cd linux
patch < ../linux-2.6_2.6.26-21lenny4.diff
That seemed to patch the kernel. But I am not sure - there are new files like this now_
[...]
Only in linux-2.6-2.6.26: xenctrl-capabilities.patch
Only in linux-2.6-2.6.26: xenctrl.patch
Only in linux-2.6-2.6.26: xenctrl-privcmd.patch
[...]
So, how can download the complete Debian kernel source? And what do I need to be able to compile it? And - HOW to just list all available sources and search in them?!? I found lots of webpages where tools like "make-kpkg" are used, which I do not understand again. Under SuSE, I could just select the package from a list, say "make oldconfig install modules modules_install" and be ready. Under Debian, I just find no way ...
View 14 Replies
View Related
Dec 28, 2009
How can I use DKMS to force the virtualbox setup to run using the correct kernel sources? This is the error I'm getting in the vbox logs
Code:
Attempting to install using DKMS
removing old DKMS module vboxdrv version 3.1.2
Deleting module version: 3.1.2
completely from the DKMS tree.
Done.
Creating symlink /var/lib/dkms/vboxdrv/3.1.2/source ->
/usr/src/vboxdrv-3.1.2
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.31.6-166.fc12.x86_64 cannot be found at
/lib/modules/2.6.31.6-166.fc12.x86_64/build or /lib/modules/2.6.31.6-166.fc12.x86_64/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without:
Makefile:152: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
Code:
[root@nevada Downloads]# uname -r
2.6.31.6-166.fc12.x86_64
View 8 Replies
View Related
Sep 13, 2010
As it written here [URL]. Fedora 13 does not include the kernel-source package provided by older versions, since only the kernel-devel package is required now to build external modules. Linux kernel, does not belong to fedora. Fedora is derivative work isn't it? Or you rewrite all kernel in fedora 13, and fedora is not linux any more? According to GPL, derivative works must be licensed as GPL. And so you must provide ALL sources for free. Including kernel sources. So, where can I get kernel sources for fedora 13? Or I'm wrong, and you shouldn't provide them if you wont?
View 4 Replies
View Related
Dec 30, 2010
Trying to install VMWare I get the following message:
Really after it VMWare anyway doesn't agree to install. Zypper says that no newer version of gcc is available. So I can't see how I can install VMWare.
View 9 Replies
View Related
Feb 11, 2011
I have an assignment as a CS student to code over Ubuntu Kernel but I am surely a beginner. I need to download all the source files of the Ubuntu kernel source code, make some changes then compile and use it as a custom kernel.
View 4 Replies
View Related