I'm working on the development of a custom kernel (actually just a "small" change in the networking part), from the standard 2.6.23.17 source code (downloaded from kernel.org), on CentoOS 5.3. I'm using the following procedure to build and install the kernel:
1)cd <ROOT_DIRECTORY_OF_KERNEL_SOURCE>
2)Modifiy the 4th line of the Make file as follows:EXTRAVERSION = .17CUSTOM
3)make clean && make mrproper
4)make menuconfig
5) make rpm
I want rebuild my 2.6.18.-128.e15 kernel in CentOS 5.3? but i have one trouble. When i type make bzImage I see
make[1]: *** No rule to make target `init/main.o', needed by `init/built-in.o'. Stop. make: *** [init] Error 2
on the screen. It is because kernel sourse codes are not full. I can not search full sourse codes of 2.6.18.-128.e15 kernel.not in src.rpm , not in tar.bz2 etc.
I have an Nvidia graphics card,... actually I manage several workstations that run centos and have an nvidia video card. I also have a personal computer with ubuntu and an nvidia network card.
I would like to do a regular automatic update of those Centos workstations. (With a pilot group to test and then a full roll-out). Until oktober 2009 no major difference in automatic updating ubuntu and centos (apart from the differences between apt and yum):
After a kernel upgrade, the systems can not boot into it's Xorg gui, because the nvidia driver must be rebuild (=not recompiled, because this is partially object code, the driver is not opensource).
But from ubuntu 9.10 onwards, the kernel update process checks for the presence of propietary drivers like those of nvidia and does a rebuild on the reboot, so that the system can succesfully boot into the xorg GUI (and gdm or kdm) My question is: Are ther any plans for Centos to do the same, this would relief me from some upgrade hassle for the Centos workstations that I manage. Or does anyone know about a (good) automagic workaround?
I have been using F12 for while now, I had applied update when it available. After the latest update, my laptop have lot of Kernel Crash error and it hang up more often. I try to upgrade to the F13 or F14 but not successful at all. My only hope now is to rebuild the Kernel to the early Kernel. How to rebuild the Kernel to 2.6.31.5. My current Kernel is 2.6.32.26-175.fc12.i686.PAE Gnome 2.28.2 1G memory Intel PIII mobile 1.13G
I have backtrack 4 on vmware player... i have intel (R) wifi 5100 agn wireless card and when i type airmon-ng there is nothing shown on interface....it's empty... i downloaded a driver from here [URL] and i have been told i need kernel rebuild... i have kernel 2.6.30.9 so how can rebuild it?
my wireless doggle is not suppoerted out of box on squeeze.It's based on zd1211rw,just lack the vendor and product id.how can I hack the source and rebuild the driver module?
I rebuilt my kernel with dynamic ticks, high resolution timer support, and hugepagetlb and hugepagetlbfs support. Now X does not load. If I start it as root, xclock shows up and then the screen goes black and I can't do anything. Normally xclock and three xterms show up. If I start it under my normal account, I get a black screen with nothing but a cursor, which moves and has the "busy" pointer. It is not configuration because I booted an old kernel and am using X under that right now.I also set CONFIG_PM_RUNTIME to no. My monitor uses DPMS so maybe that may have done it.
New build of Slackware 13.1 x86_64 in Dell E4310 laptop. The stock install works fine barring a few bits of hardware but after recompiling the kernel X loads and immediately freezes, whence I need to soft power down (I cannot switch back to a console). On capturing stderr from the command line, when executing startx I get various warnings including:(polkit-gnome-authentication-agent-1:2368): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failedCan't really tell if the above is relevant... Sorry I can't dump the lot because the machine isn't on the net yet.
There is nothing errorwise in the Xorg log after a reboot. The very last line relates to a video mode with modeline info etc. I have compiled either into the kernel, or as modules everything I think I need though unfortunately I seem to have to load them all manually, so I hav no idea of I've missed something important. This includes all the Intel drivers i915, drm, intel_agp etc.Googling suggests bugs with polkit and I don't know why gnome has anything to do with my system in any case.Other thing that I find annoying is that xorg.conf no longer exists and I am relying on the HAL daemon, about which I know nothing. It took me ages to find how to change the X keyboard map - very frustrating. How do I confirm which video driver etc.?
I just implemented dracut on my Slack. It works well, but for this also I had to rebuild the kernel. Everything works as it should beside KDM. When KDM start mouse/keyboard don't work. I check the logs and I don't actually see any errors.Note: Im using Slack in VirtualBox with fbdev or vesa driver and it doesn't work with neither of the drivers. I suppose its something missing in the kernel, but don't know what.Before rebuilding the kernel and implementing dracut, everything work with fbdev and/or vesa
I have installed and configured Slackware 13.1 and it works perfectly. Now I'm going (actually forced) to downgrade kernel version down to 2.6.32. Is there any caveats? Do I need rebuild any other packages from sources?
I've got a server running a software Raid for SATA disks on a P5E motherboard.
I had to had a lot of memory on thi sserver, then I have had to flash the bios. This has resetted the software raid on the disks, then when I boot, i got a Kernel Panic cause it doesn't find anything ...
how to rebuild the raid ? I can boot on a live cd, or anything else, but don't know how to do it without loosing my data.
After restoring from a hardware failure, I cannot get bridging to work again. I reinstalled the host version 5.5, and copied the .img file back onto the rebuilt machine. I also had the network scripts and iptables backed up. Through virt-manager I re-attached the virtual machine, and when I boot it, I get a MAC address conflict on the vm's eth0; "Device eth0 has a different MAC address than expected". The vm had a static ip address.
I have a serious problem in booting centos 5.4 x86 as shown in the attached picture.I tried to backup before using fsck command, but I could not make a backup of damaged lvm on hard drive.First I made a rescue centos at virtualbox, and installed centos 5.4 x86 on virtual hard disk.And I attatched damaged hard drive. S I can see this damaged hard drive's lvm as attached picture.Please let me know how to backup my files and to use "fsck.ext3 --rebuild-tree using livecd".
the normal auto updater ran and installed a new kernel for security vulnerability and it was a .pae version. So after restart I now have 4 options on the boot screen, which includes the normal "SUSE" and a 'SUSE pae" version. defaulted to the new pae version and booted up. I got the video definition not found and had to enter a value manually. The system comes up but not into x system. It gives me a login prompt and startx yields a "terminal not found." Ran SaX2 and startx now works. Unfortunately my KDE desktop is messed up now. There are none of the normal "taskbar" at boot up started processes there. So what should I have done? how do I get my system back to normal and roll out the new kernel and all these changes?
I just used dd to clone a linux partition to a new hard drive, it had 800mb left on the old hard drive, after dd, new hard drive lists 1.29/1.3 terabytes full. Is this what happens by default in dd? How can I fix this?
I'm trying to figure out how to access the local part and the domain part of an email address in postfix's main.cf. For example, myname@mydomain.net has myname as the local part and mydomain.net as the domain part.I get the whole email address with %s. I want to speed up the lookups by writing better database queries.I've had no luck finding this in the otherwise well documented postfix.
we have access to one domain name , 1 internet ip address and may servers hosting different part of site. I want them all to be accessed via same web site . some of the server in our network are embedded devices.they have their specific utility being hosted on that machine. So the severs are bound to be distributed . I just wanted to know how can I access them via single ip, domain name.
Aside from a few minor issues, I've been happy with VLC 0.9.9.
I recently did a yum update to get to Centos 5.5. I've got yum pointed to Dag.
Everything worked fine, until I restarted VLC 0.9.9.
In the update it looks like ffmpeg was updated to the 6.X branch, x264, and how vlc 0.9.9 was recompiled.
wait wait wait.. let me clarify, vlc 0.9.9 still works, but a key function in it that i use has broken.
I am able to do a yum downgrade on x264 and ffmpeg, but I am unable to downgrade VLC because it tells me there is no down grade path. How do I go about requesting the previous version of VLC be added back to Dags RMP site?
I spent sometime hacking on things the last 2 days, and was able to compile using the same ./configure options that were compiled from Dag with ffmpeg 5.2, and x264 and I get them to compile cleanly. VLC 0.9.9 source compiles and the errors I'm hitting go away.
I don't think the ffmpeg 6.X rmp is broken, i just think its to new for vlc 0.9.9 and breaks certain functionality.
In bootseqence of linux, the first step is check the CMOSRAM(size 64bytes) setup for custmor setting. So i am just confused wether CMOSRAM is a part of motherboard or is a part of RAM itself.
I'm migrating from a system that has sasldb enabled as a mechanism for saslauthd. For CentOS, this feature is commented out (disabled) in the *.spec file for the RPM, and the default mech in /etc/sysconfig/saslauthd is MECH=pam. I would prefer the authentication passwords be separate from the system login (in my case, /etc/passwd).
I tried rebuilding the SRPM with rpmbuild, but ran into errors after adding the switch --enable-auth-sasldb. Is there some clever way around this, where I can get the /etc/sasldb2 used under PAM? Or am I just approaching this incorrectly.
I recently installed a server with Software RAID. I tested by powering it down, unplugging one drive and powering it up. Magically, it worked!I found out later that I have to manually add individual devices like md1 to sda2 md2 to sda4. I got all of them added and rebuilt but my question is: Is there a way to make it so that if I "removed" a drive and put it back, the system will senses the new drive and rebuilds based on some internal table?
A part of the disk space is unavailable: Only 37 GB out of 80GB is accessible A part of the disk space is unavailable: Only 37 GB out of 80GB is accessible. I have a vmware instance of CentOS setup with 80GB of Hard Disk space ( Preallocated). When I login to the system I only see 35 GB.
After following this wiki article here detailing how to rebuild the Debian kernel, I'm encountering errors:
HowToRebuildAnOfficialDebianKernelPackage
These were the errors generated at the end of the console output.
Code:
Is there something more specific someone (including myself) would need to diagnose this? I'm unsure how to generate a log for the build process, even if possible...
after update to kernel-2.6.18-164.el5 one of the 2 NIC's of my machine are only found at 1 of 4 reboots. Using the old one kernel-2.6.18-128.7.1.el5 all is fine. This are the to NIC's:
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: