Ubuntu :: What Is Actually Used And Needed In Kernel Config?

Jun 4, 2010

I would like to compile my own kernel. I am familiar with how to do it and have done it in the past so I'm not looking for a how to compile a kernel. In the kernel config are many, many options. In the past when I compiled kernels I always wondered about what is needed and used. What is the best way to determine what is currently used, not set or enabled in the existing config, but actually used by my existing kernel?I have a general idea of what is loaded and could do trial and error, turn this and that off, recompile, etc but is there an easier way?

View 3 Replies


ADVERTISEMENT

Slackware :: How To Save Needed Modules Config To Create .config?

Apr 9, 2011

I am running a server with a GRSecurity patched Kernel 2.6.32.36. I've tried to optimize the kernel as much as I can and know it (removing options, not needed drivers and so on) and compiled the modules into the kernel (no loadable modules anymore). I've started with Slackware 13.0 and the default config for 2.6.29.6-huge. Still I am not sure what to remove/optimize further now.

My question: Is there a way to boot with a kernel with loadable modules, check which modules are really needed for this hardware, (do something like lsmod) and save the running configuration modules for a next kernel compile to be the default .config instead of writing them down by hand and search for the appropriate names in .config or during menuconfig? (Note: zcat /proc/config.gz > .config is NOT the way I want, as it gives me just the current kernel config)

View 5 Replies View Related

Ubuntu :: What Files Are Needed To Boot Into Another Kernel

Feb 19, 2011

I'm trying to find out what files are needed to boot into another kernel.

I know there's vmlinuz* & initrd* but what else is need?

Is is possible to just copy some files to a partition with an already running Ubuntu version, set up grub & boot a different kernel?

I've seen some documentation on building a new kernel but I was wondering since I already have a good running kernel on a different hard drive if I could just move it & test it on another drive without having to build it.

View 7 Replies View Related

Installation :: Fedora 13 Installed PAE Kernel But Not Needed / Fix It?

Aug 26, 2011

I'm taking a class this semester on Linux and a Fedora 13 DVD came with the book. Just now I've installed Fedora at home and started the updates. I saw a PAE entry in the updates so I went to the Terminal and typed uname -r and I see that the Fedora 13 DVD installed a PAE kernel on my machine that has only 1 GB of RAM.

Why did it do that?

Can I swap out the PAE kernel for a non-PAE kernel? (edit- I'm a Linux noob so I don't know)

Does it really matter?

After the updates I was going to try to install the proprietary Nvidia driver.

View 4 Replies View Related

OpenSUSE Install :: Which Kernel Is Needed Which One To Remove?

Dec 5, 2010

Sorry if it is a dumb question (i'm coming from deb/ubuntu and i'm totally new to rpm - installed Smeegol on a Samsung N150). After some try&error i finally got my Broadcom4313 working but underway to that i got lots of new kernels and now i don't understand not so much anymore.

I think the kernel default-devel it was me installing it using the distribution manager to get working make (for trying to install the original Broadcom driver package; i stopped that attempt because i didn't where exactly to move/cp the built driver).

View 9 Replies View Related

Slackware :: Compile Kernel With Only Needed Drivers?

May 20, 2011

config file for kernel compilation that will only contain the drivers for the current hardware that are needed for the running kernel?

i.e. I am not 100% sure which drivers I need to compile into the kernel but do not want to compile all of them for my laptop??

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

Slackware :: "filesystems Support" Needed For Minimal Kernel Build?

Mar 21, 2011

I am building a minimized 6.2.2 linux kernel using slackware on a dinosaur of a computer: AMD Athlon +1700 Single Core processor, 1gig of DDR SDRAM. This is my first time compiling a linux kernel, so before I make any major mistakes, I could use some help in determining which filesystems I absolutely must enable support for. Ext2 is allready in.

View 4 Replies View Related

Software :: GUI Kernel Config

Feb 9, 2009

I have Mandrake 9.0 with 2.4 kernel, this comes with a GUI kernel config, its a nice feature as it details each kernel item. I installed a Mandriva 2009 edition w/2.6.27 kernel and want to add the GUI kernel config, does anyone know of a package to do this

View 3 Replies View Related

Ubuntu :: Match Custom Kernel Config To Laptop?

Feb 17, 2010

How do I discover which kernel config parameters are important for my laptop hardware and frequently used applications? I'm not looking for something that is 100(...)% optimized for my hardware. I would prefer to have modules for everything that I don't use at all or often. I would prefer to avoid modules (built-in) for things that I use all the time but then any updates might mean a kernel rebuild. I'm currently running the generic PAE edition of the repository kernel. I think that I'm running the 32-bit flavor at that.

Code: user@host:path$ uname -a Linux mumbles 2.6.31-19-generic-pae #56-Ubuntu SMP Thu Jan 28 02:29:51 UTC 2010 i686 GNU/Linux I know the following from sysinfo

[Code]....

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

Ubuntu Installation :: Unable To Find .config File For Kernel

Jun 21, 2010

I'm looking for the .config file for the kernel which ubuntu uses to compile the standard generic kernel which is delivered in compiled form. I downloaded the following kernel archive ( 2.6.31.8 ): [URL]... I need the original file, because I'm not able to configure a working kernel, so I want to try to compile the kernel with the standard configuration. Afterwards I'm going to change some options.

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

Hardware :: Running System To Kernel Config

Sep 21, 2010

I've read about some sort of tools that help with kernel configuration.Can anyone tell me anything about these?It seems that you use the tool(s) on a running system. You use the running system for a while. The tool(s) gathers data and leaves bread crumbs. The tool(s) then process the bread crumbs to create a candidate config file for a fresh kernel build. The goal is a kernel build that contains parts you actually use and omits parts you don't use or don't need -- all the while using arcane knowledge of dependencies among various kernel features to (hopefully) avoid building a still-born kernel.

View 6 Replies View Related

Security :: How To Enable And Config Auditd In Kernel 2.6.9-5.EL

Mar 14, 2010

Anyone can tell me how to enable and config auditd in linux kernel 2.6.9-5.EL. I have only found command auditd and auditctl in server that run kernel 2.6.9-5.EL. I ran auditd & and can saw auditd ran in my server. But I couldn't do anything with auditctl, no status, no rules, nothing :| . I tried to find audit.rules or auditd.conf but that nothing I can find.

View 1 Replies View Related

Slackware :: Slap DVD Laptop Kernel Config

Sep 8, 2009

This is my first effort in making something more appropriate for laptop users (exclusively). This is a kernel config for 2.6.30.5. I started with the Slackware Generic-SMP 32bit kernel config (this is a 32bit kernel config). All credit for (in my opinion) the best starting place for any kernel config goes to Patrick Vokerding. (Please tell me if I am or am not doing this properly in terms of respecting the work of others, GPL, GNU, etc.)

View 14 Replies View Related

Debian Configuration :: Use Existing Config When Upgrading Kernel?

Mar 11, 2016

Can I use the config for my current kernel (the jessie 3.16 one), and use it to build a more recent kernel (3.18)? Do I just copy across the config and try and build with it, or is there some tool that will bring across the existing config but also set up reasonable defaults for any new options in the newer kernel, and any other migrations that might need to be applied?

View 4 Replies View Related

Debian Configuration :: Automatic .config Generator For Kernel 2.6.33.4?

May 16, 2010

I'm recompiling my kernel on a dell latitude c600 running lenny as I type, and it's taking forever, so far upward of 4 hours.I think I'm getting drivers for ever piece of computing hardware since the univac So I googled "a kernel conf creator" and got [URL]... Its a nice, clean method for finding what hardware your using... you just run lspci cpuinfo make xconfig and put in all the info yourself. So I was thinking: this is exactly the kind of dull, repetitive behavior that computers were made for. Is there a program that can find my hardware info, and make the.config itself, with very little user input?Or should I reinstall debian on another partition and steal the .config from it? Or should I man it up and do it myself?

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

OpenSUSE Install :: Extract A Config From Running Kernel

Oct 17, 2010

I'm looking to extract a config from a working kernel..that much was pretty easy..all ya gotta do is "cp /proc/config.gz ." which will put it in whatever directory you're currently in and then do a "gzip -d config.gz" to get the config file.

Now...after that it gets a bit tricky..Linus says you should never compile a kernel in /usr/src/ because those header files in ../include should never change. He says you should extract a new kernel gz in your home directory and compile it there. I tend to agree (who am I to argue?). Anyway..whereever your sources are this is where you need to copy the config file...

Like this...my home dir is "/home/dart". So I would put the kernel sources there under "/home/dart/linux". I would cd to /home/dart/linux and do "cp /proc/config.gz ." then "gzip -d config.gz" which should leave you with a file called "config", then "mv config .config"

Now here's where I run into a problem..when I do "make xconfig" I get this...

Tried to install the qt3-devel packages from CD but guess what? I ran into cdrom errors which is what I was trying to fix in the first **** place...catch 22 eh?

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

General :: Configuration - Obtain Kernel Config From Currently Running System?

May 23, 2011

I accidentally deleted my .config for my kernel configuration on Linux, and seem to remember there was a way to retrieve the kernel configuration via the proc filesystem somehow. Is this still possible, and if so how would I do it?

View 1 Replies View Related

Networking :: Iptables & Kernel Config To Do Conntrack Of Bittorrent Traffic

Jul 31, 2010

I was just wondering if using a non-smp kernel would be ok on a older p4 system with no x. I am wondering due to some functionality in IPTABLES that is broken in the SMP kernels ( -m owner --sid.pid,cmd-owner).

Could someone that is running a NON-SMP kernel advise as to whether the support for -m owner --cmd-owner is working in iptables with those kernels? Also, could someone advise me if running a NON-SMP kernel is even advisable? The machine will not have x.

View 14 Replies View Related

Software :: Change Config Settings And Build Kernel With Bitbake?

Dec 20, 2010

I am using Angstrom Linux on a Beagleboard and it does not have CONFIG_HIDDEV enabled. How do I enable that config setting and rebuild the Kernel? I can build the Kernel as it stands using Bitbake, but the config file containing the CONFIG_HIDDEV=n is commented as "auto built, do not edit". Can I ignore that and edit it? Or is there some other way to control the "auto building" of it?

View 1 Replies View Related

Slackware :: Compiling Kernel 2.6.38.6 - Config Debug Section Mismatch

May 11, 2011

Anyone able to compile kernel 2.6.38.6 on Slackware 13.37 successfully using the config from testing/2.6.38.4? I was able to get .4 and .5 to compile successfully, but with .6 I get the following after running "make modules".

Code:
WARNING: modpost: Found 11 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
Running "make CONFIG_DEBUG_SECTION_MISMATCH=y 2>&1 > outfile" gives me a bunch of WARNINGS as follows:

Code:
WARNING: vmlinux.o(.text+0xe656a): Section mismatch in reference from the function build_all_zonelists() to the function .meminit.text:setup_zone_pageset.clone.56()
The function build_all_zonelists() references
the function __meminit setup_zone_pageset.clone.56().
This is often because build_all_zonelists lacks a __meminit
annotation or the annotation of setup_zone_pageset.clone.56 is wrong.....

WARNING: drivers/watchdog/nv_tco.o(.devinit.text+0x14): Section mismatch in reference from the function nv_tco_init() to the function .init.text:nv_tco_getdevice()
The function __devinit nv_tco_init() references
a function __init nv_tco_getdevice().
If nv_tco_getdevice is only used by nv_tco_init then
annotate nv_tco_getdevice with a matching annotation.

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

Slackware :: Compiled A 2.6.35 Kernel With A Couple Of Different .config Files And Never Had It Boot Properly?

Oct 14, 2010

The new 2.6.35.7 kernel fails to boot on my Lenovo laptop. I had previously compiled a 2.6.35 kernel with a couple of different .config files and never had it boot properly. The failure occurs very quickly and I am including the final screenshot in case that helps.

View 7 Replies View Related

Slackware :: Vbox Guest Additions - Proprietary Version - Fail With - Currents New Kernel Config

Mar 11, 2010

Experienced that building the vbox guest additions (on the binary/non-free vbox) on a slackware --current guest (with windows *and* linux as a host) fails now with the new kernel's just released in --current?

View 7 Replies View Related







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