CentOS 5 :: Custom Kernel For Enable Write Barriers With Xfs And Lvm2,worth?

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


ADVERTISEMENT

General :: Write Kernel Module That Will DMA Custom Card?

Aug 31, 2010

I am trying to write a kernel module that will DMA my custom card. Right now when i plug the card into linux no valid PCI device shows up (meaning I probably have a error on my end, i know) however, If I halt the system at startup in the bootloader (uboot) I am able to directly access the card as I know in uboot the physical memory address that is mapped to my device. Is there a way I can access the card in a simliar fashion in linux?

View 1 Replies View Related

General :: Kernel: JBD: Barrier-based Sync Failed On Dm-0 - Disabling Barriers

Sep 28, 2010

hi this is madhu,i came across with this problem in my daily aminstration issues,so plese let me know about why this error occur.

View 1 Replies View Related

Slackware :: Worth Changing Chost If System Built With Custom Prescott Cflags?

Oct 18, 2010

I built my slackware system from source code. Bootstrapped, toolchained etc.. The only thing I didn't change was the chost thinking that life would be easier if left alone @ i486. Would I have gained anything if I had used i786 or even pentium4 (pentium4-slackware-linux-gnu)?

I already got all the benefits of optimization when I used (still using) my own CFLAGS CXXFLAGS right? So changing the chost won't do anything speed wise will it? If I used march=prescott when compiling everything am I ok to just forget about the chost value? It's not gonna change anything will it?

View 7 Replies View Related

CentOS 5 :: Create A Custom Kernel Using 2.6.31.5 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.

View 6 Replies View Related

Fedora Installation :: Custom - Lvm2 Group With Encryption And Have The /boot File Stored Within?

Oct 15, 2009

I need to install a lvm2 group with encryption and have the /boot file stored within. Is this possible in Fedora's graphical installer? I know it can be achieved in Arch(I know I'll need grub2, I assume that's coming in Fedora 12) I can always install it separately.

View 6 Replies View Related

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

CentOS 5 :: Install Custom Kernel Rpm Via Kickstart

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

CentOS 5 :: Unable To Build Custom Kernel

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

CentOS 5 :: Custom Kernel Config For High FPS Game Servers

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

CentOS 5 Hardware :: Compiling Custom Kernel For Apple Intel XServe

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

CentOS 5 :: Custom Kernel Panic - Not Syncing: Attempted To Kill Init?

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

CentOS 5 :: Enable Kdump For Kernel 2.6.26?

Oct 25, 2010

Update kernel to 2.6.26, i don't know how to enable kdump for this kernel version.

at http://debuginfo.centos.org/5/x86_64/ not find kernel-debuginfo-2.6.26,
how to enable it ?

View 3 Replies View Related

CentOS 5 Hardware :: Enable New Libata Library Without Recompiling Kernel?

Sep 9, 2009

I use CentOS 5.3 with kernel 2.6.18-128.1.6.el5 for Clonezilla. It would be simpler for me if any of IDE or SATA drives detects as /dev/sdX device. Because when I cloning computers with Clonezilla it is matter which type of drive connected to cloned computer. So I must firstly clone computers with IDE drives, after that with SATA drives. If all drives would detected as /dev/sda I would can clone all computers at once! Is there simple way to enable new libata library without recompiling kernel? Is there already compiled kernels with this feature?

View 7 Replies View Related

Debian Configuration :: Nvidia Kernel Module With Custom Kernel

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

CentOS 5 :: Yum Update Dependency - Kpartx And Lvm2

Jan 5, 2010

I'm trying just a generic yum update to bring the machine up to date, I'm running into problems with two packages and their dependencies, kpartx and lvm2

I've removed any additional repositories, and performed a yum clean all

I think my problem comes down to device-mapper, it's asking for 1.02.32-1 to install lvm2 however if I run a yum list device-mapper it only shows 1.02.24-1.el5 as installed, and it is not marked for update. I've tried downloading the rpm directly, If i try to install the rpm with yum I'm told that there is nothing to do, if I try to install directly I run into problems with conflicts with the already installed package.

The kpartx seems dependent on device-mapper-multipath

I'm getting this problem on 2 machines.

View 11 Replies View Related

Fedora :: Write Custom Genre To MP3?

Jul 12, 2011

I'm currently switching from Mac OS X to Linux (Fedora 15). I've now moved my music library (about 40 GB), mostly in AAC (*.m4a) format. Since I didn't find a way to adjust the volume of these files using MP3Gain (although I read that it should work with AACs, it didn't), I've decided to just convert all files to MP3 using faad and lame. So far so good. (BTW: I've already converted them, so I don't need any help with AAC/MP3Gain...)

The problem: Lame ereases all the tags. I found a way to preserve at least the most important tags (title, artist, album, track number and year) using exiftool to extract them from the AAC files and id3tag to write them to the new MP3 files.. I'm loosing the album artist, but I have not many compilations, so that's not a real problem.

The real problem are the genre tags. My songs are all carefully tagged with custom genres, and I didn't find any way to write custom genres to MP3 files, only the predefined ones. So I just copied the genres into the comment tag to at least preserve them because I wanted to start the conversion process (which takes really, really long on my 3 years old MacBook).

Does anyone know a way to copy the custom genre from the comment tag (it's the only entry) to the genre tag? A way to write it to the MP3 is enogh, I already know how to copy it from the comment tag. The writing is my problem.

View 6 Replies View Related

Ubuntu :: Enable A Custom Shortcut?

Jun 11, 2010

Just installed latest ubuntu,

I want the "system monitor" to pop up on ctrl+alt+delete, I'm still damaged from long time on windows ^^

Anyways this is what i have done:

1. system > keyboard shortcuts

2. made another shortcut for "log out" (is ctrl-alt-delete default)

3. then "add" name=Ctrl-Alt-Delete and command=gnome-system-monitor

Now my new custom shortcut is disabled. How can i enable this?

View 2 Replies View Related

CentOS 5 :: LVM2 Clustered Mirror Monitor And Repair?

Apr 8, 2009

I am using LVM2 Clustering to mirror logical volumes between 2 different storage arrays ( iscsi target hosts). Everything is up and running fine, but I would like to be able to monitor the status of the mirror(s), and "re-sync" them if necessary.

I have attempted the locate the information from Google. From what I have read, lvdisplay -v should tell me whether the mirrors are in sync, but it either is not, or I am simply miss reading it. I have come also across information stating lvchange -m [ 0 | # ] should be used to add or remove mirror copies. Is the is correct / only way to "resync" a mirror, in the event that I can determine the mirror is actually out sync?

For those who are familiar with Symantec's VERITAS volume manager, I am looking get the equivalent information related to plexes from vxprint, the equivalent function from /etc/vx/bin/vxreattach -br, and the progress information from vxtask list. I hope the information is currently "search challenged", or I am simply not fully comprehending what I have found.

View 1 Replies View Related

CentOS 5 :: Recovering - Lvm2 - Can't Access Anything In That Logical Volume With Standard Tools

Jun 22, 2009

I made a mistake with lvm2 on centos 5.2.

I used parted to create a partition inside the logical volume, and then merrily used that partition, which appeared as /dev/pv-whatever/lv-whateverp1

Of course I created the FS as ext3.

So, after a reboot, I can't access anything in that logical volume with standard tools, as /dev/pv-whatever now only has the lv-whatever special file inside.

I can look inside the LV with parted fine, but parted can't copy ext3 filesystems.

Is there any way to get the data out of a partition created INSIDE a logical volume if that filesystem is ext3?

View 1 Replies View Related

CentOS 5 :: Yum Update Dep - Device-mapper-event Is Needed By Package: Lvm2

Sep 8, 2009

Trying to do a yum update to get everything to latest, towards the end it says this:

[Code]...

how to get around this? I tried yum clean all, then yum update, again but it did the same. I had other deps missing on other servers but yum clean all fixed them -- can't find anyone else who's had this specific issue either, nor an rpm called 'device-mapper-event' or the other things that are missing - am kinda stuck!

View 8 Replies View Related

CentOS 5 :: CentOS5 With Clustered Lvm2 : Not Booting Anymore (VolGroup00 Not Activated)?

Sep 13, 2010

I "inherited" a cluster of 2 systems with XenCluster, based on CentOS 5.5. About five weeks ago I ran the (long overdue) yum update, which crashed in the middle of updating on both nodes, so I had to reinstall all those packages by hand and had to re-enable their startup. So both systems are already in the not-ideal state.

One system rebooted itself during my absence and now won't boot anymore. It seems to boil down to clustered lvm not being activated in the initrd and therefore no VolGroup00 available, which contains the root. The other volume group has good reasons to be clustered but the root does not need to be. But I can't fix it from a rescue CD, every time the error comes up that the volume group is clustered.The exact error display at boot is at

http://people.cs.uu.nl/koos/screen-20100913140414.png

what do I do to either fix the startup to ignore VolGroup00 being clustered OR change the status of VolGroup00 to non-clustered?I notice the other system has this too so my best guess is that I'll have the same problem in a bigger way when this system reboots too. Hoping for no power failures...Relevant versions of stuff:

centos 5.5
kernel 2.6.18-194.11.1.el5xen
mkinitrd-5.1.19.6-61.el5_5.2
lvm2-2.02.56-8.el5_5.6
lvm2-cluster-2.02.56-7.el5_5.4

(from the still running system)

View 2 Replies View Related

CentOS 5 :: CentOS 5.3 "yum Install Lvm2-cluster" Fails?

Mar 31, 2009

Is this caused by the different version numbers? Is lvm2-cluster going to be updated soon?

[root@localhost ~]# yum install lvm2-cluster
Loaded plugins: dellsysidplugin, fastestmirror
Loading mirror speeds from cached hostfile

[code].....

View 3 Replies View Related

CentOS 5 Hardware :: Installing CentOS 5.3 Using Custom ISO And Drive Disk?

Nov 10, 2009

I am having new hardware and IDE driver for that hardware as drive disk image (it8213_centos53.img). CentOS 5.3 installation is working fine with drive disk image at USB and CentOS 5.3 at DVD. Our application uses CentOS 5.3 and we build a custom kick-start ISO for installations. Using that ISO client is going to install on all hardware boxes.

Note while installing :
a) No network connection is avalible.
b) No USB isavalible.
c) No floppy is avalible.
d) Only single CD-ROM is avalible.

So, is it possible to build single custom kick-start CentOS 5.3 ISO which contains dirve disk image and entire installation will be done using that image. If so please let me know the steps to build it.

View 2 Replies View Related

OpenSUSE Install :: 11.4 - Enable Grub Or Boot Write To MBR

Jul 28, 2011

I have a windows 7 hard drive as Sda0 and have a second hard drive as Sdb1, which is where I want to install OpenSuse 11.4. Now here is where I am not sure on the install, so I don't screw my self up. I have 100mb partition on sda0 that windows 7 is using, do I enable grub or have the boot write to MBR?

View 3 Replies View Related

Fedora :: Custom Kernel HDA Or SDA?

Oct 14, 2010

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.

View 8 Replies View Related

Server :: Custom CentOS 5 Install With Ks.cfg File And CentOS All In One

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

Server :: Unable To Enable Write Access To Samba Share

Aug 14, 2010

Hi,

I'm pulling my hair out trying to figure out what is wrong with my Samba share. I have set up a directory /samba to serve up some movies, music, etc, on an Ubuntu 10.04 Server box. For now, I have given that directory 777 permissions, along with the subfolders:


Code:
drwxrwxrwx 4 michal michal 4096 2010-06-22 18:02 Apps
drwxrwxrwx 3 michal michal 4096 2010-06-22 19:02 Music
drwxrwxrwx 3 michal michal 4096 2010-08-14 19:27 Pics
drwxrwxrwx 5 michal michal 4096 2010-06-22 19:48 Video
This is how my smb.conf file looks like for this particular share:


Code:
[share1]
comment = share1
browsable = yes
path = /samba
write list = michal
Furthermore, I went ahead and mapped the Samba user to my Linux user account in /etc/samba/smbusers:


Code:
michal = "michal"
When I try to login from a Windows machine using michal as the username, I can see the folders, but I am unable to create new files on the share. Considering that the file system permissions are liberal on the share directory, I have no clue as to why I'm still getting denied write permission.

Any ideas? Thanks!

View 1 Replies View Related

Debian :: Custom Kernel Compiling.

Feb 23, 2010

I been trying all day to compile a kernel i downloaded from http://www.kernel.org/ (2.6.32.8 )Following this help thread viewtopic.php?t=4468.When i invoke make xconfig i'm just kinda lost at that point. Not really sure what to do, so i just save it as is and then compile/install.when i try to boot the kernel, a kernel panic happens saying it can't not mount the root partition.So i am sure i am missing a step with the xconfig part but not sure what.

View 5 Replies View Related

Fedora :: Custom Kernel - Where To Pull RPM

Jun 18, 2011

This is (I'm sure) a silly question, but when reading the guide for custom kernel [url] it mentions I need to use yumdownloader to pull the source as an RPM.

How exactly do I find mirrors etc for this (and where do I configure it)?

I've already got the source locally along with the patches I want to use, and want to try this the 'fedora' way. I'd normally just use make/make modules etc, but I've never tried it via RPM.

View 4 Replies View Related







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