Ubuntu :: How To Modify Kernel And Compile It

Aug 16, 2011

I am new to Linux Kernel. I want to disable branch prediction in kernel and recompile for my research purpose. Can anyone point me to clear instructions on where i can find the kernel config file in ubuntu and steps to recompile the updated kernel

View 1 Replies


ADVERTISEMENT

Ubuntu :: Compile Application From Source In Order To Modify?

Sep 1, 2011

I have the source of the application I want to modify, as well as the list of dependencies I need in order to compile. I got the source code for those and compiled/installed them. I'm fairly sure that all of the dependencies are installed. However, when I go to run the compiler it crashes while parsing some of the code.

I had the application installed before, and it ran. After tinkering around trying to get the source to compile, the app no longer runs either. It crashes, and if run from the CLI, spits out something about not finding one of the files from the SDL library.

So obviously I did something wrong to mess everything up, because I'm in a deeper hole than when I started. Anyone know how I would go about fixing this? Or even starting with a clean slate so that I can have another go at it?

View 3 Replies View Related

Programming :: If Modify Tcp.c Stack File And How To Compile

Nov 4, 2010

i have just modify tcp.c file in/usr/src/linux/net/ ipv4 location.Now should i compile the complete kernel?if not then how to compile that net/ipv4 package or etc.

View 1 Replies View Related

Fedora :: Find Kernel.spec File For Compile Vanilla Kernel?

Nov 29, 2010

i want to compile the vanilla kernel 2.6.37-rc3, but i want to obtain a .rpm file. I found this guide long time ago (i used it many times) but it use src.rpm package and the contained kernel.spec file have many lines for adding patches. Someone know where can i download a kernel.spec for vanilla kernel or a guide to obtain an rpm file

View 4 Replies View Related

Ubuntu Installation :: Kernel Parameters : How To Modify Them

Feb 4, 2010

Bottom line first: Is there a GUI or otherwise friendly tool to modify the kernel parameters? One that will give help on a highlighted parameters?

Now as to my reason for this question:

In preparing for an Informix installation, I may need to change some kernel parameters. I could follow the advice of G�rard BIGOT from a couple of years ago at this URL. However, messing with the kernel this way, by directly editing /etc/sysctl.conf, is a bit scary. I have already backed up the current one and started editing according the Informix machine notes. However, I have commented out my new settings. [:Chicken]

The scariest aspect of this is that the notes recommend settings to kernel parameters that I do not find in /proc/sys/kernel. for example, it recommends setting SHMMIN to 1 but when I can /proc/sys.kernel/shmmin, there is no such file. (I did find shmmax.) Similarly for the very logical shmseg (max number of shared memory segments) - not found. I am afraid to add these into sysctl.conf if the equivalent pseudo-files don't exist.

Additional question: Where [on-line] do I find all kernel parameters documented? This is so that I am more certain of what I am doing instead of relying on my memory. For example, I don't recall the names of the parameters that control Kernel-Asynchronous I/O (KAIO) events.

View 3 Replies View Related

Ubuntu :: Modify The Source Code Of The Kernel?

Oct 4, 2010

I want to modify the source code of the kernel so that the new compiled kernel should disable USB ports.

View 4 Replies View Related

Programming :: How To Modify System Kernel

Dec 7, 2010

For my work, I have to modify the routing lookup process at Linux kernel.

The details is below:

A-----B.

We have pcA, pcB (using Linux OS kernel 2.6.26.5) connect together. We need to modify the source code of kernel at B in order to if A sends the packets with destination IP address as C, pcB still receives this packet and send to transport layer (that means, it bypass the routing lookup process at kernel).

The solution I used as the following code...

View 12 Replies View Related

Debian :: Modify The Source Of A Custom Kernel?

May 1, 2011

I'd like to create a custom squeeze kernel. Is it a really bad idea to edit to edit the kernel config file directly instead of using "make config", "make menuconfig" or "make gconfig"? My problem is I missing a search function, for example in "make menuconfig" and cannot find some entries.

View 2 Replies View Related

General :: Modify Kernel With Non-Preemptive Scheduling

May 1, 2010

How to modify kernel to non-preemptive process scheduling only. Suggest any site that provides this kind of source code.

View 1 Replies View Related

Fedora :: Subject - Modify Only Parameters In Kernel Config

Aug 28, 2009

I want to start to play with "homemade" kernels. (To get some experiences in this subject). I want to do this step-by-step. I have already read a lot about this. I have a Fedora 10 running. So I want to start with this. I have read that there is a "special" way to create a kernel for Fedora. [URL] OK. I understand this +/-. When you build a new kernel with an other version number, you have to rebuild all the modules with this new kernelversion, and you have to install these also.

But : I want to start with modify only some parameters in my kernel config. Do I need to rebuild and re-install the modules also? Will it not be enough to rebuild only the kernel? (vmlinuz) Where can I find some information about the options I can disable in my kernel to speedup my system? (boot process ed). I want to suppress the loading of unneeded modules. I want to understand the options in menuconfig (and there are a lot of options ! ! )

View 1 Replies View Related

Slackware :: How To Modify Grub To Boot Using Generic Kernel

Feb 16, 2011

My Slackware boots using the huge kernel. I am not using LILO; I am using GRUB from the extras directory on the DVD. I followed the tutorial @ [URL] up to the point where it discusses modifying LILO. My /boot/grub/menu.lst reads, in part:

# Linux bootable partition config begins
title Slackware Linux on (/dev/sda7)
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 ro vga=normal
# Linux bootable partition config ends

This boots the huge kernel. What changes must I make to the above menu.lst entry to boot using the generic kernel?

View 3 Replies View Related

Ubuntu :: Compile Kernel 2.6.31-20-generic-pae

Feb 24, 2010

I want to compile a custom kernel, because I need a path for a device. Here is what I've done:

Code:
$ cd /media/work/temp/
$ apt-get build-dep --no-install-recommends linux-image-$(uname -r)
$ apt-get source linux-image-$(uname -r)
$ cd linux-2.6.31

[Code].....

View 1 Replies View Related

Ubuntu :: Compile Symantec AV Against Kernel?

Apr 13, 2010

Has anyone successfully compiled Symantec AV Autoprotect against the current Ubuntu Kernel?

I am using the kernel 2.6.24-27-generic. I'm following these instructions for Symantec Autoprotect: http://service1.symantec.com/SUPPORT/ent-security.nsf/docid/2009081214270148

and when I run the "build.sh" I receive the error message code...

Is there another option or really what am I doing wrong?

View 2 Replies View Related

Ubuntu :: Kernel Compile On USB Pendrive?

Oct 28, 2010

I'm using xubuntu 10.10 on usb, and i compile a new kernel but just i cannot access it. If I used harddisk instead of usb, simply, i can select my new kernel version in grub screen. However, there is no grub when booting from usb. So i cannot any selection.how can i reach the new kernel, when using xubuntu on usb?

View 2 Replies View Related

Ubuntu :: Compile Or Download 2.6.33 Kernel

Jan 5, 2010

I'm testing ubuntu karmic koala and would like to try it with the 2.6.33 kernel. Do I have to compile my own or is there one available somewhere?

View 4 Replies View Related

Ubuntu Installation :: VMware 7 Cannot Compile Under 2.6.32-10 Kernel

Jan 15, 2010

I upgraded to Ubuntu 10.04 2.6.32-10-generic today. After a succesful update that fixed a couple of nagging problems on my laptop (nice work guys) I started VMware Workstation. I got the expected "Before you can run VMware, several modules must be compiled..."

The compile errors out and points to the setup log. I have searched and found several very similar posts all relating to build-essential or kernel-headers not being installed. I have verified both are installed and up to date.

Here's the important part of the log:

Code:
Jan 15 17:39:16.079: app-139708855981824| Trying to find a suitable PBM set for kernel 2.6.32-10-generic.
Jan 15 17:39:16.080: app-139708855981824| Building module vmmon.

[Code]....

View 4 Replies View Related

Ubuntu Installation :: Can't Compile Upstream Kernel 2.6.33-rc8 On 9.10

Feb 23, 2010

I'm trying to build kernel 2.6.33-rc8 according to the documentation here: [URL] , but at a late stage in the compilation, I'm encountering the following error:

Code:
/usr/bin/make -f ./debian/rules debian/stamp/binary/pre-linux-image-2.6.33-rc8-custom
make[1]: Entering directory `/root/src/linux-2.6.33-rc8'
====== making target debian/stamp/install/linux-image-2.6.33-rc8-custom [new prereqs: ]======
This is kernel package version 11.015.

[Code].....

View 7 Replies View Related

Ubuntu :: Old Kernel Compile Errors Resurface

Mar 2, 2010

I un-installed all packages that I downloaded and removed all references to the attempted kernel and I thought it was over. Today I tried to install xubuntu-desktop and the install exits with a dpkg errros that refers to that old custom kernel attempt. I run dpkg as instructed (see below):

[code]...

I cannot run apt-get until I try to figure out where this error is.

View 1 Replies View Related

Ubuntu :: How Much Space Does It Take To Compile Custom Kernel

May 28, 2010

I've about 5.5GB of free space....whenever I try to compile the kernel my system runs out of space...says zero bytes remaining maybe I din't configure it that well I cant exactly figure out which drivers/modules I need in order to obtain a working kernel.

View 8 Replies View Related

General :: Compile Kernel 2.6.35 On Ubuntu 9.10 ( 2.6.31-14-generic )?

Aug 5, 2010

Trying to compile Kernel 2.6.35 on Ubuntu 9.10 (2.6.31-14-generic).

got: The UTS Release version in include/linux/version.h""
does not match current version:
"2.6.35-xxx"
Please correct this
make[1]:***[debian/stamp/install/linux-image-2.6.35-xxx] Error 2
make[1]:***leaving directory `/usr/src/linux-2.6.35'
make:*** [kernel_image] Error 2

Can any one tell me what should I do? Is this Ok for using the compiled vmlinux image?where can I find the correstponding initrd file if this kernal compile is Ok?

View 1 Replies View Related

General :: Compile Kernel Which Is Old One?

Oct 14, 2010

I wanna compile tha kernel which is old one.how to do that.

View 8 Replies View Related

Red Hat :: Why Kernel Cannot Compile Kvm.ko For 32-bit Rhel6

Apr 29, 2011

I compiled kernel-2.6.32-71.24.1 on 32-bit rhel6, but there is no kvm.ko. what if I want to use kvm on 32-bit rhel6.

Steps to Reproduce:

1. install kernel-2.6.32-71.24.1.el6.src.rpm

2. rpmbuild -ba kernel.spec

3. find /root/rpmbuild/BUILD/kernel-2.6.32-71.24.1.el6/linux-2.6.32-71.24.1.el6.i686/-name kvm.ko

Actual results:

not found kvm.ko

View 1 Replies View Related

Ubuntu :: The UTS Release Version Error Kernel Compile?

Mar 5, 2010

I get the error

Code:
make[1]: Leaving directory `/usr/src/linux-2.6.33'
test ! -e scripts/package/builddeb || mv -f scripts/package/builddeb scripts/package/builddeb.kpkg-dist

[code]....

View 9 Replies View Related

General :: Install / Compile Driver In Ubuntu Kernel?

Apr 5, 2011

How can I install or compile this driver in ubuntu kernel.

View 5 Replies View Related

Debian Configuration :: Compile The 2.6.36.2 Kernel?

Dec 16, 2010

Trying to compile the 2.6.36.2 kernel. Its not the first kernel I've compiled, but I've run into a problem I've not come accross before.

While compiling I get this error.

[Code]....

Looks like the headers sys/eventfd.h and linux/virtio_rng.h haven't been selected in my .config file. I just copied my old config from the last kernel I built. This was a while ago (2.6.30), but I thought I'd give it a go anyway.

what config option they are under or what I can do to get rid of this error?

View 2 Replies View Related

General :: Cant Compile The Newest Kernel?

Dec 11, 2010

Recently i downloaded the stable version of kernel from kernel.org then i extract the tarball to /usr/src path , then after i complile the kernel for fuse and ext4 modulescommand which i use is mention below

[root@localhost linux-2.6.36.1]# make menuconfig
[root@localhost linux-2.6.36.1]# make
[root@localhost linux-2.6.36.1]# make modules

[code]...

View 2 Replies View Related

General :: Correct Way To Compile A Kernel?

May 24, 2010

I want to boot into a new kernel like 2.6.34 over the default 2.6.18 RH/centos kernel. i know you cant copy the .config file and use it since there are so many changes so what is the best way to compile the kernel and get the right settings?

View 1 Replies View Related

General :: How To Compile Kernel For Better Speed

Apr 3, 2010

I'm looking for a good kernel guide for practical tips on how to compile my kernel for better speed. At the moment I'm using genkernel under gentoo and just taking the default options (with a splash). This compiles for ages and takes a good while to load.The kind of things I'm looking for are advice on:Removing modules from the kernel that are not loaded during normal use.Core components which can (and should) be loaded as non-modules for speed of boot.How to save and load kernel options so they don't have to be repeated every time I want to compile a kernel.

View 5 Replies View Related

General :: Compile Kernel 2.6.31 On Fedora 12?

Jan 1, 2010

i tried to compile linux kernel 2.6.31 on Fedora 12: the make , make modules and modules install ran successfully but problem with make install while trying to create image it looks for mkinitrd command which is not available i downloaded and installed the mkinitrd pckg and make install was now successful i got kernel img and initrd img in /boot

also grub was updated properly but i m not able to boot up the new kernel the problem the initrd seems to be and uknown type file to fedora core and the current kernel has initramfs img with a .cpio extn instead of initrd

View 3 Replies View Related

General :: Re-compile The Kernel To Get UDF Support?

Aug 31, 2010

A while back I compiled a custom kernel, 2.6.35. I forgot to add UDF support when configuring and compiling. Will I need to re-compile the kernel to get UDF support or is there some other way I can add it?

View 6 Replies View Related







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