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


ADVERTISEMENT

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

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 :: 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

General :: Compile And Install New Kernel 3.0?

Aug 1, 2011

I am gonna compile and install new kernel 3.0?
what is your suggestion?
shall i? on my duo Core? with 2.7 gb ram?

View 1 Replies View Related

General :: Compile Kernel On Fedora 10?

Apr 5, 2010

so my problem is how to recompile my kerenl with TUN/TAP driver,i got how to compile the kernel with TUN/TAP driver every thing is going OK, when i run the commends , just in the last commend when i reboot my laptop i choose grub to enter on new kernel , but when i choose it , i got black screen .so please help me to solve this problem , for more information about my laptop , i have just one partition my root is (hd1,1). my ram is 2G, speed 2GHZ, i use Linux-2.6.27.42, but the new one is the last kernel available in website. i am in rush please inform me as soon as possible,

View 10 Replies View Related

General :: How To Compile A Kernel In Fedora

Jul 6, 2010

i have downloaded .src.rpm file from net.i dont know how to compile that.can u tell me the basics of linux kernel compilation.how to compile a kernel. how to install or modify the existing running kernel with tat. etcI am using fedora 12 it has 2.6.31.5-127.fc12.i686.PAE

View 5 Replies View Related

General :: Can't Boot After Compile A New Kernel?

Jan 12, 2011

I installed a fedora with kernel 2.6.15-1 (quite old, isn't it ?) on my vmware workstation and try to compile a new kernel with 2.6.15.2 just for testing. I download the kernel and compile with that:make menuconfig make modules-install install

then I reboot the server but if i choose the new kernel. the system poped up the error msg like : Unable to find device-mapper major/Minor No volume groups found unable to find volume group "VolGroup00"
Unable to access resume devices (/dev/VolGroup00/Logvol01)mount: could not find filesystem '/dev/root'

yes. I am using LVM to setup the fedora.

i search online and find some possible causes:
1) the .config does not contain support for LVM.
then i choose to enclude the support for LVM

2) need to re-create initrd i use commond initrd --force-lvm-probe to generate the .img file

But both the method do not work. and i notices that the new '2.6.15.2.img' is about 1.5M which is smaller than the current 2.6.15.1 img (1.7M)

View 14 Replies View Related

General :: Compile Linux Kernel For Different Machine?

Feb 10, 2011

I am new to kernel development,and I have to compile a kernel with some specific features and then install it on some machines.The problem is that these machines are slow,and hence I want to compile them on a fast desktop once and then install them on the machines.I am following this guide from Ubuntu wiki.

So what I plan to do is, download the source and generate a config file on one of the slow machines, copy both to the faster machine, generate the image on the faster machine and then install it on all the slow machines. The slow machines are almost identical (same cards, processors, OS etc.) but different from the fast machine(different OS and processor). So will this work or not?

View 2 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 The Kernel 2.6.35 As Per Project Requirement?

Dec 23, 2010

I have Debian 5 machine on which I want to compile the kernel 2.6.35 as per my project requirement.

View 6 Replies View Related

General :: Unable To Compile A Kernel 2.6.29.1 On Fedora 14

Feb 14, 2011

i was trying to install kernel 2.6.29.1 on fedora 14 but it is giving error. First download a package with kernel and i saved in home/user/linux. Afterwards i can extract this package.

1.tar -xvzf linux-2.6.29.1 -C /usr/src
2.cd /usr/src/linux-2.6.29.1/
3.make menuconfig
4.make
5.make modules_install
6.make install

after above steps i got this error.

ERROR: modinfo: could not find module ip6t_REJECT
ERROR: modinfo: could not find module nf_conntrack_ipv6
ERROR: modinfo: could not find module ip6table_filter
ERROR: modinfo: could not find module ip6_tables
ERROR: modinfo: could not find module ipv6
ERROR: modinfo: could not find module fuse

however it gives initramfs,vmlinuz-2.6.29.1 and System.map-2.6.29.1 in /boot folder and menu.lst in /boot/grub is updating according to new kernel. when i reboot my machine and selects the kernel 2.6.29.1 it shows FATAL:kernel too old [1.591633] Kernel panic-not syncing:Attempted to kill init

View 6 Replies View Related

General :: Shortcut To Compile Kernel File?

Nov 5, 2010

I become successful to download kernel, compile it and run it.BUTWhen i modify tcp.c file or any other file in this /usr/src/linux/net/ipv4 location, (just modifying c files) i have to compile the complete kernel every time, which is very time consuming procedure.So Please help, How to compile that net/ipv4 package or etc.

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

General :: Create Linux-libc-dev Package When Compile Ubuntu Kernel?

May 6, 2011

I've compiled the last stable ubuntu kernel (2.6.38-...) following this guide: How to compile a Ubuntu 10.10 kernel but in this guide doesn't explain how create linux-libc-dev package for that kernel? How do I do?

I've tried with fakeroot debian/rules binary-arch-headers but it returns an, IMHO, absurd error:

mkdir /home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/
mkdir: cannot create directory `/home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/': File exists
make: *** [install-arch-headers] Error 1

The error is correct but this folder is created in the same process!

View 1 Replies View Related

General :: MAKE BZIMAGE Doesn't Work When Compile And Install New Kernel?

Jul 19, 2010

whenever i'm in the process of compiling and installing a new kernel in ubuntu lucid lynx i get an error message when i get to the make bzimage part is there some sort of program that i needed to install first or is there an alternative to doing this.

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

Fedora :: Where To Get Correct (F12) Kernel Sources

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

CentOS 5 :: Random Kernel Panics / Correct It?

Jul 8, 2009

I'm running CentOS 5.3 x86_64 on my laptop (dell vostro 1400, core2duo, 3GB RAM, intel 3945ABG wireless, nvidia video and LAN). The problem is that some times (like 15-20% of times) I shutdown the laptop, I get a kernel panic related always to the wireless kernel module (I haven't been able to get screenshot or anything). I'm using the latest centosplus kernel. I never get these panics with the standard CentOS kernel, however the standard kernel doesn't light the wireless led, and that annoys me a lot. Therefore I'm forced to use centosplus kernel. The question is not how to solve this (i know I've not given enough details) but what to do to diagnose better the cause of the panic and then correct it.

View 3 Replies View Related

Debian Configuration :: Correct Procedure To Install A New Kernel ?

May 13, 2011

Which is the correct procedure to install a new kernel into a machine which is running a old kernel in DEBIAN ?

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

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

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

Software :: Compile Kernel 2.6.35.7 For Centos 5.5

Oct 12, 2010

Has anyone compiled kernel 2.6.35.7 for centos 5.5 x86? I am compiling the kernel for the first time.

[Code]....

But failed to boot the system. find the error message in the image file attached.

View 4 Replies View Related

Slackware :: How To Compile / Upgrade Kernel 2.6.38.3

Apr 17, 2011

People, there is a tutorial to upgrade the kernel 2.6.38.3(compiling tutorial included =D) to Slackware 13.1??And, this upgrade generate a better performance on system??

View 14 Replies View Related







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