Red Hat / Fedora :: Compiling And Installing The Custom Kernel Under Fedora

Jun 22, 2011

I am compiling and installing the custom kernel based on the instructions provided in Building_a_custom_kernel on fedoraproject.org/wiki site.

However, according to the instructions, anytime I change anything in the kernel source files(e.g /driver/ata/libata-core.c), I have to create a patch a rebuild the whole kernel and install this new kernel which takes 2 hours. Is there a simpler way of recompiling what has changed(without creating patch) and try that changed kernel? Since my changes are not in the drivers which can be dynamically loaded but is in the static code of the kernel, it is making life cumbersome.Are there any instructions for this? How does other kernel developers manage this?

View 2 Replies


ADVERTISEMENT

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

Ubuntu :: Compiling A Custom 64 Bit Kernel With BFS?

Aug 1, 2010

I would like to try and optimize my kernel a bit. Since I am doing this on a fresh install, I don't really care if the os gets bricked in the process, and I am sure I can bring it back if I can boot into a recovery console from the old kernel. So, I followed thispost. I patched it and copied and edited a config file from /boot/, saved it as .config, I tried it several times with both removing and not removing /debian and /debian.master directories from the source, yet I always get the same error when I run "make oldconfig".

Code:
$ make oldconfig
scripts/kconfig/conf -o arch/x86/Kconfig
*** Error during writing of the kernel configuration.
make[1]: *** [oldconfig] Error 1

[Code]...

View 1 Replies View Related

Ubuntu Installation :: Compiling A Custom Kernel With Kernelcheck?

Dec 18, 2010

I am thinking about compiling a custom kernel with Kernelcheck. I would like to know if I do compile my kernel will future kernel updates from Canonical replace my custom kernel? Please explain this in simple terms. This would be my first time compiling a kernel.

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

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

Fedora :: Compiling A Vanilla Kernel?

Apr 9, 2010

I am trying to compile a vanilla kernel that I got from git in a VirtualBox VM running Fedora 12. With RHEL (albeit on real hardware, not a VM), I am able to do a make; make modules_install; make install and simply able to boot up the kernel. The make install step, in particular, creates the initrd using /sbin/installkernel, which also updates the grub configuration.

Under Fedora 12, my new kernel does not boot. I see no messages on the screen, not even if I change the boot command line to remove quiet bootup. I see disk usage on the VM and the CPU gets pegged at 100%. Strangely enough, if I change the initrd to refer to an existing, Fedora-provided kernel, I can boot my new kernel without any problems. I started with a Fedora kernel config and used it to generate the config for my new 2.6.33 kernel, so it couldn't be the case that I missed something in the config either.

Does anybody have an idea about what could be going on? Is there some specific patch that Fedora kernels use that are essential for booting up?

Also, the guest Fedora OS is 64-bit, if that is relevant.

View 2 Replies View Related

General :: Compiling 2.6.23.4 Kernel On Fedora 11

Feb 24, 2010

I am trying to compile older version of kernel 2.6.23.4 on my fedora 11.

I am following below steps:
1)make menuconfig
2)make bzImage
3)make modules
4)make modules_install
5)make install

Kernel is compiling. After doing make modules_install it says:

My grub.config looks like:

But after that the cursor only blinks nothing happens.

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

Debian :: Compiling And Installing A New Kernel?

May 29, 2011

i downloaded the latest stable release of the linux kernel 2.6.39 and i did the following ran the command

Code:

make xconfig

and there were no errors so far so good

then i ran

Code:

make in the mix of all the command line and characters one of the lines said

Code:

stack protector enabled but no compiler support because of this the rest of the installation process is not going well i am unable to install the new linux kernel successfully. the kernel shows up on the grub boot menu but goes into a kernel panic when i try to boot it. how do i compile the new kernel in debian squeeze

View 9 Replies View Related

Fedora :: Building Custom Kernel For F8 To Update?

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

Fedora :: Kmow-wl Package For Custom Kernel

May 16, 2010

i just upgraded myself with all available packages from the kde-testing, and fedora-updates-testing repo's. i am dealing with one problem..... i am running kernel:

Code:

@localhost ~]$ uname -r
2.6.32.10-44.fc11.i686.PAE

however,, there are no kmod-wl packages for that kernel, so i have no wireless at the moment. how do i build / obtain kmod-wl package for my kernel? rebuilding the kmow-wl src packages does occure in build for an older kernel:

the command

Code:

rpmbuild -ba --target=`uname -m` wl-kmod.spec

results in:

Code:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/-/rpmbuild/BUILDROOT/wl-kmod-5.60.48.36-1.fc11.4.i386
Wrote: /home/-/rpmbuild/SRPMS/wl-kmod-5.60.48.36-1.fc11.4.src.rpm
Wrote: /home/-/rpmbuild/RPMS/i686/kmod-wl-PAE-5.60.48.36-1.fc11.4.i686.rpm
Wrote: /home/-/rpmbuild/RPMS/i686/kmod-wl-2.6.30.10-105.2.23.fc11.i686.PAE-5.60.48.36-1.fc11.4.i686.rpm
Wrote: /home/-/rpmbuild/RPMS/i686/wl-kmod-debuginfo-5.60.48.36-1.fc11.4.i686.rpm

View 6 Replies View Related

Fedora :: No Sound In GNOME With Custom Kernel?

Apr 6, 2011

I have a strange and inexplicable problem I've never had before - I can play audio as usual from the terminal on Fedora 14 with my custom 2.6.38 kernel. But, when I log into GNOME, any attempt to use an application that uses audio gives me a "permission denied". The "Sound preferences" shows a dummy output device and no entry in the "hardware" section. Using the distro kernel and a 2.6.33.7-rt kernel from planet ccrma works fine.

Is there anything I'm supposed to build into the kernel that Fedora 14 requires that wasn't a requirement for earlier versions?

View 2 Replies View Related

General :: Cannot Boot After Compiling And Installing Kernel

Apr 14, 2010

I have a virtual box running CentOS 5.3. I am experimenting with compiling and installing a kernel 2.6.33 on this.

However, the kernel compiled ok, but when I did the install it gave me these warning, not sure if they are important or not.

The steps I did was:

Code:

Code:

In my grub.conf I have the following:

Code:

When I try and boot I get the following problem:

Code:

View 11 Replies View Related

Fedora :: Getting Error While Cross Compiling Kernel On 14 Host

Feb 9, 2011

I am cross compiling a linux kernel for the mips platform. I have installed the tool chain and everything. When i try to build the kernel i get the following error message.

HOSTCC -static scripts/basic/fixdep
scripts/basic/fixdep.c: In function traps
scripts/basic/fixdep.c:377:2: warning: dereferencing type-punned pointer will break strict-aliasing rules
scripts/basic/fixdep.c:379:4: warning: dereferencing type-punned pointer will break strict-aliasing rules
[Code].....

If i set up the toolchain on a fedora 13 machine with the exact same procedure, the cross compilation works fine. I can't figure out how this can be fixed. I am currently considering downgrading to fedora 13 due to this.

View 3 Replies View Related

Fedora :: Making Stuffs Work With Custom Kernel?

Sep 26, 2009

Today I decided to try to install 2.6.31.1 on Fedora 11, x86_64.I did it differently from what appears to be the RPM way, I instead just compiled it from the source.Anywho, ndiswrapper with NetworkManager doesn't work in the new kernel

View 12 Replies View Related

Fedora :: Install An Older Kernel - Custom - But RPM Wont Let ?

Mar 3, 2010

I am building a series of custom kernels...for one of them i am using a kernel that is older than my currently installed ones.

I am using rpm to install this kernel and it will not install, period. i don't get why i can't install this....what does it matter that i am installing an older kernel? and why is fedora/rpm designed to not let me do this?

Code:

There should be an easy way to get around this, but i haven't figured it out yet. i've googled around, no luck. i bounce between kernel versions all the time without problems on my system, so why is rpm setup for strict versions on a kernel? and is there no way around this, and i just have to delete all three of those kernels, i don't really want to. 2 of them are awesome and i shouldn't have to build them again, that would be complete crap! and i wouldn't have this problem on my debian setup, so why fedora? (i generally think fedora is better)

View 6 Replies View Related

General :: How Much Size Should Give When Compiling And Installing A Kernel

Apr 13, 2010

I have downloaded the newest most stable Linux kernel, 2.6.33.2.

I thought I would test this using VirtualBox. So I create a dynamically sized harddisk of 4 GB. And installed CentOS 5.3 with just the minimum packages.

I setup the make menuconfig with just the default settings.

After that I ran make and got the following error:

The amount of space I have left is:

My virtual size is 4 GB, but the actual size is 3.5 GB.

How much size should I give when compiling and installing a Linux kernel? Are there any guidelines to follow when doing this? This is my first time, so just experimenting with this.

View 2 Replies View Related

General :: Compiling And Installing Kernel Into User's Own Folder

Mar 24, 2010

I am compiling kernel to learn it and as well as for edubook, a netbook I am working on. I wanted to put the compilation under my home directory and followed the syntax suggested in the README in /usr/src/linux,like,

Quote:

'make o=/home/pbhat/temp/kcompile menuconfig'

Like this I have gone through full compilation successfully,but see no output going to the specified folder.Could anybody point out where I went wrong? I was compiling under /usr/src/linux and in Opensuse 11.2.I followed the README apparently written by Linus where I saw the above make syntax.Maybe that is old and hold good no more.

View 3 Replies View Related

Fedora :: Use Rpmbuild To Compile Kernel Without Re-compiling Unchanged Module?

Apr 20, 2011

Using the rpmbuild to compile the kernel, every time the patches will be applied to the source code. So even if no changes are made to the source code and no patches are added to kernel.spec, the whole kernel will still be recompiled, wasting a lot of time

View 13 Replies View Related

OpenSUSE Install :: Installing Kernel Through RPMs Without Compiling Sources?

May 10, 2010

Is there any way to install a kernel using rpms and avoid compiling its sources? I am using OpenSUSE 11.2.

View 7 Replies View Related

Software :: Compiling Patch - Installing With Full Kernel Sources?

Apr 8, 2011

I am trying to compile a patch for HDMI audio, reference this thread [URL]

Code:
Instructions:
- download alsa-driver-1.0.21 from alsa homepage
- unpack downloaded alsa:
$ tar jxvf alsa-driver-1.0.21.tar.bz2

- download and apply my patch
$ wget http: [URL]
$ cd alsa-driver-1.0.21
$ patch -p 1 < ../alsa-driver-1.0.21-nvidia-ion2-hdmi.patch

- compile alsa
$ ./configure
$ make
$ make install
when I do ./configure it outputs this

Code:
The file /lib/modules/2.6.33.7-pclos6.bfs/source/include/linux/autoconf.h does not exist. 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.33.7-pclos6.bfs/source). How can I direct it to install with the 'full kernel sources' ?

View 8 Replies View Related

Red Hat / Fedora :: Error While Compiling The Kernel - Warning: Symbol Value 'm' Invalid For IP_DCCP_CCID3

Jun 7, 2011

Downloaded the stable kernel 2.6.36.4 from kernel.org/ (Current Kernel:2.6.18-92.el5) However i have extracted the source code .ran make mrproper copied the old configuration file and selected it by using make menuconfig .However after selecting it and clicking ok i m getting following error.

Code: .

config:656:warning: symbol value 'm' invalid for IP_DCCP_CCID3
.config:657:warning: symbol value 'm' invalid for IP_DCCP_TFRC_LIB
#config:1353:warning: symbol value 'm' invalid for FIXED_PHY
# configuration written to .config 'm' invalid for IWL4965

[code]....

View 9 Replies View Related

Fedora :: Installing Gcc, Kernel-header And Kernel-devel?

Aug 22, 2011

I used Backtrack 5 and Fedora, basically I'm trying to install my wireless card but I don't have these installed to make && sudo. I burned the iso images for backtrack and fedora and booted my computer from them but can't figure out how to install kernel-devel on backtrack for example. I dled yum onto my flash drive but can't figure out how to install it.

View 14 Replies View Related

Fedora Installation :: Erratic Install Results W/initrd - Custom Spins With Custom Drivers - Modules?

Dec 28, 2009

Just spent three whole days barking up the wrong tree, solving Fedora 11 and Fedora 12 boot failures because the correct hypothesis was illogical: installation did not update/modify the initrd.

The first couple of times I installed Fedora 11 on the HighPoint Technologies RocketRaid 2640x4, the installation inserted my "custom" driver module (rr26xx) into the initrd, permanently, so that the system booted off the controller card for which the custom driver was inserted. (I yelled about this success in this thread: [url]

My most recent installs of BOTH F11 and F12 on the RocketRaid failed to properly set up the boot. It turns out that the "rr2640" module I "slipstreamed" into the installation process was *NOT* permanently added to the initrd by anaconda. (F12 gave me "no root device found boot has failed, sleeping forever", on boot; F11 hung also, without such error, I presume, during the init script execution). Because of limited resources and time, I only know for sure the module was missing from the F11 initrd, and am ASSUMING the same was the case with F12.

The only difference between the successful installs and the ones with failed boot is that the successful installs were made on a single-drive (JBOD) mode on the controller; whereas, the failed ones were placed on RAID 5. But, AFAIK, the created logical device for the card is "/dev/sda", in both cases, and the kernel can not distinguish between the two cases (or can it?). Thus, the inconsistency cost me a lot of time, and is still inexplicable to me.

Question: What is the best way to deal with custom drivers, today? There are custom spins, and many tools, like isomaster. Stupid question: Is there a way to modify the initrd inside an installer ISO -- be it for CD/DVD/USBboot drive -- beefing the init RAM disk with whatever modules you'd like, for the boot process (using, say, isomaster)?

And what makes anaconda understand that a module must be added to the initrd ? How can one force anaconda to do so?

How does moving to dracut as the initrd tool affect any/all of the above?

View 1 Replies View Related

Debian :: Compiling Kernel - 2.6.26 Version Of Kernel Doesn't Longer Exist In Kernel.org Website

Sep 16, 2010

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?

View 2 Replies View Related

Fedora :: Installing A Kernel Header?

Aug 4, 2010

I always wanted to get it installed on my old Dell Laptop and Fedora 13 is the first one that has actually worked.

Anyways, I am trying to install:

kernel-devel-2.6.33.3-85

Which I downloaded from:

[URL]

When I double click the file to install, it says:

could not do simulate: Backend will not install a src rpm file

View 1 Replies View Related

Fedora :: Rebooted When Installing Kernel Updates?

Aug 20, 2009

I updated my kernel and rebooted my system. After a few minutes, my computer said that no hard drive operations were going on and the command line hadn't said anything else so I decided to reboot (i'm VERY impatient) and now when fedora boots,t hangs at a black command line like screen. I left it an hour to see if it would do anything - but nothing! Then i put in a few commands and it didn't respond to any of them

View 1 Replies View Related

Fedora :: Installing Older Kernel Header Files With Yum Or Rpm

Feb 3, 2011

I just had a hard drive failure on my mythtv box that I had been running F14 on. I reinstalled F14 and just got about everything up and running like normal again except that I upgraded the kernel by mistake when I was upgrading everything else to current levels. The problem is that I run a hauppauge pvr150 on this mythtv box, and the code for capturing on this card is broken on the latest kernel version. I have the kernel headers and development files installed for the newest kernel that I can't really use, but I didn't install the kernel headers for the older kernel before the upgrade. Now, I am looking for a way to forcefully install the older kernel development files so that I can compile my the proprietary nvidia drivers against it for my adapter. I downloaded the rpm files from the fedora 14 repository directly. Is there an option for rpm that I can use to force the installation?

View 2 Replies View Related

Fedora :: Kernel 2.6.35.12-90.fc14 - Update Not Fully Installing PAE?

May 1, 2011

It appears that the update process on or about 2011.04.28 downloaded and installed a non PAE kernel (kernel-2.6.35.12-90.fc14) on my box. Until this update, it has been installing PAE designated kernels. When this update occurred, it downloaded the PAE headers and debug, devel and debug-devel PAE components. Has anyone else noticed this in their update?

View 4 Replies View Related







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