Fedora :: Get A Proper Config To Compile A Vanilla Kernel?

Jun 29, 2011

Im using a Fedora 15 and im trying to compile a 3.0.0rc5 kernel. but im unable to get a config for my machine to boot up. i tried make localmodconfig it says

using config: '.config'
capifs config not found!!
Restart Config

and then i tried cp /boot/config-2.6.38.6-26.rc1.fc15.i686.PAE .config to override the default config but stil that doesnt work. work around to get a proper config so that i can boot the latest kernel here?

View 1 Replies


ADVERTISEMENT

Fedora :: Find Kernel.spec File For Compile Vanilla Kernel?

Nov 29, 2010

i want to compile the vanilla kernel 2.6.37-rc3, but i want to obtain a .rpm file. I found this guide long time ago (i used it many times) but it use src.rpm package and the contained kernel.spec file have many lines for adding patches. Someone know where can i download a kernel.spec for vanilla kernel or a guide to obtain an rpm file

View 4 Replies View Related

Fedora :: Compile A Vanilla Kernel On The Easy/lazy Way?

Apr 29, 2010

I thought I would give some instructions on how I compile my kernels. My long-time windows user parts trader recently asked me how to compile a kernel on Fedora. He was confused with all the tutorials requiring you to build an RPM, so I showed him how I do it, the standard/easy/lazy way. Before I start, here are a couple things I assume. I assume you are a Fedora user and that you are NOT in text mode, but in GNOME. I also assume you realize that this can take up to SIX HOURS on an old Pentium 3 1.3Ghz. Remember that some proprietary drivers as well as some free ones are not included in the kernel, so make sure you don't delete your existing one.

First get the dependencies you need.
su -c "yum -y install gcc ncurses-devel"

Next get the kernel source. I use 2.6.33.3 as an example. To download it, click here.Extract it by right-clicking on the file and then choosing extract here. This will take about five minutes. Now open a terminal, become root, and cd to the directory linux-2.6.33.3. It is important to cd here and not to the kernel directory inside of there, even though make has an extra variable that specifies there.

Now we need to configure the kernel before we build it with make O=kernel menuconfig. It will take a couple minutes to set up, then you will be presented with a cheap psuedo-gui in your terminal. Just select exit and yes to save your config. You usually don't need to change anything here.

Ready to compile and install? Remember this can take up to six hours, and your machine may become VERY slow. It is not recommended that you attempt to use your machine with this in progress. OK then. As root, in the same directory, type:

make O=kernel && make O=kernel modules_install install. This will compile the kernel and install the kernel and it's modules. Done? Now change the kernel and initrd in your bootloader to match the new kernel. If you ever want to reuse the same source code folder, use make mrproper to clean things up and build it again.

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

Fedora X86/64bit :: Boot From A Vanilla Kernel Without Initrd?

Oct 17, 2010

I've downloaded 2.6.36-rc8 vanilla kernel, then I copied .config file from my current working kernel 2.6.32.21-168.fc12.x86_64, then I've configured, compiled and installed kernel like this:

Code:
make gconfig
make -j4 all (or make all)
make modules_all
make install
The last command edits my grub.conf file and writes this:
[Code]....

I checked my .config and ACPI, and File Systems are built into kernel and not loaded as modules... And, I have LVM but my /boot partition isn't in it, so I don't HAVE to use initrd, right? How can I boot from a vanilla kernel without initrd ?

View 11 Replies View Related

Software :: Vanilla Kernel / What Is It?

May 24, 2011

What is vanilla kernel and what distributions are using it?

View 3 Replies View Related

Installation :: Install Vanilla Kernel To Other Ubuntu Server?

Jun 13, 2010

I am trying to compile a new vanilla kernel on to my Ubuntu server system which has been freshly installed with Ubuntu 10.04 server 32bits. As this will run on a VIA epia-px5000eg mainboard with USB stick I want compile this kernel on a different machine on which is also ubuntu 10.04 installed. Unfortunately currently I experience difficulties when I boot kernel 2.6.34; it says "Kernel panic - not syncing: VFS: unable to mount root fs on unknown block" while if I load to original kernel that comes with Ubuntu 10.04 all works perfectly well. BTW reason I want to build a custom vanilla kernel is to trim down kernel to the necessary services I need as I am running a server that requires just the essentials. And it needs to support the VIA Epia CPU processor family ( C3, C7 or generic setting which is another hurdle which I won't discuss here ).

Hopefully one out there is able to guide me further as I type step by step what I executed. Thanks for your replies in advance:

Yet I hook up the VIA epia-px5000g with 2gb usb stick, a dvd drive and keyboard ( all usb ). Boot from CDrom and install a minimal system (<f4>) to usb stick. Partitioning part I set it to EXT4 and used full size thus no SWAP. Also mount option " noatime " has been set all to save writes to usb stick.
When the base system has been installed a user has been added, as well apt is being configured to install only security updates automatically. As services I want to run definitely openSSH-server so I can access remotely. Grub gets configured and system will be rebooted.

At this stage I configure the network interface to a static address so I do not need to check my router all the time which dhcp address Ubuntu is using if I want to access remotely.

Now the compile part starts, the ubuntu way. I log in to my other system and execute following commands accordingly code...

View 2 Replies View Related

Fedora :: Proper Way To Replace Existing Kernel With Earlier Version

Jul 26, 2009

I would like to replace the exiting kernel in one of my Fedora 11 installs with an earlier kernel from a Fedora 10 Unity Spin...so I can use it to bring ATI functionality to Fedora 11. Also, I recall there being a way to unpack rpms and 'repackage' them using a different kernel development set. How is this done?

View 3 Replies View Related

General :: Which Vanilla Kernel Version Provide Support For QM57 Chipset

Dec 13, 2010

which vanilla kernel version provide support for QM57 chipset?

View 1 Replies View Related

Ubuntu :: Make-kpkg Strange Vanilla Kernel Build Errors: Found 60 Section Mismatch(es) ?

Apr 30, 2011

I've getting strange build errors when using make-kpkg with the latest (2.6.39-rc5) vanilla kernel.I'm using the procedure outlined here:
https:[url]....e.g.:

Code:
make oldconfig CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers

I'm getting the following build errors:

Code:
Building modules, stage 2.
MODPOST 3053 modules
WARNING: modpost: Found 60 section mismatch(es).To see full details build your kernel with:'make CONFIG_DEBUG_SECTION_MISMATCH=y'
CC arch/x86/crypto/aesni-intel.mod.o[code]....

There is even much more error output but it looks like it is basically the same issue.

View 2 Replies View Related

General :: Compile Kernel 2.6.31 On Fedora 12?

Jan 1, 2010

i tried to compile linux kernel 2.6.31 on Fedora 12: the make , make modules and modules install ran successfully but problem with make install while trying to create image it looks for mkinitrd command which is not available i downloaded and installed the mkinitrd pckg and make install was now successful i got kernel img and initrd img in /boot

also grub was updated properly but i m not able to boot up the new kernel the problem the initrd seems to be and uknown type file to fedora core and the current kernel has initramfs img with a .cpio extn instead of initrd

View 3 Replies View Related

General :: Compile Kernel On Fedora 10?

Apr 5, 2010

so my problem is how to recompile my kerenl with TUN/TAP driver,i got how to compile the kernel with TUN/TAP driver every thing is going OK, when i run the commends , just in the last commend when i reboot my laptop i choose grub to enter on new kernel , but when i choose it , i got black screen .so please help me to solve this problem , for more information about my laptop , i have just one partition my root is (hd1,1). my ram is 2G, speed 2GHZ, i use Linux-2.6.27.42, but the new one is the last kernel available in website. i am in rush please inform me as soon as possible,

View 10 Replies View Related

General :: How To Compile A Kernel In Fedora

Jul 6, 2010

i have downloaded .src.rpm file from net.i dont know how to compile that.can u tell me the basics of linux kernel compilation.how to compile a kernel. how to install or modify the existing running kernel with tat. etcI am using fedora 12 it has 2.6.31.5-127.fc12.i686.PAE

View 5 Replies View Related

Fedora :: F12 2.6.33 Kernel .config For Menuconfig

Mar 14, 2010

I'm experimenting with 2.6.33-ck1 mainly because I want to try the BFS. I successfully configured and installed the patched kernel, but I'm experiencing various problems on the desktop. The biggest is Chromium not working at all, but there are several others, including graphical glitches in firefox. I'm sure I left some important module off or made a mistake for some settings My question is that is there a 2.6.33-fc12 kernel yet, and does it have a .config available? I'd like to load those settings in menuconfig and use them as a starting point to properly configure and complie a -ck patched kernel.

View 1 Replies View Related

Fedora Servers :: Kernel .config For A VPS?

Jun 20, 2011

have a sample kernel .config, so I can compile a small custom kernel on my vps? I tried to make it alone,but I removed stuff,so that my VPS won't start anymore. Virtualization is KVM, running on a Core 2 Duo.

View 3 Replies View Related

Fedora :: Modules Not Being Compiled With 14 Kernel Compile?

May 8, 2011

I am attempting to compile the linux-2.6.35.13 kernel from kernel.org to use with an installation of Fedora 14 (2.6.35.11-83.fc14.x86_64). I've done this before with different kernel versions for older versions of Fedora, but I've encountered a new problem this time. Whenever I get to the "make install" step, I get the following:Quote:

sh /home/user/testing/source/linux-2.6.35.13/arch/x86/boot/install.sh 2.6.35.13 arch/x86/boot/bzImage
System.map "/boot"

[code]...

View 5 Replies View Related

General :: Unable To Compile A Kernel 2.6.29.1 On Fedora 14

Feb 14, 2011

i was trying to install kernel 2.6.29.1 on fedora 14 but it is giving error. First download a package with kernel and i saved in home/user/linux. Afterwards i can extract this package.

1.tar -xvzf linux-2.6.29.1 -C /usr/src
2.cd /usr/src/linux-2.6.29.1/
3.make menuconfig
4.make
5.make modules_install
6.make install

after above steps i got this error.

ERROR: modinfo: could not find module ip6t_REJECT
ERROR: modinfo: could not find module nf_conntrack_ipv6
ERROR: modinfo: could not find module ip6table_filter
ERROR: modinfo: could not find module ip6_tables
ERROR: modinfo: could not find module ipv6
ERROR: modinfo: could not find module fuse

however it gives initramfs,vmlinuz-2.6.29.1 and System.map-2.6.29.1 in /boot folder and menu.lst in /boot/grub is updating according to new kernel. when i reboot my machine and selects the kernel 2.6.29.1 it shows FATAL:kernel too old [1.591633] Kernel panic-not syncing:Attempted to kill init

View 6 Replies View Related

Fedora Hardware :: Compile Moxa (5100) Driver In Fedora 12 , Kernel <= 2.6.30

May 13, 2010

i want to compile Moxa (5100) driver in Fedora 12 , kernel <= 2.6.30 but now when i run command i see this error :

Code:
ln: creating symbolic link `libssl.so': File exists
make -C /lib/modules/2.6.31.5-127.fc12.i686.PAE/build SUBDIRS=/home/AAA/moxa modules
make[1]: Entering directory `/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE'
CC [M] /home/AAA/moxa/npreal2.o
/home/AAA/moxa/npreal2.c: In function �npreal_open�:
/home/AAA/moxa/npreal2.c:1000: error: implicit declaration of function �task_session_nr
make[2]: *** [/home/AAA/moxa/npreal2.o] Error 1

[Code]...

View 9 Replies View Related

Fedora :: Override .config When Building Kernel Rpm?

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

Fedora :: Kernel Compile With Encrypted File System?

Dec 9, 2009

I am trying to replace just the kernel (no modules) for my default kernel on FC 11. I use the default .config file and just change a few things and then run the make command. After I replace the kernel and reboot the system the password comes up for the encrypted filesystem and it does not take my password for some reason. what I need to do to get this working?

View 1 Replies View Related

Fedora :: Subject - Modify Only Parameters In Kernel Config

Aug 28, 2009

I want to start to play with "homemade" kernels. (To get some experiences in this subject). I want to do this step-by-step. I have already read a lot about this. I have a Fedora 10 running. So I want to start with this. I have read that there is a "special" way to create a kernel for Fedora. [URL] OK. I understand this +/-. When you build a new kernel with an other version number, you have to rebuild all the modules with this new kernelversion, and you have to install these also.

But : I want to start with modify only some parameters in my kernel config. Do I need to rebuild and re-install the modules also? Will it not be enough to rebuild only the kernel? (vmlinuz) Where can I find some information about the options I can disable in my kernel to speedup my system? (boot process ed). I want to suppress the loading of unneeded modules. I want to understand the options in menuconfig (and there are a lot of options ! ! )

View 1 Replies View Related

Fedora :: Recover .config After Building Customized Kernel

Oct 18, 2010

Supposed I have built customized kernel rpm four times in a row and the latest built kernel failed. If I still have all four kernel.xxx.rpm files, is there any way that I could get back the .config file used for each of those four builds? I really could not recall exactly what changes I had made in .config for each build.

View 3 Replies View Related

Fedora Installation :: New Install Fedora 10 Need To Compile Kernel?

Apr 13, 2009

I am very much a Newbie to Linux/Fedora. Just installed Fedora 10, but having some problems with hardware driver recognition, particularly a wireless network PCI card. ndiswrapper is looking for a kernel in usr/src/kernels, which doesn't exist.In Fedora, is it necessary to compile a kernel? Looking through the FAQ at kernelnewbies, states to extract the kernel to a Linux directory, in usr/src, which also doesn't exist.

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

Fedora :: Kernel Compile Error : No Rule To Make Target `missing-syscalls'?

Dec 13, 2009

I am trying to compile a kernel in the following directory:/usr/src/kernels/2.6.30.9-102.fc11.x86_64

Note I am not trying to build an rpm but just do a simple make. After configuring with make menuconfig I issue the make command and get the following error:

Code:
[root@compaq 2.6.30.9-102.fc11.x86_64]# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make[1]: *** No rule to make target `missing-syscalls'. Stop.
make: *** [prepare0] Error 2

how to resolve this error? It seems to be fedora-centric.

View 4 Replies View Related

General :: Extracting Kernel Config From Kernel Image -- Extract-ikconfig

Jan 22, 2010

I'm trying to run extract-ikconfig because I've mistakenly deleted an old kernel config that I'd like to recover. However, when running the script from the latest (2.6.32.5) tree I run into this error:

Quote:

ERROR: Unable to extract kernel configuration information.

This kernel image may not have the config info.

Coincidentally, this happens with all of my kernel images. Is it a fixable problem? I should really set CONFIG_IKCONFIG_PROC next time..

View 1 Replies View Related

Fedora Installation :: Mkinitrd Can Make Initrd Image With All Hdd Driver - Config To Everytime Update Kernel?

Jul 16, 2009

I install fedora on my usb-hdd. Sometimes i boot it from real machine, sometimes i boot from virtual machine (kvm). When I boot from real machine, hdd driver is usb-storage, when i boot from virtual machine hdd drivers are ata_generic and pata_acpi.

Everytime i update kernel, mkinitrd only create initrd image contains only hdd driver current running, and I must recreate initrd manual with all preload hdd driver. How to config fedora to everytime update kernel, mkinitrd can make initrd image with all hdd driver I need?

View 2 Replies View Related

Fedora Servers :: NFSD Won't Compile In Kernel - FATAL: Error Running Install Command For Nfsd

May 24, 2010

I'm runing FC11 and have compiled the vanilla kernel 2.6.33.4 to support Dazuko. It has broken my NFSD server in the process, and I can't figure out why. I get these errors on boot. FATAL: Module nfsd not found. FATAL: Error running install command for nfsd

[code]....

View 2 Replies View Related

OpenSUSE :: 11.3 X86_64 Compile - Not Recognized Configure: Error: /bin/sh ./config.sub X86_64-unknown-linux- Failed

Aug 3, 2010

Attempting to compile an application that is not located in any of the repos yet for 11.3 64 bit. I have downloaded the appropriate src and untarred it. However, when I attempt to run the ./configure command here is the error I receive. checking build system type... Invalid configuration `x86_64-unknown-linux-': machine `x86_64-unknown-linux' not recognized configure: error: /bin/sh ./config.sub x86_64-unknown-linux- failed

I have made sure that I have all kernel-headers packages installed and am unsure as how to proceed. I tried using the command "./configure --build=x86_64" and then receive an error stating that the "SYSTEM IS NOT SUPPORTED" and continued errors stating that gcc is not installed, eve though it is.

View 5 Replies View Related

General :: Compile Kernel Which Is Old One?

Oct 14, 2010

I wanna compile tha kernel which is old one.how to do that.

View 8 Replies View Related







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