CentOS 5 Server :: Building Custom Kernel 2.16.19-128.1.10?
May 27, 2009
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.
View 6 Replies
ADVERTISEMENT
Nov 8, 2009
I am trying to update my fedora 8 kernel, is there a way to do that? I build the one of kernel.org but when i want to boot it a get a lot of messages like:
mount: cant find /dev/root
I tried to follow the guide at building a custom kernel for fedora, but thats just for the last supported version of the kernel of fedora 8.
View 3 Replies
View Related
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.
View 6 Replies
View Related
Mar 3, 2010
I have compiled and created a kernel rpm kernel-2.6.18165.11.1.el5-3.i386.rpm
then created initrd image
I have installed the above via kickstart installation
%post
mount xxx.xxx.x.xx:/var/www/html/os/i386 /mnt/tmp
cd /mnt/tmp
rpm -uvh kernel-2.6.18165.11.1.el5-3.i386.rpm
cp initrd-2.6.18-165.11.1.el5.img /boot
[Code]....
View 2 Replies
View Related
Mar 18, 2010
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
View 8 Replies
View Related
Oct 12, 2010
I have a few mail servers, a mail log server and a web server running on Centos 5. Now I have a task: to avoid accidental crashes on the production servers while installing updates, my boss asked me to do clones (these clones will all be VMware virtual machines) of the servers (EXCLUDING the actual e-mails and log contents) and then to run those clones on VMWare Server. This way, first I will install and test updates on the clones and - if they will be running without crashes - I will apply the updates on the real production servers themselves.
I have already installed VMWare Server 2.0 I have a few questions: How do I build the virtual machines to exclude the actual mail files and mail logs? Can I use VMware Converter for this purpose, or do I have to use another program? How do I actually do this cloning? Is there a tutorial on how to do this?
View 4 Replies
View Related
May 5, 2009
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
View 2 Replies
View Related
Jul 7, 2009
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
View 6 Replies
View Related
Dec 7, 2010
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 ?
View 2 Replies
View Related
Apr 5, 2011
I got the following error after compiling kernel version 2.6.38.2 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
[Code]...
View 2 Replies
View Related
Nov 12, 2010
I need to build customs liveCd (usb) to run a distributed application that I'm developing. I have been using debian live-helper to build debian live cds, and it's very flexible, and works. But I'm looking for an alternative to it. I have heard about fedora livecd-creator. What do you think is a better tool?: livehelper or livecd-creator, maybe about good hardware recognition, easy to use, flexibility, reliability, etc. What others good tools are to do this job?
View 7 Replies
View Related
Jan 14, 2010
What i want to be able to do is create a custom kickstart for my centOS 5 server. I want to create a bootable cd that I can pop in my server and basically walk away for 45 minutes and I come back and its fully installed. All the directions I have read so far tell me that I have to create a seperate ks.cfg and then I need my original centos cd to get it booted. Then the cd will ask for where the ks.cfg file is and I have to type the location. I just want to pop the CD in and type in linux_clean or something and have it perform a custom install based on the information and specification in my ks.cfg. How can I go about doing this?
View 1 Replies
View Related
Jul 6, 2011
I've built a custom livecd. On my cd files like /lib*/dbus-1/dbus-daemon-launch-helper are owned by bin not root and the rws is rwx on the owner permission.
There are many files like this.
View 1 Replies
View Related
May 16, 2010
I just rebuild the kernel for slackware 13, everything works, but root file system which is ext3 is mounted as ext2. Normally I've build ext3, ext4 and so on as modules, not in the kernel... but if I do this, then the kernel mounts the file system as ext2, which is build in the kernel. I also modified rc.modules so I can make sure that ext3,ext4,jbd are loaded, but it doesnt work.
View 2 Replies
View Related
Feb 10, 2010
I installed openSUSE 11.2 on virtualbox. My host is windows 7. I tried to install the guest additions, but i get an error saying
Code:
Building VirtualBox Guest Additions Kernel Modules...Failed
(Your system does not seem to be set up to build kernel modules)
How should i go about to let my system build kernel modules?
View 7 Replies
View Related
Jan 15, 2010
I need to make a custom ks.cfg DVD for my centOS 5 install. I figured I would download the 5.4.iso. My question is will packages from previous version of centOS 5.0-5-3 work with my 5.4 centOS image?
View 3 Replies
View Related
Mar 10, 2010
the custom-yum.sh script (or, whatever you say ) below:
#!/bin/bash
## Mounting CD/DVD ##
echo "Mounting CD/DVD in /media"
mount /dev/hdc /media
[Code].....
View 13 Replies
View Related
Oct 5, 2010
I installed ubuntu on my laptop recently and would like to have trim support. (Because I have a ssd drive (crucial c-300 256gb). The current kernel that I am using is the 2.6.32 (standard lucid kernel I believe). Unfortunately TRIM support is only available from 2.6.33 and up. So I thought I'd install a new kernel using this howto:
[Code]....
View 1 Replies
View Related
Jan 24, 2010
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.
View 2 Replies
View Related
Feb 28, 2010
I built a home server (NAS/WWW/SSH/media server etc) and chose CentOS 5 as the OS (stability, easy of configuration).I was just about to start tuning the power consumption when I realised that the kernel CentOS uses is so "old" that it does not support the latest reduced power consumption enhancements that Linux has achieved in big strides in the recent past (we are probably still talking 6-12+ months ago e.g. tickless kernel)..
So my questions; 1) I know CentOS was maybe not meant for home servers (certainly its not its primary purpose), but if it is, any ideas of what kind of power consumption it takes (I know its relative) and if there are particular power consumptions that are worthwhile?
2) Do you recommend me compiling my own 2.6.21+ kernel from kernel.org or am I just likely to have compatibility issues (I really did not want to do that) or when is CentOS 5.4 supposed to have a newer 2.6.21+ version kernel?
Was it wrong of me in principle to choose CentOS for a home server when I am power conscious? (I don't have a low-power VIA processor either but a P4 so I am really just hoping to make do with software changes).
View 4 Replies
View Related
Jul 10, 2011
I am trying to build linux kernel I am getting out of space after a while. I unpacked it in /usr/src directory. It seems I have plenty of space. How much space does it need to compile & build kernel. I am using VirtualBox.
root@vinay-VirtualBox:/usr/src/linux-2.6.39.3# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 6.9G 3.2G 3.4G 49% /
none 669M 640K 668M 1% /dev
none 675M 24K 675M 1% /dev/shm
none 675M 96K 675M 1% /var/run
none 675M 0 675M 0% /var/lock
/dev/sr0 39M 39M 0 100% /media/VBOXADDITIONS_4.0.10_72479
View 1 Replies
View Related
Nov 2, 2010
I tried to build linux-2.6.36 but I got this error message
Code:
I looked into gcc-version.sh but the problem is located somewhere else I thought at first one of the files might have been corrupted and I downloaded the archive again.
I must also say that this happened in different versions of slackware (the distro I use): 12.0, 12.1, 12.2, 13.0, 13.1
View 8 Replies
View Related
Dec 8, 2013
I'm trying to build the kernel module for dvbhdhomerun. The problem is the linux kernel headers provided by Debian do not have the dvb header files. Trying to set up my own kernel source tree to use is not working out so well.
I'm following the instructions in the Debian section here: [URL] ....
My first try compiled, but the modules ender up under /lib/modules/3.2.51/extra instead of /lib/modules/3.2.0-4-amd64/extra. Why?
I tried to start over, but noticed this while running apt-get source linux-image-3.2.0-4-amd64:
Code: Select allReading package lists... Done
Building dependency tree   Â
Reading state information... Done
Picking 'linux' as source package instead of 'linux-image-3.2.0-4-amd64'
NOTICE: 'linux' packaging is maintained in the 'Svn' version control system at:
svn://svn.debian.org/svn/kernel/dists/trunk/linux/
[Code] ....
The failure to verify the signature has me concerned, but beyond that, what do I do about the different version number when compiling and installing the kernel modules?
View 1 Replies
View Related
Jul 14, 2011
I am using FC15.I need a kernel with a different configuration - with the "Preemptible Kernel (Low-Latency Desktop)" option in the Processor Type and features menu. I need this to support my firewire audio device. I would like to build a new kernel RPM from the SRPM so that i can keep a clean system with RPMs for all files, and I don't really want to manually override the kernel bypassing RPM.I am following **exactly** the process described there - I install the SRPM, unpack the source, then use the starting sample config files in the BUILD folder to create a new customised .config file with the new option, then copy this back to the SOURCE folder.
This works perfectly if I make a standard kernel. But I cannot get the process to work if I change the config file. Every time I compile I end up with exactly the standard kernel -- a vanilla i686 kernel, without my custom config.I believe the problem is that when I run rpmbuild to compile the kernel, this process overwrites my config option. I found that there is a script (merge.pl) which creates new config files dyanmically for all kernel options based on fragments in the SOURCE folder. It looks like the script never uses the config file that I am putting into the SOURCE folder.The wiki page suggests using this command to copy my custom config file cp .config ~/rpmbuild/SOURCES/config-`uname -m`
View 2 Replies
View Related
Sep 26, 2010
I have an x86 pc and installed lucid these are the details of my distribution version:
I am trying to build a kernel module i am getting the following error:
How to build kernel modules
View 3 Replies
View Related
Nov 19, 2009
I am using Centos 5 with an old kernel. I want to build the latest version for atheros 5K wireless drivers. So i downloaded, and compiled with the ".config" which is already in /boot , and made it ready to run.
However, whenever i try to boot with new kernel, after choosing it from the grub menu, i got the following error. I tried many many .config files but the result was the same.
Here is the screen capture of the error;
I'm trying this process for a week without any success...
View 5 Replies
View Related
May 1, 2011
I'm trying to set up a netbook I purchased that has a lot of more recent hardware, and so I'm having to compile some kernel modules on my own. I've installed Debian on this particular system, and so the version of gcc that was used to compile the kernel is older than the one currently in the repos. Now, I've installed the version I need, but can't remember how to specify building the modules in question with said version.
I've done this in the past, and recall temporarily changing some variable to use the different version, but it's been a while and I just can't remember. Is there an easier way to do this on the fly for any compilation? Or is changing a variable necessary? If there is no way to explicitly specify gcc version used prior to a compilation, could someone remind me of the variable I need to change to use x.x.x version?
View 2 Replies
View Related
Oct 1, 2010
Since there was a lot of talk about virtualization I thought I try kvm -- before I used VirtualBox. I took the SlackBuild from SlackBuilds.org and got an error with u8 as type in /usr/include/scsi/scsi.h. (sorry, I don't have the exact error message anymore..) I searched for its definition and I only found __u8 in /usr/include/linux/types.h. Then I searched the web and found a "fix" which says I have to change u8 from /usr/include/scsi/scsi.h to __u8. This problem was solved, but when I run the SlackBuild now it stops at some point and I don't know why. These are the last few lines of output:
CC arm-softmmu/translate.o
CC arm-softmmu/tcg/tcg.o
CC arm-softmmu/tcg/tcg-runtime.o
CC arm-softmmu/fpu/softfloat.o .....
LINK i386-softmmu/qemu
AR arm-softmmu/libqemu.a
LINK arm-softmmu/qemu-system-arm
root@tux:/home/christian/Downloads/kvm#
I put an echo after the make for building kvm and I put an echo after "make install". None of them are printed.
View 14 Replies
View Related
May 21, 2009
I have centos 5.3 workin on mini itx atom 330. i have some problem with the network when i use Samba. when i move big files the network goes down. i wanna to install the new kernel on my centos to try to fix the network problem with the new drivers includes on the new kernel.
View 2 Replies
View Related
Jul 30, 2010
I upgraded my kernel in my Debian Lenny to version 2.6.32-bpo.4-amd64 to fix a problem with a software and ALSA-related issues. The thing is that now, when I boot, eth1 is not enabled and I have to "load" (I guess) the driver each time. To do this, I go to the folder where all the files for the drivers are and I run:
modprobe lib80211
and then
insmod wl.ko
That I got from the readme file. That gets the wireless working perfectly again, but when I reboot the wireless is dead again and I have to run the commands above again. I imagine that what I should do is to build the driver again, for my new kernel. However, according to the readme file, before I need to install linux-headers-generic and build-essential. With build-essential, it says it's already the newest version, and with the linux-headers, I don't know which one should I install for my kernel! I thought it would be the linux-headers-2.6.32-bpo.4-xen-amd64, but when I tried that, this is what happened:
debian:/home/hernan/Programas/hybrid_wl# apt-get install linux-headers-2.6.32-bpo.4-xen-amd64
Reading package lists... Done
Building dependency tree
[code]....
So the warning says something about the MODULE_LICENSE being missing... how to build the driver again to make it load each time I boot?
View 3 Replies
View Related