Software :: Compiling Patch - Installing With Full Kernel Sources?

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


ADVERTISEMENT

OpenSUSE Install :: Installing Kernel Through RPMs Without Compiling Sources?

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

General :: Compiling Kernel Sources Or Its Modules

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

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 View Related

Slackware :: Compiling Kernel Sources To Add Few Options

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

Debian :: Installing Kernel Sources - Compile And List

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

Debian :: Compiling And Installing A New Kernel?

May 29, 2011

i downloaded the latest stable release of the linux kernel 2.6.39 and i did the following ran the command

Code:

make xconfig

and there were no errors so far so good

then i ran

Code:

make in the mix of all the command line and characters one of the lines said

Code:

stack protector enabled but no compiler support because of this the rest of the installation process is not going well i am unable to install the new linux kernel successfully. the kernel shows up on the grub boot menu but goes into a kernel panic when i try to boot it. how do i compile the new kernel in debian squeeze

View 9 Replies View Related

General :: Apply Kernel Patch - Couldn't Find File To Patch

Apr 8, 2011

I just want to upgrade my Slackware 13.1 kernel (2.6.33.4) to the latest stable kernel from kernel.org (2.6.38.2). I have never done anything like this and I am a Linux newbie, so I would appreciate a "Kernel Patching for Dummies" version if possible. I did do a search on this forum and most of what I read was over my head. I found an FAQ on kernelnewbies.org on "How To Apply A Patch" but when I attempted what they suggested, it said it couldn't find the file to patch at line 5 and asked me which file to patch. So I CTRL-Z'd out of there and came here. Here's what I tried:

[code]...

View 14 Replies View Related

General :: Cannot Boot After Compiling And Installing Kernel

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

Debian :: Installing Kernel Sources - Make Command To Build Package Fails

Jul 22, 2010

I'm trying to build the package zaptel on debian, but I'm encountering two errors:
1- When I try to run the "make menuselect" command, I get an error stating that I need ncurses which is missing. I tried to get it installed but didn't get to do it yet.
2- After that, there's the command "make" I think it's to build the package. Yet again this fails, and the error I get is "you do not appear to have the sources for the 2.6.26-2-686 kernel installed".

View 3 Replies View Related

General :: How Much Size Should Give When Compiling And Installing A Kernel

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

General :: Compiling And Installing Kernel Into User's Own Folder

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

Hardware :: Installing NVidia GeForce 2 MX 400 - ERROR: Unable To Determine The Version Of The Kernel Sources

Jan 11, 2011

I have installed Arch Linux quite a few weeks ago; but I'm still trying my best to install the nividia display driver for my graphics card (nVidia Geforce 2 MX 400). Not only in Arch but have tried installing on other distros and still failed. I have read up all the documentations and I still find it hard to do this task. When I used the terminal and executed the NVIDIA-Linux-x86-94.43.01-pkg1.run file without any window manager running, I get this problem:

Quote: ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.35-ARCH/build'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.

ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at [URL].

Now I'm using Arch Linux Kernel 2.6.35 and I have got the source. But where am I suppose to put it now? I do not want to change the kernel. I just want the nVidia installer to identify that there is a kernel source so that it can install. I have searched up a lot on websites and ended up with no proper guide. This is a very old driver. So since now I have the nVidia driver installation package and also the kernel source

View 13 Replies View Related

General :: Remove Patch From Kernel / Apply A Squashfs-lzma Patch (squashfs 4.1cvs)?

Sep 11, 2010

is there a way to remove a patch from a kernel?

I need to apply a squashfs-lzma patch (squashfs 4.1cvs) to the liquorix kernel source which is already patched with squashfs 4.0.

how would I do that?I tried googling got this. url

but I dont know the command used to apply the patch the patch is called

35.4-3.patch.gz
url

but that patch includes more than squashfs,etc

View 1 Replies View Related

OpenSUSE :: Compiling XEN 4.0 From The Sources In 11.2.

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

CentOS 5 :: Compiling Racoon With RADIUS Support + Tacacs / Libradius Patch?

Nov 30, 2010

I'm trying to recompile racoon with libradius support however I'm having issues getting it to play nicely. It appears racoon uses the following implementation of tacacs+libradius [URL] however I'm having trouble compiling it:With a base configure and make I'm receiving the following:

[code]....

View 3 Replies View Related

CentOS 5 :: Compiling Racoon With RADIUS Support + Tacacs / Libradius Patch

Aug 30, 2010

I'm trying to recompile racoon with libradius support however I'm having issues getting it to play nicely. It appears racoon uses the following implementation of tacacs+libradius [URL] however I'm having trouble compiling it: With a base configure and make I'm receiving the following:

[Code]...

View 2 Replies View Related

Debian :: Compiling Kernel - 2.6.26 Version Of Kernel Doesn't Longer Exist In Kernel.org Website

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

Red Hat / Fedora :: Compiling And Installing The Custom Kernel Under Fedora

Jun 22, 2011

I am compiling and installing the custom kernel based on the instructions provided in Building_a_custom_kernel on fedoraproject.org/wiki site.

However, according to the instructions, anytime I change anything in the kernel source files(e.g /driver/ata/libata-core.c), I have to create a patch a rebuild the whole kernel and install this new kernel which takes 2 hours. Is there a simpler way of recompiling what has changed(without creating patch) and try that changed kernel? Since my changes are not in the drivers which can be dynamically loaded but is in the static code of the kernel, it is making life cumbersome.Are there any instructions for this? How does other kernel developers manage this?

View 2 Replies View Related

Debian :: Compiling Sources - Configure Shows Prog Missing

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

Fedora Installation :: Making A Kernel Patch Work With F11 Kernel?

Jun 12, 2009

there is an issue with the way the Linux Kernel addresses memory by default and the graphic drivers for my Asus G1Sn. I have a patch that I had compiled against a custom kernel for 2.6.27.xx how ever it does not work with the latest kernel in Fedora 11. It is beyond me to rewrite the patch to work with a different kernel.

View 1 Replies View Related

Debian :: Jessie Missing Full List Of Sources After Rescue?

Dec 26, 2015

Yesterday I used the Live DVD's Rescue Mode to re-install Grub(2) in the MBR of my hard drive. Today, I am surprised to see a very different /etc/apt/sources.list file that only has one line, as follows:

Code: Select alldeb cdrom:[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie contrib main

View 10 Replies View Related

Red Hat :: Difference Between 'kernel Sources' & 'kernel-devel'

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

Ubuntu :: 200-line Kernel Patch

Jan 14, 2011

Is it already in the latest Ubuntu kernel or, if not, should I employ it or it's wonderful alternative or just wait for it get into the kernel?

View 9 Replies View Related

Debian :: Tried To Patch Kernel And Failed?

Jun 1, 2011

Ok here's the problem : I tried to patch the kernel of my Debian server with GrSecurity but when I rebooted I couldn't SSH the server anymore, but my host has a rescue system that lets me SSH the server so I can fix things.

So maybe the kernel patching failed, maybe it's a only a problem with Grub.

I don't really know what to do to fix this. If I messed up the kernel what can I do ? Can I just fix the problem by modifying the grub entries to only boot on the old kernel (I don't even know if it's here anymore, I'm quite the n00b) ?

Well for now I'll just try to mount the partitions (won't let me do "mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab" )

edit : to be clearer my main question is : how can I determine if it's because the kernel is messed up or because the system wouldn't boot properly ?

edit 2 : is there a way to create a log of what happens at boot so I can have an idea about what's wrong ?

View 7 Replies View Related

General :: Kernel Patch That Does Wonders?

Nov 16, 2010

IMO it really is the big thing! The patch being talked about is designed to automatically create task groups per TTY in an effort to improve the desktop interactivity under system strain. Mike Galbraith wrote the patch, which is currently in its third version in recent weeks, after Linus Torvalds inspired this idea. In its third form, this patch only adds 224 lines of code to the kernel's scheduler while stripping away nine lines of code, thus only 233 lines of code are in play. Tests done by Mike show the maximum latency dropping by over ten times and the average latency of the desktop by about 60 times.

[Code]...

View 1 Replies View Related

General :: Trying To Patch The Meego Kernel?

Apr 5, 2011

I'm having no luck trying to apply this Kernel patch to Meego 1.2 (Running Linux Kernel version 2.6.37) I want to apply the first patch featured here on this page:

url

How do I go about patching this file into the Kernel?

View 4 Replies View Related

Debian :: Download Suggested Kernel Patch

Jul 30, 2011

Chris Wilson 2011-07-29 02:08:19 PDT wrote:Out of curiosity, we found a widespread bug affecting modesetting. Just on the off-chance that this is a timing issue and a incorrect clock setting

View 7 Replies View Related

Fedora :: Unable To Apply Kernel Patch

Dec 10, 2009

I'm having problems to install SCST in Fedora 11.I'm not able to apply the kernel patch because there isn't a file called drivers/scsi/scsi_lib.c in the /usr/src/kernels/2.6.29.4-167.fc11.i868.PAE.Does anybody have an idea on how to proceed?

View 3 Replies View Related

General :: Ubuntu 10.04 - Apply A Patch To Kernel?

Aug 18, 2011

I am trying to compile the iscsi-target software SCST. It wants me to apply a patch to my Linux kernel in order to allow for certain performance gains. The problem is I still new to Linux development. Where do I begin? How do I apply the patch? Do I need to recompile the kernel? I am running Ubuntu 10.04.3 amd64

Kernel version 2.6.32-28-server

View 1 Replies View Related







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