CentOS 5 :: Create A Custom Kernel Using 188.8.131.52 Kernel Source?
Oct 31, 2009
I'm running CentOS 5.3 and would like to know what the "best" or "proper" method is to build a custom kernel using the generic kernel sources from kernel.org. Most of the references I've found talk about modifying the current CentOS kernel using the RPM way. I really want to have the latest kernel due to some important security issues that haven't been addressed in the current CentOS 5.3 kernel.
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.
I need to install Ubuntu on approximately 50-60 netbooks. None of them have CD drives, and I don't want to have to install them individually, walking around with a USB stick. I figured the fastest way to install on so many machines is to use a combination of apt-cacher (http://www.debuntu.org/how-to-set-up...ith-apt-cacher) and netbooting. I have successfully booted one machine to test, but as soon as the kernel comes up, support for the network interface is gone. Specifically, the "atl1c" module is not included on the netboot initrd image. Also, I would like to try to use preseeding, and I need to get that onto the initrd as well.
So, to summarize my question: How can I create a custom install kernel and initrd? I have a feeling it's related to the "debian-installer" category in the package repository, but I have not found any good documentation about doing this.
I have a problem with my custom kernel when I want to create the Nvidia kernel module.After this finished I installed the image and headers and created the Nvidia kernel module. Everything worked fine.However, if I remove the linux-source from my home directory then I can't create the kernel module.Even though I have the headers for the kernel installed.
I have builded my kernel through wiki manual, BUT, the kernel-headers rpm-package has not been builded. Now i have only two packages: kernel and kernel-devel. Is that ok? (i think, that it is not ok, because when i build the same version of kernel on x86_64 platform, after rpmbuild command i have kernel, kernel-devel and kernel-headers packages) My CentOS version is 5.2; platform i686; kernel, kernel-headers, kernel-devel packages 2.6.18-92.el5.
I am trying to build a custom kernel but I couldn't. Here are the steps to reproduce it: 1. Set Up an RPM Build Environment as its is explained in [URL] 2. Then follow the instructions in [URL] 3. When I try to install the kernel source rpm I get the following error:
[matias@Centos ~]$ rpm -i [URL warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root . . . warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root error: unpacking of archive failed on file /home/matias/rpmbuild/SOURCES/linux-2.6.18.tar.bz2;4ba24901: cpio: read
I have been wanting to increase the fps rate of my current game servers, and I need to have a custom config for this cause I'm only hitting 500. I have, attached, a custom kernel config and not to sure what to do with it at this point. The file name is config-2.6.24-zen4-lld.no-po.2000hz
# # Automatically generated make config: don't edit # Linux kernel version: 2.6.24-zen4-lld.no-po.2000hz # Tue Nov 25 22:54:23 2008 # Zen Options # Kernel Tunables # CONFIG_ZEN_SERVER is not set ..... # IO Schedulers # CONFIG_FINGERPRINTING is not set
I need to compile a custom kernel for my xserve1,1. Or are there people who already managend using centos on their intel xserve? The current centos 5.3 kernel configuration does not support EFI. Right now I am able to boot the installation of centos to the welcome screen and get stuck at the part where I need to skip or run the cd test. (keyboard and mouse won't work)
Just the boot screen Screen where I pick option 2, the cd installer Image shows ubuntu but it is centos. forgot to change the menuentry description name in grub.conf ROMimage present The screen that I see after image 3 The screen that I see after image 3 The window of centos
I tried the centos 5.3 86_64 DVD and netinstall. I already managed to run debian/ubuntu on my xserve1,1 with use of refit + grub2 but I need centos to use cpanel...
My xserve specs: Xserve1,1 Dual-Core Intel Xeon Processor Speed: 2 Ghz Number of processors: 2 Total number of cores: 4 L2 Cache (per Processor): 4 MB Memory: 8 GB Bus Speed: 1.33 GHz Boot Rom version: XS11.0080.B01 SMC Version (system): 1.11f5 LOM Revision: 1.2.8
Installed: OSX 10.5.7 server Developertools: 3.1.2 refit: 0.13
I have read that when using xfs with lvm2, prior to kernel 2.6.29 write barriers are by deffault disabled.As i want to migrate /home to xfs (and create a external partition to hold some data in xfs too) i was thinking in compile a custom kernel 2.6.30 or higher from [URL].I have read the wiki, all the warnings , and that for compile a kernel.org kernel you should use the Linux Kernel in a Nutshel guide/book. But i don't really know if would worth do that only to have write barrier support , more when in one month i will buy a ups to be sure i can shutdown the pc well if the power goes out.Should i enable write barriers on xfs with lvm2 ,although going to have a ups ?
I got the following error after compiling kernel version 184.108.40.206 from sources with this Howto:[URL].. Creating root device.
Mounting root filesystem. mount: could not find filesystem '/dev/root' Setting up other filesystems. Setting up new root fs setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults
Trying to install virtualbox in F12 but fails when recompiling kernel module. Output of vbox-install log is:
Attempting to install using DKMS removing old DKMS module vboxdrv version 3.1.6 Deleting module version: 3.1.6 completely from the DKMS tree. Creating symlink /var/lib/dkms/vboxdrv/3.1.6/source -> /usr/src/vboxdrv-3.1.6
DKMS: add Completed.
Error! Your kernel source for kernel 220.127.116.11-99.fc12.i686.PAE cannot be found at /lib/modules/18.104.22.168-99.fc12.i686.PAE/build or /lib/modules/22.214.171.124-99.fc12. code....
I am trying to install set up of wanpipe for E1/T1 card. First of all downloaded the source code from [URL] and did all step needed for rpmbuild and copy the source code into /usr/src/kernels. Below is kernel information uname -r 2.6.18-194.3.1.el5
rpm -q kernel-devel kernel-devel-2.6.18-194.3.1.el5 uname -a Linux localhost.localdomain 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux
Now point is when I run the ./Setup install for wanpipe its ask for path of kernel source which is present in /usr/src/kernels. its show : Kernel source 2.6.18-prep in /usr/src/kernels/kernel-2.6.18/linux-2.6.18.i686 is not supported! and set up is halted.So can somebody guide me why kernel source is not supported.
I am running an Hp Pavillion dv6000 with the Broadcom card that never seems to work for Linux. I recently talked with my friend who said he found a way to get it work.following his instructions I opened Synaptic and checked the package bmcwl-kernel-source to be installed.I went through the process of it all and it said it had install successfully. I restarted the computer and when I tried to enter my operating system I got this error "Kernel panic - not syncing : VFS : Unable to mount root fs on unknown - block(8,1)" I have previous versions of Linux on my computer so I can still get in to those if need be but I don't know how to undo what I did or why it isn't working for that matter. Does anyone have any ideas as to why I am getting this error and how I can fix it?
I installed the latest kernel liquorix (2.6.35) but when i want to install the Nvidia driver downloaded on the Nvidia website (256.53), i have an error message because Nvidia doesn't found the kernel source tree.
I install linux-image-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb, linux-headers-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb and build-essential. I don't understand why the installation doesn't works.
It sounds like he's making a difference between the kernel "source code" and the kernel itself(as in the downloaded file/ files) but the way he talks about both is the same.So then, if one had already "installed" the "kernel sources code," why would he need the "tarball with the newest Linux kernel?" He's already "installed" a kernel, right?
how to install redhat 6 beta kernel source rpm under CentOS 5.5? I just download the kernel source rpm-- kernel-2.6.32-19.el6.src.rpm. And I tried run "rpm -i ", it was failure. The error message is "error: unpacking of archive failed on file /home/xliang/rpmbuild/SOURCES/Fedora-KVM-allow-userspace-to-adjust-kvmclock-offset.patch;4bf439e4: cpio: MD5 sum mismatch"
uname -r prints 2.6.18-164.el5 Yum install kernel-headers/kernel-devel gives me 2.6.18-194 When trying to run virtualbox I get an error: Kernel Driver not installed: (rc=-1908) Please reinstall the kernel module by running "/etc/init.d/vboxdrv setup" as root...
/etc/init.d/vboxdrv setup Stopping VirtualBox kernel modules [OK] Uninstalling old VirtualBox DKMS kernel modules [OK] Trying to register the VirtualBox kernel modules using DKMS Error! Your kernel headers for kernel 2.6.18-164.el5 cannot be found at /lib/modules/2.6.18-164.el5/build or /lib/modules/2.6.18-164.el5/source. [FAILED] (Failed, trying without DKMS) Recompiling VirtualBox kernel modules [FAILED] (Look at /var/log/vbox-install.log to find out what went wrong)
I'm assuming the setup program is using the output from uname -r to determine the kernel, the problem is the kernel sources I've got from yum do not jibe with the uname value.
i was not able to install alsa...showing the error checking for directory with kernel source... 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.18-194.el5xen/source). my friends installed the alsa for cent os 5.4...how to rectify this...
I have installed the fedora 14, but there is no kernel source tree.I read the doc "building a custom kernel".But I don't want to rebuild a new kernel.I just want to install the source tree of current kernel.Could someone tell me the way?
I compiled my kernel, compiled scsi support into kernel, used the new kernel and initrd, the boot failed.Then ,i unzip my initrd, found that sd_mod.ko can't be insert, i added it manual, and reboot OK.so, why! in the kernel configure , the sd_mod.ko is set to <M> , but why it can't be found in initrd?
The server runs# uname -r2.6.18-128.4.1.el5However, today I executed yum update kernel*due to security advisory. I was just about to reboot the system when I realized that it runs VMWare Server Instance that will most likely fail to restart after kernel upgrade (I had a hard time fixing it after previous kernel update). Now I want to keep 2.6.18-128.4.1.el5 after reboot.I see that new kernel is scheduled for booting:
i am already a little bit familiar with linux and now i want to know better the linux OS. i have downloaded the source code of the krnel from the kernel.org and i dont understand the linux source trees organization, so can somebody do me a favor and give me a link to some internet page (or at least a book) that explains that?? i have searched in the internet with the tag:::linux source trees organization and i have not found nothing interesting
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?
I'm trying to create new RAM image file to get my server load raid1 module upon start, I was following redhat documentation & it suggested to use the following command mkinited --with=raid1 inited-raid1-$(uname -r).img $(uname -r) However after running this command I'm getting this message No Kernel available for 'inited-2.6.18-128.el5"
a stock fedora 11 install on my embedded board results in the primary CompactFlash card being driven by the SCSI driver and is called SDA..running my custom kernel which i have slimmed down and yanked out the SCSI stuff because I dont need it, results in my CompactFlash card being called HDA of course driven by the ATA driver.which should I be using? both work just fine.. the CompactFlash card is on board and according to Soekris is actually run from an IDE controller, as there is no SCSI on board..
so im assuming the less amount of system overhead is to run it as IDE?I have no issues running it either way I just want to do whats right.. and what is going to be supported in kernels down the line, as im considering a bump from my current 2.6.30 kernel upwards for my project.